

@font-face {
    font-family: 'rubik';
    src: url(./fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf);
    src: url(./fonts/Rubik/Rubik-VariableFont_wght.ttf);
}
body{
    background-color: black;
    margin: 0px;
    font-family: 'rubik', sans-serif;
    min-height: 100vh;
}
.navbar{
    height: 10vh;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 4px 0 rgba(0, 0, 0, 0.317);
}
.main{
    background-color: rgb(255, 251, 240);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 89vh;
}
.card{
    height: 30rem;
    width: 40rem;
}
.card-area{
    height: 100%;
}

.left-side{
    background-color: rgb(39, 53, 92);
    color: white;
    display: flex;
    flex-direction: column;

    align-items: center;
    height: 100%
}
.card-logo{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.category{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.categorys{
    margin-bottom: 1rem;
}
h4:hover{
    cursor: pointer;
    font-weight: bolder;
    color: rgb(192, 192, 192)
}
.right-side{
    background-color: rgb(247, 247, 247);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}
.card-title{
    align-items: center;
}
.card-body{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.card-text{
    width: 100%;
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-betwee
}
.card-text p{
    border:solid 1px black;
    width: 100%;
    text-align: center;
}
.answers:hover{    
    background-color: rgba(171, 171, 171, 0.808);
    color: white;
    cursor: pointer;
}

.card-footer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color:  rgba(196, 196, 196, 0.473);  
    border: none;
}
.next-button{
    width: 2rem;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
}
.next-button:hover{
    background-color: rgba(171, 171, 171, 0.808);
    color: white;
    cursor: pointer;
}
p{
    margin: 0px;
}

.correct-answer{
    background-color: #228B22;
}

.false-answer{
    background-color: #ff0000cc;
}

/* welcome */

.hero{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

.welcome-category{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}
.welcome-category-buttons{
    margin: 0.2rem;
}

/* reult */

.quiz-end{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.quiz-end-buttons{
    display: flex;
}

@media (max-width: 767px){

    body{
        height: 100vh;
    }
    .navbar-logo{
        height: 4rem;
    }

    .hero{
        align-items: center;
    }
    .left-side{
        display: none;
    }
}

@font-face {
    font-family: 'rubik';
    src: url(./fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf);
    src: url(./fonts/Rubik/Rubik-VariableFont_wght.ttf);
}
body{
    background-color: black;
    margin: 0px;
    font-family: 'rubik', sans-serif;
    min-height: 100vh;
}
.navbar{
    height: 10vh;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 4px 0 rgba(0, 0, 0, 0.317);
}
.main{
    background-color: rgb(255, 251, 240);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 89vh;
}
.card{
    height: 30rem;
    width: 40rem;
}
.card-area{
    height: 100%;
}

.left-side{
    background-color: rgb(39, 53, 92);
    color: white;
    display: flex;
    flex-direction: column;

    align-items: center;
    height: 100%
}
.card-logo{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.category{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.categorys{
    margin-bottom: 1rem;
}
h4:hover{
    cursor: pointer;
    font-weight: bolder;
    color: rgb(192, 192, 192)
}
.right-side{
    background-color: rgb(247, 247, 247);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}
.card-title{
    align-items: center;
}
.card-body{
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.card-text{
    width: 100%;
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    align-content: space-betwee
}
.card-text p{
    border:solid 1px black;
    width: 100%;
    text-align: center;
}
.answers:hover{    
    background-color: rgba(171, 171, 171, 0.808);
    color: white;
    cursor: pointer;
}

.card-footer{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color:  rgba(196, 196, 196, 0.473);  
    border: none;
}
.next-button{
    width: 2rem;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
}
.next-button:hover{
    background-color: rgba(171, 171, 171, 0.808);
    color: white;
    cursor: pointer;
}
p{
    margin: 0px;
}

.correct-answer{
    background-color: #228B22;
}

.false-answer{
    background-color: #ff0000cc;
}

/* welcome */

.hero{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

.welcome-category{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}
.welcome-category-buttons{
    margin: 0.2rem;
}

/* reult */

.quiz-end{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.quiz-end-buttons{
    display: flex;
}

@media (max-width: 767px){

    body{
        height: 100vh;
    }
    .navbar-logo{
        height: 4rem;
    }

    .hero{
        align-items: center;
    }
    .left-side{
        display: none;
    }
}