@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cor0: #33605a;
    --cor1: #1a3d39;
    --cor2: #91a398;
    --cor3: #7d9987;
    --cor4: #e9e0d1;
    --cor5: #68462b;
    --cor6: #382414;
}

.icon-button {
    position: relative;
    top: 12px;
}

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    height: 500px;
    margin: 40px auto;
    box-shadow: 0 4px 7px var(--cor6);
    border-radius: 7px;
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--cor6);
    font-weight: 700;
}

.left {
    width: auto;
    background-size: cover;
    background-position: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}


.right {
    display: flex;
    flex: 1;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: var(--cor6);
    width: 100%;
}

.contato {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.name,
.email,
.assunto {
    margin-bottom: 25px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--cor5);
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.assunto {
    resize: vertical;
    min-height: 100px;
}

.enviar {
    background-color: var(--cor6);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    padding: 12px 20px;
    align-self: center;
    width: 150px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.enviar:hover {
    background-color: var(--cor5);
    scale: 1.05;
}

@media (max-width: 992px) {

    .container {
        flex-direction: column;
        width: 100%;
        max-width: 600px;
        height: auto;
        margin-top: 20px;
    }

    .left,
    .right {
        padding: 30px;
        text-align: center;
    }

    .left {
        min-height: 400px;
        border-radius: 7px;
    }

    .right {
        border-radius: 0 0 7px 7px;
    }

    .name,
    .email,
    .assunto {
        width: 100%;
    }

    .enviar {
        width: 120px;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {

    .container {
        width: 95%;
        margin-top: 15px;
        box-shadow: none;
        border-radius: 0;
    }

    .left,
    .right {
        padding: 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    .left h2 {
        font-size: 1.3em;
    }
}
