body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    width: 100vw;
    height: 100vh;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    justify-content: center;
    background-color: #222;
    color: white;
    padding: 25px 0;
}

#menu {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    gap: 1rem;
    list-style-type: none;
    justify-content: space-around;
    position: absolute;
    left: 70%;
}

.btn-action {
    background-color: rgb(150, 150, 150);
    border: 1px solid var(--white);
    border-radius: 3px;
    width: 120px;
    height: 30px;
}

.btn-action:hover {
    transform: scale(1.08);
    color: #ffd700;
    cursor: pointer;
}


.modal {
    background-color: #ffd700;
    color: black;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    align-items: center;
    width: 420px;
    height: 350px;
    border-radius: 12px;
    display: none;
    z-index: 99;
}

#textoModal {
    margin: 12px;
    text-align: center;
}

.btnModal {
    display: flex;
    position: absolute;
    top: 75%;
    left: 50%;
    translate: -50% -50%;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.image-container {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 10px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:target {
    position: fixed;
    width: 400px;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.image-container #fechar {
    display: none;
}

.image-container:target #fechar {
    display: block;
}


#btnwhatsapp a {
    display: flex;
    position: fixed;
    left: 85%;
    top: 85%;
    translate: -50% -50%;

}

footer {
    background-color: #222;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 5px;
    width: 100%;
}

footer>p {
    justify-content: center;
    margin-top: 3px;
    text-align: center;
    text-decoration: none;
    color: aliceblue;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    #menu {
        position: static;
        justify-content: center;
        flex-wrap: wrap;
        padding-top: 10px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    header img {
        width: 300px;
    }

    .image-container:target {
        position: fixed;
        width: 290px;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }

    #menu {
        text-align: center;
        align-items: center;
        text-decoration: none;
        gap: 15px;
    }

    .modal {
        max-width: 90%;
        width: 360px;
        height: 260px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}