﻿body {
    font-family: 'Crewniverse', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    max-width: 1920px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e12825;
    height: 30px;
    position: relative;
    z-index: 10;
    color: white;
    font-size: 14px;
}

.left-slogan,
.right-slogan {
    width: 60%;
    text-align: center;
}

/*.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 188px;
    height: 187px;
    z-index: 5;
}*/
.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20vw;
    height: auto;
    z-index: 5;
}
.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    height: 85.25px;
    color: white;
}

.left-menu,
.right-menu {
    display: flex;
    align-items: center;
}

.menu-item {
    padding: 0px;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #e12825;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 55px;
    padding-right: 20px;
}

.search-input {
    display: none;
    width: 190px;
    height: 25px;
    padding: 20px;
    
    border-radius: 16.3px;
    font-family: 'Crewniverse', sans-serif;
    margin-left: 10px;
}

.search-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 5px;
}

#buscar {
    cursor: pointer;
}
.red-bar {
    height: 11px;
    background-color: #e12825;
}

.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.banner-image {
    width: 100%;
    height: auto;
}

/* Botones de control del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.brands-container {
    background-color: black;
    animation: loopLego;
}

.brands-bar {
    height: 5.5px;
    background-color: #e12825;
}

.brands {
    display: flex;
    justify-content: space-around;
    height: 56px;
    background: linear-gradient(to right, #272727, #000000, #272727);
    overflow-x: hidden;
    white-space: nowrap;
    padding: 15px 0 0px;
    position: relative;
  }
  
  .brands:before,
  .brands:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .brands:before {
    left: 0;
    background: linear-gradient(to left, #00000000, #272727);
  }
  
  .brands:after {
    right: 0;
    background: linear-gradient(to right, #00000000,  #272727);
  }
  
  .brands:hover .brands-nain {
    animation-play-state: paused;
  }
  
  .brands-nain {
    display: inline-block;
    animation: 35s loopLego infinite linear;
    /* Añadido el siguiente estilo para asegurar que las imágenes no se desborden horizontalmente */
    overflow: hidden;
  }
  
  .brands-nain img {
    height: 50px;
    margin: 0 40px;
  }
  

@keyframes loopLego
{
    from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-100%);
      }
}
.brands img {
   margin: 0 40px;
    max-width: 100%;
    height: auto;
    
    

}

.swiper-container {
    width: 10%;
    margin: 0 0;
}

.swiper-slide {
    display: flex;
    justify-content: auto;
    align-items: auto;
}



