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

a {
  text-decoration: none;
  color: inherit;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Bebas Neue', cursive;
  background-color: #000;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 115%;
  height: 115%;
  background: url('../images/background.webp') no-repeat center center fixed;
  background-size: cover;
  filter: blur(8px);
  transform: translate(var(--before-offset-x), var(--before-offset-y));
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

/* Отключаем параллакс на мобильных устройствах */
@media (max-width: 768px) {
  body::before {
    transform: translate(0, 0);
    transition: none;
  }
}
.container {
  max-width: 70vw;
  margin: 0 auto;
  min-height: 100vh;
}

.social__link {
  font-size: 2vh;
  width: 3vw;
  height: 2vh;
  position: relative;
}

.social__link:hover .arrow-r {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.arrow-r {
  filter: invert(100%);
  position: absolute;
  right: -6.5vw;
  top: -0.1vw;
  height: 20px;
  width: 20px;
}

.arrow-r:hover {
  right: -6vw;
  transform: rotate(180deg);
  transition: all 0.5s;
}

.link {
  margin-left: 3vh;
}

.link-grid {
  display: grid;
  font-size: 2vh;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2vw 2vw;
  color: #fff;
  position: relative;
}
.link__link:hover .arrow-rr {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.arrow-rr {
  filter: invert(100%);
  position: absolute;
  left: 10vw;
  top: -0.1vw;
  height: 20px;
  width: 20px;
}

.arrow-rr:hover {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.sponsors__logo {
  display: flex;
  justify-content: space-around;
}

.sponsor {
  margin-bottom: 5vh;
}

.twitch__logo:hover,
.steam__logo:hover {
  opacity: 1;
}
.twitch__logo,
.steam__logo {
  height: 100%;
  width: 100%;
  max-width: 340px;
  max-height: 180px;
  opacity: 0.5;
}

@media screen and (max-width: 700px) {
  .media__content,
  .media__resurce {
    display: flex;
    flex-direction: column;
    float: left;
  }

  .link__title {
    margin-left: 0;
  }

  .twitch__title {
    margin-left: 0;
  }

  .social__title,
  .link__title,
  .sponsor__title,
  .video__yt,
  .twitch__title {
    margin-bottom: 4vh;
  }

  .abscontent-center {
    font-size: 20vw !important;
  }

  .abscontent-center::after {
    font-size: 3vw !important;
  }

  .abscontent-left {
    width: 13vw !important;
    height: 100%;
    left: 5%;
    top: 3%;
  }

  .social,
  .link,
  .sponsors,
  .video,
  .twitch {
    height: 18vh;
  }

  .setup__block {
    color: #fff;
    font-size: 0.5vh;
  }

  .setup__block-sub {
    color: #999;
    font-size: 0.1vh;
  }

  .setup-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 1vw 1vw;
    grid-template-areas:
      '. . . .'
      '. . . .';
  }

  .social__link {
    position: relative;
    font-size: 2vh;
  }

  .arrow-r {
    position: absolute;
    left: 15vw;
    top: -5px;
  }

  .link,
  .twitch {
    margin-left: 0vh;
  }

  .arrow-rr {
    left: 20vw;
    top: -0.5vw;
    height: 20px;
    width: 20px;
  }

  .sponsors__logo {
    display: flex;
    flex-direction: column;
  }
  .sponsors {
    margin-bottom: 38vw;
  }

  .twitch__logo,
  .steam__logo {
    height: 100%;
    width: 100%;
    max-width: 450px;
    opacity: 0.8;
  }

  .setup {
    margin-top: 7vh;
  }
}

.abscontent {
  display: flex;
  flex-direction: row;
  background: rgb(252, 252, 252);
  background: linear-gradient(
    0deg,
    rgba(252, 252, 252, 0) 0%,
    rgba(72, 0, 241, 0.62) 53%,
    rgba(255, 0, 0, 0) 100%
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
  min-height: 100vh;
}

.abscontent-center {
  font-size: 10vw;
  color: #fff;
  margin: auto;
  cursor: default;
  user-select: none;
}
.abscontent-center::after {
  content: '®';
  font-size: 2.5vw;
  color: #fff;
  float: right;
  margin-top: 1vw;
}

.abscontent-left {
  content: '';
  background-image: url(../images/sm-logo.svg);
  background-repeat: no-repeat;
  width: 6vw;
  height: 100%;
  left: 1%;
  top: 1%;
  position: fixed;
}

.container__media {
  display: flex;
  flex-direction: column;
  padding-top: 6vh;
  flex-wrap: wrap;
}

.media__resurce {
  display: flex;
  justify-content: left;
}

.media__content,
.media__sponsors,
.media__resurce {
  min-height: 5vh;
}

.social__title,
.link__title,
.sponsor__title,
.video__yt,
.twitch__title {
  color: #fff;
  font-size: 4vh;
  min-width: 35vw;
  border-bottom: 2px solid #999;
  margin-bottom: 3vh;
  cursor: default;
  user-select: none;
}

.social,
.link,
.sponsors,
.video,
.twitch {
  min-height: 10vh;
  cursor: default;
  user-select: none;
}

.setup {
  cursor: default;
  user-select: none;
  display: flex;
  color: #fff;
  font-size: 4vh;
  border-bottom: 2px solid #999;
  margin-bottom: 1vh;  
}

.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2vw 2vw;
  margin-bottom: 5vh;
}

.setup__block {
  color: rgb(195, 195, 195);
  font-size: 2.5vh;
  cursor: default;
  user-select: none;
}

.setup__block-sub {
  color: rgb(124, 124, 124);
  font-size: 1.5vh;
  cursor: default;
  user-select: none;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2vw 2vw;
  color: #fff;
  margin-bottom: 5vh;
}

.link__title__link {
  margin-left: 10px;
}

.twitch__title-a {
  display: flex;
  justify-content: space-around;
  margin-bottom: 4vh;
}
.abscontent-description {
  font-family: Unbounded, sans-serif;
  font-size: 14px;
  position: absolute;
  bottom: -20px;
  left: -5%;
  text-align: center;
}
@media (max-width: 1000px) {
  .abscontent-description {
    font-size: 12px;
    bottom: -25px !important;
    left: -2%;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .abscontent-description {
    font-size: 12px;
    bottom: -40px !important;
    left: -2%;
    text-align: center;
  }
}
/* Фиксированная стрелка вниз */
.scroll-down1 {
  position: fixed;
  bottom: 20px;
  left: 8%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid #fff;

  /* Стеклянный эффект */
  border-radius: 50%;
  background: 0;
  cursor: pointer;
  animation: scroll-down 2s infinite;
}

.scroll-down1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.5);
  /* Цвет стрелки */
}

.scroll-down1.reverse::after {
  border-top: none;
  border-bottom: 10px solid rgba(255, 255, 255, 0.5);
  /* Цвет стрелки */
}

@keyframes scroll-down1 {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(2px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* Кругляшки для навигации */
.nav-circle {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.circle {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.circle:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.first-circle {
  background-color: #272727;
  /* Цвет первого кругляшка */
}

.second-circle {
  background-color: #272727;
  /* Цвет второго кругляшка */
}

.circle.active {
  background-color: #ffffff;
  /* Цвет активного кругляшка */
  box-shadow: 0 0 10px #ffffff;
  /* Светимость активного кругляшка */
}

.sponsor__title {
  font-family: Unbounded, sans-serif;
  font-size: 25px;
  font-weight: 500;
}
#success-message {
  font-size: 25px;
  text-align: center;
}
.form-container {
  font-family: Unbounded, sans-serif;
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(72, 0, 241, 0.2);
  /* Semi-transparent background with a hint of purple */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type='text'],
input[type='email'],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

textarea {
  height: 100px;
}

button[type='submit'] {
  background: rgba(72, 0, 241, 0.3);
  /* Semi-transparent purple background */
  color: #fff;
  padding: 10px 20px;
  border: 1px solid #999;
  /* Subtle border from your existing CSS */
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: Unbounded, sans-serif;
  /* Use the site's font */
  font-size: 2vh;
  /* Adjust size relative to viewport height */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  /* Subtle shadow for depth */
}

button[type='submit']:hover {
  background: rgba(72, 0, 241, 0.5);
  /* Slightly darker on hover */
  border-color: #fff;
  /* Highlight border on hover */
}

button[type='submit']:focus {
  outline: none;
  /* Remove default focus outline */
  box-shadow: 0 0 8px rgba(72, 0, 241, 0.7);
  /* Stronger shadow on focus */
}

/* Input Field Font Update */
input[type='text'],
input[type='email'],
textarea {
  font-family: 'Unbounded', sans-serif;
  /* Apply the specified font + fallback */
}
input::placeholder,
textarea::placeholder {
  color: #ffffff75; /* Цвет текста placeholder */
}
.abcontent-end {
  text-align: center;
  user-select: none;
  color: #fff;
  font-size: 8px;
  font-family: 'Unbounded', sans-serif;
  text-transform: uppercase;
  padding-bottom: 5px;
}
textarea {
  max-width: 460px;
  width: 100%;
  height: 100px;
  resize: vertical; 
  scrollbar-width: none;
}
.textarea::-webkit-scrollbar {
  display: none; 
}
