/* Import Lora font */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

/* General font settings */
* {
    font-family: 'Lora', serif;
}

/* General body settings */
body {
    background-color: #f7f5f0;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: justify;
}

/* Layout adjustments */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
}

/* Header styles */
.header {
    background: none;
    padding: 0;
    text-align: center;
    color: white;
}

.header img {
    width: 100%;
    height: auto;
}

.header h1 {
    font-size: 2.5em;
    margin: 0;
    animation: fadeInDown 1s ease;
    line-height: 1.2;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation menu */
.navbar {
    display: flex;
    justify-content: center;
    background-color: #00008B;
}

.navbar a {
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: bold;
    animation: fadeIn 2s ease;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.navbar a:hover {
    background-color: #1E90FF;
    color: white;
    transform: scale(1.05);
}

/* Main content */
.main-content {
    background-color: white;
    padding: 18px;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

/* Typography adjustments */
h2, h3, h4, h5 {
    color: #00008B;
    margin-bottom: 10px;
    line-height: 1.3;
}

p {
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Article grid */
.article-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.article {
    background-color: #fff;
    padding: 12px;
    width: 30%;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    animation: fadeIn 1.5s ease-in;
}

.article:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
}

.article h3 {
    font-size: 2.5em;
    margin-bottom: 8px;
}

/* Footer styles */
.footer {
    background-color: #00008B;
    color: white;
    text-align: center;
    padding: 18px;
    margin-top: 15px;
}

.footer a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.footer a:hover {
    text-decoration: underline;
    color: white;
    transform: scale(1.1);
}

/* Subtle animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Specific elements matching the uploaded cover image */
h1, h2 {
    color: #00008B;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

p {
    font-size: 1.05em;
    color: #333;
}

/* Links animation for the rest of the page */
a {
    color: #00008B;
    text-decoration: none;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

a:hover {
    color: #1E90FF;
    transform: scale(1.05);
}

/* Hide PKP brand footer */
.pkp_brand_footer {
    display: none;
}
