*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

footer, header, nav, section, main {
  display: block;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  font-family: "Regular";
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  background-color: #fff;
}

*::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

*::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #fff;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #ffb600;
}

ul {
  list-style: none;
}

input, textarea {
  border: none;
  outline: none;
  background-color: transparent;
}

.container {
  max-width: 1292px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

@font-face {
  font-family: "Regular";
  src: url("../fonts/helvetica-neue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Medium";
  src: url("../fonts/helvetica-neue-medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bold";
  src: url("../fonts/helvetica-neue-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.btn {
  padding: 12px 20px;
  border: 1px solid black;
  border-radius: 16px;
  transition: ease 0.3s;
  font-size: 24px;
  display: block;
  max-width: fit-content;
  color: #000;
}

.btn:visited {
  color: black;
}

.btn:hover {
  color: white;
  background: black;
}

.section {
  max-width: 1920px;
  margin: 0 auto;
}

.btn-black {
  background: black;
  color: white;
}

.btn-black:visited {
  color: white;
}

.btn-black:hover {
  background: transparent;
  color: black;
}

strong {
  font-family: Bold;
}

@media (max-width: 768px) {
  .btn {
    padding: 16px 32px;
    font-size: 18px;
  }
}
header {
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 30px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  transition: ease 0.5s;
}

.top-line, .bottom-line {
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-line {
  transition: ease 0.5s;
  padding-bottom: 30px;
  border-bottom: 1px solid black;
}

.bottom-line {
  transition: ease 0.5s;
  padding: 30px 0;
}

.logo {
  width: 278px;
  height: 54px;
  display: flex;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-right svg {
  fill: black;
  width: 65px;
  height: 74px;
}

.menu-item {
  font-size: 20px;
  color: black;
  position: relative;
  z-index: 2;
}

.menu-item::after {
  position: absolute;
  content: "";
  bottom: -3px;
  width: 0;
  height: 1px;
  left: 50%;
  background: black;
  transition: ease 0.3s;
}

.is-active {
  position: relative;
}

.is-active::after {
  position: absolute;
  bottom: -3px;
  height: 1px;
  left: 0;
  background: black;
  transition: ease 0.3s;
  width: 100%;
}

.menu-item:visited {
  color: black;
}

.menu-item:hover::after {
  left: 0;
  width: 100%;
}

.burger, .menu-icon, .menu-btn {
  display: none;
}

@media (max-width: 1000px) {
  header {
    margin: 0;
    padding: 0;
  }
  .header-right, .bottom-line {
    display: none;
  }
  .top-line {
    padding: 16px;
    margin: 0;
  }
  .logo {
    max-width: 154px;
    width: 154px;
    height: 30px;
  }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
  }
  .burger-line {
    height: 3px;
    width: 100%;
    background: black;
  }
  .burger-line:last-child {
    width: 80%;
    margin-left: auto;
  }
  .bottom-line {
    position: relative;
    background: white;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 24px 24px 56px;
  }
  .menu-btn {
    margin: 46px auto 0;
    border: 1px solid black;
    padding: 10px 16px;
    border-radius: 24px;
    color: #000;
    z-index: 2;
    display: block;
  }
  .menu-btn:visited {
    color: #000;
  }
  .menu-icon {
    position: absolute;
    bottom: -70px;
    left: 0;
    display: block;
    width: 101%;
    height: 100%;
    fill: #EBEBEB;
    opacity: 0.5;
  }
  .is-open {
    display: flex;
  }
}
.modal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.modal-window {
  position: relative;
  background-color: white;
  margin: 6%;
  max-width: 600px;
}
.modal-close {
  position: absolute;
  display: block;
  top: 10px;
  right: 16px;
  font-size: 36px;
  transition: ease 0.3s;
  z-index: 20;
}
.modal-close:hover {
  cursor: pointer;
  color: #F1B13E;
}

footer {
  background: black;
  color: white;
  font-size: 32px;
  line-height: 1.1;
  position: relative;
  overflow: hidden;
}

.footer {
  max-width: 1260px;
  margin: 0 auto;
  padding: 100px 0 80px;
  z-index: 2;
  position: relative;
}

.foo-top {
  display: flex;
  gap: 260px;
}

.foo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.foo-block {
  max-width: 420px;
}

.foo-col-right {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 220px;
}

.link {
  color: white;
  transition: ease 0.3s;
}

.link:visited {
  color: white;
}

.link:hover {
  opacity: 0.5;
}

.logo-white {
  fill: #E8E2E1;
  width: 270px;
  height: 61px;
}

.social {
  fill: #E8E2E1;
  width: 42px;
  height: 42px;
  transition: ease 0.5s;
}

.foo-icon {
  fill: #E8E2E1;
  height: 61px;
  width: 53px;
  margin-right: 18px;
}

.social:hover {
  opacity: 0.5;
}

.foo-bottom {
  margin-top: 80px;
}

.foo-logo-icon {
  position: absolute;
  fill: #E8E3E3;
  width: min(1240px, 56vw);
  height: min(1360px, 58vw);
  right: -10%;
  top: -110%;
  transform: rotate(270deg);
}

@media (max-width: 2200px) {
  .foo-logo-icon {
    top: max(-100%, -20vw);
  }
}
@media (max-width: 1600px) {
  .foo-logo-icon {
    top: max(-100%, -10vw);
  }
}
@media (max-width: 1320px) {
  .footer {
    padding: 80px 30px;
  }
  .foo-top {
    gap: 180px;
  }
}
@media (max-width: 1200px) {
  .foo-logo-icon {
    top: max(-100%, -10vw);
    right: -20%;
    width: 700px;
    height: 700px;
  }
}
@media (max-width: 1200px) {
  .foo-logo-icon {
    display: none;
  }
}
@media (max-width: 768px) {
  footer {
    font-size: 18px;
  }
  .footer {
    padding: 32px 16px 80px;
    display: flex;
    flex-direction: column-reverse;
  }
  .foo-icon {
    width: 36px;
    height: 40px;
    margin-right: unset;
  }
  .logo-white {
    width: 142px;
    height: 32px;
  }
  .social {
    width: 32px;
    height: 32px;
  }
  .foo-top {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
  }
  .foo-col-right {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .foo-bottom {
    margin-top: 0;
    border-bottom: 1px solid #E8E3E3;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .foo-col {
    gap: 16px;
    max-width: 240px;
    line-height: 1.15;
  }
  .foo-logo-icon {
    display: block;
    width: 576px;
    height: 1360px;
    top: -116%;
    right: -70%;
  }
}