body {
    background-color: #5a6478; 
    margin: 0; 
}

/* Main content styling */
.content {
    display: flex;
    width: 100%;
    height: 100vh; 
    position: relative;
}
.image-container {
    flex: 1;
    overflow: hidden;
    box-shadow: 0 5px 7px #666;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.text-container {
    flex: 1;
    background-color: #a79a7e; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 5px 7px #666;

}
.main-title {
    font-size: 30px;
    font-family: 'Arena BC', sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
    color: #000;
}

.sub-title {
    font-size: 16px;
    color: #666;
}

/* Quiz Container */
.quiz-container {
    background-color: #fdfcdb;
    border-radius: 5px;
    box-shadow: 0 2px 5px #666;
    padding: 50px;
    text-align: left;
}

.quiz-text {
    margin: 0;
    color: #00000082;
    font-size: 16px;
    line-height: 1.5;
}

.button {
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #ffe6b0;
    color: rgb(100, 100, 100);
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.5s, transform 1s, box-shadow 1s;
}

.button:hover {
    background-color: #5a6478; 
    color: #fff; 
    transform: scale(1.1); 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    margin: 50px 20px; 
    padding-top: 20px; 
    border-top: 1px solid #ccc;
    text-align: center;
}
.article-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.article-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    margin: 10px;
}
.article-card {
    background-color: #fdfcdb;  
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 5px;
    cursor: pointer; 
    transition: background 0.5s, transform 0.3s, box-shadow 0.3s; /* Transition effects */
}

.article-card:hover {
    background-color: #ffe6b0; 
    transform: scale(1.05); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.article-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.article-title {
    font-size: 18px;
    color: #000;
}

/* Pop-up Styling */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dim background */
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

label {
    display: block;
    text-align: left;
    margin: 10px 0;
}

button {
    background-color: #666;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
}
.popup-content .close-popup {
    float: right;
    font-size: 24px;
    margin-bottom: 20px;
    cursor: pointer;
}

.popup-content .close-popup:hover {
    color: rgb(117, 57, 57);
}

