@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Regular.ttf');
}
@font-face {
    font-family: 'Poppins-italic';
    src: url('../assets/fonts/Poppins-Italic.ttf');
}
@font-face {
    font-family: 'Poppins-light';
    src: url('../assets/fonts/Poppins-Light.ttf');
}
@font-face {
    font-family: 'Poppins-lightItalic';
    src: url('../assets/fonts/Poppins-LightItalic.ttf');
}
@font-face {
    font-family: 'Poppins-bold';
    src: url('../assets/fonts/Poppins-Bold.ttf');
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Evita el scroll en el body */
    background-color: rgb(16, 15, 15);
    color: #f4f4f4;
}

.container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr auto;
    height: 100vh;
}

main {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding: 20px;
    overflow-y: auto;
    max-height: 100vh;
}

aside {
    display: flex;
    background-color: #f4f4f4;
    padding: 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-image: url(/images/productos/fondo.jpg);
    background-size: cover; 
}
@keyframes agrandarDesaparecer {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    80% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
      transform: scale(1.2);
      opacity: 0;
    }
}
  
.imagen-superior {
    position: absolute;
    animation: agrandarDesaparecer 2s infinite;
    width: 70%;
}
  
.imagen-inferior {
    position: relative;
    width: 80%;
}

  

footer {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

.products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products h1 {
    padding-top: 3vw;
    height: 8vh;
    font-size: 3rem;
    font-family: Poppins-bold;
    text-align: center;
    z-index: 100;
}

.product {
    padding: 10vh 10vw;
    border-radius: 15px;
    background-color: #17191c;
}

.product h2 {
    font-family: Poppins;
    text-align: center;
}

.product p {
    font-family: Poppins-light;
}

.product-img {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;    
    margin-bottom: 10vh;
}

.product-img img {
    width: 80%;
    margin: auto;
    border-radius: 25px;
}




video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 105%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw) / 2));
    z-index: 0;
}


.back {
    position: absolute;
    top: 10vh;
    left: 2vw;
    width: 50px;
    height: auto;
    z-index: 20000;
}

.back img {
    width: 100%;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.back img:hover {
    transform: scale(1.3);
}


@media only screen and (max-width: 700px) {
    .container {
        display: block;
    }
    aside {
        display: none;

    }
}