*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

body{
    background:#050505;

    background:
    radial-gradient(
        circle at top center,
        rgba(255,0,0,.15),
        transparent 40%
    ),
    #050505;
}

.titulo {
    text-align: center;
    margin: 80px 0 50px;
    font-family:Segoe UI, sans-serif;
}

.titulo h1 {
    color: rgb(255, 255, 255);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
   
    
}
.titulo:hover h1{
    color: red;
}

/* Galeria */

.galeria {
    width: 90%;
    max-width: 1600px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;

    padding-bottom: 50px;
}

.galeria img {
    width: 100%;
    height: 350px;

    object-fit: cover;
    

    background: #111;

    border-radius: 22px;

    border: 1px solid #1f1f1f;

    box-shadow:
        0 15px 40px rgba(0,0,0,.6);

    cursor: pointer;

    transition: .4s ease;
}

.galeria img:hover {
    transform: scale(1.04);

    border-color: rgba(255,0,0,.4);

    box-shadow:
        0 0 30px rgba(255,0,0,.25),
        0 20px 50px rgba(0,0,0,.8);
}

/* LIGHTBOX */

.lightbox {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 9999;

    background: rgba(0,0,0,.95);

    justify-content: center;
    align-items: center;

    animation: fadeIn .3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;

    object-fit: contain;

    border-radius: 20px;

    animation: zoomIn .3s ease;

    box-shadow:
        0 0 40px rgba(255,0,0,.3),
        0 0 80px rgba(255,0,0,.15);
}

.fechar {
    position: absolute;

    top: 20px;
    right: 40px;

    color: white;
    font-size: 50px;
    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}
nav{
    display: flex;
    gap: 30px;
    
}
nav a:hover,
nav a:active{
    color:red;
}
.menu{
    width:100%;
    
    padding:30px 8%;
     display:flex;  
    justify-content:space-between;
    align-items:center;
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
    
    background:rgba(0,0,0,.35);
}


nav a{
    text-decoration:none;
    color:white;
    transition:.3s;
}

nav a:hover{
    color: red;
}

.fechar:hover {
    color: red;
}

/* Animações */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsivo */

@media (max-width: 1200px) {
    .galeria {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .galeria {
        grid-template-columns: 1fr;
    }

    .titulo h1 {
        font-size: 2rem;
    }
}
/* FOOTER */

footer{
    text-align:center;
    padding:30px;
    border-top:1px solid #151515;
    color:#666;
}

/* RESPONSIVO */

@media (max-width: 500px) {

    .titulo h1 {
        font-size: 2rem;
    }

    .galeria {
        width: 95%;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria img {
        height: 150px;
    }
}