@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');
.nav-buttons{
    margin-left: 45%;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'century gothic', sans-serif;
}

body{
    font-family: 'century gothic', sans-serif;
}

#banner .container button{
    background-color:black; 
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    width: 200px;
}

#banner button:hover{
    background-color:red; 
    color: black;
    font-weight: bold;
}


h1{
    font-size: 2.5rem;
    font-weight: 700;
}
h2{
    font-size: 1.8rem;
    font-weight: 600;
}
h3{
    font-size: 1.5rem;
    font-weight: 800;
}
h4{
    font-size: 1.2rem;
    font-weight: 600;
}
h5{
    font-size: 1rem;
    font-weight: 400;
}
h6{
    color:#D8D8D8;
}

.navbar{
    font-size: 17px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    top: 0;
    left:0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.navbar-light .navbar-nav .nav-link{
    padding: 0 20px;
    color:#000;
    transition: 0.4s ease;
    font-family: 'century gothic', sans-serif, Arial;
    margin: 0 7px;
}

.navbar-light .navbar-nav .nav-link:hover, 
.navbar i:hover, 
.navbar-light .navbar-nav .nav-link.active 
.navbar i:hover{
    color:red;
}

.navbar i{
    font-size: 1.2rem;
    padding: 0 0.7px;
    transition: 0.4sec ease;
    cursor: pointer;
}

@media only screen and (max-width:990px){
    .nav-buttons{
        margin: 10px;
    }

    .nav-buttons ul{
        margin: 1rem;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .nav-buttons ul .fas{
        margin: 20px 5px 10px 20px;
    }
}

#home{
    background-image: url('../imgs/back.jpg');
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    font-weight: bold;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#home h5, p{
    color: red;
}

#home button{
    background-color:black; 
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
}

#home button:hover{
    background-color:white; 
    color: black;
    font-weight: bold;
}

.titles{
    background-color: rgba(0,0,0,0.7);
    width: 60vh;
    padding: 10px;
    border-radius: 8px;
}

#brand img{
    padding: 10px;
}

#new .one img{
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}

#new .one{
    position: relative;
}

#new .one .details{
    position: absolute;
    top: 0;
    left: 0;
    color: coral;
    font-weight: bold;
    transition: 0.4sec ease;
    opacity: 0.7;
    background-color:rgb(1,1,1);
    width: 100%;
    height: 100%;
}

#new .one .details:hover{
    background-color: cornsilk;
}

/*for id = new buttons*/
#new button{
    background-color: coral;
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
}

#new button:hover{
    background-color:white; 
    color: black;
    font-weight: bold;
}

#new .one .details{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


#featured .buy-btn{
    background-color:black; 
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    width: 200px;
}


#featured button:hover{
    background-color:gray; 
    color: black;
    font-weight: bold;
}

#featured .row .product .img{
    width: 50px;
    height: 50px;
}

/*Product*/

.product{
    cursor: pointer;
    margin-bottom: 2rem;
}

.product img{
    transition: 0.3 all;
}

.product img:hover{
    opacity: 0.7;
}

.fa-star{
    color: yellow;
}

#banner{
    background-image: url('../imgs/back2.jpg');
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    font-weight: bold;
    background-position-x: center;
    background-position-y: 80px;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#banner h1{
    color:white;
}

#banner h4{
    color: red;
}

#banner .container button{
    background-color:red; 
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    width: 200px;
}

#banner .container button:hover{
    background-color:black; 
   
}

footer{
    background-color: #222222;
}

