* {
    font-family: Amatic SC;
}

.header{
    overflow: hidden;
    padding: 20px 10px;
    font-size: x-large;
    border: 1px solid;
}

.header-right a{
    float: right;
}
.Name{
    float: left;
}
.header a{
    text-align: center;
    padding: 12px;
    text-decoration: none;
    line-height: 25px;
}
@media screen and (max-width: 500px) {
    .header a{
        float: none;
        display: block;
        text-align: left;
    }
    .header-right{
        float: none;
    }
}

.container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 1px solid;
    margin: 10px;
}
.image{
    width: 100%;
    height: auto;
}
.text{
    width: 100%;
    height: auto;
    font-size: 3vw;
    text-align: center;
}
/* --- Question Cards Styling --- */
/* Styles for the slider container (each question card) */
.slider {
    width: 100%; /* Take full width of its parent */
    max-width: 1000px; /* Increased max-width for better readability */
    border: 1px solid;
    padding: 10px; /* More padding */
    margin-bottom: 25px; /* Space between each slider card */
    font-weight: 700;
    height: auto;
    
}
.question-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Styles for the individual question content */
.questions {
    display: flex;
    flex-direction: column; /* Stack content vertically within each card */
    justify-content: center;
    align-items: center; /* Align content to the start */
    font-size: 3vw;
}

.questions p:first-child { /* Question number */
    /* Slightly larger number */
    font-weight: bold;
   
}

.questions label { /* Question text */
    
    color: #444; /* Darker for better contrast */
 /* Improve readability */
}

#Resultbutton{
    padding: 10px;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
}



/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .slider {
        padding: 25px;
        margin-bottom: 20px;
    }
    
}

@media (max-width: 480px) {
    .slider {
        padding: 20px;
        margin-bottom: 15px;
    }
    .questions p:first-child {
        font-size: 1.5em;
    }
    .questions label {
        font-size: 1.1em;
    }
    .Results {
        padding: 10px 20px;
        font-size: 1em;
    }
}

#icons{
    width: 50px;
    height: auto;
}

.container-foot{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px;
    border: 1px solid;
    padding: 20px;
    font-weight: 700;
}
.top{
    font-size: 50px
}
.bottom{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    font-size: 25px;
}
.logos{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    margin-top: 15px;
}

#results-popup{
    display: none;
}
#results-popup.active{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    border: 1px solid;
    margin: 10px;
    padding: 20px;
    max-width: 700px;
    height: auto;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.bold{
    font-weight: 700;
}

#badge{
    width: 100px;
    height: auto;
}

.result{
    text-align: center;
    font-size: 3vw;
    font-weight: 700;
    border: 1px solid;
    padding: 20px;
    margin: 50px;
}

#warning{
    color: green;
    font-weight: 700;
}
#warning.red{
    color: red;
    font-weight: 700;
}