/* Global Reset */

* {
    margin: 0px;
    padding: 0px;
    color: white;
    font-family: roboto, sans-serif;
}

/* Body sizing */

body {
    background-color: #e4e4e4;
}

.hero {
    max-width: 1440px;
    background-color: white;
}

/* Hide desktop nav by default for small screen */

.desktop-nav-link {
    display: none;
}

nav {
    height: 90px;
    background-color: black;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-logo {
    height: 70px;
    width: 70px;

    margin-left: 10px;
}

#nav-hamburger {
    height: 50px;
    width: 50px;

    margin-right: 25px;
}

/* Banner */

#banner {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("images/banner-image-small.png");
    border-top: 1px solid white;
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
}

#banner-text-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

#slogan {
    font-size: 16px;
    font-weight: lighter;
}

/* Adjust size of banner image and elements */

@media (min-width: 480px) {
    #banner {
        height: 300px;
    }

    h1 {
        font-size: 40px;
    }
}

@media (min-width: 768px) {
    #banner {
        height: 400px;
    }

    h1 {
        font-size: 50px;
    }

    #slogan {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    #banner {
        background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("images/banner-image-1024px.png");
    }

    h1 {
        font-size: 62px;
    }
}

@media (min-width: 1440px) {
    #banner {
        height: 500px;
    }

    h1 {
        font-size: 72px;
    }

    #slogan {
        font-size: 32px;
    }

    body {
        display: flex;
        justify-content: center;
    }
}

/* How it works section */

#how-it-works-title {
    color: black;
    margin: 20px 10px;
    font-size: 24px;
    font-weight: bold;
}

#how-it-works-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.hiw-card {
    background-color: #000000;
    margin: 0px 10px;
    width: 280px;

    border-radius: 20px;
    padding: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hiw-card > img {
    height: 70px;
    width: 70px;
}

.hiw-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0px;
}

.hiw-card-text {
    font-size: 16px;
    font-weight: lighter;
}

@media (min-width: 768px) {
    #how-it-works {
        margin: 0px 40px;
    }
}

/* Contact us */



/* Partner with us */

#partner-with-us {
    margin-top: 40px;
    background-color: black;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

#partner-with-us-text-container {
    padding: 20px 0px;
}

#partner-with-us-text-container > h2 {
    margin-left: 10px;
    margin-bottom: 10px;
}

#partner-with-us-text-container > p {
    margin-left: 15px;
    margin-right: 10px;
    font-size: 16px;
    font-weight: lighter;
}

#partner-with-us-button {
    width: 90%;
    max-width: 840px;
    color: #000000;
    background-color: #ffffff;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
}

button:hover {
    cursor: pointer;
}

/* Footer */

footer {
    border-top: 10px solid #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    text-align: center;
    font-size: 12px;
    font-weight: 200;
    background-color: black;
}

/* Desktop nav */

#desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    /* Hide and show elements */
    #desktop-nav {
        display: flex;
        align-items: center;

        gap: 20px;
        margin-right: 40px;
    }

    #nav-hamburger {
        display: none;
    }

    /* Layout */
    #desktop-nav > a {
        text-decoration: none;
        font-size: 18px;
        font-weight: 200;
    }

    #desktop-nav > a:hover, #desktop-nav > a:focus {
        font-weight: 400;
    }

    #points-entry-portal-btn-desktop {
        height: 50px;
        width: 175px;
        background-color: white;
        color: black;
        border-radius: 10px;
        border: none;
        font-size: 16px;

        transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
    }

    #points-entry-portal-btn-desktop:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 170, 255, 0.35);
        background-color: #f8f8f8;
    }
}