@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  color: #fff;
  font-weight: normal;
  background: #0D0D0D;
}

body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 15px;
}

.header {
  padding: 14px 0;
  background: #0D0D0D;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.header__menu li {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  text-transform: uppercase;
}

.header__menu li a {
  color: #FFF;
  transition: all .2s linear;
}

.header__warning {
  width: 50px;
  display: flex;
  justify-content: flex-end;
}

.banner {
  background: url('../img/bg.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 100px;
}

.banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 21, 21, 0.31);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -moz-backdrop-filter: blur(6px);
}

.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(83, 117, 49, 0.00) 0%, #2F5C00 21.5%);
}

.banner__wrapper {
  position: relative;
  z-index: 1;
  padding: 30px 0 0;
}

.banner__wrapper h1 {
  color: #FFF;
  text-align: center;
  text-shadow: 2px 4px 4.9px rgba(0, 0, 0, 0.25);
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px; 
  max-width: 761px;
  width: 100%;
  margin: 0 auto;
}

.banner__wrapper img {
  display: block;
  margin: -150px auto;
  transform: translateY(100px);
  max-width: 355px;
  width: 100%;
}

.about {
  padding: 100px 0;
  background: linear-gradient(180deg, #2F5C00 21.5%, #537531 100%);
}

.about h2 {
  color: #FFF;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px;
  margin: 50px auto 47px;
}

.about__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.about__box h3 {
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px;
  margin-bottom: 18px;
}

.about__box p {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; 
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

.games {
  padding: 80px 0 0;
}

#casino {
  position: relative;
}

#casino::before {
  content: '';
  position: absolute;
  left: 0;
  top: -70px;
  background: url('../img/dino.png');
  background-repeat: repeat;
  background-position: center;
  background-size: contain;
  width: 334px;
  height: 475px;
  z-index: 1;
}

#games.games {
  padding: 80px 0 88px;
}

.games h2 {
  color: #FFF;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 56px;
  position: relative;
  z-index: 10;
}

.games__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  position: relative;
  z-index: 10;
} 

.game {
  transition: all .3s ease;
}

.game img {
  border-radius: 10px;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
}

.game h4 {
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

@media (hover: hover) {
  .game:hover {
      scale: 1.1;
  }
}

@media (hover: none) {
  .game:active {
      scale: 1.1;
  }
}

.footer {
  border-top: 1px solid #FFF;
  padding: 34px 0 50px;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.footer__age {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 44px;
}

.footer__info {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin-bottom: 53px;
}

.footer__info a img {
  transition: all .2s linear;
}

.footer__wrapper p {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  max-width: 811px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1400px)  {
  #casino::before {
    left: -50px;
    top: -70px;
    width: 334px;
    height: 475px;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .games__wrapper {
    gap: 50px 50px;
  } 
  
  .game {
    width: 300px;
  }

  .game img {
    width: 100%;
    border-radius: 15px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
    padding: 0;
  }

  .banner__wrapper h1 {
    font-size: 46px;
    line-height: 1.3;
  }

  .about__wrapper {
    flex-direction: column;
  }

  #casino::before {
    left: -50px;
    top: -145px;
    width: 250px;
    height: 355px;
  }
} 

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .header__menu {
    justify-content: flex-start;
  }

  .header__menu li {
    font-size: 14px;
  }

  .games h2 {
    font-size: 30px;
  }

  .games__wrapper {
    gap: 50px 20px;
  } 
  
  .game {
    width: 250px;
  }

  .footer__age {
    width: 80px;
    height: 80px;
  }

  .footer__info {
    flex-direction: column;
  }

  .footer__wrapper p {
    font-weight: 400;
    line-height: 1.7;
  }
} 

@media screen and (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .banner__wrapper h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .about {
    padding: 100px 0 50px;
  }

  .about h2 {
    font-size: 30px;
    line-height: 1.5;
    margin: 50px auto;
  }

  .about__box h3 {
    line-height: 1.4;
  }

  #casino::before {
    display: none;
  }

  .games h2 {
    font-size: 26px;
  }

  .games__wrapper {
    gap: 50px 20px;
  } 
  
  .game {
    max-width: 350px;
    width: 100%;
  }
}

.game-page__wrapper {
  padding: 100px 0;
}

#game {
  height: 700px;
}
@media only screen and (max-width: 600px) {
  #game {
      height: 200px;
  }
}
@media only screen and (max-width: 1024px) {
  #game {
      height: 450px;
  }
}

@media (hover: hover) {
    .header__menu li:hover a {
      color: #528e16;
    }

    .footer__info a:hover img {
      scale: 1.05;
    }
}

@media (hover: none) {
    .header__menu li:active a {
      color: #528e16;
    }

    .footer__info a:active img {
      scale: 1.05;
    }
}