body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, sans-serif;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  background-image: url(/assets/images/back.webp);
}

header {
  height: 100vh;
  width: 100%;
  background: url(/assets/images/header-bgr.jpg) no-repeat left top rgb(0 0 0 / 35%);
  background-blend-mode: multiply;
  background-size: cover;
  position: relative;
}

#not-home {
  height: 360px;
  background-image: url(/assets/images/not-header-bgr.jpg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  /*box-shadow: 0px 0px 17px 8px rgb(0 0 0 / 30%); */ 
}

main {
  margin: 30px 20px 90px 20px;
}

#hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#hero h2 {
  color: white;
  font-size: 7em;
}

#hero p {
  font-weight: 600;
  color: white;
  font-size: 1.8em;
  margin-bottom: 20px;
}

section {
  margin-bottom: 20px;
}

h1, h2 {
  font-weight: bold;
  text-transform: uppercase;
}

h2 {
  font-size: 3em;
  color: #0070c0;
  font-weight: 800;
  margin: 20px 0 0 0;
}

p, li {
  color: #3f3f3f;
  line-height: 140%;
  padding-right: 15px;
}

footer {
  background-color: #e9e9e9;
  color: #000;
  padding: 10px;
  text-align: center;
}

footer p {
  font-size: 0.8em;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  background: #0070c0;
  z-index: 99999;
  opacity: 0.9;
  box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 80%);

}

nav ul li {
  list-style-type: none;
  display: inline-block;
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 700;
}

nav a:hover {
  color: #F7B34F;
}

#about  {
  text-align: justify;
  width: 60%;
}

#activity {
  margin-bottom: 37px;
}

#contacts {
  display: flex;
  justify-content: center;
}

#contact-info {
  width: 60%;
  margin-right: 20px;
}

#contact-form {
  margin-bottom: 40px;
  text-align: left;
}

#contact-form-wrapper {
  padding: 20px;
  background: beige;
  width: 350px;
  margin: 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

#logo {
  padding-left: 14px;
  color: white;
  margin: 7px 0 3px 0;
}

#logo img {
  height: 40px;
}

#logo-h2 {
  width: 380px;
}

button {
  padding: 5px;
}

fieldset {
  border: none;
}

label {
  font-size: 0.9em;
}

input[type="text"], input[type="email"], input[type="phone"] {
  margin-bottom: 12px;
  padding: 7px;
  width: 95%;
}

textarea {
  padding: 7px;
  width: 95%;
}

legend {
  text-align: center;
  font-weight: bold;
  padding: 0;
  font-size: 1.17em;
  color: #3f3f3f;
}

.flex-contacts {
  padding: 20px;
  text-align: center;
}

#services ul li, #contact-info ul li {
  margin-bottom: 7px;
}

#services ul li {
  font-weight: 700;
  list-style-position: inside;
}

#services ul {
  background: beige;
  padding: 18px 25px 18px 15px;
}

#flex-about-services {
  display: flex;
}

#about {
  margin-right: 20px;
}

.next-btn {
  padding: 13px 23px;
  background-color: #af2323;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  margin: 10px 0;
  text-transform: uppercase;
  box-shadow: 1px 1px 2px #282828;
  cursor: pointer;
}

/* Hamburger */

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: -1;
}

#main-menu {
  display: block;
  height: 100px;
  width: 100%;
  background: #3D0E61;
  margin: 0px;  
  z-index: 9;
}

#main-menu ul {
  max-width: 800px;
  width: 100%;
  height: 100%;
  margin: 0px auto;
  padding: 0px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 9;
}

#main-menu li {
  list-style-type: none;
  font-size: 2rem;
}

#main-menu a {
  color: #B9FAF8;
  font-size: 1.5rem;
  text-decoration: none;
}

#main-menu a:hover {
  text-decoration: underline;
}

.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    background: black;
    z-index: -1;
}

#main-menu {
  display: block;
  height: 100px;
  width: 100%;
  background: #3D0E61;
  margin: 0px;  
  z-index: 9;
}

#main-menu ul {
  max-width: 800px;
  width: 100%;
  height: 100%;
  margin: 0px auto;
  padding: 0px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 9;
}

#main-menu li {
  list-style-type: none;
  font-size: 2rem;
}

#main-menu a {
  color: #B9FAF8;
  font-size: 1.5rem;
  text-decoration: none;
}

#main-menu a:hover {
  text-decoration: underline;
}

#hamburger-input{
  display: none;
}

#hamburger-menu {
  z-index: 999999;
  position: fixed;
  top: 15px;
  right: 15px;
  /* width: 50px; */
  /* height: 50px; */
  display: none;
  border: none;
  padding: 0px;
  margin: 0px;
  font-size: 1.4em;
  font-weight: 200;
  color: white;
}

#hamburger-menu #sidebar-menu {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: -250px;
    width: 280px;
    height: 100%;
    background-color: #016bb5;
    transition: 0.3s;
    padding: 0px 10px;
    box-sizing: border-box;
}

#sidebar-menu {
  opacity: 1;
}

#hamburger-menu ul {
  padding-left: 0px;
}

#hamburger-menu li {
  list-style-type: none;
  line-height: 3rem;
}

#hamburger-menu a {
  color: white;
  font-size: 1.4em;
  text-decoration: none;
  font-weight: 600;
}

#hamburger-menu a:hover {
  text-decoration: underline;
}

#hamburger-input:checked + #hamburger-menu #sidebar-menu {
    visibility: visible;
    left: 0;
}
#hamburger-input:checked ~ .overlay{
   visibility: visible;
  opacity: 0.4;
}

#flex-activity-wrapper {
  display: flex;
}

#call-center-img img {
  padding: 4px;
}

#call-center-img {
  margin-top: 20px;
}

#activity-p {
  text-align: justify;
  margin-right: 20px;
  width: 60%;
}

@media (max-width: 768px) {
  #hero h2 {
    color: white;
    font-size: 3em;
  }

  h2 {
    font-size: 2em;
  }
  
  #flex-about-services {
    display: block;
  }
  #about, #activity  {
    text-align: justify;
    width: 100%;
  }

  #contact-form-wrapper {
    background: beige;
    width: 300px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  }

  #hero p {
    font-weight: 600;
    color: white;
    font-size: 1.4em;
  }

  #desktop-menu {
    display: none;
  }

  #hamburger-menu {
    display: inline;
  }
  #not-home {
    height: 280px; 
  }

  p {
    line-height: 130%;
    padding-right: 5px;
  }

  #services ul {
    margin-right: 5px;
  }

  main {
    margin: 35px 20px 80px 15px;
  }

  #logo img {
    height: 39px;
  }

  nav {
    padding: 2px 0;
  }

  #logo-h2 {
    width: 290px;
  }

  #flex-activity-wrapper {
    display: block;
  }

  #call-center-img img {
    width: 100%;
    overflow: hidden;
  }

  #activity-p {
    text-align: justify;
    margin-right: 0px;
    width: 100%;
  }                      
}