* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
    font-family: "Nunito", serif;
}

:root {
    --accent-color: #FF2696;
    --text-color: #403848;
    --background: #FFFFFF;
    --dim: #C3BBCB;

}

body {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4038486b;
    z-index: 1000;
}

.spinner {
    display: block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4038486b;
    z-index: 1000;
}
.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--background);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--background);
    background-color: var(--accent-color);
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.close span {
    margin-bottom: 2px;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.modal-message {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.inner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 80dvw;
}

.hero-image-mobile {
    display: flex;
    width: 90%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-image-desktop {
    display: none;
}

.hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

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

.hero-text-1 {
    font-size: 1.5rem;
    color: var(--text-color);
    text-align: center;
}

.hero-text-2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-align: center;
    line-height: 1;
    font-weight: 900;
}

.hero-headline {
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 0 2rem;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
    max-width: 80dvw;
}

.subscribe-form input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--dim);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.subscribe-form button {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    background-color: var(--accent-color);
    color: var(--background);
    cursor: pointer;
    font-size: 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-color);
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    max-width: 80dvw;
}

/* desktop */

@media (min-width: 768px) {
    .hero-image-mobile {
        display: none;
    }
    
    .hero-image-desktop {
        display: flex;
        width: 40%;
        max-width: 300px;
        background-size: cover;
        background-position: center;
        position: relative;
        justify-content: flex-start;
        align-items: center;
    }

    body {
        align-items: center;
    }

    .content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        max-width: 380px;
    }

    .inner-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 800px;
        /* invert order */
        flex-direction: row-reverse;
    }
    .container {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        
    }
}