*{
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
}
body{
    background-color: rgb(8, 4, 46);
    -webkit-user-select: none;
}
header{
    z-index: 100;
    position:fixed;
    top: 0%;
    top: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 12vh;
    background-color: rgb(2, 10, 35);
}
.logo{
    height: 80px;
    background-color: transparent;
}
.rule-btn{
    position: absolute;
    right: 5%;
    width: 70px;
    height: 25px;
    border: none;
    font-size: 17px;
    background-color: transparent;
    color: aliceblue;
    cursor: pointer;
    transition: all 0.5s;
}
.rule-btn:hover{
    color: white;
    text-decoration: underline;
}
main{
    height: 90vh;
    margin-top: 11vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(8, 4, 46);
}
.rule_cont{
    position: fixed;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    width: 60%;
    height: 70%;
    justify-content: center;
    align-items: center;
    background-color: rgb(20, 9, 61);
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 0 0 10px white;
    font-size: 25px;
    color: white;
    line-height: 60px;
    z-index: -1;
    opacity: 0;
}
.rule-close{
    margin-top: 20px;
    width: 70px;
    height: 30px;
    font-size: 16px;
    font-weight: 550;
    color: rgb(20, 9, 61);
    border-radius: 5px;
    border: 1px solid white;
    box-shadow: 0 0 5px white;
    cursor: pointer;
    transition: all 0.2s;
}
.rule-close:hover{
    background-color: rgb(12, 12, 59);
    color: white;
}
.select-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    height: 50%;
    width: 70%;
}
.menu-opt{
    z-index: 1;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px;
    height: 100px;
    width: 350px;
    font-size: 20px;
    color: white;
    font-weight: 600;
    background-color: rgb(6, 6, 34);
    border: 1px solid white;
    box-shadow: 0 0 5px white;
    cursor: pointer;
    transition: all .5s;
}
.menu-opt:hover{
    background-color: rgb(10, 10, 57);
    border: 1px solid rgb(117, 117, 117);
    box-shadow: 0 0 10px rgb(255, 255, 255);
}
.que-container{
    height: 75%;
    width: 50%;
    background-color: beige;
    box-shadow: 0 0 8px rgb(255, 255, 255);
    border: 2px solid rgb(255, 255, 255);
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 0;
    opacity: 0;
}
.que{
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 5px;
    justify-content: flex-start;
    width: 88%;
    height: 12%;
    font-size: 20px;
    font-weight: 600;
    
}
.opt-container{
    height: 70%;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}
.opt{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 5px;
    padding: 5px 10px;
    height: 18%;
    width: 100%;
    border-radius: 8px;
    background-color: rgb(193, 193, 193);
    font-size: 18px;
    cursor: pointer;
}
.opt:hover{
    background-color: rgb(177, 177, 177);
}
.score_container{
    position: absolute;
    z-index: 0;
    opacity: 0;
}
.card{
    width: 400px;
    height: 200px;
    border: 1px solid white;
    border-radius: 10px;
    box-shadow: 0 0 10px white;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: rgb(0, 0, 0);
    font-weight: 550;
}
#btn{
    appearance: none;
    width: 80px;
    height: 30px;
    border: 1px solid black;
    background-color: blue;
    color: white;
    border-radius: 5px;
    margin: 15px 5px;
    cursor: pointer;
    font-size: 16px;
}
#btn:hover{
    background-color: rgb(0, 0, 180);
    box-shadow: 0 0 5px black;
}
footer{
    position: fixed;
    bottom: 0%;
    display: block;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: rgb(10, 10, 69);
    z-index: 100;
}
@media(max-width:500px) {
    header{
        justify-content: flex-start;
        height: 8vh;
    }
    .logo{
        height: 60px;
    }
    main{
        height: 90vh;
        margin-top: 5vh;
    }
    .rule_cont{
        padding: 30px;
        width: 70%;
        height: 60%;
        justify-content: center;
        font-size: 18px;
    }
    .rule-close{
        margin-top: 0px;
    }
    .select-menu{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        position: absolute;
        margin-bottom: 50px;
        height: 75%;
        width: 70%;
    }
    .menu-opt{
        margin: 10px;
        height: 80px;
        width: 320px;
        font-size: 17px;
        font-weight: 550;
    }
    .que-container{
        height: 80%;
        width: 90%;
    }
    .que{
        width: 95%;
        height: 18%;
        font-size: 17px;
        font-weight: 550;
    }
    .opt-container{
        height: 70%;
        width: 95%;
    }
    .opt{
        margin: 5px;
        padding: 5px 8px;
        height: 20%;
        width: 100%;
    }
    .card{
        width: 350px;
        height: 200px;
        font-size: 25px;
    }
}
