body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.top-bar {
    background-color: #2E3192;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.logo-container img {
    max-height: 100%;
    max-width: 100%;
}

.menu {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 100%;
}

.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
}

.menu li {
    position: relative; /* Adiciona posição relativa no elemento pai */
    flex-grow: 1;
    text-align: center;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 20px 0;
}

.menu li a:hover {
    filter: blur(2px);
}

.middle-bar {
    background-color: black;
    height: 1vh;
}


.carousel-inner {
    height: 89vh;
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.6s ease-in-out; 
}

.left-panel,
.right-panel {
    width: 250px;
    height: calc(133px * 5 + 3px * 4); 
    position: absolute;
    top: 12vh;
    bottom: 0;
    opacity: 0.95; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-panel {
    left: 50px;
    background-color: #2E3192;
}

.right-panel {
    right: 50px;
    background-color: #2E3192;
}

.left-panel img,
.right-panel img {
    width: 90%;
    height: 129px;
    object-fit: cover;
    margin: 3px 0;
}

.carousel-control-prev, .carousel-control-next {
    width: 10%;
    z-index: 5;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 8 8'%3Cpath d='M5.25 0L4 1.25 6.75 4 4 6.75 5.25 8 8 4z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0L1.5 1.25 4.25 4 1.5 6.75 2.75 8 5.5 4z'/%3E%3C/svg%3E");
}



.submenu {
    position: absolute;
    top: 100%; /* Posiciona o submenu 100% abaixo do elemento pai */
    left: 0;
    width: 150px; 
    padding: 0;
    display: none;
    background-color: #2E3192;
    z-index: 2;
}

.menu li:hover .submenu {
    display: block; /* Altera para flex para que os itens fiquem empilhados verticalmente */
    flex-direction: column; /* Empilha os itens verticalmente */
    align-items: center; /* Centraliza os itens horizontalmente */
    backdrop-filter: blur(2px);
}

.events-container .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    display: none;
    background-color: #2E3192;
    z-index: 2;
}


.submenu-trigger {
    position: relative; 
}

.submenu-trigger .submenu {
    position: absolute;
    top: 100%; /* Posiciona o submenu 100% abaixo do elemento pai */
    left: 50%;
    width: 200px;
    display: none;
    background-color: #2E3192;
    z-index: 2;
    transform: translateX(-50%);
}

.submenu-trigger:hover .submenu {
    display: block;
    backdrop-filter: blur(2px);
    position: absolute;
    top: 100%;
    left: 0;
    }

.submenu ul {    
    display: flex;
    flex-direction: column;
    align-items: center;
    -moz-box-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li {
    text-align: center;
}

.submenu li a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.submenu li a:hover {
    filter: none;

}







