@font-face {
    font-family: 'Lato';
    src: url(/static/fonts/Lato/Lato-Regular.ttf) format('truetype');
}

.inputErro {
    outline: 2px solid red;
}

* {
    box-sizing: border-box;
    font-family: 'Lato', Arial, sans-serif;
}

html, body {
    margin: 0;
    min-width: 230px;
}

header {
    width: 51%;
    margin: auto;
    padding-left: 20px;
}

body {
    background-color: #fff;
    color: #353535;
    font-size: clamp(10px, 4vw, 15px);
    min-height: 100vh;
    background-image: url('../img/imagem_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.big-red {
    background-color: #c40233;
    width: 100%;
    height: 1%;
    bottom: 0;
    position: fixed;
}

main.content {
    padding: 20px;
    margin: auto;
    justify-self: center;
    width: min(50%, 1200px);
}

footer {
    position: fixed;
    bottom: 0%;
    display: none;
}

header img, footer img {
    width: 160px;
}

.vermelho {
    color: #c40233;
}

.error {
    background: #ffe5e5;
    color: #a60000;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.container {
    padding: 20px;
    border-radius: 20px;
}

.container > p {
    margin-bottom: 50px;
}

h3 {
    margin-top: 40px;
}

h4 {
    font-size: clamp(14px, 6vw, 50px);
    font-weight: 800;
}

p {
    font-size: clamp(10px, 4vw, 17px);
    margin: 0;
    max-width: 60%;
}

button {
    background-color: #c40233;
    color: #fff;
    padding: 15px 20px;
    border-radius: 20px;
    font-weight: bold;
    border: none;
    font-size: clamp(10px, 4vw, 15px);
    cursor: pointer;
    transition: .2s;
    max-width: 418px;
    max-height: 70px;
}

button:hover {
    background-color: #8d0225;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

input, select {
    border-radius: 20px;
    border: 2px solid #646464;
    padding: 5px;
    font-size: 14px;
    color: #646464;
}

select {
    width: 167px;
}

select:disabled{
    opacity: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: default;
}

label {
    display: inline-block;
}

.sumiu {
    display: none;
}

textarea {
    border: 2px solid #646464;
    vertical-align: middle;
    border-radius: 10px;
}

.step > textarea {
    width: 100%;
}

.icone {
    font-size: 15px;
    padding: 5px;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

span.help {
    background-color: #c40233;
    padding: 4px 0px 0 1px;
    border-radius: 100%;
    height: 30px;
    color: #fff;
    width: 30px;
    display: inline-block;
    cursor: help;
    text-align: center;
}

span.tooltip {
    background-color: #000000;
    color: #fff;
    opacity: 0;
    padding: 8px;
    border-radius: 20px;
    font-size: clamp(12px, 4vw, 14px);
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    transition: .2s;
    margin-left: 10px;
}

.help-group:hover .tooltip {
    opacity: .5;
}

.pad {
    padding: 1px 0 0 1px !important;
}

#submitBtn {
    display: none;
}

hr {
    margin: 40px 0;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        font-size: clamp(13px, 3.5vw, 14px);
    }

    header {
        display: none;
    }

    footer {
        display: none;
    }

    main.content {
        padding: 20px;
        width: 90%;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        height: 100dvh;
    }

    .btn {
        margin: auto;
        display: block;
        padding: 30px;
    }

    .form-grid {
        flex-direction: column;
    }
    
    .active {
        justify-items: center;
    }

    h1 {
        text-align: center;
    }

    .tooltip {
        position: relative;
        display: block;
        left: 0;
        width: 90%;
    }

    h4 {
        font-size: clamp(16px, 5vw, 28px);
    }

    p {
        max-width: 100%;
    }
    
    .container {
        padding: 12px;
    }

    .help-group:hover .tooltip {
        opacity: .8;
    }
}