@charset "UTF-8";

:root {

    /* Colors */
    --c_blue300: hsl(200, 100%, 62%);
    --c_blue500: hsl(200, 100%, 42%);
    --c_black: #000;
    --c_grey400: hsl(213, 9%, 39%);
    --c_white: #FFF;
    --c_yellow500: yellow;
    --c_green300: hsl(168, 34%, 41%);
    --c_green600: hsl(198, 62%, 26%);

    /* Fonts */
    --f_fontSize: 18px;
    --f_lineHeight: 1.5;
    --f_fontStyle: normal;
    --f_fontWeight: 400;
    --f_barlow: "Barlow", sans-serif;
    --f_fraunces: "Fraunces", serif;
    --f_opendyslexic: 'OpenDyslexic', sans-serif;
}


* {
    margin: 0;
    padding: 0;

   /*  outline: 3px dotted red; */
}

html {
    font-size: var(--f_fontSize);
    line-height: var(--f_lineHeight);
    font-style: var(--f_fontStyle);
    font-weight: var(--f_fontWeight);
    font-family: var(--f_barlow);
}

.Body {
    max-width: 100%;
    margin-inline: auto;
    display: inline-block;
    /* display: grid;
    grid: 100dvh auto 25dvh / repeat(12, 1fr);
 */
    font-size: clamp(100%, .75rem + .75vw, 25px);
}

/* --- Header --- */
.Header {
/*     grid-row: 1 / 2;
    grid-column: 1 / 13;
 */
    background-image: url("../imagenes/portada.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
    min-height: 300px;
    
}

.contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 299px;
    border-radius: 5px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.contenedor h2 {
    color: white;
    text-align: center;
    font-family: var(--f_fraunces);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    line-height: 1.2;
}

.contenedor picture{
    display: flex;
    justify-content: center;
    align-items: center;

}
.contenedor picture img {
    width: 50px;
    height: 50px;
}

.descripcion, .mapa, .formulario {
    display: flex;
    color: var(--c_black);
    font-size: 0.8rem;
    line-height: 1.5;
    width: 99.9%;
    margin: 10px auto;
}

.descripcion .artDescripcion{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 49%;
    padding: 20px;
    text-align: justify;
}


.descripcion .artImagen{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 49%;
}

.mapa article, .formulario article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 49%;
    padding: 20px;
}

.descripcion article p, .mapa article p {
    width: 80%;
}

.descripcion .artImagen picture img {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.mapa .mapa-container iframe{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.formulario article .contacto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
}

.formulario article .contacto p {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    line-height: 27px;
}
.formulario article .contacto p img{
    width: 27px;
    height: 27px;
}

.formulario article:nth-child(2)    {
    background-color: rgba(200, 200, 200, 0.5);
    width: 42%;
    border-radius: 5px;
}

.formulario article form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.formulario article form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--c_black);
    font-family: var(--f_fraunces);
}

.formulario article form label::after {
    content: "*";
    font-size: 0.6rem;
    color: var(--c_red500);
    font-family: var(--f_fraunces);
    font-weight: 400;
    padding-bottom: 5px;
    position: relative;
    top: -3px;
    left: 2px;
}

.formulario article form input,.formulario article form textarea{
    padding: 10px;
    border: 1px solid var(--c_grey400);
    border-radius: 5px;
    font-size: 0.8rem;
}

.formulario article form input:focus {
    border-color: var(--c_blue300);
    outline: none;
}

.formulario article form button {
    padding: 10px;
    background-color: var(--c_blue500);
    color: var(--c_white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.formulario article form p
{
    color: var(--c_red500);
    font-size: 0.8rem;
    font-family: var(--f_opendyslexic);
    margin-left: 10px;
    position: relative;
    top: -10px;
}

.mensajeGeneral {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30px;
    background-color: var(--c_red500);
    color: var(--c_white);
    font-size: 0.8rem;
    font-family: var(--f_fraunces);
    border-radius: 5px;
}

.mensajeGeneral p:last-child{
    display: none;
}

.oculto{
    display: none;
}

hr{
    width: 100%;
    height: 1px;
    background-color: var(--c_grey400);
    border: none;
    margin: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--c_grey400);
    color: var(--c_white);
    padding: 20px;
    margin-top: 10px;
    font-size: 0.8rem;
    font-family: var(--f_fraunces);
    width: 97%;
    margin: auto;
}

footer p {
    margin: 0;
}

.whats{
    position: fixed;
    bottom: 20px;
    right:30px;
    cursor: pointer;
}

.whats:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;   
}

.whats a svg {
    width: 75px;
    height: 75px;
    background-color: lightgreen;
    border-radius: 50%;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
}

circle {
    fill: #25d366;
}

path {
    fill: #fff;
} 

@media screen and (max-width: 968px) {
    .contenedor {
        flex-direction: column;
        gap: 10px;
    }

    .contenedor h2 {
        font-size: 1.5rem;
    }

    .contenedor picture img {
        width: 40px;
        height: 40px;
    }
    
    .descripcion {
        flex-direction: column;
        align-items: center;
    }
    .descripcion article {
        width: 100%;
        padding: 10px;
    }
    
    .descripcion article picture img {
        width: 100%;
        height: auto;
    }


   .descripcion .artDescripcion{
        width: 80%; 
    }
    .descripcion article p, .mapa article p {
        font-size: 0.8rem;
        text-align: justify;
    }

    .mapa {
        flex-direction: column;
        align-items: center;
    }
    .mapa article {
        width: 97%;
        padding: 10px;
        margin: auto;
        
    }
    .mapa article p {
        width: 90%;
        font-size: 0.8rem;
    }
    .mapa article picture img {
        width: 100%;
        height: auto;
    }

    .mapa .ubicacion{
        order:1;
    }

    .mapa .mapa-container {
        order:2;
        width: 90%;
        height: 300px;
        background-color: var(--c_grey400);
        border-radius: 5px;
    }

    .mapa .mapa-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .formulario {
        flex-direction: column;
        align-items: center;
    }

    .formulario article {
        width: 97%;
        padding: 10px;
        margin: auto;
    }

    .formulario article:nth-child(2) {
        width: 90%;
    }

    .formulario article form {
        width: 70%;
    }

    .formulario article form input {
        font-size: 0.8rem;
    }

    .formulario article form button {
        font-size: 0.8rem;
    }

    .mensajeGeneral {
        width:auto;
        padding:10px;
    }
    
    .whats a svg {
        width: 50px;
        height: 50px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 94.8%;
    }

    footer p {
        margin: 5px 0;
        font-size: 0.7rem;
    }
    

}

@media screen and (max-width: 400px) {
    .Header{
        padding: 5px;
        min-height: 200px;
        width: 100%;
    }

    .contenedor h2 {
        font-size: 1.2rem;
    }

    .contenedor picture img {
        width: 30px;
        height: 30px;
    }

    .whats a svg {
        width: 50px;
        height: 50px;
    }

    .descripcion .artDescripcion{
        width: 80%; 
    }
    .descripcion article p, .mapa article p {
        font-size: 0.8rem;
        text-align: justify;
    }

    .formulario article form input, .formulario article form textarea {
        font-size: 0.7rem;
    }

    .mensajeGeneral {
        width:auto;
        height: 120px;
        padding:10px;
    }

    footer p {
        font-size: 0.5rem;
    }
}