﻿.form-main-div {
    height: auto;
    background-color: var(--dark-green-two);
    border-radius: 16px;
    background: var(--verde-dark-verde-dark-2, #061B19);
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.50);
    padding: 20px;
}


.form-main-div label {
    color: var(--white);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.one-input {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(1, 1fr);
    margin: 25px 0;
    padding: 10px 30px;
}

.one-input div {
    position:relative;
}

.input-group-flex {
    display: grid;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    margin: 25px 0;
    padding: 0px 30px;
}

    .input-group-flex div {
        position:relative;
    }

    .form-input {
        width: 100%;
        height: 40px;
        border: 0;
        font-size: 16px;
        padding: 0.3rem 0.5rem;
        font-family: Ubuntu;
        border-radius: 4px;
        margin-top: 5px;
        background: var(--white);
    }

.form-textarea {
    width: 100%;
    height: 120px;
    border: 0;
    font-size: 16px;
    padding: 0.3rem 0.5rem;
    font-family: Ubuntu;
    border-radius: 4px;
    margin-top: 5px;
    background: var(--white);
}

.form-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 30px 0px;
}

    .form-action .termos {
        color: var(--white);
        font-family: Ubuntu;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .form-action a {
        color: var(--white);
        text-decoration: none;
    }

.btn-arredondado.btn-color-purple.btn-effect-white-green.btn-form {
    width: 360px;
    font-size: 20px;
    padding: 12px;
}

    .btn-arredondado.btn-color-purple.btn-effect-white-green.btn-form[disabled] {
        background:gray;
    }

    .div-politica-privacidade {
        position: relative;
        display: flex;
    }


.chk {
    display: block;
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    color: #424242;
    font-weight: 400;
}

    .chk input {
        position: absolute;
        opacity: 0;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 14px;
    width: 15px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 2px;
}

.chk input:checked ~ .checkmark {
    background-color: var(--secondary-green);
    border: none;
}

.checkmark::after {
    display: none;
    content: '';
    position: absolute;
}

.chk .checkmark::after {
    content: '';
    left: 4px;
    top: 0.5px;
    width: 4px;
    height: 8px;
    transform: rotate(45deg);
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
}

.chk input:checked ~ .checkmark::after {
    display: block;
}

.error {
    color: red;
    position: absolute;
    left: 0px;
    top: 68px;
    font-weight:600;
}

#mensagemError {
    top: 150px;
}

.termos a:hover {
    color: var(--secondary-green);
}

@media screen and (max-device-width: 480px) and (orientation:portrait) {
    .form-main-div {
            width: 100%;
        }

        .input-group-flex {
            grid-template-columns: repeat(1, 1fr);
            padding: 0;
            margin: 0;
        }

        .one-input {
            padding: 0;
        }


        .form-main-div h2 {
            font-size: 16px;
        }

            .form-main-div h2 span {
                font-size: 18px;
            }

        .form-main-div p {
            font-size: 16px;
            margin-bottom: 1.5rem;
        }

        .btn-arredondado.btn-color-purple.btn-effect-white-green.btn-form {
            font-size: 16px;
            width: 100%;
        }

        .form-main-div label {
            font-size: 14px;
        }
    }

    @media screen and (min-width: 481px) and (max-width: 580px) {

        .form-main-div {
            width: 100%;
        }

        .input-group-flex {
            grid-template-columns: repeat(1, 1fr);
            padding: 0;
            margin: 0;
        }

        .one-input {
            padding: 0;
        }


        .form-main-div h2 {
            font-size: 18px;
        }

            .form-main-div h2 span {
                font-size: 18px;
            }

        .form-main-div p {
            font-size: 14px;
            margin-bottom: 1.5rem;
        }

        .btn-arredondado.btn-color-purple.btn-effect-white-green.btn-form {
            font-size: 14px;
            width: 100%;
        }

        .form-main-div label {
            font-size: 14px;
        }
    }




    @media screen and (min-width: 581px) and (max-width: 980px) {
        .form-main-div {
            width: 100%;
        }

        .input-group-flex {
            grid-template-columns: repeat(2, 1fr);
            padding: 20px;
        }

        .one-input {
            padding: 0px 20px;
        }

        .form-main-div h2 {
            font-size: 22px;
        }

            .form-main-div h2 span {
                font-size: 22px;
            }

        .form-main-div p {
            font-size: 16px;
        }
    }