@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&display=swap");

html,
body {
  box-sizing: border-box;
  background-color: #001d14;
  color: #bbb;
  font-family: "Atkinson Hyperlegible Mono", serif;
  font-size: 20px;
  padding: 0;
  margin: 0;
  height: 100%;
  scroll-behavior: smooth;
}
p,
h1,
h2,
h3,
h4,
h5 {
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5 {
  color: #fff;
}
ul,
li,
a {
  text-decoration: none;
  color: inherit;
  list-style: none;
}
a:hover {
  color: #00CFC8;
}

li a {
  font-weight: 500;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  backdrop-filter: blur(5px);
  border: solid 1px #bbb;
  border-radius: 10px;
}

.menu {
  flex: 1;
}

.menu-footer-ul {
  display: flex;
  gap: 30px;
}
.header-img {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
}

.hero {
  position: relative;
  background-image: url("./img/about2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Чорний напівпрозорий шар */
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.color {
  color: #00CFC8;
}

.hero-section {
  min-height: 580px;
  display: flex;
  align-items: end;
  padding-bottom: 50px;
}

.hero-title {
  width: 60%;
  font-size: 30px;
}
.img-18 {
  display: flex;
}
.img-18 img {
  width: 70px;
  height: 70px;
}
/* Основний стиль для меню */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.menu-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu-list li {
  margin: 0 15px;
}

.menu-list a {
  text-decoration: none;
  font-size: 18px;
}

.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* about */
.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-img {
  display: flex;
  gap: 20px;
}
.about-img h2 {
  font-size: 38px;
}
.about-border {
  border: solid 2px #11f900;
  border-radius: 20px;
}
.about-img img {
  width: 100px;
  height: auto;
}

.about-container {
  display: flex;
  margin-top: 100px;
  gap: 50px;
}

/* button */
.button {
  font-family: "Atkinson Hyperlegible Mono", serif;
  color: #bbb;
  text-transform: uppercase;
  font-weight: 500;
  background-color: #004845;
  border: solid 2px #00CFC8;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.button:hover {
  color: #00CFC8;
  border-color: #00CFC8;
  background-color: #112e06;
}

/* about-num-container */

.about-num {
  margin-top: 100px;
}
.about-num-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.about-num-item1 {
  border: solid 3px #ff00a2;
  border-radius: 10px;
  padding: 15px 20px;
}

.about-num-item1 h2 {
  color: #ff00a2;
}
.about-num-item2 {
  border: solid 3px #11f900;
  border-radius: 10px;
  padding: 15px 20px;
}

.about-num-item2 h2 {
  color: #11f900;
}
.about-num-item3 {
  border: solid 3px #009cff;
  border-radius: 10px;
  padding: 15px 20px;
}

.about-num-item3 h2 {
  color: #009cff;
}
.about-num-item4 {
  border: solid 3px #f200ff;
  border-radius: 10px;
  padding: 15px 20px;
}

.about-num-item4 h2 {
  color: #f200ff;
}

/* welcome  */
.welcome {
  margin-top: 100px;
}

.welcome-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* coment */
.coment {
  margin-top: 50px;
}

.coment-container {
  background-color: #082000;
  padding: 15px;
  border-radius: 20px;
  border-left: solid 2px #00CFC8;
}

/* game */
.game {
  margin-top: 100px;
}
.games-text {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 10px;
}
.games-text img {
  width: 100px;
  height: auto;
}

.games {
  display: flex;
  border-radius: 20px;
  padding: 20px;
  border: solid 2px #009cff;
  justify-content: space-between;
}
.games1 {
}
.game-item {
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
  border: solid 2px #00CFC8;
  min-height: 190px;
  display: flex;
  align-items: center;
}

.game-item img {
  max-width: 300px;
  width: 100%;
}
/* footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
/* Стилі для мобільної версії */
@media (max-width: 768px) {
  .menu-list {
    display: none;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
  }

  .menu-list li {
    margin: 10px 0;
  }

  .burger {
    display: block;
  }

  .menu-list.active {
    display: block;
  }
}

/* game-one-container */
.game-one-container {
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.game-one-container iframe {
  margin: 50px 0;
  min-height: 600px;
  height: 100%;
  min-width: 330px;
  width: 100%;
}

.game-one h1 {
  text-align: center;
  padding-top: 20px;
}

/* contact-container */
.contact-container {
  display: flex;
  gap: 50px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-wrapper {
  padding: clamp(24px, 1.667vw, 64px);
  border-radius: clamp(18px, 1.25vw, 48px);
  border: 2px solid #00CFC8;
  background: rgba(255, 214, 0, 0.05);
}
.col-lg-6 {
  display: flex;
  gap: 20px;
}
.col-lg-6 input {
  width: 100%;
  background-color: transparent;
  border: solid 2px #00CFC8;
  border-radius: 8px;
  padding: 15px;
}

.col-lg-6 input::placeholder {
  color: #bbb;
  font-size: 18px;
  font-family: "Atkinson Hyperlegible Mono", serif;
}

.col-12 {
  min-width: 320px;
  width: 99%;
}

.col-12 textarea {
  width: 97%;
  background-color: #232323;
  border: solid 2px #00CFC8;
  border-radius: 8px;
  padding-left: 15px;
  padding-top: 15px;
  height: 300px;
}

.col-12 textarea::placeholder {
  color: #bbb;
  font-size: 18px;
  font-family: "Atkinson Hyperlegible Mono", serif;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-detail {
  margin: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact h2 {
  margin: 50px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-title h1 {
    font-size: 30px;
  }
  .hero-section {
    min-height: 450px !important;
  }

  .container {
    padding: 20px;
  }

  .about-container {
    flex-direction: column;
    gap: 20px;
  }

  .about-border {
    min-width: 300px;
    width: 92%;
  }

  .about-num-container {
    flex-direction: column;
  }
  .about-num-item1,
  .about-num-item2,
  .about-num-item3,
  .about-num-item4 {
    max-width: 330px;
    width: 100%;
  }

  .games {
    flex-direction: column;
    gap: 20px;
  }

  .footer {
    flex-direction: column;
  }

  .menu-footer-ul {
    flex-direction: column;
  }
}

/* Зміна кольору скролбару */
::-webkit-scrollbar {
  width: 10px; /* Ширина вертикальної смуги */
  height: 10px; /* Висота горизонтальної смуги (для горизонтального скролу) */
}

/* Колір доріжки скролу */
::-webkit-scrollbar-track {
  background: #000; /* Чорний фон */
  border-radius: 5px;
}

/* Колір повзунка */
::-webkit-scrollbar-thumb {
  background: #00CFC8; /* Яскраво-зелений */
  border-radius: 5px;
}

/* Ховер-ефект для повзунка */
::-webkit-scrollbar-thumb:hover {
  background: #004845; /* Трохи темніший зелений */
}

#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Приховано за замовчуванням */
  font-size: 20px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 20px;
  font-family: "Atkinson Hyperlegible Mono", serif;
  color: #bbb;
  text-transform: uppercase;
  font-weight: 500;
  background-color: #004845;
  border: solid 2px #00CFC8;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#scrollToTop:hover {
  color: #00CFC8;
  border-color: #00CFC8;
  background-color: #004845;
}

/* Фон модального вікна */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Вміст модалки */
.modal-content {
  background: black;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #bbb;
  text-align: center;
  max-width: 400px;
  width: 90%;
  color: #fff;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

/* Заголовок */
.modal-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Текст */
.modal-text {
  font-size: 14px;
  margin-bottom: 15px;
}

/* Маленький текст */
.modal-text.small {
  font-size: 12px;
  color: #bbb;
}

/* Стилі кнопки (як у попередньому стилі) */
.button {
  font-family: "Atkinson Hyperlegible Mono", serif;
  color: #bbb;
  text-transform: uppercase;
  font-weight: 500;
  background-color: #004845;
  border: solid 2px #00CFC8;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.button:hover {
  color: #00CFC8;
  border-color: #00CFC8;
  background-color: #004845;
}

.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: solid 1px #bbb;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none; /* Inicialmente oculto */
}

.cookie-modal.active {
  display: flex; /* Mostrar la modal cuando la clase 'active' se agrega */
}

.cookie-modal .message {
  flex: 1;
}

.cookie-modal button {
  padding: 10px 20px;
  background-color: #004845;
  border: solid 2px #00CFC8;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  color: white;
}

.text-disk {
  text-align: center;
  padding-bottom: 30px;
}

.modal-text-disk {
  font-size: 22px;
}

.btn-rej {
  background-color: transparent !important;
}
