/*
    Main Image
*/

.main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38rem;
    background-image: url("images/homepage-main-image.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main-image-text {
    text-align: center;
    color: var(--text-colour-light);
}

.main-image-text :first-child {
    font-size: 64px;
    font-size: 4rem;
    text-align: center;
    font-family: var(--motto-font);
    font-weight: var(--motto-weight);
}

.main-image-text :last-child {
    font-size: 96px;
    font-size: 6rem;
    text-align: center;
    font-family: var(--motto-font);
    font-weight: var(--motto-weight);
}

#main-text-container {
    margin-top: 8rem;
    margin-bottom: 2rem;
    font-size: 28px;
    font-size: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

#get-started-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#get-started-button {
    padding-left: 2rem;
    padding-right: 2rem;
}

/*
    Media Queries
*/

@media (min-width: 2560px) {

    /* Large screens (1440p, 4K, etc) */

    .main-image {
        background-image: url("images/homepage-main-image-4k.jpg");
        height: 48rem;
    }

}

@media (max-width: 800px) {

    /* Mobile layout */

    .main-image {
        background-image: url("images/homepage-main-image-mobile.jpg");
        height: 32rem;
    }
    
    .main-image-text :first-child {
        font-size: 48px;
        font-size: 3rem;
    }
    
    .main-image-text :last-child {
        font-size: 72px;
        font-size: 4.5rem;
    }
}

@media (max-width: 500px) {

    /* Extremely small screens */

    .main-image-text :first-child {
        font-size: 32px;
        font-size: 2rem;
    }
    
    .main-image-text :last-child {
        font-size: 64px;
        font-size: 4rem;
    }
}