@font-face {
    font-family: Clemente;
    src: url("../fonts/Clemente-Regular.ttf");
    font-weight: 500;
}

@font-face {
    font-family: Clemente;
    src: url("../fonts/Clemente-Bold.ttf");
    font-weight: 900;
}

@font-face {
    font-family: Clemente;
    src: url("../fonts/Clemente-Light.ttf");
    font-weight: 300;
}

html{
    overflow-x: hidden;
}

*{
    font-family: 'Clemente', sans-serif;
    color: black;
}

body{
    margin: 0;
    overflow-x: hidden;
}

section{
    padding: 10vh 0;
}

section h2{
    font-size: 3em;
}

a{
    text-decoration: none;
}

nav#desktop{
    height: 10vh;
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 99999;
    background: white;    
    -webkit-box-shadow: 0 1px 20px 1px rgba(0, 0, 0, .75);
    -moz-box-shadow: 0 1px 20px 1px rgba(0, 0, 0, .75);
    box-shadow: 0 1px 20px 1px rgba(0, 0, 0, .75);
    z-index: 1000;
    background-image: url(../images/icons.svg);
    background-repeat: no-repeat;
    background-size: 7%;
    background-position: left;
    background-attachment: scroll;
}

nav#desktop > *{
    width: 33%;
    align-self: center;
    justify-self: center;
    text-align: center;
}

nav#desktop > #redessociales{
    display: flex;
    margin: auto;
    text-align: center;
    width: 180px;
}

#redessociales > a{
    height: 50px;
    width: 50px;
    display: flex;
    margin: auto
}

#redessociales > a > svg{
    width: 100%;
}

#redessociales > a > svg .cls-1{
    fill: white;
}

#redessociales > a:hover > svg{
    fill: white;
}

#redessociales > a:hover > svg .cls-1{
    fill: black;
}

nav#desktop > img{
    height: 80%;
}

nav#desktop > #mapa > a{
    margin: auto 5px;
}

#fullwidth{
    padding-top: 10vh;
    position: relative;
    padding-bottom: 0%;
}

#fullwidth > span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#fullwidth > span *{
    color: white;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.8);
    margin: 0;
    text-align: center;
}

#fullwidth > span > p{
    font-weight: 600;
    font-size: 2em;
}

.carrousel{
    height: 90vh;
    background-position: center;
    background-size: cover;
}

#actividades *{
    text-align: center;
}

#actividades > h2{
    margin: 0;
}

#actividades > ol{
    list-style: none;
    display: flex;
    width: 80%;
    flex-wrap: wrap;
    font-size: 2em;
    text-align: center;
    margin: 10vh auto 10vh;
    padding: 0;
}

#actividades > ol > li{
    margin: auto;
    margin-top: 15px;
    display: flex;
}

#actividades > ol > li::before{
    content: "";
    height: 1em;
    width: 1em;
    background-image: url("../images/svg/microfono.svg");
    background-position: center;
    background-size: 1em;
    display: inline-block;
    margin: auto 5px auto 15px;
    background-repeat: no-repeat;
}

#fotos{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 90vw;
}

#fotos > div{
    height: 20vw;
    width: 30vw;
    background-position: center;
    background-size: cover;
}

#contacto{
    display: flex;
  flex-direction: column;
    margin: auto;
    width: 60%;
    align-items: center;
  text-align: center;
}

#contacto > img{
    height: 25vh;
}

#contacto > div{
}

#contacto > div *{
    margin: 0;
}

#contacto > div > h2{
    margin: .5em 0;
}

footer{
    text-align: center;
}

#mobile{
    display: none;
}

#hamburger svg{
    width: 100%;
    height: 100%;
}

#hamburger .cls-3{fill:#fff;}

#hamburger:hover svg{transform: scale(.9); transition: ease .5s;}

#con{
display:flex;
}

#con> section{
width:40%; 
  margin: auto 5%;
}

#contact p{
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}

form{
    width: 100%;
    margin: auto
}

label{
    width: 100%;
    margin-top: 2.5vh;
    margin-bottom: 1vh;
    display: block;
}

input{
    width: 100%;
    padding: 5%;
    height: auto;
    border: 3px solid gray;
    box-sizing: border-box;
}

button{
    background: black;
    color: white;
    font-size: 1.5em;
    width: 100%;
    margin: 2.5vh 0;
    border: 3px solid black;
    padding: 5%;
    font-weight: 500;
    cursor: pointer;
}


button:hover{
    background-color: white;
    color: black;
}

#mision{
    background-color: white;
    color: black;
    text-align: center;
    padding: 15vh 0;
    background-image: url(../images/icons.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
    background-attachment: fixed;
}

#vision{
    background-color: black;
    color: white;
    text-align: center;
    padding: 15vh 0;
    background-image: url(../images/iconos.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    background-attachment: fixed;
}

#vision *{
    color: white;
}

#mision *, #vision *{
    width: 40%;
    margin: auto;
}

#mision h2, #vision h2{
    margin-bottom: 15px;
}

@media screen and (max-width: 768px){
    body{
        font-size: 10pt;
    }

    nav#desktop{
        height: 10vh;
        background-size: 7%;
    }

    nav#desktop > #redessociales {
        display: none;
    }

    nav#desktop > #mapa{
        display: none;
    }

    nav#desktop > img{
        width: 40%;
        margin: auto;
    }

    #fullwidth{
        padding-top: 10vh;
    }

    .carrousel{
        height: 90vh;
        background-position: center center;
    }

    #fullwidth > span{
        width: 90%;
    }

    #fotos {
        width: 100vw;
    }

    #fotos > div {
        height: 40vw;
        width: 50vw;
    }

    #contacto{
        width: 80%;
        flex-direction: column;
        font-size: 1.2em;
    }

    #contacto > img{
        margin: auto;
    }

    #contacto > div{
        margin: auto;
        padding: 0;
        text-align: center;
    }

    #actividades > ol{
        width: 100vw;
        align-items: center;
        justify-items: center;
        font-size: 1.35em;
    }

    #actividades > ol > li{
        width: 45%;
        vertical-align: middle;
        align-items: center;
        justify-items: center;
        margin: 0;
        text-align: left;
    }

    #actividades > ol > li:nth-child(odd){
        text-align: right;
        display: block;
    }

    #actividades > ol > li:nth-child(even)::before{
        width: 10vw;
        margin: 0;
        height: 10vw;
    }

    #actividades > ol > li:nth-child(odd)::before{
        display: none;
    }

    #actividades > ol > li:last-child{
        width: auto;
        margin: auto;
        display: block;
    }

    #hamburger{
        width: 100%;
        height: 100%;
    }

    nav#mobile{
        display: flex;
        position: fixed;
        height: 8vh;
        width: 8vh;
        right: 0;
        top: 30%;
        background-color: white;
        color: black;
        z-index: 9999;
        flex-direction: column;
    }

    #redessociales{
        background-color: white;
        opacity: 0;
        pointer-events: none;
    }

    #redessociales > a{
        margin-top: 10px;
    }

    #redessociales > a > svg{
        margin: auto;
        width: 75%;
    }

    #redessociales.abierta{
        pointer-events: initial;
        opacity: .8;
        transition: 1s linear;
    }
  
  #con{
  flex-direction: column;
  }
  
  #con > section{
  width: 90%;
    margin: 0 5%;
    padding: 10% 0;
  }

    form{
        width: 90%;
    }

    #mision, #vision{
        background-image: none;
    }

    #mision *, #vision *{
        width: 90%;
    }
    
}