/*geral------------------------------------------------------------------------------------------------------------------------------*/

@import url('base.css');

/* TOPO */

section .topo{
    padding: 40px 4%;
}

section .topo .flex{
   align-items: center;
   justify-content: space-between;
}

.topo h1{
    width: 150px;
    margin: 100px;
    color: var(--preto);
    font-size: 42px;
    font-weight: bold;
    line-height: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.topo h1 span{
    color: var(--laranja);
    font-size: 84px;
}

.topo p{
    color: var(--preto);
    margin: 100px 40px;
    font-size: 18px;
}

/*--------------------------------------------------------------------------------------------*/
.galeria {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 100px; 
    padding-bottom: 90px;
}

.galeria-item {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 30%;
    max-width: 30%;
    text-align: center;
    transition: .2s;
    max-width: 650px; 
}

.galeria .galeria-item:hover {
    transform: scale(1.05);
}

.galeria-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto; 
}

.legenda {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

@media (max-width: 768px) {

    .topo p{
        color: var(--preto);
        margin: 100px 40px;
        font-size: 18px;
        text-align: justify;
        margin-top: 20px;
    }

    .topo h1{
        width: 100%;
        margin: 50px 0px;
        color: var(--preto);
        font-size: 42px;
        font-weight: bold;
        line-height: 40px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }
    
    .topo h1 span{
        color: var(--laranja);
        font-size: 84px;
    }
    
    
    }


@media (max-width: 480px) {

    section .topo .flex{
        flex-direction: column;
    }
    section .topo{
        padding: 4px;
    }

    .topo .txt-topo{
        width: 100%;
        margin: 0px;
        height: auto;
        padding: 10px;
        text-align: justify;
    }

    .topo .txt-topo h1{
        text-align: center;
        padding-top: 20px;
    }
    .topo .img-topo{
        padding-top: 6px;
        width: 95%;
        padding-bottom: 5px;
        margin: 0 auto;
    }
}
