@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&display=swap');

:root{
    --color: #fff1c4 ;
    --color1: #d1a82e ;
    --color2: #f0c22c ;
    --color3: #b4af37 ;
    --color4: #0a0a0a ;
}

*{
    margin: 0;
    padding: 0;
    font-family:"Baloo Bhaijaan 2", sans-serif;
    user-select: none;
    color: var(--color);
}
html{
    scroll-behavior: smooth;
}
body{
    background: #000 ;
    height: auto;
    overflow-x: hidden;
    direction: rtl;
}


.hidden{
    display: none;
}
.show{
    display: block;
}

/* navbar */

nav{
    width: 95%;
    height: 50px;
    margin: auto;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color4) ;
    border-bottom: solid 2px var(--color3);
    border-radius: 3px;
    position: relative;
    
}
nav h2{
    color: var(--color1);
    letter-spacing: 3px ;
    margin-left: 30px;
}
nav span{
    color: var(--color2);
    font-size: 30px;
    font-weight: 800;
}
nav .menu-btn{
    margin-right: 10px;
    background: none;
    border: none ;
    cursor: pointer;
    transition: all 0.7s;
}
/* nav ul{
    padding: 10PX;
    direction: rtl;
    width: 15%;
    list-style: none;
    background: var(--color4);
    position: absolute;
    top: 100%;
    right: 20px;
    min-width: 50px;
    transition: all 0.5s;
    border-radius: 0px 0px 10px 10px ;
    display: none;
} */

nav ul{
    margin-right: 5px;
    direction: rtl;
    width: 75%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
}
nav ul li{
    margin: 10px 0px;
    transition: all .5s;

}

nav ul li a{
    text-decoration: none;
    transition: .5s;
    padding: 3px 10px;
    text-align: center;
    background: var(--color1);
    border-radius: 30px;
}
nav ul li a:hover{
    border: solid 1px var(--color1);
    background: none;
}
/* nav ul.active{
    display: block;
} */


/* header */

