
/* General Styles */
body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #FFA500;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #FFA500;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.logo {
    width: 300px;
    height: 120px;
}

main {
    padding: 20px;
    padding-bottom: 70px; /* Added space for fixed footer */
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.gallery a {
    display: block;
}

.gallery img {
    width: 100%;
    height: auto;
    border: 2px solid #ddd; /* Border for images */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 6px 12px rgba(0,0,0,.2); /* Shadow for images */
    transition: border-color .3s, box-shadow .3s; /* Smooth transition */
}

.gallery img:hover {
    border-color: #000000; /* Change border color on hover */
    box-shadow: 0 8px 16px rgb(0, 0, 0); /* More pronounced shadow on hover */
}

.articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

article {
    line-height: 1.6;
}

article h1 {
    font-family: 'Prompt', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFA500;
    text-align: center;
}

article p {
    font-family: 'Prompt', sans-serif;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
    text-align: justify;
}

article p:first-of-type {
    margin-top: 0;
}

article p:last-of-type {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #FFA500;
    color: #FFFFFF;
    border-top: 1px solid #ddd;
    width: 100%;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

.buttons a {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    width: 90vw;
    max-width: 400px;
    margin-bottom: 24px;
    padding: 12px 0;
    color: #f1f1f1;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(178deg, #FFFF00 0, maroon 100%, rgba(16, 4, 44, 1) 100%);
    border: 2px solid #FFFF00;
}

.buttons a:hover {
    background-color: #e3c30e;
    box-shadow: 0 8px 16px rgba(0,0,0,.8);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: 60px;
    }

    nav a {
        padding: 8px 12px;
    }

    article h1 {
        font-size: 2em;
    }
    article p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
        height: 48px;
    }

    nav {
        flex-direction: column;
        gap: 5px;
    }

    nav a {
        padding: 6px 10px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .buttons {
        flex-direction: column;
    }
    
    .buttons a {
        margin: 10px 0;
    }
}

@media (min-width: 600px) {
    .buttons {
        flex-direction: row;
        justify-content: center;
    }

    .buttons a {
        max-width: none;
        margin: 10px;
    }
}

footer#footer-nav {
    background-color: #f4f4f4;
    color: #333;
    padding: 10px;
    font-size: .9em;
}

footer#footer-nav a {
    color: #0f2bdb;
    text-decoration: none;
    margin: 0 10px;
}

footer#footer-nav a:hover {
    text-decoration: underline;
}