﻿/* LÍNEA DE NAVBARR */

.menu-area {
    width: 90%;
    margin: auto;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 110px;
    cursor: pointer;
}

.menu-area ul li {
    list-style: none;
    display: inline-block;
    margin: 0 5px;
    position: relative;
}

.menu-area ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
}

.menu-area ul li::before {
    content: "";
    height: 5px;
    width: 0%;
    background: #1E90FF;
    position: absolute;
    left: 0;
    bottom: -12px;
    transition: 0.4s ease-out;
}

.menu-area ul li:hover::before {
    width: 100%;
}

/* PORTAFOLIO DE PRODUCTOS */

.contenedor {
    width: 90%;
    max-width: 1800px;
    margin: auto;
}

.categorias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.categorias a {
    color: #ffffff;
    margin: 10px 20px;
    font-size: 18px;
    font-weight: 700;
}

.categorias a.activo {
    color: #1E90FF;
}

/* GRID */

/* .grid {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s linear 1s;
} */

.grid.imagenes-cargadas {
    opacity: 1;
}

.grid .item {
    position: absolute;
    display: block;
    padding: 0;
    margin: 5px;
    width: calc(33.333333% - 10px);
}

.grid .item-contenido {
    position: relative;
}

.grid .item img {
    width: 100%;
    cursor: pointer;
    vertical-align: top;
}

/* SOBRE IMAGEN DE PORTAFOLIO DE PRODUCTOS */

/* .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.9) ;
    width: 100%;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.overlay.activo {
    display: flex;
}

.overlay img {
    max-width: 100%;
}

.overlay .descripcion {
    display: block;
    background: #2d1514;
    padding: 20px;
    text-align: center;
    margin-top: 5px;
    border-radius: 10px;
    max-width: 50%;
}

.contenedor-img {
    position: relative;
}

.overlay #btn-cerrar-popup {
    background: none;
    font-size: 20px;
    color: #ddd361;
    border: none;
    cursor: pointer;
    position: absolute;
    right: -20px;
    top: -20px;
} */


.gallery{
    margin: 5px 5px;
}
.gallery img{
    transition: 1s;
    padding: 5px;
    width: 370px;
    height: 440px;
    filter: grayscale(0%);
}
.gallery img:hover{
    transform: rotateY(360deg);
    filter: grayscale(0%);
}

