@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@300&family=Ms+Madi&family=Water+Brush&display=swap');

:root{
    --black: #444;
    --red: #FF0000;
    --white: #FFFFFF;
    --brown:#964B00;
    --border: 2px solid rgba(0,0,0,1);
    --border-hover: 2px solid (var(--black));
    --salmon: rgb(249, 152, 141);
    --hover:  rgb(122, 85, 85);
}



*{
    font-family: Catamaran;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
    transition: width none;
}


html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: 1rem;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: var(--black);
}

section{
    padding: 5rem 9%;
}



.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    border-radius: 10px;
    color: white;
    background-color: var(--salmon);
    font-size: 1.7rem;
    cursor: pointer;
    font-weight: 650;
    text-transform: none;
}
.btn:hover{
    background-color: var(--hover);

}

.header .header-1{
    background-color: white;
    padding: 20px 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .header-1 .logo{
    font-size: 25px;
    font-weight: bolder;
    color: var(--black);
}

.header .header-1 #search-form{
    width: 50rem;
    height: 5rem;
    border: var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: .5rem;
}

.header .header-1 #search-form input{
    font-size: 1.6rem;
    padding: 0 1.2rem;
    height: 100%;
    width: 100%;
    text-transform: none;
    color: var(--black);
}

.header .header-1 #search-form label{
    font-size: 20px;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}
.header .header-1 #search-form label:hover{
    color: black;
}

.header .header-1 .icons div,
.header .header-1 .icons a{
    font-size: 30px;
    cursor: pointer;
    margin-left: 1.5rem;
    color: var(--black);

}

.header .header-1 .icons a:hover,
.header .header-1 .icons div:hover{
    color: black;
    background-color: white;
}

#search{
    display: none;
}

.header .header-2 .navbar{
    text-align: center;
    background-color: rgb(249, 152, 141);
    display: flex;
    justify-content: space-around;
    height: 50px;
}

.header .header-2 .navbar a{
    color: white;
    display: inline-block;
    padding: 1.2rem;
    font-size: 30px;
    background-color: rgb(249, 152, 141);
    ;
}

.header .header-2 .navbar a:hover{
    background: rgb(122, 85, 85);
}

.header .header-2.active{
    position: fixed;
    top: 0%; right: 0%; left: 0%;
    z-index: 255;
}

body{
    height: 300rem;
}

.navbar-bottom{
    position: fixed;
    text-align: center;
    background-color: rgb(249, 152, 141);
    bottom: 0%; 
    left: 0%;
    right: 0%;
    z-index: 9999;
    display: none;
}

.navbar-bottom a{
    font-size: 20px;
    padding: 2rem;
    color: white;

}

.navbar-bottom a:hover{
    background: rgb(122, 85, 85);;
   
}

.login-form-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(247, 247, 247, .9);
    position: fixed;
    top: 0;
    right: -105%;
    z-index: 1100;
    height: 100%;
    width: 100%;
}
.login-form-container.active{
    right: 0;
}

.login-form-container form{
    background-color: #FFFFFF;
    border: 1px solid;
    padding: 1rem;
    width: 40rem;
    box-shadow: 0 0 20px 0 black;
    border-radius: 20px;
    margin: 2rem;
}

.login-form-container form h3{
    font-size: 30px;
    text-transform: uppercase;
    color: #444;
    text-align: center;
}

.login-form-container form span{
    display: block;
    font-size: 1.5rem;
    padding-top: 1rem;
}

.login-form-container form .box{
    margin: .5rem 0;
    font-size: 1.6rem;
    border: 2px solid;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    color: var(--black);
    text-transform: none;
    width: 100%;
}

.login-form-container form .checkbox{
    display: flex;
    align-items: center;
    padding: 1rem 0;
    gap: .5rem;
    flex-direction: column;
    margin-left: auto;
}

input.button{
    width: 20%;
    display: inline;
}

.login-form-container form .checkbox label{
    font-size: 10px;
    color: #444;
    cursor: pointer;
}

.login-form-container form .btn{
    text-align: center;
    margin: 1.5rem 0;
    width: 100%;
}

.login-form-container form p{
    padding-top: .8rem;
    color: var(--black);
    font-size: 1.5rem;
}
.login-form-container form p a{
    color: var(--salmon);
    text-decoration: underline;
}

.login-form-container #close-login-btn{
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 5rem;
    color: var(--black);
    cursor: pointer;
}
img{
    float: left;
    width: 100px;
    height: 100px;
    object-fit: cover;
    gap: 1.5rem;
}



.home{
    background-image: url('./images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home .row .content{
    flex: 1 1 42rem;
}

.home .row .content{
    flex: 1 1 42rem;
}

.home .row .cake-slider{
    flex: 1 1 42rem;
    text-align: center;
    margin-top: 2rem;
}

.home .row .cake-slider a img{
    height: 15rem;
    width: 10rem;
}

.home .row .cake-slider a:hover img{
    transform: scale(.7);
}

.home .row .content h3{
    color: var(--black);
    font-size: 4.5rem;
    font-weight: bolder;

}


.home .row .content p{
    color: var(--brown);
    font-size: 2rem;
    line-height: 2;
    padding: 1rem 0;
    font-weight: bold;
    text-transform: none;
}

.display{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: beige;

}

.display > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px;
    gap: 1rem;
    flex-wrap: wrap;
    text-overflow: hidden;
}
span{
    margin-top: 5px;
    font-size: 20px;
    font-family: cataraman;
    font-weight: 500;
}
div > img{
    height: 200px;
    width: 200px;
   cursor: pointer; 
   outline-offset: -50px;
   border-radius: 10px;
}
div > img:hover{
    transform: scale(1.4);
}
.display-title{
    text-align: center;
    font-size: 60px;
    background-color: rgb(248, 248, 242);
    font-family: "Water Brush";
}

