/* Загрузка один (Создаем видео) */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0f14 0%, #0b0f14 60%, #0a0d12 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader {
  margin: 0 auto;
  width: 60px;
  height: 50px;
  text-align: center;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);

  > div {
    height: 100%;
    width: 8px;
    display: inline-block;
    float: left;
    margin-left: 2px;
    -webkit-animation: delay 0.8s infinite ease-in-out;
    animation: delay 0.8s infinite ease-in-out;
  }

  .bar1 {
    background-color: #754fa0;
  }

  .bar2 {
    background-color: #09b7bf;
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
  }

  .bar3 {
    background-color: #90d36b;
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
  }

  .bar4 {
    background-color: #f2d40d;
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
  }

  .bar5 {
    background-color: #fcb12b;
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
  }

  .bar6 {
    background-color: #ed1b72;
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
  }
}

@-webkit-keyframes delay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.05);
  }

  20% {
    -webkit-transform: scaleY(1);
  }
}

@keyframes delay {
  0%,
  40%,
  100% {
    transform: scaleY(0.05);
    -webkit-transform: scaleY(0.05);
  }

  20% {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}

/* Обычная загрузка видео */

.container_loader_video {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.loader_video {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 15px auto;
  position: relative;
  color: #6ebeff;
  left: -100px;
  box-sizing: border-box;
  animation: shadowRolling 1.7s linear infinite;
}

@keyframes shadowRolling {
  0% {
    box-shadow: 0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0);
  }

  12% {
    box-shadow: 100px 0 #337ab7, 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0), 0px 0 rgba(51, 122, 183, 0);
  }

  25% {
    box-shadow: 110px 0 #337ab7, 100px 0 #337ab7, 0px 0 rgba(51, 122, 183, 0),
      0px 0 rgba(51, 122, 183, 0);
  }

  36% {
    box-shadow: 120px 0 #337ab7, 110px 0 #337ab7, 100px 0 #337ab7,
      0px 0 rgba(51, 122, 183, 0);
  }

  50% {
    box-shadow: 130px 0 #337ab7, 120px 0 #337ab7, 110px 0 #337ab7,
      100px 0 #337ab7;
  }

  62% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 130px 0 #337ab7, 120px 0 #337ab7,
      110px 0 #337ab7;
  }

  75% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      130px 0 #337ab7, 120px 0 #337ab7;
  }

  87% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      200px 0 rgba(51, 122, 183, 0), 130px 0 #337ab7;
  }

  100% {
    box-shadow: 200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0),
      200px 0 rgba(51, 122, 183, 0), 200px 0 rgba(51, 122, 183, 0);
  }
}

/* Стилии для куков */

.cookie-banner {
  width: 70vh;
  max-width: 1000px;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  background: #121415;
  z-index: 1000;
  opacity: 1;
  font-size: 18px;
  color: #ddebf0;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #757575;
}

.cookie-link {
  display: inline-flex;
  font-size: 18px;
  text-decoration: underline;
  margin-top: 0px;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  flex: 0 0 auto;
}

@media (max-width: 768px) {
  .cookie-banner__text,
  .cookie-link,
  .cookie-accept {
    font-size: 0.65rem;
  }

  .cookie-banner {
    width: 35vh;
  }
}

/* Стили шаблон */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #222;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  max-height: 100vh;
}

.container {
  background: #121415;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  width: 50vh;
  max-width: 600px;
  animation: fadeIn 0.5s ease-in-out;
}

h2 {
  text-align: center;
  color: #e7eef4;
  margin-bottom: 20px;
}

label {
  display: block;
  color: #e7eef4;
}

input {
  width: 100%;
  margin-bottom: 15px;
  border: none;
  outline: none;
  background: #17191a;
  color: #ddebf0;
  border-radius: 15px;
  padding: 12px 12px;
  box-sizing: border-box;
  transition: box-shadow 0.5s ease;
}

input:focus,
input:hover {
  box-shadow: 0 0 0 2px #0077cc;
}

input[type="checkbox"] {
  width: auto;
  margin-bottom: auto;
}

button {
  width: 100%;
  padding: 10px;
  color: #e7eef4;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  background: #3b5998;
  cursor: pointer;
  transition: box-shadow 0.5s ease;
}

button:hover {
  box-shadow: 0 0 0 2px #0077cc;
}

a {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #2b5c95;
  text-decoration: none;
}

a:hover {
  color: #4a90e2;
  text-decoration: underline;
}

.div_one_form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
    width: 35vh;
    margin-bottom: 50%;
  }

  h2 {
    font-size: 1.25rem;
  }
}
