/* --------------------------- */
/* Reset */
/* --------------------------- */

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

/* --------------------------- */
/* Body */
/* --------------------------- */

html,
body {
    height: 100%;
    font-family: "Space Grotesk", sans-serif;

    display: flex;
    flex-direction: column;

    /* Fallback for older browsers */
    background-image: url("../images/daybreak.JPG");
    
    /* Modern browsers will use WebP */
    background-image: image-set(
        url("../images/daybreak.webp"),
        url("../images/daybreak.JPG")
        );
    
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    color: white;
}

/* --------------------------- */
/* Hero Layout */
/* --------------------------- */

.hero {
    flex: 1;

    display: grid;
    grid-template-rows: 1fr 1fr 1fr;

    padding: 2rem;
    text-align: center;
}

.hero-top {
    grid-row: 1;

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

.hero-bottom {
    grid-row: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 1rem;
}

/* --------------------------- */
/* Typography */
/* --------------------------- */

h1 {
    font-family: "Google Sans Flex", sans-serif;
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.coming-soon {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 400;
}

.email {
    color: white;
    text-decoration: none;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 400;

    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 2px;

    transition: opacity 0.2s ease;
}

.email:hover {
    opacity: 0.75;
}

.tm {
    font-size: 0.28em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 0.15em;
    letter-spacing: normal;
}

/* --------------------------- */
/* Footer */
/* --------------------------- */

footer {
    text-align: center;

    padding: .75rem;

    font-size: clamp(0.7rem, 1vw, 0.9rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

/* --------------------------- */
/* Image Credit */
/* --------------------------- */

.image-credit {
    position: fixed;
    right: 16px;
    bottom: 12px;

    font-family: "Google Sans Flex", sans-serif;
    font-size: 0.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);

    letter-spacing: 0.03em;
    z-index: 100;
}

.image-credit a {
    color: inherit;
    text-decoration: none;
}

.image-credit a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------- */
/* Mobile */
/* --------------------------- */

@media (max-width: 480px) {

    .hero {
        padding: 1.5rem;
    }

    footer {
        padding: 2rem;
        letter-spacing: 0.1em;
    }

}