@import url('https://fonts.cdnfonts.com/css/capsuula');

.element {
    -webkit-user-select: none; 
    -moz-user-select: none;   
    -ms-user-select: none;     
    user-select: none;         
}

body {
    margin: 0; 
    background-image: url('../assets/img/background/background10.png'); 
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 45% auto; 
    padding: 0;
    font-family: 'Capsuula', sans-serif;
}

h1 {
    margin: 0 auto 5px auto;
    font-weight: 500;
    font-size: 1.5rem;
    text-align: center;
    color: #E14603;
    max-width: 90%;
    font-family: 'Capsuula', sans-serif;
    text-shadow: 0.25px 0px 0.25px #E14603, 0px 0.25px 0.25px #E14603, 
               -0.25px 0px 0.25px #E14603, 0px -0.25px 0.25px #E14603;
}

.slide-container {
    width: 770px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.event-slide {
    position: relative;
    width: 770px;
    height: 166px;
    margin-bottom: 20px;
}    


.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.event-image-overlay {
    position: relative;
}

.event-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #E14603;
    background-color: #ffffffab;
    font-size: 15px;
    font-weight: 300;
    text-align: left;
    padding: 10px;
    font-family: 'Capsuula', sans-serif;
}

.thumbnail-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.thumbnail {
    width: 140px;
    height: 140px;
    cursor: pointer;
    margin: 5px;
    align-items: center;

}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.prev, .next {
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 100 !important;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px; 
    height: 40px; 
    margin-top: -20px; 
    color: #E14603;
    font-size: 30px; 
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
}

.prev {
    left: -50px; 
}


.next {
    right: -50px; 
}
  

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    text-align: center;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 15px;
    width: 50%;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modalVideo {
    width: 100%;
    max-width: 540px;
    height: auto;
    margin: 0 auto;
    display: none;
    border: none;
}

#modalIframe {
    width: 100%;
    max-width: 320px;
    height: 540px; 
    margin: 0 auto;
    display: none;
    border: none;
}


.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.hidden {
    display: none;
}

.modal-content {
  position: relative;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  max-width: 80%;
  text-align: center;
}

.modal-image, .modal-video {
  max-width: 100%;
  max-height: 80vh;
}

.mobile-footer-toggle{
    display: none;
}

@media (max-width: 781px) {
    * {
        margin: 0;
        padding: 0;
       
    }

    .header-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.9);
        width: 80%;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .header-menu.active {
        display: flex;
    }
    .mobile-footer-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px; /* Alterado para a direita */
        background: none;
        border: 1.5px solid #E14603;
        border-radius: 8px;
        font-size: 24px;
        cursor: pointer;
        color: #E14603;
        padding: 8px 12px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .mobile-footer-toggle:hover {
        background-color: #E14603;
        color: #fff;
    }

   
    .footer-info {
        align-items: center;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .footer-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.9);
        position: relative;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 20px; /* Garante espaço abaixo do último texto */
    }

    .footer-menu.active {
        display: flex;
    }

    .footer nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .footer-logo {
        width: 40px;
        margin: 0 auto 10px;
    }

    .slide-container {
        width: 100%;
        max-width: 500px;
        margin: 20% auto;
    }

    .event-image {
        width: 70%;
        height: 100%;
       
    }
    .event-title{
        position: relative;
        width: 70%;
        text-decoration: none;
        font-size: 12px;
        align-items: center;
        margin: 0 15%;
    }

    .event-slide {
        width: 100%;
        height: auto; /* Ajusta a altura conforme necessário */
        margin-bottom: 15px;
    }

    .prev, .next {
        width: 30px;
        height: 30px;
        font-size: 20px;
        margin-top: -15px; /* Ajusta a posição verticalmente */
    }

    .prev {
        left: 5px; /* Aproxima as setas das bordas do slide */
    }

    .next {
        right: 5px;
    }
    #modalIframe, #modalVideo {
        width: 100%;
        height: 540px;
        max-height: 60vh;
    }

}