@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Suez+One&display=swap');

* {
    margin: 0;
    padding: 0;
    outline: none;
}

body, html {
  width: 100%;
  height: 100%;
}

body {
    background-color: #fafafa;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

header {
    width: 100%;
    padding: 10px 0.5% 0px 0.5%;
    background: transparent;
    float: left;
    position: fixed;
}


.image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}


@media (min-width: 701px) {
    #logo {
     float: left;
     width: 30%;
     font-size: 1.1em;
    }

    #about {
        float: right;
        width: 67%;
    }

 }


 @media (min-width: 360x) and (max-width: 701px) {
    #logo {
      margin-top: 15px;
      width: 100%;
      font-size: 1.1em;
    }
    .image {
        width: 20px;
    }
    #about {
        float: left;
        width: 100%;
    }
 }

 @media (max-width: 360px) {
    #logo {
      margin-top: 15px;
      width: 100%;
      font-size: 1.5em;
    }

    #about {
     float: left;
     width: 100%;
   }
 }



@media (max-width: 700px) {
   #logo {
     margin-top: 15px;
     width: 100%;
     font-size: 1.5em;
   }

   #about {
    float: left;
    width: 100%;
    
  }
}

#about {
    display: flex;
    text-align: center;
    font-size: 1.4em;
    line-height: 40px;
    margin-bottom: 10px;
    gap: 20px;
    justify-content: center;
}

#about > a {color: #fff;
    text-decoration: none;
}

#about > a:hover {
    color: #b0b0b0;
    text-decoration: none;
}

#adout > a:not(:last-child) {
    margin-right: 7%;
}

.fixed {
    z-index: 5000;
    background-color: #fff;
    border-bottom: 1px slid silver;
}

header.fixed #logo {
    color: #343434;
}

.fixed #about a {color: #343434;}
.fixed #about a:hover {color: #7c7c7c;}

#top {
    width: 100%;
    height: 1000px;
    background-image: url(https://m.terem-pro.ru/upload/iblock/e91/e9156ae3009743175d556d56b98cc056.jpg);
    background-blend-mode: multiply;
    background-color: #2e3a44;
    background-size: cover;
    text-align: center;
    color: #fff;
    font-size: 3em;
}

#top h1 {
    padding-top: 20%;
}

@media (min-width: 701px) {
    #top {
      font-size: 3em;
    }
   }

   @media (max-width: 651px) and (min-width: 701px) {
    #top {
      font-size: 1.1em;
    }
   }

   @media (max-width: 650px) {
    #top {
       font-size: 0.9em;
       padding-top: 50%;
    }

   }


#top h1 {
    padding-top: 20%;
}

#top h3 {
    color: #ccc;
}

#main {
    padding: 100px 20%;
    width: 60%;
    float: left;
    background-color: #f6f6f6;
    border-top: 2px solid silver;
    color: #484848;
    font-size: 1.3em;
}

@media (min-width: 700px) {
    #main {
        padding: 100px 20%;
        width: 70%;
    }
}

@media (max-width: 540px) and (min-width: 699px) {
    #main div {
       width: 98% !important;
    }
}
@media (max-width: 699px) {
    #main div {
        width: 98% !important;
        font-size: 0.6em;
    
    }
}



#main div {
    width: 48%;
    margin-right: 2%;
    float: left;
}

#main h2 {font-size: 3em}
#main span {color: #a0a0a0}

#overview {
    float: left;
    background-image: url(https://msk.jevents.ru/wp-content/uploads/sites/2/2019/02/lukovnikov-senya-1.jpg);
    background-color: #4f1c75;
    background-size: cover;
    background-attachment: fixed;

    padding: 100px 0;
    width: 100%;
    text-align: center;
    color: #fff;
}


#overview h2 {font-size: 3em}
#overview h4 {color:#ccc; font-size: 1.5em;}

#overview .img {
float: left;
width: 30%;
margin-right: 5%;
margin-top: 50px;
}

#overview .img:nth-child(odd) {
    margin-left: 18%;
}

#overview img {
    background: #fafafa;
    padding: 5px;
    border: 2x solid silver;
    float: left;
    width: 100%;
    max-width: 500px;
}

#overview span {
    float: left;
    width: 100%;
    font-size: 2em;
    margin-top: 10px;

}


  

  #contacts {
 width: 100%;
 float: left;
 padding-bottom: 40px;
 padding-top: 70px;
 border-top: 4px solid #ccc;
 background: #f4f4f4;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto Slab', serif;
    font-weight: lighter;
}

#contacts h5 {font-size: 3tm; color: #4f4f4f;}

#form_input {
    margin-top: 15px;
    width: 35%;
    margin-left: 30%;
    font-size: 1.1em;
}

#form_input label {
    color: #505050;
    cursor: pointer;
    font-size: 1.4em;
    font-family: 'Roboto Slab', serif;
}

#form_input label > span {
    color: #e87e7e;
}

#form_input input, #form_input textarea {
    margin-bottom: 10px;
    width: 70%;
    padding: 10px 2%;
    border-radius: 7px;
    border: 2px solid silver;
    font-size: 0.9em;
    color: #4a4a4a;
}

#form_input input:focus, #form_input textarea:focus {
  border-color: #333;
}


.btn{
    float: left;
    border-radius: 5px;
    padding: 5px 9px;
    font-size: 1.2em;
    background-color: #ec6550;
    text-shadow: #454545 0 0 2px;
    cursor: pointer;
    color: white;
    font-family: 'Roboto Slab', serif;
}

.btn:hover {
    background-color: #c15443;
}

#faq {
    background-color: #fff;
    border-top: 2px dashed #e4e3e3;
    width: 100%;
    float: left;
    padding-top: 70px;
    padding-bottom: 70px;
}

#faq div {
    width: 25%;
    margin-left: 6%;
    float: left;
}

#faq .title {
    font-weight: lighter;
    color: #a3a0ad;
    margin-bottom: 20px;
    font-size: 2.2em;
}

#faq .heading {
    color: #7d7d7d;
    font-size: 1.3em;
    font-weight: bold;
}

#faq p {
    font-family: Arimo, Helvetica;
}

@media (min-width: 740px){
    #faq {
    width: 100%;
    margin-left: 1%;
    float: left;
    }
}

@media (max-width: 706px) and (min-width: 360px) {
    #faq {
    width: 100%;
    margin-left: 1%;
    float: left;
    }
}

@media (max-width: 706px) and (min-width: 360px){
    #faq div {
    width: 100%;
    margin-left: 1%;
    float: left;
    }
}