@import url(./fonts.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: white;
}

.callback__icon {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 70px;
  bottom: 100px;
  cursor: pointer;
}

.burger__main {
  overflow: hidden;
  height: 0px;
  opacity: 0;
}
.burger__tap {
  display: none;
}

.header__background {
  width: 100%;
  height: 89px;
  background: linear-gradient(90deg, #222222 50%, #3f3f3f 100%);
  display: flex;
  justify-content: center;
}

.header__container {
  width: 1140px;
  display: flex;
  align-items: center;
}
.logo {
  width: 194px;
  height: 33px;
  margin-right: 107px;
  cursor: pointer;
}
.header__nav {
  display: flex;
  list-style-type: none;
  align-items: center;
  font-family: Inter-R;
  font-size: 16px;
  color: white;
}
.header__link:hover {
  cursor: pointer;
}
.header__link:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 26px 16px 0;
}
.header__link:nth-child(2) {
  padding-left: 25px;
}
.header__link:nth-child(3) {
  margin-left: 107px;
}
.header__link:nth-child(4) {
  margin-left: 50px;
}
.header__link:nth-child(5) {
  margin-left: 50px;
}

.prices {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #222222;
}

.prices__title {
  margin-top: 80px;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
}

p {
  font-family: Inter-M;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0em;
  text-align: left;
}

.prices__cntainer {
  margin-top: 55px;
  width: 1200px;
}

