@import url("./fonts.css");
@import url("./reset.css");

body {
  color: #282828;
  font-family: "Helvetica", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.body--overflow {
  max-height: 100vh;
  overflow: hidden;
}

.container {
  padding: 0 24px;
  margin: 0 auto;
}

.header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 17px;
  overflow: hidden;
}

.header--static {
  position: static;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__button {
  width: 20px;
  height: 16px;
  position: relative;
  z-index: 50;
}


.header__line,
.header__line::after,
.header__line::before {
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
  background-color: #fff;
  transition: all .5s linear;

}

.header__line--black,
.header__line--black::after,
.header__line--black::before {
  background-color: #282828;
}

.header__line {
  transform: translateY(-50%);
}

.header__line::after,
.header__line::before {
  content: '';

}

.header__line::before {
  transform: translateY(-8px);
}

.header__line::after {
  transform: translateY(8px);
}

.header__button--active .header__line {
  width: 0;
  transition: all .5s linear;
}

.header__button--active .header__line::before {
  width: 20px;
  transform: rotate(45deg);
  background-color: #282828;
}

.header__button--active .header__line::after {
  width: 20px;
  transform: rotate(-45deg);
  background-color: #282828;
}


.header__menu {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  padding: 16px 0 64px;
  z-index: 49;
  transition: all .5s linear;
}


.header__menu--active {
  display: block;
  transition: all .5s linear;
  opacity: 1;
  pointer-events: auto;
}

.header__menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header__nav {
  flex-grow: 1;
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  height: auto;
}

.header__list {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}

.header__link {
  color: #282828;
  font-size: 25px;
  font-weight: 300;
}

.header__link--active {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 0 10px;
  color: #EC2027;
}

.header__contacts {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 40px 0;
}

.header__contact {
  color: #282828;
  font-size: 18px;
  font-weight: 300;
  text-decoration: underline;
}

.main {
  overflow-y: hidden;
}

.title {
  font-size: 35px;
  font-weight: 300;
  line-height: 1.2;
}

.title-s {
  font-size: 25px;
  font-weight: 300;
  line-height: 1.2;
}

.button,
.button-black,
.button-grey {
  font-size: 10px;
  border-radius: 4px;
  padding: 12px 14px 12px;
  font-family: "Overpass", sans-serif;
  text-transform: uppercase;

}

.button {
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #282828;
}

.button-black {
  background-color: #282828;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}


.button-grey {
  width: 99px;
  color: #fff;
  border: 1px solid #c0c0c0;
  background-color: #c0c0c0;
}

.text-link {
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
}

.email-form {
  display: flex;
  gap: 0 8px;
}

.email-form__input {
  border: 1px solid #000;
  padding: 12px 14px;
  flex-grow: 1;
  font-size: 10px;
  border-radius: 4px;
}



.footer {
  background-color: #f0f0f0;
  padding-top: 64px;
  overflow: hidden;
}

.footer__text {
  margin-top: 20px;
  font-size: 14px;
}

.footer__form {
  margin-top: 28px;
}

.footer__bottom {
  background-color: #c0c0c0;
  padding: 15px 0 8px;
  margin-top: 30px;
}

.footer__bottom-text {
  font-family: "DIN", sans-serif;
  font-size: 12px;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.footer__nav {
  margin-top: 30px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}

.footer__item-mt {
  margin-top: 16px;
}

.footer__item-link {
  font-size: 14px;
  color: #8f8f8f;
}

.footer__payments {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__payments-list {
  display: flex;
  max-width: 151px;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.footer__copyright {
  font-size: 14px;
}

