main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    justify-content: center;
    text-align: center;
}

h3 { 
    font-size: 20px;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    padding-top: 2%;
}

section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding-bottom: 4%;
    gap: 2%;
    justify-content: center;
    padding-top: 2%;
    padding-left: 1rem;
    padding-right: 1rem;
}

header, .galeria, h3, footer {
    visibility: hidden;
}

.galeria {
    display: flex;
    flex-direction: row;
    width: 300px;
    height: 300px;
    overflow: hidden; 
    border-radius: 10px;
    box-shadow: 5px 5px 5px #0006;
    transition: transform .2s linear;
    background-color: #E6b800;
    align-items: center;
    justify-content: center;
}

.galeria:hover{
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #E6b800;
    color: #D8E2DC;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 30px;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    z-index: 100;
}

.back-to-top img{ 
    width: 20px;
}

.back-to-top.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top.hide {
    opacity: 0;
    transform: translateY(20px);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    background-color: #1B3B32;
    color: #F6F6F6;
    padding: 2rem 1rem;
}

.icons2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.Logo2 {
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease;
}

.copy {
    padding: 1%;
    padding-bottom: 1%;
    text-align: center;
}

.email2 {
    padding-bottom: 1%;
}

.copiarmensagem {
    display: none;
    color: #F6F6F6;
    font-size: 16px;
    transition: opacity 0.3s ease;
    text-align: center;
}

.email {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

/* MEDIA QUERIES PARA RESPONSIVIDADE */

/* Tablets */
@media (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    h3 {
        font-size: 18px;
    }

    .galeria {
        width: 250px;
        height: 250px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h3 {
        font-size: 18px;
        padding-top: 4%;
    }

    section {
        gap: 3%;
        padding-top: 3%;
    }

    .galeria {
        width: 100px;
        height: 100px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 12px 20px;
        font-size: 24px;
    }

    .back-to-top img {
        width: 16px;
    }

    footer {
        padding: 1.5rem 0.5rem;
    }

    .icons2 {
        gap: 1.5rem;
    }

    .copy, .email2, .copiarmensagem {
        font-size: 14px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }


    h3 {
        font-size: 16px;
    }

    section {
        gap: 4%;
    }

    .galeria {
        width: 100px;
        height: 100px;
    }

    .back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 20px;
    }

    .back-to-top img {
        width: 14px;
    }

    .icons2 {
        gap: 1rem;
    }

    .icons2 img {
        max-width: 24px;
    }

    .Logo2 img {
        max-width: 80px;
    }

    .copy, .email2, .copiarmensagem {
        font-size: 12px;
    }
}