/* univarsal selector */
*{
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
}
nav{
    display: flex;
    justify-content: space-between ;
    align-items: center;
    padding: 2.4rem 16rem;
    background: #FFF;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.05);
}
.primary-color{
    color: #FF42A5;
}
.btn-primary{
    border-radius: 3rem;
    padding: 1.3rem 2.5rem;
    color: #FFF;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;

    }
.nav-title, .footer-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2.9rem;
    font-weight: 700;
}
.title{
    margin-left: 1.25rem;
}
.menu ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.menu ul li{
    margin-right: 2em;
    list-style: none;
    color: #3C354F;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;

}
.list-icon{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    background: rgba(11, 2, 35, 0.10);
    padding: 1.1rem 1.4rem;
}
.list-icon svg{
    margin-left: 20px;
    width: 33.916px;
    height: 24px;
}
/* end of the navigation-bar */

/* start design of the banner section */
.play-banner{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    margin-right: 15.5rem;
}
.beautiful-background-image{
    display: flex;
    justify-content: start;
}
.beautiful-background-image img{
   width: 100%;
}
.text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15rem;
    margin-right: 4.25rem;
    width: 50%;
    background: url('../images/Group\ 14.png'),linear-gradient(223deg, rgba(140, 87, 238, 0.03) 0%, rgba(241, 68, 174, 0.03) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 left bottom;
    /* background: linear-gradient(223deg, rgba(140, 87, 238, 0.03) 0%, rgba(241, 68, 174, 0.03) 100%); */


}

