*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    background-image: url("../img/car-illustration.webp");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* HEADER */
header.navbar-container {
    display: flex;
    height: fit-content;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    position: sticky;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

header.navbar-container nav.logo img {
    width: 10rem;
    height: auto;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.25));
}

/* MAIN */
main {
    position: absolute;
    top: 41%;
    bottom: 59%;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    padding-inline: 1rem;
    width: 100%;
}

main div.hero-section {
    display: flex;
    justify-content: center;
}

main div.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
    color: #6845c7;
    width: 24rem;
}

main div.hero-content h1 {
    font-size: 4rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

main div.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer ul.socials {
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style-type: none;
}

footer ul.socials li a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #6845c7;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.25));
}

/* MEDIA QUERIES */
@media screen and (max-width: 767px) {
    body {
        background-position: left;
        background-size: cover;
    }

    header.navbar-container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    header.navbar-container nav.logo img {
        width: 10rem;
        height: auto;
    }

    main div.hero-content {
        width: 23rem;
    }

    main div.hero-content h1 {
        font-size: 3.75rem;
    }

    main div.hero-content p {
        font-size: 1.2rem;
    }

    footer ul.socials {
        gap: 1.5rem;
    }

    footer ul.socials li a {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        background-position: left;
        background-size: cover;
    }

    header.navbar-container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    header.navbar-container nav.logo img {
        width: 8rem;
        height: auto;
    }

    main div.hero-content {
        width: 18rem;
    }

    main div.hero-content h1 {
        font-size: 3rem;
    }

    main div.hero-content p {
        font-size: 0.95rem;
    }

    footer ul.socials {
        gap: 1.5rem;
    }

    footer ul.socials li a {
        font-size: 1.75rem;
    }
}
