@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

li {
    list-style: none;
}

a {
    text-decoration: none;
}

h2,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", serif;
    background-image: url(../img/contacto/fondoC.png);
    background-repeat: no-repeat;
    background-size: cover;
}

main {
    margin: 0 10em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main h2 {
    color: #2B2B2B;
    font-size: 3em;
    text-align: center;
    padding: 1em 0 2em 0;
}

main form {
    background-color: #ffffffde;
    box-shadow: 0 0 10px #0080FF;
    border-radius: 1em;
    padding: 2em;
    margin-bottom: 5em;
    width: 60%;
}

.titulos {
    display: flex;
    justify-content: space-between;
    padding-bottom: 2em;
}

.titulos .Ti {
    color: #0080FF;
    font-size: 3em;
    font-weight: 700;
    margin-left: 2%;
}

.titulos .horario {
    color: #2B2B2B;
    font-size: 1.3em;
    font-weight: 600;
    margin-right: 2%;
    display: flex;
    align-items: center;
}

.datos {
    display: flex;
    justify-content: space-around;
}

.datos .datoI,
.datoD {
    display: flex;
    flex-direction: column;
    width: 45%;
    padding-bottom: 1.4em;
}

.datos .datoI label {
    color: #2B2B2B;
    font-size: 1.2em;
    font-weight: 700;
    padding: 0.2em;
}

.datos .datoD label {
    color: #2B2B2B;
    font-size: 1.2em;
    font-weight: 700;
    padding: 0.2em;
}

.datos .datoI input {
    border-style: none;
    height: 30px;
    box-shadow: 0 0 3px #0080FF;
    border-radius: .2em;
    font-size: 1.2em;
}

.datos .datoD input {
    border-style: none;
    height: 30px;
    box-shadow: 0 0 3px #0080FF;
    border-radius: .2em;
    font-size: 1.2em;
}

.datos .datoI select {
    border-style: none;
    height: 30px;
    box-shadow: 0 0 3px #0080FF;
    border-radius: .2em;
    font-size: 1.2em;
    color: #686868;
}

.datos .datoD select {
    border-style: none;
    height: 30px;
    box-shadow: 0 0 3px #0080FF;
    border-radius: .2em;
    font-size: 1.2em;
    color: #686868;
}

.mensaje {
    width: 96%;
    margin-left: 2.2%;
}

.mensaje .comentarios {
    display: flex;
    flex-direction: column;
    padding-bottom: 1.4em;
}

.mensaje .comentarios label {
    color: #2B2B2B;
    font-size: 1.2em;
    font-weight: 700;
    padding: 0.3em;
}

textarea {
    height: 100px;
    width: 100%;
    resize: none;
    border-style: none;
    box-shadow: 0 0 3px #0080FF;
    border-radius: .5em;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button input {
    background-color: #0080FF;
    color: aliceblue;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: .5em;
    padding: .4em 4em;
    border-style: none;
    box-shadow: 0 0 5px #0080FF;
}


@media (max-width: 800px) {

    main{
        width: 100%;
        margin: 0;
    }

     main h2{
        font-size: 1em;
        width: 100%;
        text-align: center;
    }

    main form {
        width: 80%;
        padding: 1.1em;
    }

    .titulos {
        padding-bottom: 1em;
    }
    
    .titulos .Ti {
        font-size: 1.4em;
    }
    
    .titulos .horario {
        font-size: .5em;
    }

    .datos{
        flex-direction: column;
    }
    
    .datos .datoI,
    .datoD {
        width: 100%;
        padding-bottom: 1em;
    }
    
    .datos .datoI label {
        font-size: 1em;
    }
    
    .datos .datoD label {
        font-size: 1em;
    }
    
    .datos .datoI input {
        font-size: 1em;
    }
    
    .datos .datoD input {
        font-size: 1em;
    }
    
    .datos .datoI select {
        font-size: 1em;
    }
    
    .datos .datoD select {
        font-size: 1em;
    }
    
    .mensaje {
        width: 98%;
        margin-left: 0;
    }
    
    .mensaje .comentarios label {
        font-size: 1em;
    }
}