*{
    margin: 0%;
    box-sizing: border-box;
}
body {
    background: url(./imagenes/fondo.webp) no-repeat center/cover fixed;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    backdrop-filter: blur(1px);
    z-index: -1; 
}
.titulo__logo{
    display: block;
    margin: auto;
    width: 14%;
    filter: drop-shadow( 0px 0px 15px #da7ef1);
}
/* Barra de navegacion */
.menu{
    background-image: linear-gradient(to left, #09079e, #740483);
    border-top: 1px solid #e6e2e2;
    border-bottom: 1px solid #e6e2e2;
}
.menu .menu__barra{
    display: flex;
    list-style-type: none;
    margin: 0%;
    padding: 0%;
    justify-content: space-evenly;
    align-items: center;

}
.menu__barra > .menu__boton > a {
    border: 1px solid rgb(233, 226, 236);
}
.menu__boton, a{
    display: block;
    color: antiquewhite;
    text-decoration: none;
    padding: 5px 2vw;
    font-family:"Bitcount Prop Double", system-ui, sans-serif;
    font-size: clamp(10px, 1.2vw, 1.3vw);
    text-shadow: 0px 0px 20px #ffffff;
    transition: transform 0.4s ease;
    text-align: center;
}
.menu__boton--modificador{
    text-transform: uppercase;
    font-size: clamp(10px, 1.2vw, 1.3vw);
    font-weight: 600;
    background-color: #9d2ae0b0;
    border-radius: 5px;
    padding-top: 5px;
    transition: transform 0.4s ease;
}
.submenu__barra {
    display: none; 
    position: absolute;
    top: 100%;   /* 🔥 Justo debajo de Categorías */
    left: 50%;        /* lo llevamos al centro del padre */
    transform: translateX(-50%);
    background-color: #410275d2;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 80%;
    z-index: 1000; /* que quede por encima */
    text-align: center;
}
.submenu__boton a {
    display: block;
    padding: 10px 15px;
    color: antiquewhite;
    font-size: clamp(10px, 1vw, 1.2vw);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.726);
}
.menu__buscador{
    width: 12vw;
    background: url(./imagenes/lupa.webp) no-repeat 3px center;
    background-size: 23px;
    padding: 0px 0px 0px 25px;
    border-style: none;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
    font-size: clamp(10px, 1.2vw, 1.3vw);
    max-height: 5vh;
    min-height: 3vh;
    outline: none;
    color: #ffffff;
}
.redes {
    display: flex;
    flex-direction: row; /* Ahora van en fila */ 
    align-items: center; 
    width: 35%; 
    margin: auto;
    margin-top: 1vw;
    color: #ffffff8c;
    font-size: 2vw;
}
.redes img {
    width: 125%;
    display: block;
    padding: 0%;
    opacity: 0.8;
    transition: transform 0.4s ease;
}
/* hover */
.submenu__boton a:hover {
    background: #740483;
}
.menu__boton:hover .submenu__barra {
    display: block;
}
.menu__boton a:hover{
    background-color: #9d2ae073;
    border-radius: 5px;
    transform: scale(1.3);
}
.menu__boton--modificador:hover{
    background-color: #74048300;
    transform: scale(1.3);
}
.menu__barra .menu__boton a:hover{
    border-style: none;
}
.redes img:hover{
    transform: scale(1.2);
    filter: drop-shadow( 0px 0px 3px white) ;
}
/*contenedor*/
h2{
    color: antiquewhite;
    padding: 5px 3.3vw;
    font-family:"Bitcount Prop Double", system-ui, sans-serif;
    text-shadow: 0px 0px 20px #ffffff;
    font-weight: 500;
    font-size: 3vw;
    text-align: center;
    background-color: #3f0483cb;
    width: 50%;
    margin: auto;
    margin-top: 3%;
    border-radius: 10px;
    margin-bottom: 3%;
    animation: cambiarColor 3s infinite;
}
@keyframes cambiarColor {
    0%   { color: #d99228; } 
    25%  { color: #F72585; } 
    50%  { color: #00F5FF; } 
    75%  { color: #F3F4F6; } 
    100% { color: #57eb7c; } 
}
.galeria__contenedor{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 1vw; /* espacio entre los divs */
    transition: transform 0.4s ease;
    width: 75%;
    margin: auto;
}

a > .galeria__elemento-imagen, figcaption{
    font-size: 1.5vw;
    background-color: #5c0468b2;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    width: 90%;
    display: block;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 5px white;
    margin-bottom: 10px;
}
data{
    font-size: 2.2vw;  
    display: block;
    margin-top: 5px;
}
a > img:hover{
    transform:scale(1.1);
    margin-bottom: 20px;
}
/*contacto whasapp*/
.contactos {
    position: fixed;
    top: 90%;       /* centro vertical */
    right: 0;       /* pegado al extremo derecho */
    transform: translateY(-50%); /* lo centra exactamente */
    z-index: 9999;
    cursor: pointer;
    opacity: 0.9;
}
.contactos__boton {
    display: block;
    min-width: 80px;
    max-width: 120px;
}
.contactos__texto {
    position: absolute;
    right: 90%;  /* se coloca a la izquierda del botón */
    bottom: 4vh;
    background: #1fbd59;
    color: white;
    padding: 0.5vw;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    font-size: 1vw;
    border: 5px solid white;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}
.contactos__boton:hover{
    transform: scale(1.2);
    filter: drop-shadow(0px 0px 5px white);
}
.contactos:hover .contactos__texto{
    opacity: 1;
    transform: translateX(0);
}