@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Rubik:ital,wght@0,900;1,900&display=swap');

body {
  padding: 0;
  margin: 0;
  background: #D3FFE5;
  color: #000000;
  position: relative;
  text-align: center;
   font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
h1,
h2 {
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-weight: 400;
  font-style: normal;
}
a {
  color: #000000;

   font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
}
h1 {
  color: black;
  margin-bottom: 13px;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 48px;
  line-height: normal;
  text-shadow: 0px 8px 16px rgba(0, 0, 0, 0.24);
}
h1 span {
  color: #2B8AD0;
}
h2,
.other .main h1 {
  color: #000000;
  text-shadow: 0px 8px 16px rgba(0, 0, 0, 0.24);
  text-align: center;
  font-size: 32px;
  line-height: normal;
}
.other footer a {
color:white;
}
.header-wrapper {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding-top: 22px;
}
.header-wrapper p {
  margin-bottom: 47px;
  font-weight: 700;
}
header {
  min-height: 800px;
  background-image: url(../img/header-bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  border-bottom: 5px solid #000;
}
header .btn {
  width: 120px;
  height: 120px;
  padding: 0;
  margin-top: 60px;
}
.main {
  padding: 80px 0 85px 0;
}
.btn {
  color: #000;

  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; 
  border-radius: 100px;
  background: #FFDC61;
  box-shadow: 0px -4px 8px 0px rgba(0, 0, 0, 0.25) inset, 0px 4px 8px 0px rgba(255, 255, 255, 0.50) inset, 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  padding: 16px 28px;
  justify-content: center;
  align-items: center;
  width: 284px;
  height: 64px;
  box-sizing: border-box;
  text-decoration-line: none;
}
.btn:hover {
  background: #2B8AD0;
}
.games {
  padding: 30px 0 127px 0;
  background-image: url(../img/bg-game-section.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
}
.games h2 {
  color: #FFFFFF;
}
.games-wrapper {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
}
.games-card {
  position: relative;
  width: 284px;
}
.games-card h3 {
  margin-top: 10px;
}
.games-card h3 a {
  color: #FFF;

  text-align: center;
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 111.111% */
  text-transform: capitalize;
  text-decoration-line: none;
}
.games-card .img {
  width: 284px;
  border-radius: 30px;
  height: 200px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
}
.games-card .img1 {
  background-image: url(../img/cover.jpg);
}
.games-card .img2 {
  background-image: url(../img/cover1.jpg);
}
.games-card .img3 {
  background-image: url(../img/cover2.jpg);
}
.games-card .img4 {
  background-image: url(../img/cover3.jpg);
}
.games-card .img5 {
  background-image: url(../img/cover4.jpg);
}
.games-card .img6 {
  background-image: url(../img/cover5.jpg);
}
.games-card .img7 {
  background-image: url(../img/cover6.jpg);
}
.games-card .img8 {
  background-image: url(../img/cover7.jpg);
}
.games-card .btn {
  width: 171px;
  height: 48px;
  font-size: 16px;
  line-height: 16px; /* 100% */
}
.games-card-hover {
  opacity: 0;
  border-radius: 30px;
  position: absolute;
  width: 284px;
  height: 200px;
  top: 0;
  left: 0;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
.games-card:hover .games-card-hover {
  opacity: 1;
}
.container {
  width: 892px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

p {
  font-size: 18px;
}
.main-page footer{
  background:#D3FFE5;

}
.main-page footer p { 
  color:black;
}
.main-page footer h2 {
  color: black;
  text-shadow: none;
}
footer {
  background: linear-gradient(89deg, #235F37 0%, #2D914F 100%);
  padding: 14px 0 32px 0;
  position: relative;
  z-index: 3;
}
footer h2 {
  color: #ffdc61;
  text-align: center;
  font-size: 24px;
  line-height: normal;
}
footer p {
  color: #fff;
  text-align: center;
   font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.5;
  margin-bottom: 12px;
}
footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.other header {
  min-height: 144px;
  background-image: url(../img/header-bg-other.jpg);
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}
.other .header-wrapper {
  padding-top: 8px;
}
.other h1 {
  font-size: 32px;
  margin-top: 26px;
}
.other .main {
  padding-top: 0;
  text-align: left;
}

.other ol li {
  color: #2F9652;
   font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.other ol {
  padding: 0 20px;
}



.game-wrapper iframe {
  position: relative;
  width: 100%;
  /* min-width: 730px; */
  min-width: auto;
  max-width: 100%;
  min-height: 560px;
  max-height: 100%;
  overflow: hidden;
}
header a {
  color: #FFF;
text-decoration: none;
  text-align: center;
  text-shadow: 0px 8px 16px rgba(0, 0, 0, 0.24);
  font-family: "Rubik";
  font-size: 28px;
  font-style: normal;
  line-height: 32px; /* 114.286% */
}

@media screen and (max-width: 1000px) {
  header {
    min-height: 541px;
  }
  .other header {
    min-height: 36px;
  }
  .main {
    padding-top: 47px;
  }
  .games-wrapper {
    justify-content: space-evenly;
  }
  .btn-main {
    bottom: 76px;
  }

  .container {
    width: 666px;
  }
  h1 {
    font-size: 28px;
  }
  .games-card .img {
    width: 100%;
    max-width: 312px;
    height: 148px;
  }
  .games-card {
    position: relative;
    width: 100%;
    max-width: 312px;
  }
  footer {
    margin-top: 64px;
  }
  header .btn {
    margin-top: 0;
}
.games-card-hover {
  width: 312px;
  height: 148px;
}
}

@media screen and (max-width: 700px) {

  .container {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }
}

