:root{
    --color: #000000;
    --background: rgb(210, 215, 219);
}

/* menu */

.navbar-nav{
    margin: 0 10px;
}

.navbar-nav li{
    padding: 0 8px;
}

.navbar-nav li a{
    color: #000;
    transition: .4s;
}

.navbar-nav li a:hover{
    color: #453a94;
}

.navbar-collapse{
    justify-content: space-evenly;
}

.container-fluid .navbar-shop{
    display: flex;
    list-style: none;
    margin: 10px;
    margin-left: 5rem;
}

.container-fluid .navbar-shop li{
    padding: 0 10px;
}


/* hero */

.hero{
    background: radial-gradient(rgba(0,0,0, .3), rgba(0,0,0,1) 80%), url(/img/hero.png);
    height: 90vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero h1{
    text-align: center;
    position: relative;
    top: 60vh;
    color: #fff;
    font-size: 35px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .hero-button{
    position: relative;
    text-align: center;
    top: 62vh;
}

.hero .hero-button button{
    padding: 8px 15px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    font-size: 20px;
    transition: .4s;
}

.hero .hero-button button:hover{
    transform: scale(1.2);
    background: #fff;
    color: #000000;
    border: 2px solid #000000;
}

/* carousel */

.carousel{
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}

.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
    transition: .3s;
    border-radius: 5px;
}

.carousel .list .item .buttons button:hover{
    transform: scale(1.1);
}

/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

/* cards */
.cards-info .container .cards{
    display: flex;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.cards-info .container .cards .card{
    width: 33%;
    background-color: rgb(238, 238, 238);
    margin: 0 30px;
    text-align: center;
    border: 1px solid #000;
    transition: .4s;
    box-shadow: 6px 3px 12px 2px;
}

.cards-info .container .cards .card img{
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: .4s;
}

.cards-info .container .cards .card h2{
    font-size: 2rem;
    padding: 0 20px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
}

.cards-info .container .cards .card h2:hover{
    color: rgb(231, 95, 3);
}

.cards-info .container .cards .card p{
    font-size: 1rem;
    text-align: center;
    padding: 20px 20px;
}

.sobre-nosotros{
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.sobre-nosotros button{
    padding: 1rem 2rem;
    border-radius: 8px;
    background-color: #000;
    transition: .4s;
    box-shadow: 4px 2px 5px 2px;
}

.sobre-nosotros button:hover{
    transform: scale(1.05);
}

.sobre-nosotros button a{
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

/* social */
.social .social-network h2{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 3rem;
}
.social .social-network ul{
    text-align: center;
}

.social .social-network ul li{
    display: inline-block;
    flex-wrap: wrap;
    list-style: none;
    margin: 50px 30px;
    padding: 0 5px;
}

.social .social-network ul li a{
    border: 1px solid #000;
    border-radius: 20px;
    padding: 3.5rem 2rem;
}
.social .social-network ul li a img{
    width: 5rem;
    height: 5rem;
    justify-content: center;
    align-items: center;
}

.social .social-network ul li:hover .facebook{
    background-image: linear-gradient(to top, #3466c4 0%, #4479be 100%);
}

.social .social-network ul li:hover .instagram{
    background-image: linear-gradient(to top, #f43b47 0%, #453a94 100%);
}

.social .social-network ul li:hover .tiktok{
    background-image: linear-gradient(-20deg, #dcb0ed 0%, #99c99c 100%);
}

footer{
    text-align: center;
    margin-top: 90px;
}

footer p{
    color: gray;
    font-size: 0.8rem;
}


/*      catalogo        */

/* productos */
.productos .container .title-product h2{
    text-align: center;
    margin-bottom: 40px;
    margin-top: 50px;
    text-transform: uppercase;
    text-decoration: overline underline 5px;
}

.productos .container .product .product-list{
    display: grid;
    gap: 25px 35px;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.productos .container .product .product-list .product-item{
    padding: 30px 50px;
    transition: .4s;
    border-radius: 10px;
}

.productos .container .product .product-list .product-item:hover{
    box-shadow: 2px 2px 8px 2px;
    background-color: #f5f3f3;
}

.productos .container .product .product-list .product-item img{
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
    margin-top: 40px;
    transition: .4s;
    position: relative;
    left: 30px;
    right: 30px;
}

.productos .container .product .product-list .product-item:hover img{
    transform: scale(1.1)
}


.productos .container .product .product-list .product-item h4{
    text-align: center;
    font-size: 14px;
}

.productos .container .product .product-list .product-item h3{
    text-align: center;
    font-size: 28px;
    margin: 10px 0;
}
.productos .container .product .product-list .product-item:hover h3{
    color: #f1683a;
}

.productos .container .product .product-list .product-item button{
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 15px;
    padding: 8px 50px;
    background-color: #3466c4;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: .4s;
}

.productos .container .product .product-list .product-item button:hover{
    color: #3466c4;
    background-color: white;
}

/* footer */

.footer{
    background-color: #ebebeb;
}

.footer_title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer_title, .footer_newsletter{
    color: #000000;
    font-size: 25px;
}

.footer_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000000;
    padding-bottom: 60px;
    padding-top: 30px;
}

.nav--footer{
    padding-bottom: 20px;
    height: 100%;
    flex-direction: column;
}

.nav_link--footer{
    display: grid;
    margin: 0;
    margin-right: 40px;
    list-style: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nav_link--footer .nav_items a{
    text-decoration: none;
    color: #000;
}

.footer_inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
}

.footer_input{
    background-color: #eee6e6;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: 1px solid #000;
    margin-right: 16px;
}

.footer_submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px;
    background-color: #2091f9;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer_copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #000000;
}

.footer_copyright{
    font-weight: 300;
    font-size: 18px;
    padding-bottom: 20px;
}

.footer_icons{
    display: inline-flex;
    margin-bottom: 10px;
}

.footer_img{
    width: 30px;
}


/*              NOSOTROS            */
.nosotros-title{
    text-align: center;
    text-transform: uppercase;
    font-size: 2.4rem;
    margin-top: 50px;
    margin-bottom: 25px;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 60px;
}

.accordion .contentBx{
    position: relative;
    margin: 10px 20px;
}

.accordion .contentBx.active{
    margin-bottom: 30px;
}

.accordion .contentBx .label{
    position: relative;
    padding: 10px;
    background: #676767;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
}

.accordion .contentBx .label::before{
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: .5s;
}

.accordion .contentBx.active .label::before{
    content: "-";
}

.accordion .contentBx .content p{
    font-size: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
}

.accordion .contentBx .content{
    position: relative;
    background: #fff;
    height: 0;
    overflow: hidden;
    transition: 0.5s;
    overflow-y: auto;
    transition: .5s;
}

.contentBx.active .content {
    height: 250px; 
    padding: 10px;
    box-shadow: 1px 4px 8px 2px;
}

/* contacto */

.contacto-title{
    text-align: left;
    margin-top: 40px;
    margin-left: 350px;
    font-size: 2.4rem;
    font-weight: 700;
}

.contact{
    text-align: left;
    margin-left: 350px;
}

input, optgroup, select, textarea{
    width: 60%;
}

.contact .btn-contact{
    background-color: #000;
    color: #fff;
    border-radius: 5px;
    padding: 2px 0;
}

/* Media Queries */

@media (max-width:800px){
    

    .footer_container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav_link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer_form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer_input{
        flex: 1;
    }
}

@media (max-width:600px){
    

    .footer_title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav_link--footer{
        justify-content: space-between;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .footer_inputs{
        flex-wrap: wrap;
    }

    .footer_input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer_submit{
        margin-right: auto;
        margin-left: 0;
    }
}