@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Poppins:wght@400;600&display=swap');

:root {
    --main-bg: #FFFFFF;
    --secondary-bg: #F5F5F5;
    --highlight-color: #FF6F61;
    --contrast-color: #fcba7e;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Caveat', cursive;

    --button-color: #0c8466;
    --button-hover-color: #63e6df;
    --main-bg: #ffffff;      /* Cor principal do fundo */
    --input-bg: #f0f0f0;     /* Cor de fundo dos inputs */
    --border-color: #ccc;    /* Cor da borda dos inputs */
    --label-color: #333;     /* Cor do texto dos labels */
    --focus-color: #4CAF50;  /* Cor da borda ao focar no input */
}

.linha {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0.5em;
    color: var(--clr-font);
    text-align: center;
}

.texto {
    display: inline-block;
    vertical-align: baseline;
    background: var(--clr-texto);
    flex-grow: 1;
    width: 100%;
    align-items: end;
    height: 100%;
    border: 0;
    border-radius: 10px;
    opacity: 1;
    padding: 20px;
    margin: 0.3em;
    margin-bottom: 0;
}

.texto p, ul, li {
    text-align: justify;
    font-size: clamp(16px, 1vw, 24px);
}

form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form {
    justify-content: space-between;
}

.botoes {
    display: flex;
    justify-content: space-between;
}

.styled-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--button-color);
    color: var(--main-bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.styled-button:hover {
    background-color: var(--button-hover-color);
    color: var(--label-color);
}

.styled-input,
.styled-textarea {
    display: block;
    width: 95%;
    padding: 15px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.styled-input:focus,
.styled-textarea:focus {
    border-color: var(--focus-color); /* Cor da borda ao focar */
    outline: none;
}

.styled-label {
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
    color: var(--label-color);
    text-align: left;
}

@media screen and (max-width: 600px) {

    .linha {
        display: table;
        width: 100%;
    }

    form {
        width: 100%;
    }

    .form-group {
        min-width: 100%;
    }

    input,
    textarea {
        width: 100%;
    }

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

    .styled-button {
    margin-top: 10px;
    }
}

