* {
	margin: 0;
	padding: 0;
}

body, button {
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
}

:root {
     /* backgrond-div: rgb(15,15,15); */
      
     --border: solid #535353 1px;
    --header: rgba(255, 255, 255, .8);
    --fondo: #f0f1f2;
    --background_div: #FFFFFF;
    --color_p: #000000;
    
    /*
    DARK dark_mode
    
    --header: rgba(0, 0, 0, .8);
      --fondo: #000000;
      --background_div: #1b1b19;
      --border: solid #535353 1px;
      --color_p: #FFFFFF;
    
    */
}


input, select, textarea {
    color: black;
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    outline: none;
    flex: 1;
    border: solid 1px #e1e1e1;
    background: #ebebeb;
    font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
}


.row {
	display: flex;
	flex-direction: row;
}

.exito {
    padding: 0.5rem;
    border-radius: 0.5rem;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    background: #a4ff8e;
    z-index: 999999;
    color: black;
    border: solid grey 1px;
}

.error {
    padding: 0.5rem;
    border-radius: 0.5rem;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    background: #ffe18a;
    z-index: 999999;
    color: black;
    border: solid grey 1px;
}

#inicio {
    margin-top: 4rem;
    padding: 7rem 15rem;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}


#inicio h1 {
	position: relative;
	text-align: left;
	font-size: 3rem;
	color: black;
	z-index: 999999;
}

#inicio P {
    margin-top: 0.5rem;
	font-size: 1.5rem;
}

#inicio #ruta {
    margin-bottom: 1rem;
    font-size: 1rem;
}

#inicio #ruta a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

#inicio #ruta a:last-child {
    font-weight: bold;
}

#imagen_inicio {
    opacity: 0.6;
	pointer-events: none;
	user-select: none;
	width: 100%;
	height: 100%;
	left: 0;
	position: absolute;
	object-fit: cover;
}


/* HEADER */
header {
    gap: 1rem;
    box-sizing: border-box;
    top: 0;
    left: 0;
	position: fixed;
	display: grid;
    grid-template-columns: 0.5fr 2fr 0.5fr;
	background: var(--header);
	backdrop-filter: blur(18px);
	z-index: 99999999;
	height: 4rem;
	width: 100%;
	border-bottom: var(--border);

	padding: 0 15rem;
}

header div {
    display: flex;
    align-items: center;
    
    position: relative;
    width: 100%;
}

#header_izquierda a {
    font-family: Arial;
    color: var(--color_p);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
}

#header_centrado {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header_centrado a {
    font-size: 1.1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    height: 100%;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
	color: var(--color_p);
    text-decoration: none;
    display: flex;
    align-items: center; /* Asegura que el contenido del enlace se centre verticalmente */
    height: 100%; /* Asegura que el enlace tome toda la altura del li */
}

#imagen_logo {
	width: 1.8rem !important;
	margin-right: 1rem;
    vertical-align: middle; /* Alinea la imagen con el texto */
}

#header_responsive {
    display: none;
}


aside {
    display: none;
    top: 6rem;
    right: 0;
    position: fixed;
    height: 100%;
    background: rgba(0, 0, 0, .3);
	backdrop-filter: blur(18px);
    z-index: 9999999999;
    padding: 3rem;
    font-size: 1.5rem;
    text-align: right;
    border-top: solid grey 1px;
    border-left: solid grey 1px;
}

aside ul {
    list-style: none;
}

aside ul li {
    margin: 2rem 0;
}

aside ul li a {
    text-decoration: none;
    color: white;
}

/* FOOTER */
footer {
    border-top: var(--border);
	position: relative;
    display: flex;

    flex-direction: column;
    background-color: rgb(34, 34, 34);
    padding: 3rem 15rem;

    font-size: 1.1rem;
}

footer .row {
    gap: 4rem;
}

footer .item {
    color: white;
    width: 33%;
}

footer h4 {
    font-size: 1.3rem;
    border-bottom: var(--border);
}

footer .item ul {
    font-size: 1rem;
    list-style: none;
}

footer .item ul li {
    margin: 0.5rem 0;
}

footer .item a {
    font-size: 1.3rem;
    color: rgb(146, 146, 146);
    text-decoration: none;
}

footer .item a:hover {
    text-decoration: underline;
}

