body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, transparent 83%, #ccc 50%);
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header {
    margin: 16px auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.header img {
    width: 260px;
    height: auto;
}

#date {
    margin: 10px 0;
    font-size: 0.8em;
}

.banner {
    display: flex;
    justify-content: space-around;
}

.banner img {
    width: 80%;
}

.promo {
    text-align: center;
}

.promo img {
    width: 80%;
}

.promo-text {
    text-align: center;
    margin: 1rem auto;
}

.promo-text h1 {
    font-weight: 700;
}

.promo-text p {
    margin: 10px 0;
    font-size: 2em;
}

.promo-text .bold {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.5em;
}

.form-container {
    background: #000;
    color: #fff;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 65%;
    border-radius: 10px;
}

.form-container h3 {
    margin: 20px auto;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

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

.form-container input,
.form-container select {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50%;
    box-sizing: border-box;
}


.form-container .button-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.form-container .button-wrapper .certificado {
    font-size: 1em;
    color: white;
    text-align: center;
    margin: 1em;
    font-family: Arial, sans-serif;
    font-weight: 600;
}

.form-container button img {
    width: 100%;
    background-color: #000;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.form-container button {
    width: 40%;
    background-color: #000;
    border: none;
}

.footer img {
    width: 100%;
    margin-top: 10px;
}

select {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50%;
    box-sizing: border-box;
    /* Garantir que padding e border estejam incluídos na largura total */
}

.form-control::placeholder {
    color: #fff !important;
}


.hidden {
    display: none !important;
}

.form-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 10px;
}

.form-div input,
.form-div select {
    margin: 10px 0;
    padding: 10px;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50%;
    box-sizing: border-box;
    /* Garantir que padding e border estejam incluídos na largura total */
}

.form-div p {
    color: grey;
    width: 50%;
    font-size: 0.8rem;
    text-align: center;
}

.optin-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-around;
    align-items: center;
}

.form-dots {
    padding: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    border-radius: 10px;
}

.dots {
    display: flex;
}

input#UsouProtecaoDot1,
input#UsouProtecaoDot2,
input#UsouProtecaoDot3,
input#UsouProtecaoDot4,
input#UsouProtecaoDot5 {
    width: auto;
    margin-bottom: -5px;
    appearance: auto !important;
}

input#Dot1,
input#Dot2,
input#Dot3,
input#Dot4,
input#Dot5 {
    width: auto;
}


@media screen and (min-width:320px) and (max-width:576px) {

    .header {
        justify-content: space-evenly;
        margin: 12px auto;
    }

    .header img {
        width: 130px;
    }

    #container-text {
        width: 70%;
    }

    .promo-text h1 {
        font-size: 1rem;
    }

    .promo-text .bold {
        font-size: 1rem;
    }

    .form-container {
        width: 95%;
        padding: 0;
    }

    .form-div p {
        width: 80%;
    }

    .form-div input,
    .form-div select {
        width: 80%;
    }

    .form-container button {
        width: 70%;
    }


}

@media screen and (min-width:577px) and (max-width: 768px) {

    /* Estilos para telas menores ou iguais a 600px de largura */
    input#Dot1,
    input#Dot2,
    input#Dot3,
    input#Dot4,
    input#Dot5 {
        width: 85% !important;
    }

    .header {
        justify-content: space-evenly;
        margin: 12px auto;
    }

    #container-text {
        width: 70%;
    }

    .promo-text h1 {
        font-size: 1.3rem;
    }

    .promo-text .bold {
        font-size: 1.3rem;
    }

    .form-div {
        padding: 20px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80%;
        border-radius: 10px;
    }

    .form-div p {
        font-size: 0.7em;
        color: darkgray;
        width: 100%;
        text-align: center;

    }

    #date {
        margin: 10px 0;
        font-size: 0.7em;
    }

    .form-container {
        width: 80%;
    }

    .form-container input,
    .form-container select {
        margin: 10px 0;
        padding: 10px;
        border-radius: 3px;
        background-color: #000;
        color: #fff;
        border: 1px solid #ccc;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 85%;
        box-sizing: border-box;
        /* Garantir que padding e border estejam incluídos na largura total */
    }

    .form-container h3 {
        margin-bottom: 10px;
        text-align: center;
        font-size: 1.2em;
    }

    .form-container button {
        width: 70%;
    }

}