@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* Colors palette */
:root {
    --orange: #ef8354;
    --grey: #bfc0c0;
    --white: #ffffff;
    --black: #2d3142;
    }

    body {
        font-family: "Nunito Sans", sans-serif;
        width: 100%;
        min-height: 100vh;
    }    

    h1 {
        font-size: 32px;
        font-weight: 700;
        color: var(--orange);
    }

    iframe {
        height: 480px;
        width: 100%;
        border-radius: 20px;
        margin-bottom: 20px;
        box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.369);     
    }

    label {
        display: none;
    }
    
    label i {
        color: var(--green-yellow);
    }
    
    header {
        margin: auto; 
        padding: 0%;
        display: flex; 
        justify-content: space-between;
        background-color:  var(--black);
        color: #f7f7f7;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 400;
        border-radius: 20px;
        margin-bottom: 10px;
    }
    
    header h1{
        display: flex;
        align-items: center;
        text-align: left;
        margin: 1rem;
    }
    
    nav {
        display: flex;
        width: -webkit-fill-available;
        align-items: center;
        justify-content: space-evenly;  
        position: relative;
    }
    
    nav ul {
        display: flex;
        width: -webkit-fill-available;
        justify-content: space-around;
    }
    
    .navbar li a {
        display: block;
    }
    
    .navbar_column {
        position: absolute;
        left: 300px;
        background-color: var(--office-green); 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        padding: 10px;
        display: none; 
    }
    
    .navbar_column li a {
        display: block;
        padding: 5px 10px;
        color: var(--white); 
        text-decoration: none; 
    }
    
    /* Estilo para los enlaces del navbar */
    .navbar a {
        border-radius: 20px;
        padding: 5px 10px;
        font-weight: bold;
        color: var(--white);
        text-decoration: none; 
    }
    
    ul, li { 
        list-style: none;
    }
    
    .navbar li:hover .navbar_column {
        display: block;
    }
    
    #menu {
        display: none;
    }
    
    /* Estilos para la etiqueta del menú (hamburguesa) */
    .menu_btn {
        display: none;
      }
      
    /* Estilos para el ícono de hamburguesa */
    .fa-bars::before {
        content: "☰"; /* Usamos un contenido unicode para simular el ícono */
    }
    
    header nav ul li a:hover{
        transform: scale(1.1);
        color: var(--orange);
    }
    
/* Footer */
footer{
    height: auto;
    width: 100%;
    justify-content: center;
    background-color: var(--black);
    border-radius: 20px;
}

.final{
    display: flex;
    justify-content: space-around;
    padding: 2%;
}

.facultad li,
.catedra li{
    list-style: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.8rem;
}

.comision li{
    list-style: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.8rem;
}

footer figure{
    margin: 1rem;
    display: flex;
    justify-content: center;
}

footer figure img{
    align-content: center;
}

footer p {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    margin-left: 6rem;
    margin-right: 6rem;
    padding: 1%;
}

@media (max-width: 40rem) {

    /* Header */

    header {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    nav {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: space-evenly;
      position: relative;
      width: 100%;
      margin-right: 10px;
    }

    .navbar_column {
        position:fixed;
        display: none; 
    }

   .menu_btn {
    cursor: pointer;
    display: block;
    }
  
    #menu:checked ~ nav ul {
      display: flex;
      flex-direction: column;
      width: 100%;
      align-items: flex-end;
      padding: 0;
      margin: 0;
    }
  
    nav ul {
      display: none;
      list-style-type: none;
      padding: 0;
      margin: 0;
    }
  
    .navbar li a {
      display: block;
      text-decoration: none;
      padding: 10px;
      text-align: right;
    }

    #menu {
        display: none;
    }
  
    #close-icon {
        display: none;
    }
  
    #menu:checked ~ nav .menu_btn #menu-icon {    
        display: none; 
    }
  
    #menu:checked ~ nav .menu_btn #close-icon {
        display: inline-block; 
    }
}
