@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Quicksand:wght@300..700&display=swap');

body {
    margin: 0;
    font-family: 'Pacifico' serif;
    background-color: rgb(0, 0, 0);
    color: #2c2c2c;
}


.hero {
    grid-area: hero;
    display: flex;
    align-items: right;
    justify-content: space-between;
    background: transparent;
    border-radius: 16px;
    padding: 2rem;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 5rem;
    color: #eadab6;
    margin-bottom: 2rem;
}

.hero-text h2 {
    font-size: 2.7rem;
    color: #eadab6;
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 2rem;
    line-height: 2.2;
    margin-bottom: 3rem;
}

.hero-text .btn {
    background-color: #800000;
    color: #fff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 2rem;
    cursor: pointer
}

.index-body {
    background-image: url('/images/VinoVault-Wines-wider.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 100vh;
    width: 100vw;
    color: white;
}

.authlink {
    text-decoration: none;
    margin: 0 15px;
    color: #eadab6;
    font-weight: bold;
}

.authlink:hover {
    color: rgb(128, 56, 56);
}

.signin-container,
.signup-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

h1 {
    color: #eadab6;  
}

form {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 20em;
    height: 50%;
    background-color: #eadab6;
    padding: 30px 40px 20px 40px;
    border-radius: 20px;
    color: rgb(46, 46, 46);
    font-weight: bold;
}

input {
    border: 10px;
    background-color: rgb(237, 237, 237);
    padding: 8px;
    border-radius: 10px;
}

button {
    padding: 10px;
    background-color: rgb(106, 7, 7);
    color: #eadab6;
    border-radius: 30px;
    border: none;
    margin: 15px 0;
    font-size: 2.2em;
}


.hero-text h3 {
    font-size: 5rem;
    color: rgb(128, 56, 56);
    margin-bottom: 1rem;
    margin-top: -2rem;
}

@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text h3 {
        font-size: 2.5rem;
        margin-top: 0;
    }

    .hero-text p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .hero-text .btn {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .index-body {
        background-size: contain;
        background-position: top center;
    }

    form {
        width: 90%;
        padding: 20px;
    }

    button {
        font-size: 1.5em;
    }

    .authlink {
        display: block;
        margin: 10px auto;
        text-align: center;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
    }

    .hero-text {
        max-width: 90%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text h3 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.6rem;
    }

    .hero-text .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.5rem;
    }

    form {
        width: 80%;
    }

    button {
        font-size: 2em;
    }
}
