/* Reset */
ul {
    padding: 0;
}

figure {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

body {
    background-color: rgb(11, 11, 109);
    color: beige;
    font-family: Arial, Helvetica, sans-serif;
    /* margin: 30px 40px; */
    margin: 0;

    /* Stick footer to bottom */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    margin: 0 40px 40px 40px;
}

footer {
    margin-top: auto;
    background-color: rgb(147, 21, 126);
    color: black;
}

.news-article-textbox {
    border-color: white;
    border-radius: 0 0 20px 20px;
    border-style: solid;
    padding: 10px 20px 20px 20px;
    background:linear-gradient(blue,silver);
    border-top: 0;

}

.news-article {
    margin-bottom: 30px;
}

.news-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-article-image {
    object-fit: cover;
    height: 100%;
    width: 100%;

}

.news-article-figure {
    height: 250px;
}

.funny-facts-wrapper {
    display: flex;
    gap: 30px;
    border-color: black;
    border-radius: 20px;
    border-style: solid;
    padding: 20px 20px 20px 20px;
    background: linear-gradient(blue,silver);
}   


a {
    color:beige;
    text-align: center;
    text-decoration: none;
}

.main-navigation, .footer-navigation {
    display: flex;
    gap: 200px;
    list-style-type: none;
    justify-content: center;
    text-align: center;
}

.footer-navigation > p {
    color: rgb(63, 11, 95);
}


h1 {
    text-align: center;
}

.question-wrapper {
    border-color: black;
    border-radius: 20px;
    border-style: solid;
    padding: 20px 20px 20px 20px;
    background: linear-gradient(blue,silver);
    text-align: center;
    list-style-type: none;
}

.quiz-square-wrapper {
    font-size: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    
}

.quiz-square {
    background-color: rgb(11, 181, 224);
    text-align: center;
    text-decoration: none;
    padding: 30px;
    
}

.question-navigation {
    display: flex;
    gap: 40px;
    list-style-type: none;
    justify-content: center;
    text-align: center;
    
}

.news-image-article{
    object-fit: cover;
    height: 90%;
    width: 90%;
} 

.result-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 50px;
    z-index: 1000;
    background-color: green;
    padding: 20px;
}

.thanks-text {
    border-color: black;
    border-radius: 20px;
    border-style: solid;
    padding: 20px 20px 20px 20px;
    background: linear-gradient(blue,silver);
    text-align: center;
    list-style-type: none;
    font-size: 50px;
}