@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    
    padding: .25em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

body {
    font-family: "trebuchet ms", arial, helvetica, sans-serif;;
    background-color: aquamarine;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer {
    background-color: aquamarine;
    font-size: .85em;
    padding: 1em;
}
footer > p {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

img {
    
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }


#logo {
    display: block;
    width: 15em;
}

header > ul {
    display: flex;
}

header > ul > li {
    width: 2em;
    height: 2em;
    margin-left: .25em;
    display: flex;

}

header > ul > li > a {
    width: 100%;
    height: 100%;
    background-color: aquamarine;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav:target {
    right: 0;

}



header nav a:hover {
    color: white;
}


.registro > li 
{   height: 100%;
    color: aquamarine;
    text-decoration: none;
    font-weight: normal;
    text-align: left;
    padding:7px;
    
    cursor:pointer;
    display:block;
    justify-content: center;
    width:290px;
    margin:auto;
    text-align:left;
}
  
.usuario {
    margin: auto;
    text-align: center;
    font-size: 75%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 1px aquamarine;
}
.usuario img {
    border-radius: 50%;
    width: 25vmin;
    height: 25vmin;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid aquamarine;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}

#x {
    
    position: absolute;
    right: 0;
    top: 0;
}

main {
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

section {
    border-top: solid 1px rgba(0,0,0,.1);
}

.galeria {
    padding-bottom: 2em;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.galeria h3 {
    width: 100%;
    padding: 1em;
}

.galeria img { display: block; }

.galeria figcaption {
    background-color: aquamarine;opacity: 50%;
    border: solid;
    color: white;
    padding: .5em;
    line-height: 1.25em;
    position: absolute;
    height: 100%;
    top: calc(100% - 2em);
    left: 0;
    right: 0;
    transition: all .5s ease;
    
}

.galeria figure:hover figcaption {
    background-color: aquamarine;opacity: 50%;
    border: solid 2px ;
    padding: 1em;
    text-align: center;
    top: .5em;
    left: .5em;
    right: .5em;
    transition: all .3s ease-out;
}

.galeria figcaption span {
    display: block;
    font-size: .75em;
    color: black;
}

.galeria figure {
    width: 45vmin;
    margin: .125em;
    position: relative;
    overflow: hidden;
}

@media (min-width: 50em) {
    .galeria h3 {
        margin-bottom: 2em;
    }
    h3 {
        background-color: dodgerblue;;
    }
    .textos h3 {
        padding: 1em;
    }
}


@media (min-width: 75em) {
    .galeria {
        background-color: dodgerblue;
    }
}

.textos {
    padding: 1em;
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;
}

.textos > * {
    margin-bottom: 1em;
}

.textos > div h4 {
    background-color:aquamarine;
    padding: .25em;
    margin-bottom: .5em;
    position: sticky;
    top: 0;
} 

.subir {
    text-decoration: none;
    color: dodgerblue;
    font-weight: bold;
}

.subir:hover {
    text-decoration: underline;
}


.explorar {
    background-color:aquamarine;
    border: 4px black;
    border-radius: 50%;
    box-shadow: 0 .15em .1em rgba(0,0,0,.215);
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
}

.explorar > * { margin: auto; }


/*Blog*/


#noticias1{
    max-width:100%;
    height: auto;
    margin-top: 5%
}



/*Perfil*/ 

.novedades {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: stretch;
    border: solid;
    border-width: thin;
    padding: 0.5em;
}

img[Attributes Style] {
    height: 80px;
}


.noticia {
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-left: 1em;
}


.titulonovedades {
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    color: black;
    letter-spacing: 0.8em;
    margin-bottom: 0.2em;
}

h2 {
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    text-transform: uppercase;
    padding-bottom: 0.5em;
    border-bottom: 2px solid black;
}
user agent stylesheet
h2 {
    display: block;
    font-size: 1.5em;
    -webkit-margin-before: 0.83em;
    -webkit-margin-after: 0.83em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
}

.noticia h4 {
    margin: 0;
    font-size: 0.7em;
    text-decoration: none;
}

article h4 {
    display: flex;
    text-decoration: underline;
    margin-top: 1em;
    text-transform: uppercase;
    color: black;
    box-sizing: content-box;
    margin-bottom: 1em;
    font-weight: 200;
    font-size: 0.9em;
}
user agent stylesheet
h4 {
    display: block;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
}

.noticia h3 {
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    text-align: left;
    margin-top: 0.5em;
    border: none;
    font-weight: 500;
}
article h3 {
    justify-content: center;
    margin: auto;
    display: flex;
    margin-bottom: 0.5em;
    margin-top: 1em;
    font-size: 1em;
    font-weight: 100;
    color: black;
    text-transform: uppercase;
    letter-spacing: none;
    box-sizing: content-box;
    border: solid;border-color: aquamarine;
    padding: 0.5em;
    border-width: thin;
}
user agent stylesheet
h3 {
    display: block;
    font-size: 1.17em;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    }
    
    .noticia p {
    margin: 0;
        background-color: white;
}
p {
    margin-bottom: 1em;
    font-size: 0.8em;
    text-transform: inherit;
    color: black;
    line-height: 1.3em;
    text-align: left;
}
user agent stylesheet
p {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

aside {
    border-top: solid 1px black;
    padding-top: 1em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: aquamarine;
}

.aside {
display: flex;
font-size: 0.5rem;
font-weight: 400;
letter-spacing: 0.1rem;
    justify-content: space-around;
    margin-top: 0.3em;
}

aside h3{
margin: auto;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.1rem;
text-transform: uppercase;
    border: none;
}

aside h4{
margin: 0.5rem;
}

/*videos*/

.videoresponsive{
    position: relative;
    width: 60%;
    height: auto;
    padding-bottom: 56.25%;
    filter: grayscale(100%);
    
}

.videoresponsiveiframe{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;   
}

/*Info 3D*/

.flex {
    display: flex;
    justify-content: space-between;
    max-width: 28rem;
    }

/*slider*/

.bx-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding: 0;
    box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    background: #fff;
}


/* menu desplegable */

#llamamenu {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    height: 2em;
    width: 2em;
    position: relative;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}



header nav {
    background-color: rgba(0,0,0,0.85);
    color: white;
    position: fixed;
    right: -50vw;
    top: 0;
    height: 100vh;
    min-width: 50vw;
    transition: all .3s ease;
    z-index: 9998;
}

/*header nav:target,*/
header nav.menuvisible {
    right: 0;
    transition: all .6s ease;
}

.usuario {
    margin: auto;
    text-align: center;
    font-size: 75%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 1px rgba(255,255,255,.25);
}
.usuario img {
    border-radius: 50%;
    width: 25vmin;
    height: 25vmin;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid gray;
    box-shadow: 0 .35em .5em rgba(0, 0, 0, .25) inset, 0 .35em .5em rgba(0, 0, 0, .25);
}

header nav a {
    color: rgba(255,255,255,.75);
    display: block;
    padding: .5em 1em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: white;
}

@media (min-width: 25em) {
    
    .galeria figure {
        width: 45%;
        margin: .125em;
    }
    
}


@media (min-width: 35em) {
    
    header nav {
        background-color: rgba(0,0,0,.5);
        position: relative;
        right: auto;
        top: auto;
        height: auto;
        min-width: auto;
    }
    
    header nav ul {
        display: flex;
    }
    
    #llamamenu,
    .usuario {
        display: none;
    }

}

