/*This is a variable page for our color palette*/
:root{
--aqua: #00607e; /*For banners */
--celeste: #3a849b; /*For clearer backgrounds */
--light-celeste: #f3f9fb; /*For lighter backgrounds */
--blanco: #ffffff; /*For text and backgrounds */
--celeste-oscuro: #004b5c; /*For darker backgrounds */
}
body{
/*Adjusts the page so it takes the whole screen*/
margin: 0;
padding: 0;
font-family:Arial, Helvetica, sans-serif;
}
.container{
display: grid;
/*This part is for creating a grid layout*/
grid-template-columns: 0fr 1fr;
height: 100vh;
}
#side-menu{
list-style: none;
/* we call the variable for the color*/
background-color: var(--celeste);
width: 200px;
height: 100vh;
}
.menu-container{
height: auto;
margin: 10px;
color: var(--blanco);
background: rgba(255, 255, 255, 0.445);
border-radius: 10px;
}
.menu-container h3{
text-align: center;
padding: 10px;
}
.menu{
display: flex;
flex-direction: column;
padding: 5px;
list-style: none;
/* The gap is to add a space between the element in a flexbox or a grid*/
gap: 10px;
}
.nav-link{
display: flex;
align-items: center;
gap: 10px;
padding: 10px 20px;
background:var(--celeste);
color:var(--blanco);
border-radius: 2px;
text-decoration: none;
/*allows control over cursor appearance in an element */
cursor:pointer;
}
.nav-link.activo{
background-color: var(--light-celeste);
color: var(--celeste-oscuro)
}
.nav-link.activo:hover {
background: var(--blanco);
}
.nav-link:hover{
background:var(--light-celeste);
color: var(--celeste-oscuro);
}
.hero{
display: flex;
background: linear-gradient(rgba(0, 0, 0, 0.5)), url('../imagenes/instituto.jpg');
height: 500px;
width: 1fr;
background-size: cover;
}
.hero-content{
display: flex;
flex-direction: column;
justify-content: end;
width: 100%;
color: var(--blanco);
padding: 20px;
}
.navbar{
background:#0f6780;
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 30px;
}
.logo img{
height: 36px;
width: auto;
filter: brightness(0) invert(1);
}
.logo a{
display: flex;
align-items: center;
}
.busqueda input{
width:400px;
padding:10px;
border:none;
border-radius:8px;
/**/
outline:none;
background:#4b8ca2;
color:white;
}
.busqueda input::placeholder{
color:#d8edf2;
}
.usuario{
display:flex;
align-items:center;
gap:10px;
}
.usuario a{
background:transparent;
color:white;
border:1px solid white;
padding:10px 18px;
border-radius:8px;
cursor:pointer;
}
.usuario a:hover{
color:var(--aqua);
background:var(--blanco);
}
.perfil{
width: 50px;
height:50px;
background:#6bb7c6;
color:white;
border-radius:100%;
display:flex;
justify-content:center;
align-items:center;
font-weight:bold;
}
.perfil i{
font-size:25px;
}
a{
text-decoration:none;
color:var(--blanco);
}
/*=========== FOOTER ===========*/
.footer{
/*margin-top auto pushes the footer to the bottom of the page*/
margin-top: auto;
background: var(--celeste-oscuro);
color: var(--blanco);
padding: 35px 30px 20px 30px;
}
.footer-columnas{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
padding-bottom: 25px;
}
.footer h4{
margin: 0 0 12px 0;
color: var(--blanco);
}
.footer p{
margin: 0;
color: #cfe4ea;
line-height: 1.6;
}
.footer ul{
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 8px;
}
.footer ul a{
color: #cfe4ea;
}
.footer ul a:hover{
color: var(--blanco);
text-decoration: underline;
}
.footer-logo{
height: 32px;
margin-bottom: 12px;
filter: brightness(0) invert(1);
}
.footer-redes{
display: flex;
gap: 12px;
margin-top: 12px;
font-size: 20px;
}
.footer-abajo{
border-top: 1px solid rgba(255, 255, 255, 0.2);
padding-top: 15px;
text-align: center;
font-size: 0.85rem;
}