/* designing css file again lesgo */

*{
    box-sizing: border-box;
    margin:0;
    padding:0;
}
.home-page {
    background-image :url("assests/home/image.png");
    background-size: cover;
    overflow:hidden;
    position:relative;
    width:100%;
    height: 100vh;
    background-position:center bottom;
    background-repeat: no-repeat;


}
body{
    font-family: georgia, serif;
    background: #8B7355;
    color:black;
    overflow:hidden;

}

button{
    font-family:georgia, serif;

}
.top-bar{
    position: absolute;
    top:0;
    left:0;
    width:100%;
    padding:20px 30px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;

}
.logo{   /* rabbit hole logo*/
    display:flex;
    align-items:center;
    gap:8px;
    font-size:24px;
    font-weight:900;
    color:wheat;
       
}
.logo img{
    width:60px;
    height:60px;
    image-rendering: pixelated;
}
 .bunny{   /*man its so hard to add a 2d animated featue */
    width:48px;
    height:48px;
    background-image: url("assests/Bunny/Walk.png");
    background-repeat: no-repeat;
    background-size:200px 48px;
    image-rendering: pixelated;
    animation:bunny-walk 0.8s steps(4) infinite;
}
@keyframes bunny-walk {
    from{
        background-position:0 0;

    }
    to{
        background-position: -192px 0;
    }
}
.hero{
    text-align:center;
    padding-top: 70px;
    position:relative;
}

.main-title{  
    font-size:40px;
    color:rgb(8, 0, 0);
    margin-bottom:15px;
}

.search-area{
    flex-direction: column;
    align-items: center;
    display: flex;

}
.fake-search{  /* lets dive text*/
    
    font-size: 20px;
    padding:0;
    color:white;
    text-align:center;
    
}
.surprise-button{
    padding:0;
    border:none;
    background:none;
    cursor:pointer;

}
.surprise-button img{
    display: block;
    width:200px
}

.category-area{
    position:absolute;
    top:315px;
    left:0;
    width:100%;
    display:flex;
    justify-content: center;
    gap:35px;
    align-items:flex-start;

}
.category-card{
    width:230px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
}

.category-card img{
    display:block;
    width:100%;;
    height:auto;

}

.cinema-card{
    margin-top:-15px;
}

.page-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:black;
    display:none;
    z-index: 10;
}

.rabbit-result{   
    position:fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width:700px;
    z-index: 20;
    display: none;
}
.level-box{
    position: relative;
    background: lightpink;
    border:5px solid darkcyan;
    padding:35px;

}
.close-button{
    position: absolute;
    right:15px;
    top:15px;
    width:35px;
    background: lightseagreen;
    color:black;
    cursor: pointer;
    font-size: 18px;
}
.close-button:hover{
    background:yellow;

}
.level-box h2{
    text-align: center;
    font-size: 30px;
    margin-bottom: 25px;
    padding-right: 30px;
}
.level-header{
    display:flex;
    justify-content:space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom:2px solid lightcoral;
    
}
.level-header h3{
    text-transform: uppercase;
    font-size:17px;
    color:darkcyan;
}
.level-link{
    display: inline-block;
    color:black;
    text-decoration: nome;
    background: wheat;
    border: 2px solid black;
    padding:7px 12px;
}
.level-link:hover{
    background:yellow;
}
.level-content h4{
    font-size: 28px;
    margin-bottom:15px;
}
.level-content p{
    font-size:24px;
    line-height:15px;
    letter-spacing: 0.03em;
    line-height: 1.6;
    
}

.explore-check{
    display: flex;
    align-items: center;
    gap:8px;
    margin-top: 25px;
    font-size: 15px;
    cursor: pointer;
}
.explore-check input{
    width: 17px;
    height: 17px;
}
.next-button{
    display:block;
    margin:25px auto 0;
    padding:13px 25px;
    background:lightcoral;
    color:#2d1e17;
    border:5px bold black;
    cursor:pointer;


}
.next-button:disabled{
    opacity: 0.4;
    cursor:not-allowed;
    
}
.completion-state h3{
    bottom: auto;
    font-size: 25px;
    margin-bottom: 10px;

}
.completion-state p{
    font-size: 16px;
    color:red;
}


