:root {
    --background-color: #FFFFFF;
    --font-family: "Yaldevi", serif;
    --orange: #FF4D00;
    --orange-hover: #ff7940;
    --body-text-color: #202020;
    --gray : #414141;
    --white : #FFFFFF;
    --title-font: 'Grand Cru Light', serif;
    --body-text-size-sm : 1rem;
    --body-text-size-md : 1.8rem;
}

@import url('https://fonts.googleapis.com/css2?family=Yaldevi:wght@200..700&display=swap');
@font-face {
    font-family: 'Grand Cru Light';
    src: url('/fonts/GrandCru-LightS.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

.main-content{
    align-items: center;
    padding-top: 10vh;
}

h1{
    font-family: var(--title-font);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.7rem;
}

.contact{
    width: 300px;
    padding-bottom: 5vh;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #fdfdfd;
}

.contact-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

label {
    display: block;
    font-weight: bold;
    font-family: var(--title-font);
    text-transform: uppercase;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 0;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    text-decoration: none;
}


input::placeholder, textarea::placeholder {
    color: #989898;
    font-family: var(--title-font);
}

input:focus, textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--orange);
}

textarea {
    resize: vertical;
    min-height: 15vh;
}

button {
    background-color: var(--orange);
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: var(--orange-hover);
}

.error {
    color: red;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
}

#responseMessage {
    margin-top: 15px;
    font-size: 14px;
    color: green;
}

#responseMessage.error {
    color: red;
}

.contact-img{
    display: none;
}

@media (min-width: 768px) {
    .contact{
        margin-bottom: 10vw;
        width: 60%;
        padding: 2vh 2vw
    }
}

@media (min-width: 1024px) {
    .contact{
        margin-top: -10px;
        width: 90vw;
        display: flex;
        height: 80vh;
        padding: 0px;
        justify-content: center;
        margin-bottom: 0;
        flex-direction: row;
        padding: 6vh 5vw;
    }

    .contact-wrapper{
        width: 40%;
        display: flex;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;    
        flex-direction: column;
        justify-content: center;
    }

    .contact-form{
        padding: 30px 90px;
    }

    .contact-img{
        display: block;
        width: 60%;
        height: 100%;
        background-image: url('../assets/img/contact-image.webp');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;    

    }

    h1{
        padding: 10px;
        font-size: 2rem;
    }

    input, textarea {
        width: 100%;
        padding: 5px;
    }


    textarea {
        min-height: 100px;  
    }
}