@font-face {
    font-family: 'AdiHaus';
    src: url('https://assets.codepen.io/6060109/adihaus_regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: "AdiHaus";
    src: url("https://assets.codepen.io/6060109/adihaus_bold.ttf") format("truetype");
    font-weight: bold;
}

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

/* ---------- BRAND COLORS ---------- */

:root {
    --brand-yellow: #FDDE5C;
    --brand-purple: #98A1CD;

    --text-yellow-dark: #C9A900;
    --text-purple-dark: #5F69A8;
}

/* ---------- BASE BODY (MOBILE FIRST) ---------- */

html, body {
    font-family: "AdiHaus";
    font-size: 14px;
    height: 100%;
    width: 100%;

    /* NO background on mobile */
    background: none;
}

/* ---------- LAYOUT ---------- */

.mobile-container {
    margin: 0 auto;
    max-width: 500px;
    min-width: 300px;
}

/* Desktop image hidden by default */
.hero-image-desktop {
    display: none;
}

/* ---------- HERO SECTION ---------- */

.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO */
.logo-wrapper {
    padding: 1.5rem 0;
}

.logo-wrapper img {
    display: block;
    height: 7rem;
    width: 7rem;
    object-fit: cover;

    border-radius: 50%;
    border: 4px solid white;
}

/* MOBILE HERO IMAGE */
.hero-banner .hero-image {
    background-image: url(./assets/hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 376px;
    width: 100%;
}

/* ---------- TEXT SECTION ---------- */

.text-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-purple-dark);
    padding: 1.8rem 2.5rem 1rem;
}

.coming-soon {
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-yellow-dark);
    padding: 0 2.5rem 1rem;
}

.sub-text {
    color: var(--text-purple-dark);
    line-height: 24px;
    padding: 0 2.5rem 2rem;
}

/* ---------- DESKTOP VERSION ---------- */

@media only screen and (min-width: 768px) {

    /* ADD gradient only on desktop */
    html, body {
        background: linear-gradient(
            135deg,
            var(--brand-purple) 0%,
            var(--brand-yellow) 100%
        );
    }

    body {
        display: flex;
        flex-direction: row;
        height: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        height: inherit;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 3.5rem;
    }

    .mobile-container {
        width: 45vw;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .logo-wrapper {
        width: 100%;
        display: flex;
        align-items: flex-start;
        padding-left: 2.5rem;
    }

    .logo-wrapper img {
        height: 8rem;
        width: 8rem;
        margin: 0;
    }

    /* Hide mobile hero image on desktop */
    .hero-image {
        display: none;
    }

    .text-info {
        text-align: left;
        align-items: flex-start;
    }

    .brand-title {
        font-size: 2.2rem;
    }

    .coming-soon {
        font-size: 4.8rem;
    }

    .sub-text {
        font-size: 16px;
    }

    /* Desktop hero image */
    .hero-image-desktop {
        display: block;
        height: 100%;
        width: 55vw;
    }

    .hero-image-desktop img {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
        height: 100%;
        object-fit: cover;
        width: 100%;
    }
}
