main{
    font-family: "Montserrat", Arial, sans-serif;
}

.main-bg{
    margin-top: -6.2rem;
    height: 25vh;
    width: 100%;
    background-image: url(../assets/images/templo-na-agua.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
}

.main-title{
    text-align: center;
    max-width: 45rem;

    color: var(--text-white);
    text-shadow: 3px 1px 10px var(--text-red);
    font-weight: bold;
}

.form-adjust{
    display: flex;
    align-items: center;
    justify-content: center;
}

.subform{
    margin-top: 10px;
    width: 35%;
    background-color: white;
    padding: 10px;
}

.subform h2{
    text-align: center;
    color: var(--text-red);
    text-shadow: 3px 1px 8px var(--bg-black-primary);
    margin-bottom: 20px;
}

label{
    margin-left: 5px;
    padding-bottom: 12px;
    line-height: 18px;
    font-weight: bold;

    position: relative;
}

form input[type=text],
form input[type=email]{
    width: 100%;
    line-height: 4rem;
    padding: 0 10px;

    border: 1px solid #ccc;
    border-radius: 5px;
    outline-color: var(--text-red);

    margin-bottom: 20px;
}

.region{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-top: 12px;

    display: grid;
    grid-template-columns: auto auto;
}

.radio{
    display: grid;
    grid-template-columns: min-content auto;
    grid-gap: 0.5em;

    align-items: center;
}

.radio__input{
    display: flex;
}

.radio__input input{
    opacity: 0;
    width: 0;
    height: 0;
}

.radio__input input:checked + .radio__control{
    background: radial-gradient(var(--text-red) 50%, rgba(255, 0, 0, 0) 51%);
}

.radio__control {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.1em solid var(--text-red);
    cursor: pointer;
}

.radio__label{
    line-height: 1;
    cursor: pointer;
}

form input[type=submit]{
    width: 100%;
    border-radius: 20px;
    height: 40px;
    font-weight: bold;

    margin-top: 20px;
    cursor: pointer;
    
    color: var(--text-white-for-bg-red);
    background-color: var(--text-red-hover);
    border: 1px solid var(--text-white-for-bg-red);
}

form input[type=submit]:hover{
    color: var(--text-white-for-bg-red-hover);
    background-color: var(--bg-btn-red-hover);
    
}

.error{
    font-style: italic;
    color: crimson;
    font-size: 1rem;
}

.active{
    background-color: #ccc;
}


@media (min-width: 2500px){
    main{
        height: 78vh;
    }
}

@media (max-width: 768px){
    .form-adjust{
        height: 57vh;
        align-items: flex-start;
    }

    .subform{
        width: 80%;
    }

    form input[type=text],
    form input[type=email]{
        line-height: 8rem;
    }

    .radio__control {
        width: 1.5em;
        height: 1.5em;
    }
}
