@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,
.donaciones header nav ul li:nth-child(2) a,
.foro header nav ul li:nth-child(3) a,
.info header nav ul li:nth-child(4) a,{
    background-color: #296471;
    color: whitesmoke;
}

/* *** 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; }

#foto {
    width: 12em;
    height: 12em;
    border-radius: 6em;
    margin-bottom: none;
    margin-top: none;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: space-between;}

#usuario {
    font-family: "noto sans jp", "trebuchet ms", helvetica, arial, sans-serif;
    color: #296471;
    text-align: center; 
    font-weight: normal;
    font-size: 2em;
    padding-bottom: .5em;
    border-bottom: .2rem solid #296471;
    font-family: "noto sans jp", helvetica, arial, sans-serif;
    color: #296471;
    font-weight: 600;
    font-size: 1.8em;
}

.title{
    margin-top: 1em;
    margin-bottom: 0.1em;
    padding-top: 1em;
    padding-bottom: 0.3em;
    font-family: "noto sans jp", "trebuchet ms", helvetica, arial, sans-serif;
    color: #296471;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 0.02em;
}

p {
    letter-spacing: 0.03em;
    font-family: "noto sans jp", "trebuchet ms", helvetica, arial, sans-serif;
    color: #296471;
    text-align: center;
}

/*FORO*/
.foro-foto{
    width: 4em;
    height: 4em;
    border-radius: 2em;
}

.persona {
    background-color: white;
    color: #296471;
    margin top: 1em;
    margin-bottom: 1em;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.persona-b {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content:flex-start;   
    padding-left: 1em;
}

.persona-t {
   margin-left: 1em; 
}

.foro-usuario{
    font-size: 1em;
}

.pregunte {
    text-align: left;
    font-size: 0.7em;
}

.respuestas {
    font-size: 0.8em; 
        text-align: left;
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  height: auto;
}
 
@media screen and (max-width: 600px) {
    section:last-of-type {
    position: sticky;
    bottom: 2em;
    left: auto;
    right: auto;    
    width:20rem;
}
}

