@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --background: #060606;
    --on-background: #fafafa;
    --grey: #3e3e3e;
    --dark-grey: #202020;
    --red: #ec0f5a;
    --orange: #ff7e40;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Jura', sans-serif;
    background: linear-gradient(to bottom, var(--background), var(--dark-grey));
    color: var(--on-background);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    height: 100%;
}


a {
    font-weight: bold;
    text-decoration: none;
    color: var(--orange);
}

a:hover {
    color: var(--red);
    text-decoration: underline;
}

header {
    animation: fadeInDown 1.2s ease-out;
    padding: 4rem 2rem 3rem 2rem;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;

    @media screen and (max-width: 500px) {
        justify-content: center;
    }
}

nav a {
    display: flex;
    align-items: center;
}

nav .logo {
    width: auto;
    height: 1rem;

    @media screen and (max-width: 500px) {
        margin: 0 auto;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    color: var(--on-background);
    animation: fadeInDown 1.2s ease-out;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    flex-wrap: wrap;

    @media screen and (max-width: 500px) {
        gap: 4rem;
    }
}

section img {
    width: 300px;
}

section h1 {
    margin: 0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--on-background);

    @media screen and (max-width: 500px) {
        font-size: 1.75rem;
    }
}

section a {
    font-size: 1.25rem;
}

section p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.badge {
    max-width: 200px;
    height: 60px;

    @media screen and (max-width: 500px) {
        max-width: 150px;
        height: 45px;
    }

    @media screen and (max-width: 400px) {
        max-width: 120px;
        height: 36px;
    }
}


.badge:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 2rem;
    font-size: 1.25rem;
    animation: fadeInDown 1.2s ease-out;
}

footer a {
    display: inline-block;
}

footer p {
    color: var(--grey);
    font-size: 1rem;
    margin: 0;
}
