body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #57585A;
    background-color: #f9f9f9;
}

main {
    padding: 20px;
}

footer {
    background-color: #57585A;
    color: #f9f9f9;
    text-align: center;
    padding: 10px 0;
}

section {
    flex-direction: column;
    margin-bottom: 0px;
}

h1 {
    color: #3772A9;
}

h2 {
    color: #3772A9;
}

h3 {
    color: #3772A9;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #3772A9;
    text-decoration: none;
    font-weight: bold;
}

hr {
    border: 0px;
    padding: 0px;
    height: 60px;
    background-color: #57585A;
}

.logo {
    height: 40px;
}

.page-return-logo {
    text-align: right;
}

.area-split-prio-right {
    display: grid;
    grid-template-columns: minmax(50px, 600px) 2fr; /* Two equal columns, but first with maximum of 600 px */
    grid-template-rows: 1fr; /* One row */
    gap: 40px; /* Space between the grid items */
}

.area-split-prio-left {
    display: grid;
    grid-template-columns: 2fr minmax(50px, 600px); /* Two equal columns, but second with maximum of 600 px */
    grid-template-rows: 1fr; /* One row */
    gap: 40px; /* Space between the grid items */
}

.image-box-left {
    max-width: 100%;
    height: auto;
    float: left;
    object-fit: contain;

}

.image-box-right {
    max-width: 100%;
    height: auto;
    float: right;
    object-fit: contain;
}

.blue-box {
    background-color: #3772A9;
}

.squared {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    grid-template-rows: 1fr 1fr; /* Two equal rows */
    gap: 20px; /* Space between the grid items */
    padding: 20px;
}

.animated-header {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height initially */
    background-image: url('images/header.jpg');
    background-size: cover; /* Start full-screen size */
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    animation: shrink-background 2s linear forwards; /* Trigger animation */
}

@keyframes shrink-background {
    0% {
        height: 100vh; /* Full-screen size */
        background-size: cover; /* Full-screen image */
        justify-content: space-between;
    }
    100% {
        height: 120px; /* Shrink to header size */
        background-size: 100% auto; /* Adjust to fit header */
        justify-content: space-between;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .image-gallery {
        flex-direction: column;
    }
}
