body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('imagens/background.jpg');
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255);
}
.piscar {
    animation: blink 0.5s infinite;
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: 45px;
    margin-bottom: 1px;
}

/* Animação personalizada */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
   }

.folders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

}

.folder {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    text-align: center;
    font-size: 30px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s;
    line-height: 1.2;
}

.folder:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 60px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.gallery img {
    margin: 20px;
    cursor: pointer;
    width: 180px;
    transition: transform 0.2s;
    border-radius: 5px;
}

.gallery img:hover {
    transform: scale(1.1);
}

#close-gallery {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 10px 15px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1100;
}

#close-gallery:hover {
    background: #ddd;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .folders {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery img {
        width: 100px;
        margin: 10px;
    }
}
