@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;
  z-index: 14;
}

.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;
}

.contacts__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.contacts {
  margin-top: 50px;
  padding-left: 200px;
  width: 100%;
  display: flex;
  background-color: #222222;
}

.phone__contacts {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.section__backgtound {
  width: 50%;
}

.number {
    width: 143px;
  margin-top: 21px;
  font-family: Roboto-R;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
}

.number.first{
    margin-top: 40px;
}

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

.work__time.first{
    margin-top: 32px;
}

.work__time.last{
    margin-top: 20px;
    margin-bottom: 40px;
}

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

.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) {
  .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;
  }

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

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

  .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;
  }

  .contact__title {
    margin-top: 50px;
    font-family: Inter-M;
    font-size: 24px;
    font-weight: 500;
    line-height: 29px;
    letter-spacing: 0em;
    text-align: left;
  }


.contacts {
    margin-top: 30px;
    padding-left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #222222;
  }
  
  .phone__contacts {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .section__backgtound {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }

  .number {
    width: 143px;
  margin-top: 21px;
 margin-left: 20px;
}

.number.first{
    margin-top: 30px;
}

.work__time{
   margin-left: 20px;
}

.work__time.last{
    margin-top: 20px;
    margin-bottom: 30px;
}

.map__frame{
    height: 360px;
}

  .footer {
    height: 60px;
  }

  .about__content-description {
    margin-top: 16.8px;
    font-family: Inter-R;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    letter-spacing: 0em;
    text-align: left;
  }

  .why__list {
    margin-bottom: 30px;
    width: 320px;
  }

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

  .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;
  }
}
