@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

/* *** "reseteo" *** */

* { box-sizing: border-box; }

/* *** reglas generales *** */

body {
    margin: 0;
    font-family: "noto sans jp", "trebuchet ms", helvetica, arial, sans-serif;
    color: #296471;
}

h1,
h2,
h3,
h4,
h5,
h6,
p { margin-bottom: 0.2em; }

a { text-decoration: none; }

ul,
ol {
    list-style: none;
    padding: 0;
}

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

.contenedora {
    max-width: 50rem;
    margin: auto;
}

header,
footer {
    background-color: #cde6eb;
    color: #296471;
    font-family: "noto sans jp", "trebuchet ms", helvetica, arial, sans-serif;
    font-weight: 100;
    padding: 1rem;
}

/* *** encabezado *** */

header {
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.45);
}

header .contenedora {
    /* caja flexible */
    display: flex;
    
    /* " hijos separados" */
    justify-content: space-between;
    
    /* "hijos" centrados en la vertical */
    align-items: center;
    
}

#logo {
    background-color: #cde6eb;
    border-radius: .99em;
    padding: .35em;
    width: 13em;
}


/* *** menu *** */

header nav ul {
    /* caja flexible */
    display: flex;
    /* elementos que no caben van a otra linea */
    flex-wrap: wrap;
}

header nav ul li {
    min-width: 4em;
    margin: .75em 0 .75em .75em;
}

header nav ul li a {
    display: block;
    background-color: #3ea2b8;
    border-radius: 1.5em ;
    color: #f3f5f6;
    font-weight: bold;
    padding: .45em .7em;
    text-align: center;
}


header nav ul li a:hover {
    background-color: ghostwhite;
    color: #296471;
}

/* botón seleccionado */
.actividades header nav ul li:first-child a,
.info header nav ul li:nth-child(2) a,
.donar header nav ul li:nth-child(3) a,
.acceder header nav ul li:nth-child(4) a{
    background-color: #296471;
    color: whitesmoke;
}

button {
        display:flex;
        justify-content: flex-start;
        appearance:button;
        text-shadow: none;
        -webkit-writing-mode: horizontal-tb !important;
        border-radius: 10px;
        
        }
button a {
         color:#ffffff;
         text-align: center;
         text-decoration: none; 
         font-weight: 500;
         
         }

.btnacceder { 
            display: flex;
            flex-direction: column;
            text-align: center;
            font-size: 16px;
            padding: 10px;
            margin: 0.4em;
            border-color: transparent;
            background-color: #3ea2b8;
            border-radius: .15em ;
            color: #f3f5f6;
            transition: all .2s ease-in;
            
            }

/* *** cuerpo principal *** */

main { padding: 0.7em;
background-color:#f3f7f8;
}

section { padding-bottom: 0.35rem; }

section:first-of-type { font-size: 1.35em }
section:last-of-type { background-color: #cde6eb;
    border-radius: 7em;
    display: flex;
    justify-content: space-between;
    align-items: center;}

section:last-of-type {
    position: sticky;
    bottom: 2em;
    left: 57.5em;
    width:20rem;
}

section:last-of-type nav ul {
    /* caja flexible */
    display: flex;
    /* elementos que no caben van a otra linea */
    flex-wrap: wrap;
}

section:last-of-type nav ul li {
    min-width: 3em;
    margin: 0.25em 1.25em 0.25em 1.25em;
    text-align: center;}
    

section:last-of-type nav ul li a {
    min-height: 3em;
    size: 200%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #3ea2b8;
    border-radius: 5em ;
    color: #f3f5f6;
    font-weight: bold;
    padding: .1em .1em;
    text-align: center;}

/* botón seleccionado */
.inicio section:last-of-type nav ul li:first-child a,
.perfil section:last-of-type nav ul li:nth-child(2) a,
.foro section:last-of-type nav ul li:nth-child(3) a{
    background-color: #296471;
    color: #3ea2b8;
}





.tituloz {
    padding-bottom: .1em;
    border-bottom: .22rem solid #42818f;
    font-family: "noto sans jp", helvetica, arial, sans-serif;
    color: #42818f;
    font-weight: 600;
    font-size: 1.2em;
}
.titulox {
    padding-bottom: .05em;
    padding-top: .2em;
    font-family: "noto sans jp", helvetica, arial, sans-serif;
    color: #3ea2b8;
    font-size: 2em;
    font-weight: bold; 
}

.equipo ol {
    /* caja flexible *2.6
    display: flex;
    
    /* si los "hijos" no caben,
        van a la línea siguiente */
    flex-wrap: wrap;
    
    /* "hijos" centrados en la horizontal */
    justify-content: center;
    
}

.equipo img {
    border: solid .3em #275a41;
    border-radius: 7%;
}

.equipo ol li { margin: .6em; }

.equipo ol li > * {
    display: block;
    text-align: center;
    margin: auto;
}

.equipo ol li a {
    border-radius: .25rem;
    color: #275a41;
    margin-top: .25rem;
    font-size: 1.15em;
    font-weight: bold;
    line-height: 1.25em;
}

.equipo ol li a:hover {
    color: white;
    background-color: #416a56;
}

.academicos ul li a:hover {
    color: mediumaquamarine;
    font-weight: bold;
}

.academicos ul li a {
    color: #296471;
    font-weight: bold;
}

.academicos > ul > li {
    /* caja flexible */
    display: flex;
    
    /* si los elementos no caben, van a la siguiente línea */
    flex-wrap: wrap;
    
    /* elementos alineados arriba */
    align-items: flex-start;
    
}

.academicos > ul > li {
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    padding-bottom: 1.5em;
    padding-top: 2em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    margin-bottom: 0.3em;
    background-color: white;
}


.academicos img {
    width: 12em;
    height: auto;
}

.academicos > ul > li > *:first-child {
    margin-right: 1em;
    width: 12em;
}

.academicos h3 { margin-top: 0; }


.bregistro a{
    color: #3ea2b8;
    font-weight: bold;
    }
    
.bregistro a:hover{
    color: mediumaquamarine;
    font-weight: bold;
}