footer h5{
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

footer li{
    padding-bottom: 4px;
}

footer li a{
    font-size: 0.8rem;
    text-decoration: none;
    color: #999;
}

footer li a:hover{
    color: red;
}

footer h6{
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

footer .copyright a{
    color: black;
    height: 40px;
    width: 40px;
    background-color: white;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    transition: 0.3 ease;
    margin: 0 5px;
}

footer .copyright a:hover{
    color:white;
    background-color: red;
}

footer p{
    color:white;
}

footer .copyright img{
    width: 30%;
}

.logo{
    width: 40px;
    height: 40px;
}

.navbar .brand{
    color:red;
    margin: 3px 5px;
    font-size: 1.5rem;
}

#featured .hrclass{
    width: 10%;
}

.small-img-group{
    display: flex;
    justify-content: space-between;
}

.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

.buy-btn{
    background-color:black; 
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    width: 200px;
}

.buy-btn:hover{
    background-color:red; 
    color: black;
    font-weight: bold;
}

.single-product input:focus{
    outline:none;
}

.single-product input{
    width:50px;
    height:40px;
    padding-left:10px;
    font-size:16px;
    margin-right: 10px;
}

/*Cart*/
.cart table{
    width: 100%;
    border-collapse: collapse;
}

.cart .product-info{
    display:flex;
    flex-wrap: wrap;
}

.cart th{
    text-align:left;
    padding:5px 10px;
    color:#fff;
    background-color: red;
}

.cart td{
    padding: 10px 20px;
}

.cart td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.cart td input{
    width: 50px;
    height:30px;
    padding: 5px;
}

.cart td a{
    color: red;
}

.cart .remove_btn{
    color:red;
    text-decoration: none;
    font-size: 14px;
    background-color: #fff;
    border: none;
    width: 100%;


}


.cart .edit_btn{
    color:red;
    text-decoration: none;
    font-size: 15px;
    background-color: #fff;
    border: none;

}

.cart .product-info p{
    margin:3px;
}

.cart-total{
    display:flex;
    justify-content: flex-end;
}

.cart-total table{
    width:100%;
    max-width: 500px;
    border-top: 3px solid red;
}

td:last-child{
    text-align: right;
}

th:last-child{
    text-align: right;
}

.checkout-container{
    display: flex;
    justify-content: flex-end;
}

.checkout-container .checkout-btn{
    background-color: red;
    color: #fff;

}

/*Login*/
#login-form{
    width: 50%;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
    border-top: 1px solid red;
}

#login-form input{
    width: 50%;
    margin: 5px auto;
}

#login-form #login-btn{
    background-color: red;
    color:#fff;
    border-radius: 0%;
}


#login-form #login-btn:hover{
    background-color: whitesmoke;
    color: red;
}

#login-form #register-url{
    color: red;
}

/*Register*/
#register-form{
    width: 50%;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
    border-top: 1px solid red;
}

#register-form input{
    width: 50%;
    margin: 5px auto;
}

#register-form #register-btn{
    background-color: red;
    color:#fff;
    border-radius: 0%;
}

#register-form #login-url{
    color: red;
}

/*Account */

#account-form{
    width: 50%;
    margin: 35px auto;
    text-align: center;
    padding:20px;
}

#account-form input{
    margin:5px auto;
}

#account-form #change-pass-btn{
    color:#fff;
    background-color: red;
}

.account-info #orders-btn, #logout-btn{
    color: red;
    text-decoration: none;
}

/*Orders*/

.orders table{
    width: 100%;
    border-collapse:collapse;
}

.orders .product-info{
    display:flex;
    flex-wrap:wrap;
}

.orders th{
    text-align: left;
    padding: 5px 10px;
    background-color:red;
    color: white;
}

.orders th:nth-child(2){
    text-align: right;
}

.orders td{
    padding: 10px 20px;
}

.orders td img{
    width:80px;
    height: 80px;
    margin-right: 10px;
}

/*Checkout*/
#checkout-form .checkout-small-element{
    display: inline-block;
    width: 40%;
    margin: 10px auto;
}

#checkout-form .checkout-large-element{
    width: 95%;
}

#checkout-form .checkout-btn-container{
    margin:10px;
    text-align:right;
    margin-right: 40px;
}

#checkout-form #checkout-btn{
    color: white;
    background-color: red;
}

#contact span{
    color: black;
}

.my-icon{
    color: black !important;
}

.my-icon:hover{
    color: red !important;
}