@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&family=Lato:wght@400;700&display=swap");

body {
  padding: 0;
  margin: 0;
  background: white;
  color: black;
  position: relative;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
body.other{
  background: #2f1893;
}
h1,
h2,
.btn {
  font-family: "IBM Plex Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
}
a {
  color: black;

  font-family: "Lato", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
}
h1 {
  margin-bottom: 13px;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;

  color: #eae5ff;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 64px; /* 100% */
}
h1 span {
  color: #FAFF15;
}
h2,
.other .main h1 {
  color: #2F1893;

  text-align: center;
  font-size: 32px;
  line-height: normal;
}
.other .main h1 {
  color: #eae5ff;
}
.header-wrapper {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding-top: 65px;
}
.header-wrapper p {
  color: #E6E6E6;

  text-align: center;
  font-family: Lato;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /
}
header {
  min-height: 800px;
  background: #2f1893;
}

.bg {
  width: 100%;
  min-height: 410px;
  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;
  z-index: -1;
}
.main {
  padding: 145px 0 136px 0;
}
.btn {
  color: #eae5ff;
  font-family: Lato;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px; /* 120% */
  border-radius: 100px;
  background: #159dff;
  display: flex;
  padding: 16px 28px;
  justify-content: center;
  align-items: center;
  width: 226px;
  height: 64px;
  box-sizing: border-box;
  text-decoration-line: none;
}
.btn:hover {
  background: #FAFF15;
  color: #2F1893;
}
.games-prev {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding-top: 99px;
}
.games-prev .img{
  border-radius: 16px;
}
.text-wrapper {
  border-radius: 20px;
  border: 2px solid #2f1893;
  padding: 32px 24px;
  background: #eae5ff;
}
.other .text-wrapper { 
  border-radius: 0;
  border: none;
  padding: 0;
  background: transparent;
  color: white;
}
.text-wrapper h2 {
  margin: 0;
}
.games {
  padding-top: 44px;
  background: #2f1893;
  padding-bottom: 147px;
}
.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 h2 {
  color: #eae5ff;
}
.games-card {
  position: relative;
  width: 208px;
  display: flex;
padding-bottom: 8px;
flex-direction: column;
align-items: center;
gap: 8px;
flex: 1 0 0;
border-radius: 20px;
background: #EAE5FF;
}
.games-card h3 {
  margin: 0;
  height: 45px;
  display: flex;
  vertical-align: middle;
  align-content: center;
  align-items: center;
}
.games-card h3 a {
  color: #000;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 111.111% */
  text-transform: capitalize;
  text-decoration-line: none;
}
.games-card .img {
  border-radius: 20px  20px 0 0;
  width: 208px;
  height: 138px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
}
.games-card .img1, .games-card-prev .img1{
  background-image: url(../img/cover.jpg);
}
.games-card .img2, .games-card-prev .img2 {
  background-image: url(../img/cover1.jpg);
}
.games-card .img3, .games-card-prev .img3 {
  background-image: url(../img/cover2.jpg);
}
.games-card .img4, .games-card-prev .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: 184px;
  height: 48px;
  font-size: 16px;
  line-height: 16px; /* 100% */
  border-radius: 10px;
}
.games-card-hover {
  opacity: 0;
  position: absolute;
  width: 208px;
  height: 62px;
  bottom: 0;
  left: 0;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  background: #eae5ff;
  border-radius: 0 0 20px 20px;
}
.games-card:hover .games-card-hover {
  opacity: 1;
}

.games-card-prev  {
  position: relative;
  width: 186px;
  display: flex;
padding-bottom: 8px;
flex-direction: column;
align-items: center;
gap: 8px;
flex: 1 0 0;
border-radius: 20px;
}
.games-card-prev  h3 {
  margin-top: 10px;
}
.games-card-prev  h3 a {
  color: #E6E6E6;

  text-align: center;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px; /* 111.111% */
  text-transform: capitalize;
}
.games-card-prev  .img {
  border-radius: 20px ;
  width: 186px;
  height: 127px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
}
.container {
  width: 892px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

p {
  font-size: 18px;
}
footer {
  background: #eae5ff;
  padding: 14px 0 32px 0;
  position: relative;
  z-index: 3;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
footer .col1 {
  width: 265px;
}
footer .col2 {
  width: 588px;
}
footer .col1 h2,
footer .col2 p {
  text-align: left;
}
footer h2 {
  color: #159dff;

  font-family: "IBM Plex Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
footer p {
  color: black;
  text-align: center;
  font-family: "Lato", 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;
}


@media screen and (max-width: 1000px) {
  header {
    min-height: 541px;
  }
  .main {
    padding: 47px 0 47px 0;
  }
  .games-wrapper {
    justify-content: space-evenly;
  }
  .btn-main {
    bottom: 76px;
  }
  .item3 {
    width: 101px;
    height: 120px;
  }
  .item4 {
    width: 121.081px;
    height: 120px;
    top: 1293px;
  }
  .container {
    width: 666px;
  }
  h1 {
    font-size: 28px;
    line-height: 28px;
  }
  .header-wrapper .btn{
    width: 100%;
  }
  .games-card .img {
    width: 100%;
    min-width: 312px;
    height: 148px;
  }
  .games-card {
    position: relative;
    width: 100%;
    min-width: 312px;
  }

  footer .container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
  }
  footer .col2,footer  .col1 {
  width: 100%;
  }
  .games-prev>div:nth-child(2n+1) {
    display: none;
  }
  footer .footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}
}

@media screen and (max-width: 700px) {
  .bg {
    width: 100%;
    min-height: 168px;
    background-image: url(../img/header-bg1.jpg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    z-index: -1;
  }
  .container {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .games-card-prev {
    position: relative;
    width: 136px;
  }
  .games-card-prev .img {
    border-radius: 20px;
    width: 136px;
    height: 90px;
  }
}

.other header {
  min-height: 92px;
}
.other header a {
  color: #FAFF15;

text-align: center;
font-size: 32px;
font-style: normal;
font-weight: 700;
line-height: 32px; /* 120% */
}
.other .header-wrapper {
  padding-top: 8px;
}
.other h1 {
  font-size: 32px;
  margin-top: 26px;
}
.other .main {
  padding: 45px 0;
  text-align: left;
}
.other .main h2 {
  color: white;
}
.other ol li {
  color: #159DFF;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.other ol {
  padding: 0 20px;
}
.other .item4 {
  top: 494px;
  bottom: auto;
}
.other .item3 {
  top: 160px;
}
.other .item5,
.other .item6 {
  display: none;
}
.other footer {
  margin-top: 58px;
}

@media screen and (max-width: 1400px) {
  .other .item2,
  .other .item3,
  .other .item4 {
    display: none;
  }
}

.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-line: none;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px; /* 112.5% */
  margin-top: 48px;
}
