@font-face {
    font-family: 'AdiHaus';
    src: url('https://assets.codepen.io/6060109/adihaus_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AdiHaus";
    src: url("https://assets.codepen.io/6060109/adihaus_bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border-style: none;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

:root {
    --theme-color-black: #333333;
    /* rgba(51, 51, 51, 1) */
    --theme-color-brown: #423A3A;
    --theme-color-red: #0c4d35;
    --theme-color-white: #FEFFFF;
    /* rgba(254, 255, 255, 1) */
}

/* ---------- MAIN BODY DECLERATIONS ---------- */

html,
body {
    background-color: var(--theme-color-white);
    font-family: "AdiHaus";
    font-size: 14px;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

header {
    width: 100%;
}

input {
    font-family: 'AdiHaus';
}

.mobile-container {
    margin: 0 auto;
    max-width: 675px;
    min-width: 300px;
}

.hero-image-desktop {
    display: none;
}

/* ---------- HERO BANNER DECLERATIONS ---------- */
.hero-banner {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.hero-banner .logo-wrapper {
    height: auto;
    margin: 0 auto;
    padding: 1rem 0;
    width: auto;
}

.logo-wrapper img {
    display: block;
    height: 150px;
    margin: 0 auto;
    width: auto;
}

.hero-banner .hero-image {
    background-image: url(../images/auth-screen.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 376px;
    width: 100%;
}

/* ---------- TEXT INFO DECLERATIONS ---------- */
.text-info {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.text-info>* {
    padding: 0 2.5rem 1rem;
}

/* intended for the first h2 within .text-info */
.text-info h2:nth-child(1) {
    color: var(--theme-color-red);
    font-weight: normal;
    padding-top: 1.8rem;
    padding-bottom: 1rem;
}

.text-info h2 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--theme-color-brown);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.text-info p {
    color: var(--theme-color-black);
    line-height: 24px;
}

.text-info .email-signup {
    margin: 1rem 0 6rem;
    position: relative;
    width: 100%;
}

.email-signup .email-input {
    border: 1px solid rgba(51, 51, 51, .7);
    border-radius: 3px;
    padding: 1rem 1.5rem;
    opacity: .5;
    width: 100%;
}

.email-signup .email-input:focus {
    background-color: var(--theme-color-white);
    outline: 2px solid var(--theme-color-black);
    opacity: 1;
}

.email-signup .email-submit {
    background-color: var(--theme-color-black);
    border-bottom: 1px solid var(--theme-color-black);
    border-radius: 2px;
    color: var(--theme-color-white);
    cursor: pointer;
    font-weight: bold;
    opacity: 1;
    padding: 1rem 1.5rem;
    position: absolute;
    right: 0;
    margin-right: 2.5rem;
    z-index: 10;
}
.waviy {
    position: relative;
    -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0, 0, 0, .2));
    font-size: 55px;
    margin: 30px 0px 90px;
}

.waviy span {
    position: relative;
    display: inline-block;
    color: #1E2121;
    text-transform: capitalize;
    /* text-transform: uppercase; */
    animation: waviy 2.5s infinite;
    animation-delay: calc(.1s * var(--i));

}

@keyframes waviy {

    0%,
    40%,
    100% {
        transform: translateY(0)
    }

    20% {
        transform: translateY(-20px)
    }
}

@media only screen and (max-width: 1400px) {
    .text-info h2 {
        font-size: 2.5rem;
    }
    .waviy {
        position: relative;
        -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0, 0, 0, .2));
        font-size: 40px;
        margin: 30px 0px 90px;
    }
    
}

@media only screen and (min-width: 768px) {
    body {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        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-wrap: wrap;
        align-items: center;
        align-content: center;
        gap: 50px;
        justify-content: space-around;
    }

    .hero-banner .logo-wrapper {
        margin-left: 3.5rem;
        width: 100%;
        display: flex;
        align-items: start;
        flex-direction: column;
    }

    .logo-wrapper img {
        margin: 0 0 0;
        padding-left: 2.5rem;
    }

    .hero-image {
        display: none;
    }

    .text-info {
        text-align: left;
        align-items: start;
    }

    .text-info h2 {
        font-size: 4.5rem;
    }

    .text-info p {
        font-size: 16px;
    }

    .text-info input {
        font-size: 16px;
    }

    .text-info .email-signup {
        margin: 1rem 0 7rem;
    }

    .hero-image-desktop {
        display: block;
        height: 100%;
        width: 55vw;
        position: relative;

    }

    .hero-image-desktop::after {
        width: 100%;
        position: absolute;
        top: 0;
        display: block;
        content: "";
        background-color: #f58e072f;
        height: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);

        z-index: 1;
    }

    .hero-image-desktop img {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .email-signup .email-submit {
        border-bottom: 2px solid var(--theme-color-black);
    }

}
@media only screen and (max-width: 450px) {
    .text-info h2 {
        font-size: 2rem;
    }
    .waviy {
        position: relative;
        -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0, 0, 0, .2));
        font-size: 20px;
        margin: 30px 0px 50px;
    }
}