/* MARK: GLOBALS */
:root {
    --trans-time-fast: 200ms;
    --trans-time-mid: 400ms;
}

*{
    margin: 0;
    padding: 0;
    font-family: var(--font-parrafos);
}

html {
    font-size: clamp(14px, 1.5vw, 16px);
}

/* Minimalist rounded scrollbar — works in Chromium browsers + Safari */
html::-webkit-scrollbar {
  width: 10px;            /* thickness (vertical) */
  height: 10px;           /* thickness (horizontal) */
  border-radius: 50%;
}

html::-webkit-scrollbar-track {
  border-radius: 50%;
  margin: 6px;
}

html::-webkit-scrollbar-thumb {
  border-radius: 50%;
  min-height: 30px;
  background-clip: padding-box; /* keeps rounded border smooth */
}

html::-webkit-scrollbar-thumb:active {
  transform: scale(0.98);
}

/* Firefox (simple, limited control) */
html {
  scrollbar-width: thin;    /* thin | auto | none */
}

button:hover {
    cursor: pointer;
}

/* MARK:Header */

#header{
    z-index: 4;
    position: relative;
    padding: 10px 20px;
    height: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
}

/* Parte del Btn Burger */

#header .header-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#header .ham_menu{
    cursor: pointer;
    aspect-ratio: 1/1;
    height: 40px;
    width: 100%;
    margin-right: 20px;
    position: relative;
    z-index: 3;
}

#header .ham_menu button {
    display: none;
}

#header .ham_menu span{
    height: 5px;
    width: 100%;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}


#header h1 a{
    text-decoration: none;
    font-family: var(--font-titulos);
    font-size: 1.1em;
}

/* Parte del Btn Account */

#header .header-account {
    cursor: pointer;
}

#header .header-account button{
    display: none;
}

#header .user{
    height: 10vh;
    max-height: 40px;
    aspect-ratio: 1/1;
}


/* Animacion del Botón Burger */

#header .ham_menu span:nth-child(1) {
    top: 25%;
}

#header .ham_menu span:nth-child(3) {
    top: 75%;
}

#header .ham_menu.active span:nth-child(1){
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

#header .ham_menu.active span:nth-child(2){
    opacity: 0;
}

#header .ham_menu.active span:nth-child(3){
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* MARK: Aside Menu */

.aside-burger {
    z-index: 999;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    padding: 10px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    font-size: 1.5rem;
    transition: 0.3s ease;
}

.aside-burger > nav {
    display: flex;
    flex-direction: column;
}

.aside-burger a {
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 5px 10px;
    text-decoration: none;
    color: inherit;
    transition-duration: var(--trans-time-fast);
}

.aside-burger.active {
    left: 0px;
}

/* MARK: Aside Account */

.aside-account {
    z-index: 999;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    padding: 10px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right:-450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    font-size: 1.5rem;
    transition: 0.3s ease;
}

.aside-account img{
    box-sizing: border-box;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin: 5px auto;
    width: 60%;
}

.aside-account.active {
    right: 0px;
}

.aside-account button {
    width: 100%;
    margin: 5px 0;
    padding: 10px 20px;
    border-radius: 10px;
    transition-duration: var(--trans-time-fast);
}

.aside-account button:hover {
    cursor: pointer;
}

/* MARK: Footer */

#footer{
    position: relative;
    margin-top: 20px;
    padding: 0 50px;
    height: 300px;
}

/* Informacion y escudo de la universidad */

.footer-ext-info, .footer-ext-umng {
    position: absolute;
}

.footer-ext-info {
    bottom: 20px;
    left: 30px;
}

.footer-ext-info a {
    text-decoration: none;
}

.footer-ext-info ul {
    list-style: none;
}

.footer-ext-umng {
    height: 200px;
    top: 40px;
    right: 30px;
}


.footer-ext-umng img{
    align-self: center;
    height: 100%;
    margin-left: auto;
    padding-right: 10%;
}

/* Contenido */

.footer-content {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.footer_social{
    margin-top: 10px;
    display: flex;
    gap: 5%;
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#footer .icon {
    min-height: 70px;
    height: 9vw;
    max-height: 140px;
}

/* MARK: Commons */

/* 
Containers: 
- horizontal FLex
- Vertical Flex

Titulos:
- Titulos Enmarcados en bloque
- Titulos enmarcados en linea


Listas:
- Lista a N filas Simple con marco circular
- Lista a dos Columnas con Panel
*/

/* MARK: Containers */

.container-flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.container-flex-row > * {
    width: 100%;
}


/* MARK: Titulos */

.titulos-enmarcado {
    box-sizing: border-box;
    margin: 40px auto;
    padding: 60px;
    width: 90%;
    border-radius: 20px;
    text-align: center;
}

.titulos-enmarcado h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.titulos-enmarcado p {
    font-size: 2rem;
    font-weight: 600;
}

.titulo-linea {
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    text-align: center;
    font-size: 1.5rem;
    background-color: var(--blanco-glass);
}

/* MARK: Listas */

/* Lista simple */


.lista-circle-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 60vh;
    height: auto;
    margin: 3%;
    padding: 50px 0;
    border-radius: 20px;
    font-size: 2rem;
    text-align: center;
}

.lista-circle-row .title {
    display: block;
    font-size: 2em;
    font-weight: bold;
    text-align: left;
    margin-left: 50px;
    margin-bottom: 30px;
}

.lista-circle-row .container {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.lista-circle-row label{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 15vw;
    align-items: center;
}

.lista-circle-row label:hover{
    cursor: pointer;
}

.lista-circle-row button{
    display: none;
}

.lista-circle-row figure{
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50%;
}

.lista-circle-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: var(--trans-time-mid);
}

.lista-circle-row label:hover img {
    transform: scale(1.2);
}

.lista-circle-row h3 {
    margin: 10px 0;
}

.lista-circle-row span {
    border-radius: 10px;
    width: 200px;
    padding: 10px;
    font-size: 0.7em;
    text-align: center;
    background-color: var(--principal);
}

.global-iconos {
    box-sizing: border-box;
    padding: 5px;
    overflow: hidden;
}

.global-iconos .icon {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* 
MEDIA QUERYS
-standar
-1250
-900

*/

@media screen and (max-width: 1250px) {
    .container-flex-row {
        flex-direction: column;
        align-items: center;
    }

    .lista-circle-row .title {
        text-align: center;
        margin: 20px 0;
    }

    .lista-circle-row .container {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-around;
    }

    .lista-circle-row label{
        min-width: 250px;
        width: 20vw;
        margin: 10px 20px;
        align-items: center;
    }
}

@media screen and (max-width: 950px){
    #footer{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 20px 0;
    }

    .footer_social {
        box-sizing: border-box;
        padding: 0 20px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    #footer .icon {
        min-width: initial;
        min-height: initial;
        height: initial;
        width: 10vw;
        aspect-ratio: 1/1;
    }

    /* Informacion y escudo de la universidad */
    
    .aside-account {
        max-width: none;
        right: -100vw;
    }

    .aside-burger {
        max-width: none;
        left: -100vw;
    }

    .footer-ext-info, .footer-ext-umng {
        position: static;
        margin: 10px 0;
    }   

    .footer-ext-info {
        text-align: center;
    }
}