:root {
    --pastel-blue: #ADD8E6;
    --darker-pastel-blue: #4AB3FF;
    --pastel-green: #98FB98;
    --pastel-yellow: #FFFACD;
    --text-color: #333;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--pastel-yellow);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 125vh;
}

header {
    background-color: var(--pastel-blue);
    padding: 1rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
    font-size: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--darker-pastel-blue);
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    flex: 1;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--pastel-green);
    color: var(--text-color);
}

#loading {
    width: 100%;
    height: 100%;
    top: 50%;
    right: 50%;
    text-align: center;
}

#loading p {
    text-align: left;
    font-size : 2.5rem;
    font-weight: 900;
}

.image-container-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;
}

.post-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 80%;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/*.image-container img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}*/

.image-container span {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
    font-size: 2rem;
}

.contact-link {
    display: block;
    width: 200px;
    padding: 0.5rem 1rem;
    background-color: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: background-color 0.3s ease;
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    main {
        margin: 1rem;
        padding: 1rem;
    }

    #loading p {
        text-align: left;
        font-size : 1rem;
        font-weight: 900;
    }
}