@font-face {
  font-family: "Buyan";
  src: url("../fonts/BuyanRegular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat_0";
  src: url("../fonts/Montserrat_0.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  background: #252729;
  overflow: auto;
}

a {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  border: none;
  cursor: pointer;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  margin: 0 auto;
  color: #d5d5d5;
  background-image: url(../images/Skate_89.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.lock {
  overflow: hidden;
}

.content {
  flex: 1 0 auto;
}

.container {
  max-width: 1920px;
  width: 100%;
  padding-left: 120px;
  padding-right: 120px;
  box-sizing: border-box;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.header {
  width: 100%;
  background: transparent;
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 38px;
  box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
  .header__wrapper {
    padding-top: 38px;
  }
}

@media screen and (max-width: 960px) {
  .header__wrapper {
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    padding-top: 38px;
  }
}

.header__logo {
  width: 250px;
  fill: #d5d5d5;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.header__logo:hover {
  fill: #766d7b;
}

@media screen and (max-width: 767px) {
  .header__logo {
    width: 260px;
  }
}

.header__contacts {
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease-out;
}

.header__contacts:hover .header__contacts-name {
  color: #5eafa4;
  border-bottom: 1px solid #5eafa4;
}

.header__contacts:hover .header__contacts-phones li a {
  color: #5eafa4;
}

.header__contacts:hover .header__contacts-phones li span {
  background: #5eafa4;
}

.header__contacts:hover
  .header__contacts-phones
  li:not(:last-child)
  span::before {
  background: #5eafa4;
}

.header__contacts:hover .header__contacts-name::before {
  background: #5eafa4;
}

.header__contacts-name {
  width: 350px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Buyan", sans-serif;
  font-weight: normal;
  font-size: 40px;
  text-transform: uppercase;
  color: #d5d5d5;
  border-bottom: 1px solid #d5d5d5;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.header__contacts-name::before {
  position: absolute;
  left: 0;
  bottom: -4px;
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5d5d5;
}

.header__contacts-name:hover {
  color: rgb(242, 242, 242);
}

.header__contacts-phones {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
  margin-top: 25px;
}

.header__contacts-phones li a {
  font-family: "Montserrat_0", sans-serif;
  font-weight: normal;
  font-size: 17px;
  color: #d5d5d5;
  transition: all 0.3s ease;
}

.header__contacts-phones li a:hover {
  color: rgb(242, 242, 242);
}

.header__contacts-phones li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header__contacts-phones li span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d5d5d5;
  position: relative;
}

.header__contacts-phones li:not(:last-child) span::before {
  content: "";
  width: 1px;
  height: 22px;
  background: #d5d5d5;
  position: absolute;
  left: 3px;
  bottom: -22px;
}

@media screen and (max-width: 960px) {
  .header__contacts {
    display: flex;
    justify-content: center;
  }

  .header__contacts-name {
    width: auto;
    height: auto;
    padding: 12px 0;
    font-size: 28px;
    border-bottom: 1px solid #d5d5d5;
  }

  .header__contacts-name::before {
    display: none;
  }

  .header__contacts-phones {
    display: none;
  }
}

.footer {
  flex: 0 0 auto;
  background: transparent;
}

.main {
  width: 100%;
  background: transparent;
}

.main__wrapper {
  min-height: calc(100dvh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 10px;
  box-sizing: border-box;
  position: relative;
  gap: 15px;
}

@media screen and (max-width: 960px) {
  .main__wrapper {
    min-height: initial;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 40px;
  }
}

.main__inner {
  display: flex;
  align-items: center;
  gap: 110px;
  transform: translateY(-10%);
}

@media screen and (max-width: 1220px) {
  .main__inner {
    width: 100%;
    justify-content: space-between;
    gap: 50px;
    transform: translateY(-10%);
  }
}

@media screen and (max-width: 767px) {
  .main__inner {
    flex-direction: column;
    transform: none;
  }
}

.main__image-l {
  width: 275px;
  height: auto;
  cursor: pointer;
  z-index: 2;
  display: block;
}

@media screen and (max-width: 767px) {
  .main__image-l {
    width: 300px;
  }
}

.main__image-l svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  fill: #d5d5d5;
  transition: all 0.3s ease-out;
  display: block;
}

.main__image-l svg:hover {
  fill: #962828;
}

.main__image-c {
  width: 325px;
  height: auto;
  cursor: pointer;
  z-index: 2;
  display: block;
}

@media screen and (max-width: 767px) {
  .main__image-c {
    width: 300px;
  }
}

.main__image-c svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  fill: #d5d5d5;
  transition: all 0.3s ease-out;
  display: block;
}

.main__image-c svg:hover {
  fill: #d4af37;
}

.main__image-r {
  width: 250px;
  height: auto;
  cursor: pointer;
  z-index: 2;
  display: block;
}

@media screen and (max-width: 767px) {
  .main__image-r {
    width: 300px;
  }
}

.main__image-r svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  fill: #d5d5d5;
  transition: all 0.3s ease-out;
  display: block;
}

.main__image-r svg:hover {
  fill: #24a0b0;
}

.main__middle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 30px;
}

@media screen and (max-width: 960px) {
  .main__middle {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    gap: 30px;
  }
}

.main__requisites-link {
  display: block;
  color: #d5d5d5;
  align-self: start;
  z-index: 3;
}

.main__requisites-link_left {
  justify-self: start;
}

.main__requisites-link_right {
  justify-self: end;
}

@media screen and (max-width: 960px) {
  .main__requisites-link_left,
  .main__requisites-link_right {
    justify-self: center;
  }
}

.main__requisites {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-self: start;
  z-index: 3;
}

.main__requisites li {
  font-family: "Montserrat_0", sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #d5d5d5;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.15;
}

.main__requisites_left {
  align-items: flex-start;
  text-align: start;
}

.main__requisites_right {
  align-items: flex-end;
  text-align: end;
}

@media screen and (max-width: 960px) {
  .main__requisites_left,
  .main__requisites_right {
    align-items: center;
    text-align: center;
  }

  .main__links {
    order: -1;
  }
}

.requisites-hover.active.main__requisites li {
  color: #807f53;
}

.main__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 2;
  align-self: start;
}

