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

:root {
    --cor0: rgb(51, 96, 90);
    --cor1: rgb(26, 61, 57);
    --cor2: #91a398;
    --cor3: #7d9987;
    --cor4: #e9e0d1;
    --cor5: #68462b;
    --cor6: #382414;
}

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

body {
    margin: 0;
    font-family: 'raleway', sans-serif;
    display: flex;
  
    flex-direction: column;

}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 550px;
    margin: 100px auto;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex-grow: 1;
    position: relative;
}

.left {
    background-color: var(--cor1);
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.left h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.left p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.cadastrar {
    background: transparent;
    border: 1px solid white;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    padding: 10px 30px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cadastrar:hover {
    background-color: var(--cor0);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.right {
    display: flex;
    flex: 1;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    color: var(--cor1);
}

.right h2 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}


.form {
    display: flex;
    flex-direction: column;
}

.form label {
    margin-bottom: 10px;
    font-weight: 600;
}

.email,
.senha {
    margin-bottom: 25px;
    padding: 12px;
    border: 1px solid var(--cor2);
    border-radius: 5px;
    font-weight: 500;
    color: var(--cor1);
    transition: border-color 0.3s ease;
}

.email:focus,
.senha:focus {
    outline: none;
    border-color: var(--cor0);
    box-shadow: 0 0 0 3px rgba(51, 96, 90, 0.2);
}

.logar {
    background-color: var(--cor1);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    width: 120px;
    margin: 20px auto 0;
    font-weight: 700;
    transition: all 0.3s ease
}

.logar:hover {
    background-color: var(--cor0);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.termos {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--cor1);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease
}

.termos:hover {
    color: var(--cor2);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: -10px;
    margin-bottom: 10px;
}



@media (max-width: 992px) {
    .container {
        margin-top: 30px;
        flex-direction: column;
        width: 95%;
        height: 800px;
    }

    .left,
    .right {
        padding: 30px;/
    }

    .left {
        min-height: 350px;
        justify-content: center;
    }

    .right {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .logar {
        width: 100%;/
    }
}

@media (max-width: 480px) {
    .left h1 {
        font-size: 2em;
    }

    .left p {
        font-size: 1em;
    }

    .right h2 {
        font-size: 1.8em;
    }
}
