@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, Helvetica, sans-serif, monospace;
}


:root {
    --green: rgb(0, 61, 40);
    --yellow: rgb(246, 246, 38);
    --fundoVerde:rgb(4, 19, 3);
    --greenclaro: rgb(0, 135, 90);
}


#menuMobile {
    background-color: var(--green);
}


.menu-float {
    
    position:fixed;
    z-index: 3;
    top: 20px;
    left: 20px;
    z-index: 9999;
}




.sidebar{
    position: fixed;
    left:0;
    top:0;
    width:80px;
    height:100vh;
    z-index: 999;
    background:var(--green);
    transition:.3s;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    border-radius: 10px;
}

.sidebar:hover{
    width:350px;

}

.sidebar > ul > li {
    list-style: none;
}

.menu {
    display: flex;
    padding: 6px;
    color: white;    
    overflow:hidden;
    white-space:nowrap;
    justify-content: space-evenly;
    align-items:center;
    gap: 40px;

}

.menu img{
    
    min-width:40px;
    margin-left: 20px;
    
}

.title {
    margin: 25px;    
}

#offadri {
    
    margin: 8px auto auto 70px;
}

.menu-item{

    color:white;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:20px;
    padding:15px 0px;
    white-space:nowrap;
    transition:.2s;
}

.menu-item:hover{
    background: rgba(255, 255, 255, 0.131);
}

.menu-item i {

    font-size:22px;
    min-width:30px;
    text-align:center;
}



.redes {
    
    font-size: 2em;   
    display: flex;    
    overflow: hidden;
    justify-content: space-around;
    flex-direction: column;
    width: 180px;
    margin: 50px -5px;
    
}

.sidebar:hover .redes {
    display: flex;
    flex-direction: row;
       
}


.redes > a > i {
     color: white;
}

.redes > a > i:hover {
    color: var(--yellow);
    transition: .2;
}






.titulos {
    color: var(--green);
}

.descricao {
    text-align: justify;
    font-size: 1.2em;
}



#galeria {
    transition: transform 0.4s ease;
}

#galeria > div {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px; /* espaço entre as fotos */
}

#galeria img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Tablet - 2 fotos */
@media (max-width: 991.98px) {
    #galeria > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Celular - 1 foto */
@media (max-width: 575.98px) {
    #galeria > div {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    #galeria img {
        height: 320px;
        object-fit: contain;
    }
}

.galeria-wrapper {
    overflow: hidden;
}

    .redes {
         
        display: flex;
        flex-direction: row;       
    }

}


/* Segurança (não é a solução principal) */
.galeria-wrapper {
    overflow: hidden;
    width: 100%;
}




#cronograma {
    display: flex;
    justify-content: space-evenly;
    margin-top: 180px;
}






footer 
{    
    background-color: var(--green);
}


.CT {
    display: flex; 
    align-items: center; 
    flex-shrink: 0;
}

.CT > div > i 
{
    font-size: 1.5em;
}