@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: #efd3ff;
  font-family: 'Montserrat', sans-serif;
  display: grid;
  grid-template-columns: auto auto ;
  position: relative;

}

header{
    width: 100%;
    padding: 0.4em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 header .logo {
  width: 12rem;
}

header .balance {
  border: none;
  border-radius: 60px;
  padding: 0.3rem;
  width: 7rem;
  background-color: #E9F2FB;
  text-align: center;
  font-weight: 600;
  font-size: 0.75em;
  font-family: 'Montserrat', sans-serif;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  transition-property: all;
  transition-duration: 0.5s;
}

.balance:hover{
  background-color: #21798f;
  color: #fff;
}

.top-banner{
  width: 100%;
  height: 100%;
  z-index: -5;
  position: absolute;
  top: 0;
  left: 0;
}

ul {
  display: grid;
  padding-top: 0.8em;
  grid-template-rows: repeat(19, 1fr);
  align-items: center;
  justify-content: center;
  z-index: 4;
  gap: 2em;
  position: fixed;
  background-color: #fff;
  border-right: #d3b1f4 solid;
  height: 100vh;
  animation: link 0.8s linear ;
}

ul li{
  list-style: none;
  margin-right: 1em;
  position: relative;
  letter-spacing: 0.1em;
}

@keyframes link {
  from{
    left: -100%;
  }
  to{
    left: 0px;
  }
}

li a{
  text-decoration: none;
  color: #5a189a;
  transition: all 0.3s ease;
  font-size: 0.7rem;  
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
}

li img{
  width: 29px;
}

.active , .nav li a:hover{
  font-weight: 800;
  font-size: 0.8rem;
}
.nav li:nth-of-type(1){
  grid-row: 5/6;
}
.nav li:nth-of-type(2){
  grid-row: 6/7;
}
.nav li:nth-of-type(3){
  grid-row: 7/8;
}
.nav li:nth-of-type(4){
  grid-row: 8/9;
}

.cont-2{
  margin-left: 6rem;
}

@media (max-width:600px) {
  ul{
    order: 2;
    padding: 0;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    height: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    border: none;
    border-top: 1px solid #5a189a;
  }

  .cont-2{
    margin-left: 0px;
  }

  .nav li:nth-of-type(1){
  grid-row: 1/2;
  grid-column: 1/2;
}
  .nav li:nth-of-type(2){
  grid-row: 1/2;
  grid-column: 2/3;
}
.nav li:nth-of-type(3){
  grid-row: 1/2;
  grid-column: 3/4;

}
.nav li:nth-of-type(4){
  grid-row: 1/2;
  grid-column: 4/5;

}
  
.nav li a{
  flex-direction: column;
  gap:2px;
  font-size: 0.7em;
}
}


.section-1{
  margin-top: 1em;
  margin-bottom: 1.5em;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.purple{
  color: #5a189a;
  position: relative;
}

.section-1-text h1{
  font-size: 3.5rem;
  margin-bottom: 0.2em;
}

.section-1-text p{
  margin-bottom: 0.7em;
  font-size: 1.5em;
}

.section-1 img{
  width: 50%;
}

.section-1 button{
  font-size: 0.8em;
  border: none;
  background: #fff;
  padding: 0.7rem;
  width: 9em;
  outline: 1.5px solid #5a189a ;
  border-radius: 20px;
  font-weight: 700;
  transition-property: all;
  transition-duration: 0.5s;
}

.section-1 button:hover{
  background-color: #5a189a;
  outline: none;
  color: #fff;
  box-shadow:  0 4px 4px rgba(0, 0, 0, 0.5);
}

@media(max-width:600px){
  .section-1{
    margin-top: 4em;
    display: flex;
    flex-direction: column;
  }

.section-1-text{
  text-align: center;
  order: 2;
}

.section-1 img{
  width: 80%;
}

}


.section-2 h2{
text-align: center;
letter-spacing: 0.2em;
background-color: #f4e3fe;
}

.games{
  display:grid;
  grid-template-columns: repeat(3, 1fr) ;
  gap: 0.5em;
  padding: 1.75%;
  background-color: #f4e3fe;
  padding-bottom: 3em;
}

 .card{
  width: 90%;
  border: #5a189a solid 1px;
  background-color: #fff;
  border-radius: 10px;
  color: black;
  margin: 0 auto;
  margin-bottom: 0.5em;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  padding: 0.3em;
 /* position: relative; */
}
.card h3{
  font-size: 0.8em;
}
.card p{
  font-size: 0.5em;
  color: #828283;
  font-weight: 600;
}
.card i{
  color: black;
  transition-property: all;
  transition-duration: 0.7s;
  position: relative;
  top:  0;
}

.card:hover i{
  color: #a653f9;
}

.card img{
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  max-height: 200px;
  width: 100%;
}

.curve{
  width: 100%;
  position: relative;
  top: 0.5em;
}

a{
  text-decoration: none;
}

@media(max-width:600px){
  .games{
    grid-template-columns: 90%;
    gap: 2em;
    justify-content: center;
  }

  .slot-card{
    min-height: 200px;
  }
}

/* FOOTER */

footer{
  background: #5a189a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f4e3fe;
}

.first{
  padding: 1.5%;
}

.first .logo{
  width: 55%;
  cursor: pointer;
}

.second{
display: flex;
flex-direction: column;
justify-content: center;
margin-right: 1.5em;
gap: 1em;
}

.second-a{
  display: flex;
  gap: 1em;
  font-size: 0.75em;
  font-weight: 600;
}

.second-a a {
  text-decoration: none;
  color: #f4e3fe;
}

.social{
  display: flex;
  gap: 0.8em;
  flex-direction: row-reverse;
}
.social a{
  width: 5.5%;
}

.social img{
  width: 95%;
  cursor: pointer;
}

@media(max-width:600px){
  footer{
    display: grid;
    grid-template-columns: 100%;
    padding: 3%;
    gap: 2em;
    margin-bottom: 2rem;
  }

  .first{
    order: 2;
  }


.second{
    order: 1;
  }
  .second-a{
    flex-direction: column;
  }

  .social{
    flex-direction: row;
    width: 12.5em;
  }
}