.main__links-list {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.main__links-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(213, 213, 213, 0.05);
  transition: all 0.3s ease-out;
}

.main__links-list li a:hover {
  background: rgba(213, 213, 213, 0.15);
  -webkit-box-shadow: 0px 0px 8px 7px rgba(230, 236, 241, 0.15);
  -moz-box-shadow: 0px 0px 8px 7px rgba(230, 236, 241, 0.15);
  box-shadow: 0px 0px 8px 7px rgba(230, 236, 241, 0.15);
}

.main__links-list li a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .main__links {
    gap: 20px;
  }

  .main__links-list {
    gap: 10px;
  }

  .main__links-list li a {
    width: 42px;
    height: 42px;
  }

  .main__links-list li a img {
    width: 24px;
    height: 24px;
  }
}

.footer__copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

@media screen and (max-width: 960px) {
  .footer__copyright {
    margin-top: 0;
  }
}

.footer__copyright-item {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

@media screen and (max-width: 767px) {
  .footer__copyright-item {
    flex-direction: column;
    gap: 5px;
  }
}

.footer__copyright-item li {
  font-family: "Montserrat_0", sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #d5d5d5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer__copyright-item li a {
  color: #d5d5d5;
  transition: all 0.3s ease;
}

.footer__copyright-item li:hover a {
  color: #566ebf;
}

.footer__copyright-bottom {
  font-family: "Montserrat_0", sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #d5d5d5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer__copyright-bottom a {
  color: #d5d5d5;
  transition: all 0.3s ease;
}

.footer__copyright-bottom:hover a {
  color: #f7a3ab;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.error-404 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
  color: #d5d5d5;
  font-family: "Montserrat_0", Arial, sans-serif;
  position: relative;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}

.error-404__code {
  font-size: 8rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.error-404__title {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #d5d5d5;
  font-weight: 500;
  display: block;
  visibility: visible;
  opacity: 1;
}

.error-404__text {
  font-size: 1.1rem;
  max-width: 550px;
  line-height: 1.6;
  margin-bottom: 50px;
  color: #a0a0a0;
  display: block;
  visibility: visible;
  opacity: 1;
}

.error-404__link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 32px;
  background-color: transparent;
  color: #d5d5d5;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid #4a4c4e;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  visibility: visible;
  opacity: 1;
}

.error-404__link svg {
  width: 20px;
  height: 20px;
  fill: #d5d5d5;
  transition: all 0.3s ease;
}

.error-404__link:hover {
  border-color: #24a0b0;
  color: #24a0b0;
}

.error-404__link:hover svg {
  fill: #24a0b0;
  transform: translateX(5px);
}

@media (max-width: 600px) {
  .error-404__code {
    font-size: 5rem;
  }
  .error-404__title {
    font-size: 1.5rem;
  }
}
