@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barrio&display=swap');


/*----------GLOBAL RESET----------*/

@charset "utf-8";

*/

*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-sizing: border-box;
}

#logo {
    width: 100px;
    display: flex;
    float: right;
}

body{
    font-family: "Montserrat ms", fira-sans-condensed, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    justify-content: space-between;
    align-content: center;
}

html {
    height: -webkit-fill-available; 
}

.contenedor {
    max-width: 50em;
    margin: 0 auto;
}

main {
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    width:100%;
    
    
}

header{
    width: 100%;
}

header .contenedor {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
    padding-bottom: .5em;
    padding-top: .6em;
    padding-left: .9em;
    padding-right: .9em;
}

footer {
    text-align: center;    
    color: white;
    padding: 1rem;
    font-size: 0.8rem;
    background-color: #4abcea;
}

.seguinos {
    display: inline-block;
    flex-direction: row;
    padding-bottom: .4em;
}

footer h3{
    font-size: 1rem;
    color:white;
    text-transform: uppercase;
    text-align: center; 
    margin: .3em;
}

.legales{
    background-color: #4abcea;
    color: white;
    padding: .1em;
    font-size: 0.8rem;
}

.icono {
    width: 20px;
    padding: .5em;
    align-content: center;
}

#menu {
    display: none;
}

header label {
    display: none;
    width: 30px;
    height: 30px;
    padding-bottom: .4em;
}

header label:hover {
    cursor: pointer;
    background-color: #cdebf7;
}

.menu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    font-size: 10px;
}

.menu li {
    text-align: center;
}

.menu li:hover {
    background-color: #cdebf7;
}

.menu li a {
    display: block;
    padding: 10px 10px;
    color: black;
    text-decoration: none;
}

@media (max-width: 768px) {
    header label {
        display: block;
    }
    
    .menu {
        position: absolute;
        background-color: white;
        width: 50%;
        margin-left: -70%;
        transition: all 0.5s ease;
    }
    
    .menu ul {
        flex-direction: column;
        background-color: rgb(224, 246, 255);
    }
    
    .menu li {
        border-top: 1px solid black;
    }
    
    #menu:checked ~ .menu {
        margin: 0;
    }
}






/*----------POSICIONES----------*/
#novedades>*
#novedades p:not(:last-child) {
    margin-bottom: 1em;
}

#novedades {
    max-width: 50em;
    width: 100%;
    margin-top: 1em;
    border-radius: 1em;
    flex-direction: column;
    font-size: 15px;
    align-content:center; 
}

#titulo {
    background-color: #4abcea;
    text-align: center;
    color: white;
    text-transform: uppercase;
    padding: 0.5em 0;
    font-family:  ‘Montserrat’ , sans-serif;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 1em;
    padding-top: 1em;
    
}
#novedades h1{
    background-color:#4abcea;
    
    
}
#anotarse h2{
    text-align: center;
    color:white;
}



/*----------IMAGENES Y VIDEOS----------*/







.boton {
    
    background-color: #e93b44;
    padding: 1rem;
    text-align: center;
    color: white;
    text-decoration:none;
}




figure{
    position:relative;
    margin: 0;
    margin-bottom:0.5rem;
    width:100%;
}

figure picture img{
    position:relative;
    margin-bottom:0.5rem;
    width: 100%;
}

figcaption{
display:flex;
flex-wrap:wrap;
background-color: #4abcea;
color:#fff;
position:absolute;
width:100%;
height:rem;
bottom:0;
overflow:hidden;
}



figure img{
position:relative;
    top:0.rem;
}
figure:first-of-type figcaption{
bottom:0;
    height:rem;
    
}

figcaption p{
    flex-basis: 12rem;
    margin-bottom:1rem;
    margin-left:2em;
    font-size:20px;
}

figcaption .boton{
    width:10%;
    display:block;
    margin:0;
    margin-left:25em;
    flex-basis:1rem;
    float:right;
    position:relative;

}

#actividades_isla{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
}




.actividad{
    box-sizing: border-box;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    bottom:1rem;
    background-color:#e93b44;
    background-blend-mode: screen;
    color:#fff;
    z-index:999;
    transition: 0.5s;
    overflow: scroll;
    padding:0;

    
}



 #cruz{
    width:5%;
    align-content: center;
}

.imagenes figure{
    width: 100%;
    height: auto;
}

.imagenes figure picture img{
    margin:auto;
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem; 
}

.videoresponsive_accesos_secundarios video {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    
}

.videoresponsive{
    position:relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
    margin-top: 1.5rem;
}

.videoresponsive iframe{
    position:absolute;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
}





/*-------------------------MEDIA QUERIES DISPOSITIVOS DESDE 800PX DE ANCHO-------------------------*/


 @media (max-width: 768px) {
   
    header label {
        display: block;
    }
    main{
        width:100%;
        justify-content: center;
    }
    .menu {
        position: absolute;
        background-color: white;
        width: 50%;
        margin-left: -70%;
        z-index: 999;
        transition: all 0.5s ease;
    }

    .menu ul {
        flex-direction: column;
        background-color: rgb(224, 246, 255);
        margin-top .8em,
    }
    
    .menu li {
        border-top: 1px solid black;
        margin-top: .8em:
    }
    
    #menu:checked ~ .menu {
        margin: 0;
    }

main{
        justify-content: center;
        margin:0;
    }
.boton {
    
    background-color: #e93b44;
    padding: 1rem;
    text-align: center;
    color: white;
    text-decoration:none;
}




figure{
    position:relative;
    margin: 0;
    margin-bottom:0.2rem;
    width:100%;
}

figure picture img{
    position:relative;
    margin-bottom:0.5rem;
    width: 100%;
}

figcaption{
display:flex;
flex-wrap:wrap;
background-color: #4abcea;
color:#fff;
position:absolute;
width:100%;
height:5em;
bottom:0;
overflow:hidden;
}



figure img{
position:relative;
    top:0.1rem;
}


figcaption p{
    flex-basis: 1rem;
    margin-bottom:1rem;
    margin-left:2em;
    font-size:16px;
}

figcaption .boton{
    width:10%;
    display:block;
    justify-content: right;
    align-content: right;
    flex-basis:1em;
    margin:1em;
    margin-left:16em;
    position:absolute;

}

#actividades_isla{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
}




.actividad{
    box-sizing: border-box;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    position:absolute;
    height:0%;
    top:100%;
    left:0;
    right:0;
    bottom:1rem;
    background-color:#e93b44;
    background-blend-mode: screen;
    color:#fff;
    z-index:999;
    transition: 0.5s;
    overflow: scroll;
    padding:0;

    
}



 #cruz{
    width:5%;
    align-content: center;
}

.imagenes figure{
    width: 100%;
    height: auto;
}

.imagenes figure picture img{
    margin:auto;
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem; 
}
 
}



    