.agregar{
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    border-radius: 10px;
    color: white;
    background-color: var(--salmon);
    font-size: 1.7rem;
    cursor: pointer;
    font-weight: 650;
    text-transform: none;
}

.agregar:hover{
    background-color: var(--hover);
}


/* ----------------Css edit for Cart--------------- */
.product-container{
    margin: 0 auto;
    max-width: 1050px;
    margin-top: 50px;
    justify-content: center;
}
.product-headers{
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    border: 2px black;
    border-bottom: 4px solid;
    font-family: "Catamaran";
}
.product-title{
    width: 60%;
    
}
.price{
    width: 60%;
}
.quantity{
    width: 60%;
}
.total{
    width: 60%;
}
.product{
    display: flex;
    margin: 0;
    color: var(--salmon);
    justify-content: flex-start;
    border-bottom:5px #444;
}
.contain{
    display: flex;
    flex-wrap: wrap;
}
.image-name{
    flex-wrap: wrap;
    font-size: 10px;
    cursor: auto;
    float: left;
    overflow: hidden;
    position: absolute;
    margin-top: 65px;
}
.image-buy{
    height: 80px;
    width: 70px;
    padding: 10px;
    margin: 0%;
}
.image-buy:hover{
    transform: scale(1);
    cursor:auto;
    margin: 0%;
}
.fa-square-xmark:hover{
    transform: scale(1);
    cursor: pointer;
}
#ex{
    margin: 0%;
}
.precio{
    left: 294px;
    margin-top: -63px;
    position: absolute;
    font-size: 20px;
}
.quant{
    display: flex;
    justify-content: space-between;
    width: 50px;
    height: 75px;
    position: absolute;
    left: 581px;
    margin-top: -63px;
}
.total-two{
    left: 862px;
    margin-top: -63px;
    position: absolute;
    font-size: 20px;

}
.totalCostContainer{
    left: 846px;
    position: absolute;
    font-size: 20px;
    width: -100%;
    border-top: 5px solid;
}
#close-product{
    font-size: 15px;
}
.fa-square-xmark:before{
    font-size: 30px;
}
/* ------------- CART CSS Ends--------------------*/

@media (max-width: 991px) {
    
        
html{
    font-size: 50%;
    
}
.header .header-1{
    padding: 40px;
}
section{
    padding: 3rem 2rem;
}


@media (max-width: 768px){
    
    html{
        scrollbar-width: none;

    }
    body{
        padding-bottom: 6rem;
    }
    .product-container{
        max-width: 350px;
        font-size: 10px;
    }
    .product-headers{
        font-size: 10px;
    }
    .totalCostContainer{
        left: 320px;
        position: absolute;
        font-size: 20px;
        width: 0%;
        border-top: 5px solid;
    }
    .product{
        display: flex;
        margin: 0;
        color: var(--salmon);
        justify-content: flex-start;
    
    }
    .contain{
        display: flex;
        flex-wrap: wrap;
    }
    .image-name{
        flex-wrap: wrap;
        font-size: 10px;
        cursor: auto;
        float: left;
        overflow: hidden;
        position: absolute;
        margin-top: 65px;
    }
    .image-buy{
        height: 80px;
        width: 70px;
        padding: 10px;
        margin: 0%;
    }
    .image-buy:hover{
        transform: scale(1);
        cursor:auto;
        margin: 0%;
    }
    .fa-square-xmark:hover{
        transform: scale(1);
        cursor: pointer;
    }
    #ex{
        margin: 0%;
    }
    .precio{
        left: 131px;
        margin-top: -63px;
        position: absolute;
    }
    .quant{
        display: flex;
        justify-content: space-between;
        width: 50px;
        height: 75px;
        position: absolute;
        left: 210px;
        margin-top: -63px;
    }
    .total-two{
        left: 320px;
        margin-top: -63px;
        position: absolute;
    
    }
    .header .header-2{
        display: none;
    }
    .header .header-1{
        box-shadow: #444;
        position: relative;
    }
    .navbar-bottom{
        display: block;
    }
    .header .header-1 #search-form{
        position: absolute;
        top: -115%;
        right: 1.5rem;
        width: 90%;
        box-shadow: #444;
    }
    #search{
        display: inline-block;
    }
    .header .header-1 #search-form.active{
        top: 100%;
}
    .icons{
        display: inline-flex;
    }
    .home .row .content{
        text-align: center;
    }
    
    .home .row .content h3{
        color: var(--black);
        font-size: 3.5rem;
        font-weight: bolder;
    
    }

}

@media (max-width: 450px){

}



















}