.service__price {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service__price.main {
  border: none;
}

.service__price.last {
  margin-bottom: 55px;
}

.service {
  margin-left: 50px;
  font-family: Inter-R;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

.service.main {
  font-family: Inter-SB;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

.price {
  margin-right: 96px;
  font-family: Inter-R;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

.price.main {
  margin-right: 99px;
  font-family: Inter-SB;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

.price.free {
  margin-right: 82px;
}
.price.far {
  margin-right: 86px;
}
.price.call {
  margin-right: 125px;
}
.price.large {
  margin-right: 89px;
}


.footer{
  width: 100%;
  height: 80px;
  background-color: #0C0C0C;
}

.footer__container{
  width: 100%;
  height: 100%;
  padding: 0px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo{
  font-family: Inter-M;
font-size: 24px;
font-weight: 500;
line-height: 29px;
letter-spacing: 0em;
text-align: left;
color: white;
}

.footer__links{
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__link{
  width: 40px;
  height: 40px;
}

.footer__image{
  width: 40px;
  height: 40px;
}

.popup {
  visibility: hidden;
  height: 0px;
  opacity: 0;
  /* display: none; */
  overflow: hidden;
}

.popup.active {
  overflow: visible;
  z-index: 15;
  /* display: block; */
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 12, 15, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  top: 0%;
  left: 0%;
  opacity: 1;
  transition: 0.5s opacity, 0.5s visibility;
  visibility: visible;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup__content {
  position: relative;
  width: 320px;
  background-color: rgba(11, 12, 15, 1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 38px 40px 38px;
}

.popup__close {
  width: 16px;
  height: 16px;
  font-family: Inter-R;
  font-size: 16px;
  font-weight: 300;
  line-height: 14px;
  letter-spacing: 0em;
  text-align: left;
  color: rgba(217, 217, 217, 1);
  position: absolute;
  top: 3.3%;
  left: 90%;
  cursor: pointer;
}

.tap__on,
.popup__or,
.popup__form {
  font-family: Inter-R;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

.popup__phone {
  margin-top: 20px;
  font-family: Inter-M;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
  color: white;
}

.popup__or {
  margin-top: 10px;
}

.popup__form {
  margin-top: 25px;
  text-align: center;
}

.name__input,
.number__input {
  margin-top: 33px;
  width: 244px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #FFFFFF;
  background-color: rgba(7, 8, 12, 1);
  padding: 0px 15px 0px 15px;
  outline: none;
  color: white;
}

.number__input {
  margin-top: 20px;
}

.callback__button {
  margin-top: 30px;
  width: 244px;
  background-color: #FFFFFF;
  color: black;
  border: none;
  border-radius: 7px;
  height: 50px;
  font-family: Inter-M;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}


@media (max-width: 1199px) {

  .popup.active {
    top: 0px;
    display: block;
    visibility: visible;
  }

  .popup__body {
    margin-top: 100px;
    align-items: flex-start;
  }

  .burger__tap {
    background-color: #0c0c0c;
    width: 42px;
    height: 42px;
    position: fixed;
    border-radius: 50%;
    z-index: 20;
    transition: 0.2s;
    left: unset;
    right: 20px;
    display: block;
  }

  .burger__tap.burger-menu_active {
    background-color: white;
  }

  .burger-menu_button {
    top: 1px;
    /* z-index: 30; */
    width: 30px;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
  }

  .burger-menu_button:hover {
    background-color: inherit;
  }

  .burger-menu_lines::before,
  .burger-menu_lines::after,
  .burger-menu_lines {
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
  }
  .burger-menu_lines {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .burger-menu_lines::before {
    content: "";
    top: -6px;
  }
  .burger-menu_lines::after {
    content: "";
    top: 6px;
  }

  .burger-menu_active .burger-menu_lines {
    background-color: transparent;
  }
  .burger-menu_active .burger-menu_lines::before {
    background-color: #0c0c0c;
    top: 0;
    transform: rotate(45deg);
  }
  .burger-menu_active .burger-menu_lines::after {
    background-color: #0c0c0c;
    top: 0;
    transform: rotate(-45deg);
  }

  .burger__main {
    height: 0px;
    opacity: 0;
    visibility: hidden;
  }

  .burger__main.active {
    z-index: 17;
    visibility: visible;
    display: block;
    overflow: visible;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 15, 1);
    top: 0px;
    left: 0%;
    transition: 0.5s opacity, 0.5s visibility;
    opacity: 1;
    display: block;
  }

  .burger__body {
    padding: 10px 50px;
    min-height: 100%;
    display: flex;
    justify-content: center;
  }

  .burger__content {
    margin-top: 100px;
    position: relative;
    width: 260px;
    background-color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .burger__link-item {
    width: 100%;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: Inter-R;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: center;
    color: white;
    margin-top: 15px;
  }

  .burger__link-item:last-child {
    border: none;
  }
  .header__container {
    width: 100%;
  }
  .logo {
    margin-left: 20px;
  }
  .header__nav {
    display: none;
  }
  .burger-menu {
    display: block;
  }

  .prices__title {
    margin-top: 50px;
    margin-bottom: 40px;
  }

  .prices__cntainer {
    margin-top: 35px;
    width: 100%;
  }

  .service__price {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .service__price.last {
    margin-bottom: 50px;
  }

  .service {
    width: 158px;
    margin-left: 20px;
    font-family: Inter-R;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
  }

  .service.main {
    width: 200px;
    font-family: Inter-SB;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
  }

  .price {
    margin-right: 26px;
    font-family: Inter-R;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
  }

  p {
    width: 320px;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
  }

  .price.main {
    margin-right: 28px;
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
  }

  .price.free {
    margin-right: 14px;
  }

  .price.far {
    margin-right: 17px;
  }

  .price.call {
    margin-right: 52px;
  }

  .price.large {
    margin-right: 20px;
  }

  .footer__logo{
    width: 100px;
    font-size: 16px;
    line-height: 19.2px;
  }

  .footer{
    height: 60px;
  }
  
  .footer__container{
    padding: 0px 20px;
  }
  
  
  
  .footer__image, .footer__link{
    width: 30px;
    height: 30px;
  }
  
  .footer__links{
    width: 186px;
  }

  .callback__icon{
    width: 55px;
    height: 55px;
    position: fixed;
    right: unset;
    left: 20px;
    bottom: 80px;
    cursor: pointer;
  }
}
