/* paleta de colores predeterminados */
:root {
    --wistful-50: #f1f3fc;
    --wistful-100: #e5e8fa;
    --wistful-200: #d1d5f4;
    --wistful-300: #a5aae9;
    --wistful-400: #9796e3;
    --wistful-500: #837cd8;
    --wistful-600: #7262c9;
    --wistful-700: #6252b0;
    --wistful-800: #50448f;
    --wistful-900: #443d72;
    --wistful-950: #282343;
}

/* ----------------------------------------- */

/* Servicios */
body{
    background: url(../img/fondo2.webp);
    background-size: cover;
}
.row {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.services-container {
    padding: 10px;
}
#services-section {
    margin-top: 3em;
}

#cont{
    background: var(--wistful-200);
    padding: 10px;
    width: 45%;
    text-align: center;
    border-radius: 20px;
}

#cont2{
    background: var(--wistful-200);
    padding: 10px;
    width: 45%;
    text-align: center;
    border-radius: 20px;
    height: 30%;
}

.services-box {
    width: 90%;
    margin: 0 auto;
    background: #FFF;
    padding: 10px;
    text-align: center;
    border-radius: 48px 0;
}

.services-box:nth-child(2){
    background-color: var(--wistful-400);
}
.services-box:nth-child(4){
    background-color: #FF8080;
}
.services-box:nth-child(6){
    background-color: #62CDFF;
}
.services-box:nth-child(8){
    background-color: #FFE7CC;
}
.services-box:nth-child(10){
    background-color: #FDCEDF;
}

h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Formulario */


form {
    width: 90%;
    margin: auto;
    background: var(--wistful-100);
    padding: 20px;
    border-radius: 48px 0;
}
.tituform{
    font-size: 24px;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="button"] {
    padding: 10px;
    border-radius: 100px 100px 0 100px;
    width: 50%;
    background: #20b456;
    color: #fff;
    cursor: pointer;
}
 
input, textarea[placeholder]{
    text-align: center;
}
/* Fin Servicios */


/* Tablets */
@media only screen and (min-width: 601px) and (max-width: 1024px) {

    #errorMensaje{
        margin-top: -5px;
        margin-bottom: -5px;
    }


    .row{
        padding: 5px;
    }

    #cont{
        width: 100%;
        padding: 5px;
        border-radius: 10px;
    }
    
    #cont2{
        width: 100%;
        padding: 5px;
        border-radius: 10px;
    }
    
    .services-box {
        width: 100%;
        background: #FFF;
        padding: 10px;
        text-align: center;
        border-radius: 0 32px;
    }

    #cont{
        width: 95%;
        margin-bottom: 10px;
    }
    
    #cont2{
        width: 95%;
    }
    

    h2{
        font-size: 20px;
    }

    input[type="button"] {
        width: 80%;
    }
    

}

/* Movil */
@media only screen and (max-width: 576px) {
    .tituform{
        font-size: 18px;
    }
    #errorMensaje{
        margin-top: -10px;
        margin-bottom: -15px;
    }

    .row{
        padding: 5px;
    }

    #cont{
        padding: 5px;
        border-radius: 10px;
    }
    
    #cont2{
        padding: 5px;
        border-radius: 10px;
    }
    
    .services-box {
        width: 100%;
        background: #FFF;
        padding: 10px;
        text-align: center;
        border-radius: 0 32px;
    }

    #cont{
        width: 95%;
        margin-bottom: 10px;
    }
    
    #cont2{
        width: 95%;
    }

    

    h2{
        font-size: 20px;
    }

    input[type="button"] {
        width: 80%;
    }
}