*{
    margin: 0;
    padding: 0;
}
:root {
    --color-1: #71C9CE;
    --color-101: #a6e3e987;
    --color-3: #CBF1F5;
    --color-4: #d8f8f8;
}
body{
    background-image: url(../../images/repeatingbg2.png);
    background-size: cover;
    min-height: 100vh;
    display: grid;
    grid-template-areas: 
    "header"
    "nav"
    "main";
    grid-template-rows: auto auto 1fr   ;
    background-color: var(--color-4);
}
header{
    background-color: var(--color-1);
    grid-area: header;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: var(--color-1) 2px solid;
    border-top: var(--color-1) 3px solid;

}
#logo {
    color: black;
    text-decoration: none;
    font-family: "Science Gothic", sans-serif;
    font-size: 8vmin;
    margin-right: 3vmin;
    margin-left: 2vmin;
}
.navigationbuttons{
    margin-right: 2vmin;
    text-decoration: none;
    color: black;
    font-family: "Outfit", sans-serif;
    font-size: 5vmin;
}
.navigationbuttons2{
    margin-left: 2vmin;
    text-decoration: none;
    color: black;
    font-family: "Outfit", sans-serif;
    font-size: 5vmin;
}
nav{
    display: none;
    background-color: var(--color-1);
}
#logo:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
.navigationbuttons:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
.navigationbuttons2:active{
    transition: 0.1s;
    color: rgba(14, 191, 29, 0.371);
    text-shadow: rgb(14, 191, 29) 0px 0px 10px;
}
#welcometextcontainer{
    background-color: rgba(255, 255, 255, 0.008);
    backdrop-filter: blur(5px);
}
@media(max-width: 540px){
    body{
        grid-template-rows: auto auto 1fr auto auto;
    }
    nav{
        display:block;
        font-size: 6.5vmin;        
    }
    .navigationbuttons{
        display: none;
    }
}
.hearts{
    padding: 10px;
    border-radius: 10px;
    border: #2ecc71;
    text-shadow: black 0px 0px 5px;
    background-color: #71c9ce5c;
    backdrop-filter: blur(20px);
}
main{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.quizcontainer{
    padding: 20px;
    border-radius: 10px;
    border: #2ecc71;
    font-family: "outfit", sans-serif;
    color: white;
    text-shadow: black 0px 0px 5px;
    background-color: #71c9ce5c;
    backdrop-filter: blur(20px);
}
.option {
        border: 2px solid #a39d9d;
        background-color: #4a90e2;
        border-radius: 8px;
        padding: 10px;
        margin: 10px 0;
        cursor: pointer;
}
#question{
    font-size: 3vh;
}
.option.selected {
    border-color: #4a90e2;
    background: #f0f6ff;
    color: black;
}
.correct {
    background: #c8f7c5;
    border-color: #2ecc71;
    color: rgb(4, 0, 0);
}

.wrong {
    background: #f7c5c5;
    border-color: #e74c3c;
}

button {
    margin-top: 12px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #4a90e2;
    color: rgb(12, 12, 65);
    cursor: pointer;
    display: none;
}

.explain-btn {
    background: #f39c12;
}
.correct-text { color: #2ecc71;
}
.wrong-text { color: #e74c3c;
}
.feedback {    margin-top: 10px;
            font-weight: bold;
            display: none;
}
.hearts {
    font-size: 20px;
    margin-bottom: 10px;
}
#lessoncomplete{
    font-size: 5vw;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: white;
    width: 320px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.modal h4 {
    margin-top: 0;
}

.close-btn {
    background: #4a90e2;
    margin-top: 15px;
}
.modal button {
    display: inline-block;
}
.lessonsimages{
    width: 80vw;
}
.imagecontainer{
    display: flex;
    justify-content: center;
}