.text h3{
    color: #0B0223;
    /* text-align: center; */
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}
.text h1{
    /* text-align: center; */
    font-size: 5.9rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(180deg, #F948B2 0%, #8758F1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rules{
    margin-bottom: 2.6rem;
    /* margin-left: 245px; */
    
}
.play-rules p{
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 1rem;
}
.play-rules p > svg{
    padding-right: 2rem;
}

.btn-signin{
    background: var(--linear, linear-gradient(90deg, #FF42A5 0%, #FF42A5 100%));
    /* margin-left: 245px; */
}
.btn-rogue{
    background: #4EC5F7;
}


/* game-banner section */

.game-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15rem;
    margin-right: 15.31rem;
    background: #FFF;  
}
.game-images{
    display: flex;
    justify-content: start;
}
.game-images img{
    width: 100%;
}
.game-text{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    align-items: flex-end;
    width: 50%;
    padding: 5.94rem 0;
    margin-left: 52px;
    

}
.game-text h3{
    text-align: right;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(180deg, #F948B2 0%, #8758F1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}
.game-text p{
    color: #534C64;
    text-align: right;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 30px; 
    margin-bottom: 1.5rem;
}
.btn-more{
    text-align: end;
    margin-bottom: 1.5rem;
}
.more{
    border-radius: 48px;
    background: var(--linear, linear-gradient(90deg, #FF42A5 0%, #FF42A5 100%));
    
}
.purpose{
    margin: 0;
}
.game-text h4{
    color: #534C64;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 45px; 
}


/* main section */
.funny-videos{
    display: flex;
    flex-direction: column;
    padding: 15.31rem;
    width: auto;
    height: auto;
    background: #FFF;
}
.funny-videos h3{
    color: #0B0223;
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.funny-videos p{
    color: #534C64;
    text-align: center;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 30px; /* 166.667% */
    margin-bottom: 2rem;
}
.image-part{
    display: flex;
    justify-content: space-between;
}
.funny-videos span{
    background: linear-gradient(180deg, #F948B2 0%, #8758F1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Work Sans;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.box{
    position: relative;
    display: inline-block;
    width: 342px;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 320px 420px;
    background-position: bottom;
    margin-right: 1.5rem;
    
}
.box p{
    width: 342px;
    height: 400px;
    margin-top: 30px;
}

.box:hover{
    transform: scale(1.2,1.2);
    background-color: red;
    box-shadow: 5px 10px #888888;
    
}


.play-icon {
    position: absolute;
    background-color: rgb(151, 48, 48);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; /* adjust icon size as needed */
    height: 80px; /* adjust icon size as needed */
    background-image: url('../images/icon.png'); /* replace with your play icon image */
    background-size: cover;
  }

  /* instant-play */

  .instant-play{
    display: flex;
    justify-content: space-between;
    margin: 120px 240px;
    align-items: center;
    
  }
  .instant-play-text{
    width: 50%;
    /* margin-right: 100px; */
  }
  .innertext{
    width: 50%;
  }
  .innertext p{
    color: #534C64;
    text-align: right;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 30px; 
  }
  .attractive-title{
    background: linear-gradient(180deg, #F948B2 0%, #8758F1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
  }
  .instant-play-text h3, .online-play-text h3{
    text-align: right;
    font-size: 3rem;
    font-weight: 700;
    line-height: 60px; /* 125% */
    margin-bottom: 1.5rem;
  }

.instant-img{
    position: relative;
    margin-bottom: 9.4rem;
    
    
}
.horse{
    width: 634.833px;
    height: 650px;
}
.doll{
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 318.5px;
    height: 365.083px;
}

/* start online game part */
.online-play{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 150px 240px;
    
}
.online-play-text{
    width: 50%;
}
.online-play-text p{
    color: #534C64;
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 30px; 
    padding: 1.25rem;
}

.online-innertext{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin-left: 15rem;
}
.online-img{
        position: relative;
        margin-bottom: 9.4rem;  
        
}
.spider-man{
        width: 634.833px;
        height: 650px;
}
.cat{
        position: absolute;
        bottom: -100px;
        left: -150px;
        width: 318.5px;
        height: 365.083px;
}
.online-play-text h3{
    text-align: start;
}
/* games types */
.games-type{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7.5rem;
    
}
.types:hover{
    border: 1px solid #FF42A5;
}
.types-of-games{
    max-width: 1399px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.types{
    display: flex;
    align-items: center;
    border-radius: 50px;
    background: #fff;
    padding: 7px;
    
}
.types p{
    padding-left: 1rem;
    color: #0B0223;
    font-size: 20px;
    font-weight: 600;

}

/* start footer part */
.footer-part{
    display: flex;
    flex-direction: column;
    background: #0B0223;
    padding-top: 120px;
    justify-content: center;
    align-items: center;
}
.footer-title{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
    color: white;
    
}

.option{
    display: flex;
    max-width: 814px;
    flex-wrap: wrap;
    align-items: center;
    gap: 3.75rem;
    justify-content: center;
    margin-top: 2rem;
    color: white;
    font-size: 1.12rem;
}

.svg-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 4rem;
    border: none;
    color: white;
    
}
.rules-condition{
    display: flex;
    gap: 60px;
    margin-top: 4.6rem;
    max-width: 708px;
    flex-wrap: wrap;
}
.rules-condition p {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
}
.lastpart-footer{
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.75rem;
    margin-bottom: 130px;
}












/* Media Quary for mobile */
@media screen and (max-width:576px){

    /* nevigation */
    nav{
        flex-direction: column;
    }
    .nav-title{
        margin-bottom: 3.9rem;
    }
    .menu ul{
        flex-direction: column;
    }
    .menu ul li{
        margin-bottom: 2.25rem;
    
    }
    .list-icon{
        width: 262px;
        height: 56px;
        margin-top: 3.9rem;
    }

    /* start the play-banner section */
.play-banner{
    flex-direction:column;
    width: 100%;
    margin: 0;
    
}
.text{
    width: 100%;
    padding: 20px;
    padding-left: 100px;
    margin-top: 24px;
    
}
/* .images{
    width: 100%;
} */
.beautiful-background-image{
    margin: 65px;
    width: 100%;
    /* background-position: right 100px bottom; */
}

.game-banner{
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 10px;
  
}
.game-images img{
   width: 100%;
}
.game-text{
    width: auto;
    align-items: center;
}
.game-text h3{
    text-align: center;
}
.game-text p{
    text-align: center;
}
.game-text h4{
    text-align: center;
}

/* funny-videos */
.funny-videos{
    padding: 24px;
    
}
.funny-videos h3,p{
    width: calc(100%- 10% - 24px);
    text-align: center;
    margin-left: 10%;
  
}

.image-part{
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    margin-left: 10%;

}

.instant-play{
    flex-direction: column;
    margin: 15px;
    margin-top: 140px;

  }
  .instant-play-text{
    width: 100%;
    /* margin-right: 100px; */
  }
  .innertext{
    width: 100%;
  }
.instant-img{
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 45px;
    margin-bottom: 60px;
 
}
.horse{
    width: 100%;
}
.doll{
  
    width: 100%;
    bottom: -50px;
    left: -30px;
    
}

/* funny-videos */
.box{
    margin-top: 70px;
    text-align: center;

}
.box1{
    display: flex;
    flex-direction: column;
}
.box2{
    display: flex;
    flex-direction: column;
}
.box3{
    display: flex;
    flex-direction: column;
}
.box4{
    display: flex;
    flex-direction: column;
}
.online-play{
    flex-direction: column;
    margin: 15px;
    margin-top: 140px;

  }
  .online-play-text{
    width: 100%;
    /* margin-right: 100px; */
  }
  .online-innertext{
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }
.online-play-text h3, .online-play-text p{
    text-align: center;
}

.online-innertext{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin-left: 240px;
}
.online-img{
        position: relative;
        margin-bottom: 150px;  
        
}
.spider-man{
        width: 634.833px;
        height: 650px;
}
.cat{
        position: absolute;
        bottom: -100px;
        left: -150px;
        width: 318.5px;
        height: 365.083px;
}
.online-play-text h3{
    text-align: start;
}

}



/* Media quary for tablet */
@media screen and (min-width:577px) and (max-width:992px){
     nav{
        flex-direction: column;
        width: auto;
        margin: 0;
    }
    .nav-title{
        margin-bottom: 3.9rem;
    }
    .menu ul{
        flex-direction: column;
    }
    .menu ul li{
        margin-bottom: 2.25rem;
    
    }
    .list-icon{
        width: 262px;
        height: 56px;
        margin-top: 3.9rem;
    }
    /* end of the navigation part */
    
    /* start the play-banner section */
.play-banner{
    flex-direction:column;
    width: 100%;
    margin: 0;
    
}
.text{
    align-items: center;
    width: auto;
    background-position: center;
    padding: 20px;
    padding-left: 100px;
    margin-top: 24px;
    
}
/* .images{
    width: 100%;
} */
.beautiful-background-image{
    margin: 65px;
    width: auto;
    /* background-position: right 100px bottom; */
}

.game-banner{
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 10px;
  
}
.game-images img{
   width: 100%;
}
.game-text{
    width: auto;
    align-items: center;
}
.game-text p{
    text-align: center;
}

.funny-videos{
    padding: 24px;
    
}
.funny-videos h3,p{
    width: 100%;
    text-align: center;
    margin-left: 10%;
  
}

.image-part{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    margin-left: 10%;

}

.funny-videos{
    padding: 24px;
    
}
.funny-videos h3,p{
    width: 100%;
    text-align: center;
    margin-left: 10%;
  
}

.image-part{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    width: 100%;
    margin-left: 10%;

}
.box{
    margin-top: 70px;
    text-align: center;

}
.box1{
    display: flex;
    flex-direction: column;
}
.box2{
    display: flex;
    flex-direction: column;
}
.box3{
    display: flex;
    flex-direction: column;
}
.box4{
    display: flex;
    flex-direction: column;
}
.instant-play{
    flex-direction: column;
    margin: 15px;
    margin-top: 140px;

  }
  .instant-play-text{
    width: 100%;
    /* margin-right: 100px; */
  }
  .innertext{
    width: 90%;
  }
.instant-img{
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 45px;
    margin-bottom: 60px;
 
}
.horse{
    width: 100%;
}
.doll{
  
    width: 100%;
    bottom: -50px;
    left: -30px;
    
}
}