#footer_copy {
    font-size: 1.3rem;
    margin-top: 2rem;
    padding-top: 3rem;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-top: var(--border);
    
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Tres columnas iguales */
    gap: 1rem
}

#redes_sociales {
    display: flex;
    justify-content: right;
    gap: 1rem;
}

#redes_sociales a {
    color: white;
    text-decoration: none;
}

.imagen_usuario {
    border: var(--border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

#modoBtn {
    font-size: 1rem;
    cursor: pointer;
    background: transparent;
    border-radius: 0.5rem;
    color: rgb(146, 146, 146);
    border: var(--border);
    padding: 0.5rem;
    font-weight: 900;
    width: fit-content;
}

#modoBtn:hover {
    background: white;
    color: black;
}

#logo_footer {
    margin-bottom: 4rem;
    color: rgb(146, 146, 146);
    font-size: 1.3rem;
}

#logo_footer a {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    text-decoration: none;
}

#logo_footer a img {
    width: 6rem;
    height: 6rem;
}

.cloud_text {
    font-family: Arial;
	font-weight: 900;
	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;	
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/769286/clouds.jpg);
	background-size: auto;
	background-attachment: unset;
	background-position: 0%;
	width: 80%;
	font-size: 6rem;
	animation: clouds_moving infinite 60s;
	animation-fill-mode: forwards;
	animation-play-state: running;
	animation-timing-function: linear;
}

@keyframes clouds_moving {
	0% {
		background-position: 0%;	
	}
	50% {
		background-position: 100%;	
	}
	100% {
		background-position: 0%;
	}
}






/* -- SESION -- */
/* PANEL LATERAL */
#panel_lateral {
    background: var(--background_div);
    position: relative;
    margin-top: 4rem;
    height: auto;
    border-right: var(--border);
    width: 20%;
    min-width: 6rem;
    transition: width 0.3s ease;
}

#panel_lateral .menu_text {
  display: inline;
}

/* Panel cerrado: solo iconos visibles, texto oculto */
#panel_lateral.cerrado {
  width: 2%;
}

#panel_lateral.cerrado .menu_text {
  display: none;
}

#panel_menu {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border);
    padding: 1rem 1rem 1.5rem 1rem;
    color: var(--color_p);
}

#panel_lateral.cerrado #panel_arriba #boton_info {
    transform: rotate(0deg);
}

#boton_info i {
    display: flex;
    justify-content: center;
    align-items: center;
}

#panel_lateral.cerrado #panel_arriba a, #panel_lateral.cerrado #panel_arriba button {
  display: flex;
  justify-content: center;
  align-items: center;
}


#panel_lateral #boton_info {
    color: var(--color_p);
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    transform: rotate(180deg);
}

#div_column {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#panel_arriba {
    padding: 1rem;
    top: 4rem;
    gap: 1rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    position: sticky;
    height: 92vh;
}

#panel_arriba a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color_p);
    text-decoration: none;
    
    font-size: 1.3rem;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
}

#panel_arriba a:hover {
    outline: var(--border);
    background: var(--background_div);
}

#panel_arriba a i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}






/* RESPONSIVE */
@media (max-width: 800px) {
    header {
        grid-template-columns: repeat(1, 1fr);
        height: 6rem;
        padding: 0 3rem;
    }
    
    #header_izquierda, #header_centrado, #header_derecha {
        display: none;
    }
    
    #header_responsive {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }
    
    #header_responsive #boton_responsive {
        font-size: 2rem;
        border: none;
        background: transparent;
        cursor: pointer;
        color: var(--color_p);
    }
    
    #imagen_responsive {
        gap: 0.5rem;
        text-decoration: none;
        color: var(--color_p);
        display: flex;
        align-items: center;
        font-size: 2rem;
        font-weight: bold;
    }
    
    nav ul {
        display: none;
    }
    
    #logo_footer a img {
        width: 4rem;
        height: 4rem;
    }
    
    .cloud_text { 
        font-size: 4rem;
    }
    
    #inicio {
        padding: 3rem;
		margin-top: 6rem;
	}

	#imagen_inicio {
	    object-fit: cover;
		height: 100%;
	}
    
   
   footer {
       padding: 3rem;
   }
   
   footer .row {
    gap: 1rem;
    flex-direction: column;
   }
   
   footer .item {
        width: 100%;
   }
   
   #logo_footer {
        width: 100% !important;
    }
   

}