@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  outline: none;
}

body {
  width: 100%;
  height: 100%;
  color: #333;
  background: #f0f0f0;
  font-size: 1em;
  font-family: 'Comfortaa', cursive;
  line-height: 135%;
}

h1,h2,h3,h4 {
   font-weight: normal;
   font-size: 1em;
   font-family: 'Comfortaa', cursive;
   line-height: 135%;
}

html {
  height: 100%;
  width: 100%;
}

header, footer {
  width: 100%;
  background-color: #fff;
  padding-top: 2%;
  padding-bottom: 2%;
  float:left;
}

header {
  z-index: 5;
}

footer{
  background:linear-gradient(0deg, #c9c9c9, #e0e0e0);
  margin-top: 4%;
  border-top: 5px solid silver;
  } /*фон подвала */

.copy-bottom {
  width: 50%;
  float: left;
}
.social {
  display: block;
  width: 50%;
  float: right;
}


#fb {
  margin-right: 5%;
  float: right;
  width: 5%;
}

#inst {
  margin-right: 2%;
  float: right;
  width: 5%;
}

#yp {
  margin-right: 2%;
  float: right;
  width: 4.6%;
}

a {
  text-decoration: none;
  color: blue;
  transition: all 1.5s ease;
  -moz-transition: all 1.5s ease;
  -webkit-transition: all 1.5s ease;
  -ms-transition: all 1.5s ease;
 }

a:hover {
  color: red;
  text-decoration: none;
  transition: all 1.5s ease;
  -moz-transition: all 1.5s ease;
  -webkit-transition: all 1.5s ease;
  -ms-transition: all 1.5s ease;
}

a:active {
  color : green;
}

::selection {
  background: #f58b8b;
  color: #fff;
}

::-moz-selection
{
  background: #f58b8b;
  color: #fff;
}

.languages {
    margin-top: 3%;
}

.languages img:nth-of-type(1) {
    margin-right: 2%;
}

.languages img:hover {
    transition: all 1s ease;
    transform: scale(1.8);
}

#menu {
  color: #666;
  font-size: 1.7em;

}

@media (min-width : 590px) {
  #logo {
    width : 30%;
    margin-left : 5%;
  }

  #femida {
    width : 7%;
    margin-right: 5%;
    float: right;
  }

  #logo_div {
    float: left;
    display: block;
    width: 30%;
  }

  #menuHrefs {
    float: left;
    display: block;
    width: 40%;
    margin-right: 5%;
    text-align: center;
  }

  #menuHrefs a {
    padding: 0.5%;
    border-radius: 50px;
    margin-right: 0.5%;
    color: #474747;
  }

  .languages {
      width: 100%;
      padding: 0.5%;
      text-align: center;
  }

  .languages img {
      cursor:pointer;
  }

  #menuHrefs a:hover {
    background-color: #ececec;
    color: red;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
    -ms-transition: all 1.5s ease;
  }

  #mobile_menu {
    width: 3%;
    float: right;
  }
}

@media (max-width : 589px)
{
  #logo {
    width : 50%;
    margin-left : 5%;
  }

  #femida {
    width : 12%;
    margin-right: 5%;
    float: right;
  }

  #logo_div {
    float: left;
    display: block;
    width: 30%;
  }

  #menuHrefs {
    float: left;
    display: block;
    width: 100%;
    text-align: center;
  }
  #menuHrefs a {
    text-align: center;
    padding: 1%;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 50px;
    color: #626262;
  }

  .languages {
      width: 100%;
      padding: 1%;
      text-align: center;
  }

  .languages img {
      cursor:pointer;
  }

  #menuHrefs a:hover {
    background-color: #ececec;
    color: red;
    transition: all 1.5s ease;
    -moz-transition: all 1.5s ease;
    -webkit-transition: all 1.5s ease;
    -ms-transition: all 1.5s ease;
  }
  #mobile_menu {
    width: 10%;
    margin-left: 16%;
  }
}

#mobile_menu:active {
    width: 10.5%;
}

/*стили для главного окна*/
@media (min-width : 590px) {
  #main_window {
    float:left;
    width: 90%;
    margin-top: 5%;
    background-color: #f2f2f2;
    border: 5px solid #ebebeb;
    margin-left: 5%;
    margin-right: 5%;
    font-size: 1.2em;
    line-height: 150%;
  }
}

@media (max-width : 589px) {
  #main_window {
    float:left;
    width: 100%;
    margin-top: 5%;
    background-color: #f0f0f0;
    font-size: 1em;
    line-height: 135%;
  }
}

@media (min-width : 590px) {
  .service_name {
    width: 100%;
    display: block;
    float: left;
    color: black;
    text-align: center;
    font-size: 1.3em;
  }
  .service_img {
    width: 100%;
    display: block;
    float: left;
  }
  .service_image {
    width: 100%;
    display: block;
    float:left;
    height: 70vh;
  }
  .service {
    float: left;
    display: block;
    margin-left: 5%;
    width: 40%;
    margin-bottom: 2%;
    border: 3px solid silver;
  }


  .service:hover {
    transform: scale(1.05,1.05);
    transition: all 1s ease;
    -moz-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -ms-transition: all 1s ease;
  }

}

@media (max-width : 589px) {
  .service_name {
    width: 100%;
    display: block;
    float: left;
    color: black;
    text-align: center;
    font-size: 1.3em;
  }
  .service_img {
    width: 100%;
    display: block;
    float: left;
  }
  .service_image {
    width: 100%;
    display: block;
    float:left;
  }
  .service {
    float: left;
    display: block;
    width: 100%;
    margin-bottom: 2%;
    border-top: 3px solid silver;
    border-bottom: 3px solid silver;
    margin-top: 5%;
  }

}


#contact_window {
  margin-top: 3%;
  margin-left: 3%;
  line-height: 200%;
}

strong {
  font-weight: bold;
  font-size: 1.2em;
}

#map {
  float: left;
  border: 2px solid grey;
  margin-left: 15%;
  margin-bottom: 5%;
}

#map_text {
  float: left;
  margin-top: 15%;
  margin-left: 15%;
  width: 60vw;
  text-align: center;
  font-weight: bold;
}
iframe {
  width: 60vw;
  height: 40vh;
}

#cert {
  width: 100%;
}

#cert_img {
  width: 100%;
}

li {
  text-align: center;
}

.text_list {
  margin-left: 4%;
}

.sm {
  width: 2%;
  margin-left: 1%;
}

.sm:hover {
  transform: scale(1.1,1.1);
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -ms-transition: all 1s ease;
}

#act {
  width: 80%;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  float: left;
  border: 2px solid black;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: #e6d673;
  margin-top: 3%;
  margin-bottom: 5%;
  margin-left: 7.5%;
}
