/*
En este archivo se contienen todos los estilos los cuales se comparten en distintas paginas.
Elementos que son visible e identicos en cada pagina como la barra de navegacion, footer, body y carrusel se mantendran aqui.
*/

/*Paleta de colores
p{
    background-image: linear-gradient(#000000, #141313, #282727, #3d3b3b, #9e9d9d, #ffffff, #bd0c12, #5a0b0d, #3586ff, #e0a238, #ff428d, #42ff4b);
}*/

@font-face {
    font-family: 'MiFuente';
    src: url('./Fonts/Roboto_Condensed-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
*{
    margin: 0px;
    color: #ffffff;
    font-family: 'MiFuente', sans-serif , Courier;
}
*, *::before, *::after{
    box-sizing: border-box;
}
header{
    position: sticky;
    top: 0px;
    z-index: 2;
}
body{
    background-color: #000000;
    background-image: radial-gradient(circle, #3d3b3b 1px, transparent 1px);
    background-size: 10px 10px;
    overflow: auto;
    animation: moveGrid 4s linear infinite;
}
footer{
    height: 100px;
    bottom: 0;
    background-color: #282727;
    background-image: radial-gradient(circle, #3d3b3b 1px, transparent 1px);
    background-size: 10px 10px;
    overflow: auto;
    animation: moveGrid 4s linear infinite;
    border-top: solid 1px #3d3b3b;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
section{
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: solid 1px #3d3b3b;
    border-bottom: solid 1px #3d3b3b;
    background-color: rgba(23, 22, 22, 0.541);
    width: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    background-image: radial-gradient(circle at top left, #bd0c1246, transparent 60%),;
}

/*Barra de navegación*/
nav{
    width: 100%;
    height: fit-content;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #282727;
    background-image: radial-gradient(circle, #3d3b3b 1px, transparent 1px);
    background-size: 10px 10px;
    overflow: auto;
    animation: moveGrid 4s linear infinite;
    border-bottom: solid 1px #3d3b3b;
}
.LogoSpace{
    height: 60px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#NavIcon{
    flex-shrink: 1;
    width: 100px;
    min-width: 10px;
    height: auto;
    transition: 0.3s;
}
#NavIcon:hover{
    filter: drop-shadow(1px 1px 20px #bd0c12);
}
.NavButtonList{
    flex-shrink: 1;
    width: 600px;
    min-width: 260px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.CartSpace{
    flex-shrink: 1;
    width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/*Botones*/
button{
    background-color: #00000000;
    border: solid 1px #bd0c12;
    color: #bababa;
    font-size: 10px;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}
button:hover{
    transform: scale(1.1);
    transform: translateY(-3px);
}
.NavButton{
    height: 30px;
    width: 90px;
}
.NavButton:hover{
    background-color: #bd0c12;
    color: #ffffff;
    box-shadow: 1px 1px 20px #bd0c12;
}
.CartButtons{
    background-color: #282727;
    border: solid 1px #3d3b3b;
    color: #e0a238;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#BotonCarrito{
    width: 60px;
}
#BotonEnvio{
    width: 50px;
}
.CartButtons:hover{
    border: solid 1px #bd0c12;
    color: #ffffff;
    box-shadow: 1px 1px 20px #bd0c12;
}
.MediaButton{
    width: 120px;
    height: 40px;
    font-size: 15px;
    color: #ffffff;
    backdrop-filter: blur(2px);
}
.CartButtons i{
    color: #e0a238;
    transition: 0.5s;
}
.CartButtons:hover i{
    color: #ffffff;
}
.CuentaCarrito{
    color: #ffffff;
    font-size: 10px;
}
button i{
    margin: 5px;
}
#FaceBut{
    border: solid 1px #3586ff;
    background-color: #3586ff31;
}
#FaceBut:hover{
    box-shadow: 1px 1px 20px #3586ff;
    background-color: #3586ff;
}
#InstBut{
    border: solid 1px #e0a238;
    background-color: #e0a23831;
}
#InstBut:hover{
    box-shadow: 1px 1px 20px #e0a238;
    background-color: #e0a238;
}
#TikBut{
    border: solid 1px #ff428d;
    background-color: #ff428d31;
}
#TikBut:hover{
    box-shadow: 1px 1px 20px #ff428d;
    background-color: #ff428d;
}
#WhatsBut{
    border: solid 1px #2dff26;
    background-color: #2dff2631;
}
#WhatsBut:hover{
    box-shadow: 1px 1px 20px #2dff26;
    background-color: #2dff26;
}