.hamburger-menu {
    visibility: hidden;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.MyBoysContainer {
    position: right;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0em;
    width: 250px;
    height: 280px;
    transition: all 800ms;
    transform: translateX(20%);
}

.box {
    position: right;
    background: var(--img) center center;
    background-size: cover;
    transition: all 800ms;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    border-radius: 15%;
}

.box::after {
    content: attr(data-text);
    position: absolute;
    bottom: 50px;
    background: #e12825;
    color: #fff;
    padding: 10px 10px 10px 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transform: translateY(60px);
    opacity: 0;
    transition: all 200ms;
    z-index: 1;
}

.MyBoysContainer:hover .box {
    filter: grayscale(100%) opacity(24%);
}

.box:hover::after {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 800ms;
}

.MyBoysContainer .box:hover {
    filter: grayscale(0) opacity(100%);
    background: var(--hover-img) center center; /* Cambia la imagen de fondo en hover */
}

.MyBoysContainer:has(.box-1:hover) {
    grid-template-columns: 3fr 1fr;
    z-index: 10;
}

.MyBoysContainer:has(.box-2:hover) {
    grid-template-columns: 1fr 3fr;
}

.box:nth-child(odd) {
    transform: translateY(16px);
}

.box:nth-child(even) {
    transform: translateY(16px);
}




@media (max-width: 1800px) {
    .hamburger-menu {
        display: block;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 30px;
        height: 30px;
        margin-right: 10px;
        background: none;
        border: none;
    }

    .hamburger-menu {
        visibility: visible;
    }

    .line {
        display: block;
        width: 30px;
        height: 4px;
        background-color: white;
        margin-bottom: 4px;
        margin-right: -30px;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        margin: 0px;
        z-index: 1000;
    }

    .hamburger-menu i {
        color: white;
    }

    .hamburger-menu.active i {
        color: black;
    }

    .menu-content {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 110px;
        flex-direction: column;
        background: black;
        border-top: 2px solid #e12825;
        z-index: 999;
    }

    .menu-content.active {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .menu-item {
        margin: 0 0;
        text-align: right;
        max-height: 60px;
        display: block;
    }

    .menu-item img {
        max-height: 60px;
    }

    .search-container {
        position: absolute;
        right: 20px;
        top: 8%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        z-index: 1000;
    }

    .search-input {
        width: 150px;
        padding: 10px;
        margin-left: 100px;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
    }

    .menu-bar {
        justify-content: space-between;
    }

    .left-menu,
    .right-menu {
        flex-direction: column;
        align-items: center;
    }

    .dropdown {
        position: relative;
        margin-bottom: 0px;
        text-align: right;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        background-color: black;
        min-width: 60px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        font-size: 7px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .dropdown:hover .dropdown-content {
        display: flex;
    }

    .dropdown-content a {
        color: white;
        padding: 6px 8px;
        text-decoration: none;
        display: flex;
        font-size: 9px;
        width: 60px;
        height: 49px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .dropdown-content a:hover {
        background-color: #e12825;
    }

    .left-slogan,
    .right-slogan {
        visibility: hidden;
    }
    .countdown {
   
        visibility: hidden;
    }
 .event-item img{
    align-items: right; /* Centra los elementos horizontalmente */
 }
    #event-list{
        display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: right; /* Centra los elementos horizontalmente */
    }
    .MyBoysContainer {
        position: right;
        display: grid;
        grid-template-columns: 0.5fr 0.5fr;
        gap: 0em;
        width: 125px;
        height: 140px;
        transition: all 400ms;
        transform: translateX(10%);
    }
    
    .box {
        position: right;
        background: var(--img) center center;
        background-size: cover;
        transition: all 400ms;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        border-radius: 7.5%;
    }
    
    .box::after {
        content: attr(data-text);
        position: absolute;
        bottom: 25px;
        background: #e12825;
        color: #fff;
        padding: 5px 5px 5px 15px;
        letter-spacing: 2px;
        text-transform: uppercase;
        transform: translateY(30px);
        opacity: 0;
        transition: all 200ms;
        z-index: 1;
    }
    
    .MyBoysContainer:hover .box {
        filter: grayscale(100%) opacity(24%);
    }
    
    .box:hover::after {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 800ms;
    }
    
    .MyBoysContainer .box:hover {
        filter: grayscale(0) opacity(100%);
        background: var(--hover-img) center center; /* Cambia la imagen de fondo en hover */
    }
    
    .MyBoysContainer:has(.box-1:hover) {
        grid-template-columns: 1.5fr 0.5fr;
        z-index: 10;
        
    }
    
    .MyBoysContainer:has(.box-2:hover) {
        grid-template-columns: 0.5fr 1.5fr;
    }
    
    .box:nth-child(odd) {
        transform: translateY(8px);
    }
    
    .box:nth-child(even) {
        transform: translateY(8px);
    }
    
}

/* Submenú para las tazas */
.sub-dropdown {
    position: relative;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: black;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}

/* Estilos para la nueva sección */
.new-arrivals-events-sponsors {
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* Esta línea asegura que todos los elementos hijos tengan la misma altura */
    margin: 20px 0;
    background-color: #000000;
}

.new-arrivals,
.events,
.sponsored {
    background: linear-gradient(to right, #272727, #000000, #272727);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%; /* Ajuste para un mejor espacio entre las secciones */
    outline: 5px solid #e12825;
    display: flex; 
    flex-direction: column; /* Asegura que el contenido interno se alinee verticalmente */
}

.new-arrivals h2,
.events h2,
.sponsored h2 {
    text-align: center;
    color: white;
    
}

.new-arrivals .swiper-container,
.sponsored .swiper-container {
    margin: 20px 0;
}

/* Añadir estos estilos al archivo styles.css */

.event-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.event-item img {
    margin-right: 10px;
}

.container {
    max-width: 600px; /* Ancho máximo del contenido */
    padding: 20px;
    background-color: #ffffff; /* Color de fondo del contenedor */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Centra los elementos horizontalmente */
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center; /* Centra el contenido verticalmente */
    font-size: 20px;
    text-align: center;
    background-color: red; /* Color de fondo rojo para el temporizador */
    color: white;
    padding: 10px; /* Aumentamos el padding para hacer el recuadro más grande */
    border-radius: 10px; /* Ajustamos el radio de borde para hacerlo más redondeado */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.countdown .count {
    margin: 0 5px;
    padding: 5px 10px;
    background: black; /* Fondo negro para los cuadrados de las unidades de tiempo */
    color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, color 0.3s;
}

.countdown .count:first-child {
    margin-left: 0;
}

.countdown .count:last-child {
    margin-right: 0;
}

.countdown .count.flip {
    background: white;
    color: black;
}
form {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: all 1s;
    width: 50px;
    height: 50px;
    background: white;
    box-sizing: border-box;
    border-radius: 25px;
    border: 4px solid #e12825;
    padding: 5px;
    
}

input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 42.5px;
    line-height: 30px;
    outline: 0;
    border: 0;
    display: none;
    font-size: 1em;
    border-radius: 20px;
    padding: 0 20px;
}

.fa {
    box-sizing: border-box;
    padding: 10px;
    width: 42.5px;
    height: 42.5px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    color: #000000;
    text-align: center;
    font-size: 1.2em;
    transition: all 1s;
    
}

form:hover {
    width: 300px;
    cursor: pointer;
}
form::after
{
    visibility: hidden;
}

form:hover input {
    display: block;
    
}

form:hover .fa {
    background: #e12825;
    color: white;
   
}

::after, ::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
::selection{
    background: #000000;
    color: #e12825;
}/* Estilo general del footer */
/* Estilo general del footer */
/*.footer {
    background: #000000;
    color: #ffffff;
    padding: 2rem 1rem;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}
*/
.footer {
    background: #000000;
    color: #ffffff;
    padding: 2rem 1rem;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 250px 0 0 0;
}


/* Contenedor principal del footer */
.footer-wrapper {
    max-width: 90rem; /* Aumentar el máximo ancho */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
}

/* Sección superior del footer */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
}

/* Estilo de las columnas en la sección superior */
.footer-column {
    flex: 1;
    min-width: 180px; /* Reducir el ancho mínimo para evitar compresión excesiva */
    max-width: 250px; /* Establecer un ancho máximo para evitar columnas demasiado anchas */
}

/* Estilo del logo en el footer */
.footer-logo {
    display: flex;
    justify-content: flex-end;
}

.footer-logo img {
    width: 10rem; /* Ajustar el tamaño del logo si es necesario */
    height: auto;
}

/* Estilo de los encabezados */
.footer-column h3 {
    font-size: 1.5rem; /* Aumentar el tamaño del texto de los encabezados */
    color: #e12825;
    margin-bottom: 1rem;
}

/* Estilo de los textos y enlaces en las columnas */
.footer-column p,
.footer-column a {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0.75rem; /* Separar más las letras */
}

.footer-column a:hover {
    text-decoration: underline;
    color: #e12825;
}

/* Estilo de los enlaces en lista */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

/* Estilo del formulario de suscripción */
/* Estilo general del formulario de suscripción */
.footer-subscribe {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Estilo del campo de texto en el formulario de suscripción */
.footer-subscribe input {
    font-family: 'Crewniverse', sans-serif;
    border: 2px solid #e12825;
    color: #ffffff;
    background: #000000;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-height: 2.25rem;
    flex: 1;
    max-width: 300px; /* Limitar el ancho máximo del campo de texto */
    box-sizing: border-box; /* Asegurar que el padding y border se incluyan en el tamaño total */
}

/* Estilo para el estado de enfoque del campo de texto */
.footer-subscribe input:focus {
    border-color: #e12825;
    outline: none; /* Eliminar el borde por defecto en el enfoque */
}

/* Estilo para el texto de placeholder */
.footer-subscribe input::placeholder {
    color: #e12825;
}

/* Estilo del botón en el formulario de suscripción */
.footer-subscribe button {
    cursor: pointer;
    font-family: 'Crewniverse', sans-serif;
    background-color: #e12825;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out;
}

.footer-subscribe button:hover {
    background-color: #c11a1a;
}

/* Estilos de la línea en la parte inferior */
.footer-line {
    display: block;
    height: 2px;
    background: #e12825;
    margin: 2rem 0;
}

/* Estilo de enlaces sociales */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
}

.social-links img {
    width: 2rem; /* Ajustar el tamaño de los iconos */
    height: 2rem;
    transition: transform 0.2s ease-in-out;
}

.social-links img:hover {
    transform: scale(1.1);
    
    
  
}

/* Estilo del botón "Ver Ofertas" */
.button {
    display: inline-block;
    font-family: 'Crewniverse', sans-serif;
    background-color: #e12825;
    outline: 5px solid #e12825;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease-in-out;
}

.button:hover {
    background-color: #ffffff;
    
}

/* Estilo de la sección inferior del footer */
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 800px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-logo {
        margin-top: 2rem;
        justify-content: center;
    }

    .footer-subscribe {
        flex-direction: column;
        align-items: center;
    }

    .footer-subscribe input {
        max-width: none;
        margin-bottom: 1rem;
    }
    .logo {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50vw;
        height: auto;
        z-index: 5;
    }
    
}
