@charset "UTF-8";

/*Кнопка меню*/

/*В разметке обязательно должна иметь внутренний span */

/*<button class="burger"><span></span></button>*/

.contactCard__button {
  justify-content: center;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  border: solid 1px #306682;
  background-color: white;
  text-transform: uppercase;
  transition: color .3s, background-color .3s;
  cursor: pointer;
  color: #306682;
  height: 3.25rem;
  padding: 0px 3.4375rem;
  border-radius: 52px;
}

.contactCard__button:hover {
  color: white;
  background-color: #306682;
}

/*Кнопка меню*/

/*В разметке обязательно должна иметь внутренний span */

/*<button class="burger"><span></span></button>*/

.contactCard__button {
  justify-content: center;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  border: solid 1px #306682;
  background-color: white;
  text-transform: uppercase;
  transition: color .3s, background-color .3s;
  cursor: pointer;
  color: #306682;
  height: 3.25rem;
  padding: 0px 3.4375rem;
  border-radius: 52px;
}

.contactCard__button:hover {
  color: white;
  background-color: #306682;
}

.contacts {
  background-image: url(../img/contacts.jpg);
  min-height: calc(100vh - 9.875rem);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 9.875rem;
}

.header {
  background-color: white;
  padding-bottom: 1rem;
  margin-bottom: 4rem;
  width: 100%;
}

.contactCard {
  background-color: white;
  box-shadow: 0 28px 38px rgba(151, 151, 151, 0.6);
  padding: 2.625rem;
  width: calc(100% - 17.5rem);
  margin: auto;
}

.contactCard__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.875rem;
}

.contactCard__box {
  display: flex;
  justify-content: space-between;
}

.contactCard__colomn {
  display: flex;
  flex-direction: column;
}

.contactCard__colomn:first-child {
  justify-content: space-between;
  align-items: flex-start;
  width: 32.5rem;
}

.contactCard__text {
  line-height: 1.8125rem;
  margin-bottom: 3.25rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.contactCard__button {
  display: inline-flex;
  color: white;
  background-color: #306682;
  height: 3.375rem;
  padding: 0px 2.125rem;
}

.contactCard__social {
  margin-top: 2.125rem;
}

.contactCard__socialLink {
  margin-right: 1rem;
}

.contactCard__socialLink:last-child {
  margin-right: 0px;
}

.contactCard__socialLink svg {
  height: 1.5rem;
}

.contactCard__link {
  color: #306682;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.contactCard__link:nth-child(3) {
  font-weight: 600;
}

.main .footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  background-color: transparent;
}

.main .footer__box {
  display: none;
}

.main .footer__text {
  color: #306682;
}

.main .footer__info {
  width: calc(100% - 17.5rem);
  margin: auto;
}

.main .footer svg path {
  fill: #306682;
}

@media (max-width: 1600px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 1550px) {
  html {
    font-size: 15.5px;
  }
}

@media (max-width: 1500px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 1450px) {
  html {
    font-size: 14.5px;
  }
}

@media (max-width: 1400px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 1350px) {
  html {
    font-size: 13.5px;
  }
}

@media (max-width: 1300px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 1250px) {
  html {
    font-size: 12.5px;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 12px;
  }

  .contacts {
    min-height: calc(100vh - 12.5rem);
    padding-top: 12.5rem;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 16px;
  }

  .contacts {
    background-position: center 592px;
    min-height: calc(100vh - 116px);
    padding-top: 116px;
  }

  .contactCard {
    position: absolute;
    top: 116px;
    right: 0;
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid #dddddd;
  }

  .contactCard__box {
    flex-direction: column;
  }

  .contactCard__colomn:first-child {
    align-items: center;
    width: 100%;
  }

  .contactCard__text {
    width: 27.5rem;
    margin-bottom: 1rem;
  }

  .contactCard__button {
    margin-bottom: 3.375rem;
  }

  .main .footer__info {
    width: calc(100% - 7.5rem);
  }
}

@media (max-width: 560px) {
  .contacts {
    background-position: center 420px;
    background-size: 1000px 500px;
  }

  .contactCard {
    padding: 2.375rem 1rem;
  }

  .contactCard__title {
    font-size: 1.4375rem;
    margin-bottom: 12px;
  }

  .contactCard__text {
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .contactCard__button {
    padding: 0;
    width: 100%;
  }

  .contactCard__socialLink svg {
    height: 2.125rem;
    width: 2.125rem;
  }

  .contactCard__link {
    font-size: 0.875rem;
  }

  .main .footer__info {
    width: 100%;
  }
}