﻿@font-face {
  font-family: "Anybody";
  src: url("../font/Anybody-Regular.woff2") format("woff2"), url("../font/Anybody-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Anybody";
  src: url("../font/Anybody-SemiBold.woff2") format("woff2"), url("../font/Anybody-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Anybody";
  src: url("../font/Anybody-ExtraBold.woff2") format("woff2"), url("../font/Anybody-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}
:root {
  font-family: "Anybody", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --primary: #5b091c;
  --accent: #ff3a55;
  --text: #eee;
  --bg: #781931;
  --second: #8d213b;
  --white: #fff;
  --black: #000;
  --radius: 18px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.12;
}

main {
  min-height: 90vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 26px;
}

section {
  position: relative;
  padding: 45px 0;
}

.container {
  width: min(100%, 1420px);
  margin: 0 auto;
  padding: 0 20px;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.link {
  color: inherit;
  text-decoration: none;
}

.list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.title_white {
  color: var(--white);
}

.title_center {
  text-align: center;
}

p {
  margin: 0;
}

.descr {
  margin: 0;
  margin-top: 15px;
  font-weight: 600;
}

.descr_white {
  color: var(--white);
}

.descr_center {
  text-align: center;
}

.btn {
  display: inline-block;
  margin: 0;
  padding: 14px 45px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s background, 0.2s border-color, 0.2s color;
  font-size: 18px;
}
.btn:hover {
  background: var(--second);
  border-color: var(--second);
  color: var(--white);
}
.btn_outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: inherit;
}
.btn_outline:hover {
  border-color: var(--second);
  background: transparent;
  color: var(--white);
}

.phone {
  display: none;
  flex-shrink: 0;
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 16px 5px;
  border: none;
  background: transparent;
  transition: 0.4s ease rotate;
  cursor: pointer;
}
.phone__stick {
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  translate: 0 -50%;
  width: calc(100% - 5px);
  height: 3px;
  border-radius: 50px;
  background: var(--white);
  transition: 0.4s ease left, 0.4s ease width, 0.4s ease translate, 0.4s ease rotate, 0.4s ease opacity;
}
.phone__stick:first-child {
  translate: 0 calc(-50% - 10px);
}
.phone__stick:last-child {
  translate: 0 calc(-50% + 10px);
}
.phone_active {
  rotate: 45deg;
}
.phone_active .phone__stick:first-child {
  opacity: 0;
}
.phone_active .phone__stick:last-child {
  translate: 0 -50%;
  rotate: -90deg;
}

.logo {
  display: block;
  width: 90px;
}

strong {
  color: var(--accent);
}

.privacy,
.terms,
.disclaimer {
  font-size: 24px;
}
.privacy__content,
.terms__content,
.disclaimer__content {
  margin-top: 30px;
}
.privacy__par,
.terms__par,
.disclaimer__par {
  margin-top: 15px;
}

.menu {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.menu__item {
  border-bottom: 2px solid transparent;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  transition: 0.3s color, 0.25s border-color;
}
.menu__item_active, .menu__item:hover {
  border-color: #fee444;
  color: #fee444;
}

.header {
  position: relative;
  padding: 10px 0;
  background: var(--primary);
  color: var(--white);
  z-index: 9999;
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__actions .btn {
  padding: 8px 22px;
}
.header__auth {
  display: contents;
}

.footer {
  position: relative;
  padding: 30px 0;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__title {
  text-transform: uppercase;
  font-size: 22px;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}
.footer__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
.footer__copyright {
  margin: 0 auto;
  margin-top: 30px;
  width: min(100%, 1100px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  text-align: center;
}
.footer__special {
  position: relative;
  margin-top: 30px;
  min-height: 1px;
}
.footer__social {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.footer__social-item {
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--second);
  border-radius: 100%;
  transition: 0.3s background;
}
.footer__social-item:hover {
  background: var(--accent);
}
.footer__social-link {
  display: block;
  width: 100%;
  height: 100%;
}
.footer__social-link svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}
.footer__social-item:hover .footer__social-link svg {
  fill: var(--primary);
}
.footer hr {
  margin: 20px 0;
  opacity: 0.2;
}
.footer__paymants {
  text-align: center;
}
.footer__paymants-list {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.footer__paymants-item {
  width: 130px;
  height: 68px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius);
  background: var(--second);
  overflow: hidden;
}
.footer__paymants-icon {
  display: block;
  height: 58px;
}
.footer__paymants svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
  transition: 0.2s ease fill;
}
.footer__paymants-item:hover .footer__paymants-icon svg {
  fill: var(--accent);
}

.specialPromo {
  position: absolute;
  left: 50%;
  translate: -50%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 25px 10px;
  border-radius: var(--radius);
  background: var(--second);
  text-align: center;
  color: var(--white);
  text-decoration: none;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
  transition: 0.3s ease;
  transition-property: width, box-shadow;
  z-index: 1000;
}
.specialPromo_sticky {
  position: fixed;
  bottom: 0;
  width: 100vw;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.15);
}
.specialPromo__icon {
  flex-shrink: 0;
  width: 26px;
  aspect-ratio: 1/1;
}
.specialPromo__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
}

.hero {
  padding: 40px 0;
  text-align: center;
  color: var(--white);
}
.hero__title {
  font-size: clamp(1.5rem, 0.9203rem + 2.8986vw, 4rem);
}
.hero__descr,
.hero .btn {
  font-size: clamp(1.125rem, 0.9801rem + 0.7246vw, 1.75rem);
}
.hero__images {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 3/1;
  min-height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.textSection__wrapper {
  padding: 20px;
  text-align: center;
}
.textSection .title {
  margin: 10px 0;
}
.textSection h2.title {
  font-size: 26px;
}
.textSection .descr {
  font-weight: 400;
}
.textSection__list {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
.textSection__item {
  width: clamp(220px, 25% - 20px, 300px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px var(--primary);
  text-align: center;
}
.textSection__item_large {
  width: clamp(240px, 33.33% - 20px, 450px);
}
.textSection__item-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.textSection__icon {
  display: block;
  margin-bottom: 15px;
  font-size: 38px;
  line-height: 1;
}
.textSection__img {
  display: block;
  margin: 10px auto;
  width: min(100%, 950px);
  aspect-ratio: 3/1;
  min-height: 300px;
  border-radius: var(--radius);
  object-fit: cover;
}
.textSection__img_special {
  width: min(100%, 1000px);
  aspect-ratio: auto;
}
.textSection__name {
  font-size: 22px;
}
.textSection__instructions {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
.textSection__instruction {
  width: clamp(240px, 33.33% - 20px, 450px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--second);
  color: var(--bg);
  font-size: 22px;
}
.textSection__instruction .textSection__icon {
  margin-bottom: 0;
}

.blogs__list {
  width: min(100%, 900px);
  margin: 0 auto;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.blog__picture {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius);
}
.blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.blog__title, .blog__descr {
  position: relative;
  z-index: 1;
}
.blog__url {
  padding: 8px 30px;
}
.blog__url:before {
  content: "";
  position: absolute;
  inset: 0;
}

.blogDetail__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.blogDetail__picture {
  width: min(100%, 1000px);
  aspect-ratio: 3/1;
  min-height: 200px;
  overflow: hidden;
  border-radius: var(--radius);
}
.blogDetail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blogDetail__content {
  line-height: 0.9;
}

.advents {
  background: var(--second);
}
.advents__list {
  margin-top: 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
.advents__item {
  width: clamp(220px, 25% - 20px, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.advents__icon {
  width: 82px;
  aspect-ratio: 1/1;
}
.advents__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.advents__name {
  font-size: 22px;
}

.faq__list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accord {
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid var(--text);
  border-radius: var(--radius);
  transition: 0.3s border-color;
}
.accord:hover:not(.accord_active) {
  border-color: var(--white);
}
.accord__header {
  gap: 10px;
  color: var(--text);
  font-weight: 500;
  transition: 0.25s color;
}
.accord:hover:not(.accord_active) .accord__header {
  color: var(--white);
}
.accord__header, .accord__icon {
  display: flex;
  align-items: center;
}
.accord__icon {
  width: 20px;
  height: 20px;
  transition: rotate 0.3s ease;
}
.accord__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--text);
  transition: 0.25s fill;
}
.accord:hover:not(.accord_active) .accord__icon svg {
  fill: var(--white);
}
.accord__wrapper {
  height: 0;
  overflow: hidden;
  transition: height 0.3s;
}
.accord__content {
  padding: 16px 28px;
}
.accord_active {
  border-color: var(--accent);
}
.accord_active .accord__header {
  color: var(--accent);
}
.accord_active .accord__icon {
  rotate: 180deg;
}
.accord_active .accord__icon svg {
  fill: var(--accent);
}
.accord_active .accord__wrapper, .accord_close .accord__wrapper {
  height: auto;
}

@keyframes animTranslate {
  100% {
    translate: 0;
    opacity: 1;
    transform: 0;
  }
}
.anim {
  opacity: 0;
  animation-duration: var(--t, 0.3s);
  animation-delay: var(--d, 0s);
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.anim_right {
  translate: -5%;
}
.anim_left {
  translate: 5%;
}
.anim_top {
  translate: 0 10%;
}
.anim_bottom {
  translate: 0 -10%;
}
.anim_show {
  animation-name: animTranslate;
}

@media (max-width: 1440px) {
  .phone {
    order: 1;
    display: block;
  }
  .header__nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    width: min(100%, 320px);
    height: var(--vh);
    background: var(--primary);
    translate: 10%;
    opacity: 0;
    transition: 0.4s ease translate, 0.3s ease opacity;
    z-index: 9998;
  }
  .header__nav_show {
    display: block;
  }
  .header__nav_active {
    display: block;
    translate: 0;
    opacity: 1;
  }
  .menu {
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
  }
  .footer__wrapper {
    flex-direction: column;
  }
  .footer__nav {
    text-align: center;
  }
  .footer__list {
    justify-content: center;
  }
  .footer__list {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .blog {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
  }
  .blog__picture {
    width: min(100%, 340px);
    margin: 0 auto;
  }
  .blog__wrapper {
    display: contents;
  }
  .blog__date {
    order: -1;
  }
}
@media (max-width: 525px) {
  h1 {
    font-size: 36px;
  }
  .header__auth {
    display: none;
  }
  .privacy,
  .terms,
  .disclaimer {
    font-size: 18px;
  }
  .privacy h2,
  .terms h2,
  .disclaimer h2 {
    font-size: 20px;
  }
}