* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #f5f4f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px 4px 30px;
    z-index: 2; /* Se agrega el z-index */
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 34%);
}

header.scroll {
    background-color: lightgray;
}

.logo-container {
    flex-grow: 1;
    text-align: center;
}

.logo-container img {
    height: 85px;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

#menu-btn {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 20px;
    transition: all 0.3s ease-in-out;
}

#menu-btn__lines {
    height: 3px;
    width: 100%;
    background-color: black;
    transition: all 0.3s ease-in-out;
    border-radius: 60px;
}


#menu-btn.open #menu-btn__lines.top {
    transform: translateY(8.5px) rotate(45deg);
}

#menu-btn.open #menu-btn__lines.middle {
    transform: scaleX(0);
}

#menu-btn.open #menu-btn__lines.bottom {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 88px;
    left: -303px;
    width: 303px;
    height: 100%;
    background-color: #111;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    padding: 0px;
    transition: transform 0.3s ease-in-out;
    z-index: 1; /* Menú desplegable tiene z-index menor */
}

.menu-items.show {
    transform: translateX(303px);
}

.menu-items li {
    margin: 5px 0;
    width: 100%; /* Agregamos esta propiedad para que los botones ocupen todo el ancho */
}

.menu-items li a {
    text-decoration: none;
    font-size: 16px;
    padding: 4px 20px 8px 10px;
    border-bottom: 0px solid lightgray;
    width: 100%; /* Agregamos esta propiedad para que los botones ocupen todo el ancho */
    text-align: left; /* Alineamos el texto a la derecha */
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

main {
    padding-top: 100px;
}
.boton-menu-2{
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px;
    box-sizing: border-box;
}


.carousel-inner {
    height: calc(8em + 32vw);
}

.carousel {
    margin-top: 90px;
}
.carousel-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}