@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;500;700&display=swap');


*{
  margin: 0;
  padding: 0;
  font-family:'Open Sans', sans-serif;
  box-sizing: border-box;
}


/* fully responsive nav bar */

nav{
  display: flex;
  width: 100%;
  padding: 0.8em;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

 nav .logo {
  width:  10em;
}


ul {
  display: flex;
  flex-wrap: wrap;
  margin-right: 0.2em;
}

ul li{
  list-style: none;
  margin-right: 1em;
}

li a{
  text-decoration: none;
  color: #5a189a;
  transition: all 0.3s ease;
  font-size: 0.9rem;  
}

 .active
{
  background-color:#5a189a;
  color: #fff;
  padding: 0.5em;
  font-size: 0.9rem;
  border-radius: 15px;
}

li a:hover{
  background-color: #f4e3fe;
  padding: 0.5em;
  font-size: 0.9rem;
  border-radius: 15px;
}

nav .menu-btn i{
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}
input[type="checkbox"]{
  display: none;
}

@media (max-width: 600px) {
  nav{
    position: fixed;
    background-color: hsl(277, 63%, 87%);
    top: 0;
    z-index: 1;
  }
  nav .menu-btn i{
    display: block;
  }
  #click:checked ~ .menu-btn i:before{
    content: "\f00d";
  }
  nav ul{
    position: fixed;
    top:3.5em;
    left: -100%;
    background: hsl(277, 64%, 87%);
    height: 45vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }
  #click:checked ~ ul{
    left: 0;
  }
  nav ul li{
    width: 100%;
    margin: 40px 0;
  }
  nav ul li a{
    width: 100%;
    margin-left: -100%;
    font-weight: 800;
    color: #ffffff;
    display: block;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a{
    margin-left: 0px;
  }
  nav ul li a.active,
  nav ul li a:hover{
    background: none;
    color: #5a189a;
    padding: 0;

  }
  nav .menu-btn i{
    color: #5a189a;
    font-size: 22px;
    cursor: pointer;
    display: contents;
}
}

/* finally, end of nav bar..lol */


.section-1{
  margin-top: 1em;
  margin-bottom: 3em;
  padding: 1.75%;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 1em;
}

.purple{
  color: #5a189a;
}


.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.5em;
  width: 9em;
  outline: 1.5px solid #5a189a ;
  border-radius: 20px;

}

.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;
background-color: #f4e3fe;
}

.games{
  display:grid;
  grid-template-columns: 33.33% 33.33% 33.33%;
  gap: 0.5em;
  padding: 1.75%;
  background-color: #f4e3fe;
  padding-bottom: 3em;
}


 .bbn,.fate,.predict{
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 0 auto;
  margin-bottom: 0.5em;
  min-height: 250px;
}


.bbn{
  background: url(../images/Big_Brother_Naija_Season_6_Logo.jpg) , linear-gradient(#5a189a, rgba(187, 75, 243, 0.363));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
 .fate{
  background: url(../images/fate_cards.jpg) , linear-gradient(#5a189a, rgba(187, 75, 243, 0.363));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
 .predict{
  background: url(../images/predict.jpg) , linear-gradient(#5a189a, rgba(187, 75, 243, 0.363));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

 .slot-card:hover{
border: 3px solid #5a189a;
}

.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;
  }

  .first{
    order: 2;
  }


.second{
    order: 1;
  }
  .second-a{
    flex-direction: column;
  }

  .social{
    flex-direction: row;
    width: 12.5em;
  }
}