@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
body{
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
}
main{
  margin-top: 65px;
}
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0px auto;
  align-items: center;
  z-index: 9999;
}
.btn-menu {
  position: absolute;
  left: 0;
  margin-left: 30px;
}
.btn-menu label {
  color: black;
  font-size: 25px;
  cursor: pointer;
}
.directorio-menu {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}
#btn-menu:checked ~ .directorio-menu {
  opacity: 1;
  visibility: visible;
}
#btn-menu{
  display: none;
}
.dire-menu {
  width: 100%;
  max-width: 480px;
  background: white;
  border: black 1px solid;
  height: 100vh;
  position: fixed; /* Cambiado de 'absolute' a 'fixed' */
  top: 74px; /* Ajustar según el alto del header */
  left: 0;
  transition: all 500ms ease;
}
#btn-menu:checked ~ .container-menu .dire-menu {
  transform: translateX(0%);
}
.dire-menu nav {
  transform: translateY(15%);
  top: 0px;
  max-height: 400px;
  overflow-y: auto;
}
.dire-menu a {
  display: block;
  text-decoration: none;
  color: black;
  border-left: 5px solid transparent;
  transition: all 400ms ease;
  font-weight: 500;
  padding: 12px;
}
.dire-menu nav a:hover {
  background-color: #21884e;
  border-left: 5px solid #20B862
}
.dire-menu label {
  position: absolute;
  right: 12px;
  top: 12px;
  color: black;
  cursor: pointer;
  font-size: 18px;
}
.navweb {
  align-items: center;
  display: flex;
}
.navweb a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  background-color: transparent;
  transition: 0.5s;
  font-weight: 500;
  top: 0px;
}
.navweb a:hover {
  color: #54AFE6;
  transition: 2s;
  border-bottom: 1px solid #007bff;
}
.logorivadavia{
  margin: 0px auto;
}
.logorivadavia img{
  height: 150px;
  width: 150px;
}
footer{
  margin-top: 100px;
}
footer p{
  text-align: end;
  padding: 12px;
}
@media screen and (max-width: 768px) {
  #menuLoggedIn {
      max-height: none;
      overflow-y: visible; 
  }
}