/* colors -> https://coolors.co/e54b4b-ebebd3-464655-e4b363-e8e9eb */

@import url("https://fonts.googleapis.com/css?family=Quicksand:400,700");

body {
  background: #f0f8ea;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

#logotip {
  /* width: 10px; */
  height: 46px;
  padding: 0;
  margin: 0;
  /* border: #000 1px solid; */
  /* display: none; */
  position: relative;
  top: -16px;
}

header {
  /* background: #E54B4B; */
  background: linear-gradient(to bottom, #ff5d2b, #ff7d2b);
  color: #ebebd3;
  padding: 1em 0;
  position: relative;
  height: 15px;
}

header::after {
  content: "";
  clear: both;
  display: block;
}

.logo {
  float: left;
  font-size: 1.3rem;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
}

.logo span {
  font-weight: 400;
}

/*Меню из гамбургера*/
.site-nav {
  position: absolute;
  top: 100%;
  right: 0%;
  background: #464655;
  /*background: #f64655;*/
  -webkit-clip-path: circle(0px at top right);
  clip-path: circle(0px at top right);
  transition: -webkit-clip-path ease-in-out 700ms;
  transition: clip-path ease-in-out 700ms;
  transition: clip-path ease-in-out 700ms, -webkit-clip-path ease-in-out 700ms;
  /*Поднимаем слой выше слайдера*/
  z-index: 2;
  /*display: none; */
}

.site-nav--open {
  -webkit-clip-path: circle(250% at top right);
  clip-path: circle(250% at top right);
  /*   display: block; */
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  border-bottom: 1px solid #575766;
}

.site-nav li:last-child {
  border-bottom: none;
}

/* ==== Текстовка меню ====== */
.site-nav a {
  color: #ebebd3;
  /* color: red; */
  display: block;
  padding: 1em 4em 1em 1.5em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: #e4b363;
  color: #464655;
}

/* ====  ===== */
.site-nav--icon {
  display: inline-block;
  font-size: 1.5em;
  margin-right: 1em;
  width: 1.1em;
  text-align: right;
  color: rgba(255, 255, 255, 0.4);
}

.menu-toggle {
  padding: 1em;
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background: #ebebd3;
  height: 3px;
  width: 1.75em;
  border-radius: 3px;
  transition: all ease-in-out 500ms;
}

.hamburger::before {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
}

.hamburger::after {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
}

.open .hamburger {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.open .hamburger::before {
  opacity: 0;
}

.open .hamburger::after {
  -webkit-transform: translateY(-3px) rotate(-90deg);
  transform: translateY(-3px) rotate(-90deg);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    height: auto;
    position: relative;
    background: transparent;
    float: right;
    -webkit-clip-path: initial;
    clip-path: initial;
  }

  .site-nav li {
    display: inline-block;
    border: none;
  }

  .site-nav a {
    padding: 0;
    margin-left: 3em;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: transparent;
  }

  .site-nav--icon {
    display: none;
  }
}

/*=============================*/

/*====== Подчёркивание ============*/
.underline {
  display: inline-block;
  /*color:#00136DFF;*/
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.underline:after {
  /* background-color: #00136DFF; */
  background-color: #fff;
  display: block;
  content: "";
  height: 2px;
  width: 0%;
  left: 50%;
  position: absolute;
  -webkit-transition: width 0.3s ease-in-out;
  -moz--transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
}
.underline:hover:after,
.underline:focus:after {
  width: 100%;
}

.footer_comp_1 .underline:after {
  background-color: rgb(48, 67, 163);
}

/* ==== Верх шапки, где телефон =============*/
.wrap-fon {
  background-color: #648798;
  /* Фон во всю ширину экрана */
}
.up {
  padding: 10px 15px;
  display: flex;
  justify-content: space-around;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  margin: 0;
}
.up img {
  width: 20px;
  margin: 0;
  padding: 0;
}

.up a {
  text-decoration: none;
  color: #fff;
}

.up p {
  margin: 0;
}

.screen_1 {
  background-color: #1775b1;
  /* min-height: 100vh; */
  margin: 0;
}
.screen_2 {
  /* min-height: 100vh; */
  /* background-color: #F0F8EA; */
  background-color: #648798;
  margin: 0;
}
.screen_3 {
  /* min-height: 100vh; */
  background-color: #ff7d2b;
  margin: 0;
}

.screen_4 {
  /* Отзывы */
  /* min-height: 100vh; */
  margin: 0;
  background-image: url(../img/finger-3530353_1200.jpg);
  /* background-position: center center; */
}
.screen_4 .fon {
  background-color: rgba(256, 256, 256, 0.6);
  /* min-height: 100vh; */
}
.screen_5 {
  /* Контакты */
  /* min-height: 100vh; */
  background-color: #1775b1;
  margin: 0;
}
.screen_5 p {
  margin: 1em;
}
.screen_5 .wrap-fon {
  background-color: #648798;
}

footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

footer ul {
  list-style: none;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  padding-left: 0;
  margin-left: 0;
  flex-wrap: wrap;
  justify-content: center;
}
footer li a {
  margin: 0 10px;
  color: #fff;
}
footer .footer_comp_1 p {
  color: #fff;
}

footer div {
  /* border: solid 2px; */
}
.footer_comp_1 {
  min-width: 30%;
}

.footer_comp_2 {
  min-width: 60%;
}
.footer_comp_3 {
  padding: 0;
}
.footer_comp_3 p {
  margin: 0px;
}
.footer_comp_2 a:hover {
  color: blue;
}

h2 {
  width: 250px;
  /*background-color: red;*/
  text-align: center;
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

h3 {
  width: 250px;
  /*background-color: red;*/
  text-align: center;
  margin: 0 auto;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid;
}

/* Услуги */
.list_services {
  display: flex;
  justify-content: space-around;
}

.service {
  width: 170px;
  border: #ff7d2b 1px solid;
  margin-top: 30px;
  text-align: center;
  border-radius: 15px;
  /* background-color: rgb(186, 245, 245); */
  background-color: #f0f8ea;
}

.list_services i,
.list_advantages i {
  margin-top: 10px;
  color: #1775b1;
  font-size: 40px;
}

.list_advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.advantage {
  width: 150px;
  border: #ff7d2b 1px solid;
  margin: 30px 10px;
  padding: 10px;
  text-align: center;
  border-radius: 15px;
  background-color: #f0f8ea;
}
.wrap-size {
  /* Ограничение ширины контетной части */
  max-width: 1200px;
  margin: 0 auto;
}

#slider {
  height: 100vh;
  /* max-height: 600px; */
}

.attestation,
.calibration {
  text-align: center;
}

.reviews {
  text-align: center;
  min-height: 400px;
  /*   
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; */
}

.contact {
  display: flex;
  justify-content: center;
}

.service p,
.advantage p {
  font-size: large;
  padding: 5px;
}

.contact_2 a {
  color: #f0f8ea;
}
