* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes fadeInFromTop {
    from {
        opacity: 0;
        transform: translateY(-5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-10rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background: url('../images/background.jpg') center/cover no-repeat fixed;
    margin: 0;
}

html,
body {
    height: 100%;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: linear-gradient(to right, color-mix(in srgb, var(--color-green-2) 60%, transparent), color-mix(in srgb, var(--color-green-3) 40%, transparent));
    position: fixed;
    z-index: -1;
}

nav {
    height: var(--nav-height);
    background-color: color-mix(in srgb, var(--color-green-3) 80%, transparent);
    filter: brightness(1.1);
    backdrop-filter: blur(6px);
    position: fixed;
    width: 100%;
    box-shadow: var(--shadow-light);
    display: flex;
    padding: 0.5rem 1rem;
    z-index: 10;
    border-bottom: 3px solid var(--color-yellow-2);
    height: fit-content;
}

nav img#logo {
    height: clamp(2rem, 6vh, 4rem);
    width: auto;
    padding-left: 1rem;
}

nav h2 {
    color: var(--color-yellow-1);
    font-family: var(--font-serif);
    margin-left: 10px;
    font-size: clamp(1rem, 8vh, 1.7rem);
    margin-top: auto;
    margin-bottom: auto;
}

nav ul {
    width: fit-content;
    display: flex;
    justify-content: right;
    align-items: center;
    list-style-type: none;
    color: var(--color-yellow-2);
    margin-right: 40px;
    margin-left: auto;
    font-size: clamp(1rem, 8vh, 1.2rem);
}

nav li a {
    background-color: var();
    font-family: var(--font-cooper-bt);
    color: var(--color-yellow-2);
    text-decoration: none;
    padding: 1rem;
}

main {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
    padding-top: 13vh;
    box-sizing: border-box;
}

main section {
    padding: 2rem;
    display: flex;
    align-items: center;
}

section#left {
    max-width: 40vw;
    align-items: center;
    animation: fadeInFromLeft 1s ease;
    justify-content: center;
}

section#right {
    width: auto;
}

section div#left-container {
    margin-left: auto;
}

section div#left-container p {
    margin-top: 1rem;
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    text-align: center;
    font-family: var(--font-lora);
    color: var(--color-yellow-1);
}

section div#left-container div#left-card {
    margin: auto;
    text-align: center;
    align-items: center;
    width: 100%;
}

section div#right-card {
    animation: fadeInFromTop 1s ease;
    background: url(../images/map.jpg);
    background-size: cover;
    text-align: center;
    height: 72vh;
    width: auto;
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    filter: grayscale(0.1) sepia(0.2);
    backdrop-filter: blur(2px);
    box-shadow: var(--shadow);
}

section h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-yellow-1);
    filter: brightness(1);
    font-family: var(--font-lora);
    font-weight: 600;
    margin: 1rem;
}

section .buttons {
    text-align: center;
    display: flex;
    gap: 10px;
    justify-content: center;
}

section .buttons a {
    text-decoration: none;
    color: var(--color-yellow-2);
    background-color: var(--color-green-2);
    font-family: var(--font-cooper-bt);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: 0.2s;
    font-size: clamp(0.7rem, 3vw, 1.2rem);
    border-radius: var(--border-radius-button);
    z-index: 1;
    box-shadow: var(--shadow);
}

section .buttons a:hover {
    filter: brightness(1.3);
}

@media (max-width: 1080px) {
    main {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    main section {
        padding: 1rem;
    }
    section div#left-container {
        margin-left: 0;
    }
    nav {
        flex-wrap: wrap;
    }
    section .buttons a {
        padding: 0.4rem 0.8rem;
    }
    section div#right-card {
        height: auto;
        width: 80vw;
        aspect-ratio: 1 / 1;
    }
}