/*Bloques de información*/
.InfoSlider{
    width: 97%;
    height: fit-content;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 1px 1px 20px #000000;
    backdrop-filter: blur(2px);
    border: solid 2px #bd0c12;
    margin-bottom: 10px;
    padding: 5px;
}
.InfoSlides{
    transition: 0.8s;
    display: flex;
    justify-content: center;
    margin: 5px;
}
.InfoContainer{
    height: 50%;
    text-align: justify;
}
.InfoContainer h1{
    color: #e0a238;
}
div.InfoContainer{
    width: 100%;
    display: none;
    object-fit: cover;
}
div.displayInfo{
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}

/*Carrusel*/
.CarouselDiv{
    height: 100%;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.slider{
    width: 80%;
    height: 75%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 1px 1px 20px #000000;
    border: solid 1px #bd0c12;
    transition: 0.3s;
}
.slider:hover{
    box-shadow: 1px 1px 20px #bd0c12;
}
.slider img{
    width: 100%;
    width: 100%;
    display: none;
    object-fit: cover;
}
.slides{
    background-color: #bd0c12;
    width: 100%;
    height: 100%;
}
.slides img{
    max-height: 500px;
}
.slides:hover{
    transform: scale(1.05);
}
img.displaySlide{
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}
.slides{
    display: flex;
    justify-content: center;
    transition: 0.8s;
}
.ScrollButtons{
    margin: 5px;
    width: 45%;
    height: 30px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5px;
}
#ContCarru{
    border: solid 2px #bd0c12;
    backdrop-filter: blur(2px);
    border-radius: 10px;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#PauseCarrou{
    width: 50%;
    height: 100%;
    border: solid 2px #bd0c12;
    backdrop-filter: blur(2px);
    font-size: 15px;
}
#PauseCarrou:hover{
    background-color: #bd0c12;
    color: #ffffff;
    box-shadow: 1px 1px 20px #bd0c12;
}

.SlideButton{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    backdrop-filter: blur(2px);
    box-shadow: 1px 1px 20px #000000;
    font-size: 24px;
    margin: 5px;
}
@keyframes fade{
    from {opacity: .5}
    to {opacity: 1}
}

.SlideButton:hover{
    background-color: #bd0c12;
    box-shadow: 1px 1px 20px #bd0c12;
    color: #ffffff;
}

@keyframes moveGrid {
    from{
        background-position: 0 0;  
    }
    to{
        background-position: 20px 20px;
    }
}

/*Seccion footer*/
.LogoFooter{
    width: 150px;
    height: auto;
}
.FooterInfo{
    border-left: solid 2px #3d3b3b;
    border-right: solid 2px #3d3b3b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 5px;
    width: 500px;
}
.footerHorario{
    display: flex;
}
.footerHorario p{
    margin: 5px;
    font-size: 10px;
}
.MediaFooter{
    width: 40px;
    height: 40px;
    font-size: 10px;
    color: #ffffff;
}
.FooterRedes{
    width: 20%;
    gap: 5px;
    display: flex;
    border-left: solid 2px #3d3b3b;
    border-right: solid 2px #3d3b3b;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-self: center;
}

/*Diseño responsivo*/
@media (max-width: 748px){
    nav{
        flex-wrap: wrap;
        justify-content: space-between;
    }
    h1{
        font-size: 20px;
    }
    p{
        font-size: 10px;
    }
    .NavButtonList{
        order: 3;
        flex-basis: 100%;
        width: 100%;
        height: 40px;
    }
    .NavButton{
        height: 25px;
        width: 55px;
    }
    .LogoSpace{
        width: 50%;
        height: 40px;
    }
    .CartSpace{
        order: 2;
        width: 50%;
        height: 40px;
    }

    .InfoSlider{
        height: fit-content;
    }
    .slider{
        width: 80%;
        height: 90%;
    }
    .CarouselDiv{
        height: 60%;
        width: 100%;
    }
    .SlideButton{
        width: 25px;
        height: 40px;
        font-size: 10px;
        border-radius: 20px;
    }
    .ScrollButtons{
        font-size: 10px;
        width: 60%;
    }
    #PauseCarrou{
        font-size: 10px;
    }
    
    .LogoFooter{
        width: 70px;
        height: auto;
    }
    .FooterInfo{
        width: 150px;
    }
    .FooterInfo h2{
        font-size: 12px;
    }
    .footerHorario{
        font-size: 10px;
        flex-wrap: wrap;
    }
    .footerHorario p{
        margin: 0px;
    }
    .FooterRedes{
        width: 30%;
    }
    .MediaButton{
        width: 80px;
        height: 30px;
        font-size: 10px;
    }
    .MediaFooter{
        height: 35px;
        width: 35px;
    }

    .Modal_Img_Cont{
        height: 80%;
    }
}