header{
    margin-top: 30px;
    height: 850px;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header .image img{
    width: 650px;
    margin-right: 20px;
    margin-top: 30px;
}
header .content-header{
    direction: rtl;
    padding: 5px;
    width: 45%;
    margin-bottom: 50px;
    margin-left: 20px;
}
header .content-header h1{
    color: var(--color1); 
    margin-bottom: 25px;
    font-size: 70px;
}
header .content-header h1 span{
    color: var(--color2);
    font-size: 75px;
}
header .content-header p{
    margin-bottom: 10px;
}
header .content-header p strong{
    color: var(--color2);
    font-size: 20px;
}

/* section excerpts */

.excerpts {
    text-align: center;
    width: 95%;
    margin: 30px auto;
}
.excerpts h2 , .excerpts2 h2{
    margin-bottom: 60px;
    font-size: 40px;
}
.excerpts h2 span , .excerpts2 h2 span {
    color: var(--color2);
}
.excerpts .grid , .excerpts2 .grid{
    display: grid;
    grid-template-columns: repeat(4 ,1fr);
}
.excerpts .grid2{
    display: grid;
    grid-template-columns: repeat(3 ,1fr);
}

.excerpts .card ,.excerpts2 .card{
    margin: 20px;
    padding: 30px 10px;
    border-radius: 10px;
    background: var(--color4);
    transition: all 0.4s
}
.excerpts .center-title , .excerpts2 .center-title{
    margin-bottom: 30px;
}
.excerpts .card h3 , .excerpts2 .card h3{
    margin-bottom: 15px ;
    color: var(--color1);
    font-size: 25px;
}
.excerpts strong , .excerpts2 strong{
    color: var(--color2);
}
.excerpts .card:hover , .excerpts2 .card:hover {
    scale: 1.05;

}

.excerpts2 {
    text-align: right;
    width: 95%;
    margin: 30px auto;
}
.very{
    color: var(--color2);
}

.card-open{
    text-align: center;
    margin: 30px auto;

}

.box-card-hidden{
    scroll-behavior: smooth;
    transition: display 1s;
    display: none;
}

.card-open button{
    height: 40px;
    width: 10%;
    margin: auto;
    border: none;
    border-radius: 10px;
    background: var(--color2);
    cursor: pointer;
    transition: all .3s;
    font-size: 20px;
}
.card-open button:hover{
    background: var(--color4);
    border: solid 2px var(--color1);
    scale: 1.1;
}


/* rules */


.rules{
    width: 95%;
    margin: 40px auto ;
    margin-top: 80px;
    text-align: center;

}
.rules .title h1{
    margin: auto;
    color: var(--color2);
    font-size: 40px;
}
.rules .title p{
    margin-top: 10px;
    color: #e74141;
}
.rules .box-rules{
    margin: 10px auto ;
    margin-top: 40px;
    scroll-behavior: smooth;

}
.rules .box-rules details{
    background: var(--color4);
    padding: 10px;
    margin: 10px auto;
    max-width: 90%;
    text-align: right;
    border-radius: 5px;
    transition: all .2s;
}
.rules .box-rules details:hover{
    scale: 1.05;
    border-right: solid 2px var(--color2);
}
.rules .box-rules details summary{
    margin: 10px auto;
    font-size: 20px ;
    color: var(--color1);
}
.rules .box-rules details ul{
    text-align: right;
    margin: 20px auto;
    width: 90%;
    
    overflow: hidden;

}
.rules .box-rules details ul li{
    margin: 5px auto;
    font-size: 16px;

}
.rules .box-rules details ul li strong{
    color: var(--color2);
}




/* store */


.link{
    text-align: center;
    margin: 100px auto;
}
.link a{
    width: 15%;
    margin: auto;
    padding: 12px 20px;
    text-decoration: none;
    background: var(--color2);
    font-size: 25px;
    border-radius: 10px;
    transition: .3s;
    display: block;
}
.link a:hover{
    border: solid 3px var(--color1);
    background: none;
    scale: 1.1;
}


/* footer */


footer{
    width: 97%;
    margin: auto;
    padding: 20px;
    background: var(--color4);
    display: flex;
    justify-content: right;
    align-items: center;

}
footer .links{
    width: 30%;
    margin-right: 20px ;
}
footer .links img{
    width: 35px;
    margin-left: 20px;
}
footer .links ul{
    list-style: none;
    text-align: right;
}
footer .links ul li{
    margin: 20px ;
}
footer .links ul a{
    width: 30%;
    display: flex;
    justify-content: right;
    align-items: center;
    text-decoration: none;
    transition: all .2s;
}
footer .links ul a:hover{
    scale: 1.15;
}
footer .conten-footer , footer .conten-footer2{
    height: 150px;
    width: 30%;
    border-right: solid 2px var(--color1);
    padding-right: 10px;
}
footer .conten-footer a {
    text-align: center;
    width: 60px;
    display: block;
    text-decoration: none;
    background: var(--color2);
    padding: 5px 15px;
    border-radius: 10px;
    margin: 20px ;
    transition: all .2s;
}
 footer .conten-footer2 a{
    text-align: center;
    width: 100px;
    display: block;
    text-decoration: none;
    background: var(--color2);
    padding: 5px 15px;
    border-radius: 10px;
    margin: 20px ;
    transition: all .2s;
 }

footer .conten-footer a:hover , footer .conten-footer2 a:hover{
    border: solid 2px var(--color1);
    background: none;
    scale: 1.1;
}

.foot{
    text-align: center;
    margin: 5px auto;
}




@media (max-width: 992px){

    /* navbar */
    nav ul{
        width: 70%;
    }

    header{
        margin-top: 5px;
        display: block;
        text-align: center;
        gap: 0;
        height: 910px;

    }
    header .image {
        margin: auto;
        text-align: center;
    }
    header .image img{
        width: 600px;
        margin-right: 0;
    }
    header .content-header{
        width: 90%;
        margin-left: 0;
        text-align: center;
        margin: auto;
    }
    header .content-header h1{
        font-size: 70px;
    }
    header .content-header h1 span{
        font-size: 75px;
    }
    header .content-header p{
        font-size: 18px;
    }
    header .content-header p strong{
        font-size: 20px;
    }

    /* excerpts */

    .excerpts .grid , .excerpts2 .grid{
     display: grid;
     grid-template-columns: repeat(3,1fr);
    }
    .card-open button{
        width: 30%;
        font-size: 18px;
    }

    /* store */


    .link a{
        font-size: 18px ; 
        width: 35%;
    }
}


@media (max-width:768px){
    /* navbar */

    nav ul{
        width: 70%;
    }


    /* haeder */
     header{
        margin-top: 5px;
        display: block;
        text-align: center;
        gap: 0;
        height: 810px;

    }
    header .image {
        margin: auto;
        text-align: center;
    }
    header .image img{
        width: 500px;
        margin-right: 0;
    }
    header .content-header{
        width: 90%;
        margin-left: 0;
        text-align: center;
        margin: auto;
    }
    header .content-header h1{
        font-size: 60px;
    }
    header .content-header h1 span{
        font-size: 65px;
    }
    header .content-header p{
        font-size: 16px;
    }
    header .content-header p strong{
        font-size: 18px;
    }
     /* excerpts */

    .excerpts .grid , .excerpts2 .grid{
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .excerpts .grid2 , .excerpts2 .grid2{
        display: grid;
        grid-template-columns: repeat(2 ,1fr);
    }
    
    .card-open button{
        width: 40%;
    }

    /* store */


    .link a{
        font-size: 20px ; 
        width: 40%;
    }
    

}


@media (max-width:480px){
    /* navbar */
    nav ul li a{
        font-size: 12px ;
    }
    nav h2{
        margin-left: 10px;
    }
    nav ul{
        width: 70%;
    }

    /* header */

    header{
        margin-top: 5px;
        display: block;
        text-align: center;
        gap: 0;
        height: 610px;

    }
    header .image {
        margin: auto;
        text-align: center;
    }
    header .image img{
        width: 300px;
        margin-right: 0;
    }
    header .content-header{
        width: 90%;
        margin-left: 0;
        text-align: center;
        margin: auto;
    }
    header .content-header h1{
        font-size: 40px;
    }
    header .content-header h1 span{
        font-size: 45px;
    }
    header .content-header p{
        font-size: 14px;
    }
    header .content-header p strong{
        font-size: 16px;
    }

     /* excerpts */

    .excerpts .grid , .excerpts2 .grid{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
    .excerpts .grid2 , .excerpts2 .grid2{
        display: grid;
        grid-template-columns: repeat(1 ,1fr);
    }
    .excerpts .card , .excerpts2 .card{
        margin: 10px ;
    }
    .excerpts h2 , .excerpts2 h2{
        margin-bottom: 40px;
        font-size: 35px;
    }
    .excerpts .center-title , .excerpts2 .center-title{
        font-size: 28px;
    }
    .excerpts .prag , .excerpts2 .prag{
        font-size: 12px;
        margin-bottom: 8px;
    }

    .card-open button{
        width: 40%;
        font-size: 14px;
    }

    /* rules */

    .rules h1{
        font-size: 25px;
    }


    /* store */


    .link a{
        font-size: 18px ; 
        width: 40%;
    }

    /* footer */

    footer{
        height: 400px;
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .links{
        width: 95%;
        margin: auto;
    }
    footer .conten-footer{
        width: 90%;
    }
}
