@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500&display=swap');

/* General */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
}

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;
}

.button {
    font-size: 0.8rem;
    font-weight: 900;
    outline: none;
    border: none;
    border-radius: 10px;
    background-color: #1d1d1d;
    color: white;
    padding: 13px 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s ease;
}


.button:hover{
    background-color: #6a6a6a;
}

/* Navbar */

.sep{
    color: black;
    height: 2px;
    width: 150px;
}

.nav-buttons{
    margin-left: 60%;
    margin-right: 5%;
}

#first-sep{
    height: 0.8px;
    width: 100%;
    color: black;
    margin-top: 0;
}

.navbar {
    font-size: 20px;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    top: 0;
    left: 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-nav .nav-link{
    padding: 0 20px;
    color: black;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active{
    color: #6a6a6a;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link i {
    color: black;
    transition: color 0.4s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:hover i {
    color: #6a6a6a;
}

.navbar li{
    font-size: 1.3rem;
    padding: 0 0.7px;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}

/* Home */

#home {
    width: 100%;
    height: auto;
    margin-top: 89px;
}

.hero{
    margin-top: 7%;
} 

.product img{
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.product{
    cursor: pointer;
    margin-bottom: 2rem;
}

.product:hover{
    opacity: 0.7;
}

/* Footer */

footer{
    background-color: #E9E9EC;
}
.bottom-link-menu{
    text-decoration: none;
}

.bottom-link{
    color: black;
}

.bottom-link:hover{
    transition: 0.3s all;
    color: #6a6a6a;
}

/* Product */

.small-img-group{
    display: flex;
    justify-content: space-between;
}

.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
}

.single-product input:focus{
    outline: none;
}

.small-img, .main-img-styl{
    border-radius: 5px;
}

/* Shop */

.select-category{
    padding: 11px 34px;
    margin-left: 10px;
    cursor: pointer;
}

.category-button{
    font-size: 0.8rem;
    font-weight: 900;
    outline: none;
    border: none;
    border-radius: 10px;
    background-color: #1d1d1d;
    color: white;
    padding-top: 13px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s ease;
    margin: 5px;
}

.category-button:hover{
    background-color: #6a6a6a;   
}

.search-input{
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 3px;
    margin-left: 10px;
}

#pagination-id > ul > li > a{
    color: black;
}

#pagination-id > ul > .active-page > a{
    background-color: black;
    color: white;
}

/* 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: white;
    background-color: black;
}

.cart td{
    padding: 10px 20px;
}

.cart td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.cart table tr td input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

.cart table tr td input:focus{
    outline: none;
}

.edit-btn{
    text-decoration: none;
    color: #6a6a6a;
    border: none;
    background: none;
}

.edit-btn:hover{
    color: black;
}

.remove-btn{
    text-decoration: none;
    color: #6a6a6a;
    background: none;
    border: none;
}

.remove-btn:hover{
    color: black;
}

.cart-total{
    display: flex;
    justify-content: center;
}

.cart-total table{
    width: 100%;
    max-width: 500px;
    border-top: 3px solid;
    border-bottom: 3px solid;
}

td:last-child{
    text-align: right;
}

th:last-child{
    text-align: right;
    padding-right: 2%;
}

.checkout-container{
    display: flex;
    justify-content: center;
}

/* Login */

#login-form{
    width: 70%;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
    border-top: 1px solid;
}

#login-form input{
    width: 70%;
    margin: 5px auto;
}

#login-form #register-url:hover{
    color: #6a6a6a;
}

/* Register */

#register-form{
    width: 70%;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
    border-top: 1px solid;
}

#register-form input{
    width: 70%;
    margin: 5px auto;
}

#register-form #login-url:hover{
    color: #6a6a6a;
}

/* Account */

#account-form{
    margin: 35px auto;
    text-align: center;
    padding: 20px;
}

#account-form input{
    width: 70%;
    margin: 5px auto;
}

#orders-btn{
    text-decoration: none;
    padding: 13px 44px;
}

#logout-btn{
    text-decoration: none;
    padding: 13px 60px;
}

.orders table{
    width: 100%;
    border-collapse: collapse;
}

.orders th{
    text-align: center;
    padding: 5px 2px;
    color: white;
    background-color: black;
}

.orders td{
    padding: 5px 5px;
}

.orders td img{
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.orders td:last-child{
    text-align: center;
}

.details-btn{
    cursor: pointer;
    background: none;
    border:none;
    color: #6a6a6a;
}

.details-btn:hover{
    color: black;
}

/* Checkout */

#checkout-form .checkout-small-element{
    display: inline-block;
    width: 48%;
    margin: 10px auto;
}

#checkout-form .checkout-large-element{
    width: 96.5%;
}

#checkout-form .checkout-btn-container{
    margin-top: 20px;
}

.form-group input:focus, .form-group select:focus{
    outline: 2px black; 
    border: 2px black;
    box-shadow: 0 0 5px black;
}

/* Admin */
#admin-login-form{
    width: 70%;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
}

#admin-login-form input{
    width: 100%;
    margin: 5px auto;
}

#admin-login-form .btn{
    width: 50%;
    margin: 15px auto;
}

.dashboard table{
    width: 100%;
    text-align: center;
}

.dashboard table .title{
    text-align: center;
    border: 3px solid black;
    padding: 10px 0px;
    font-size: 18px;
}

.dashboard table .info{
    text-align: center;
    border: 3px solid black;
    padding: 10px 15px;
    font-size: 18px;
}

canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
    max-width: 80%;
}

@media only screen and (max-width:1200px){
    #home {
        width: 100%;
        height: auto;
        margin-top: 89px;
    }
    .hero-content{
        width: 70%;
    }
    canvas{
        max-width: 100%;
    }  
}

@media only screen and (max-width:767px){
    #register-form input{
        width: 100%;
        margin: 5px auto;
    }    
    #login-form input{
        width: 100%;
        margin: 5px auto;
    }
    .shipping-map{
        width: 100%;
    }
}

@media only screen and (min-width:990px) and (max-width:1200px){
    .nav-buttons{
        margin-left: 55%; 
    }   
    th:last-child{
        text-align: right;
        padding-right: 2.5%;
    }
}

@media only screen and (max-width:990px){
    .nav-buttons{
        margin: 5px;
    }  
    .nav-buttons ul{
        margin: 1.2rem;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    th:last-child{
        text-align: right;
        padding-right: 5%;
    }
}

@media only screen and (min-width:990px){
    .sep{
        display: none;
    }
}

@media only screen and (min-width:767px) and (max-width:990px){
    th:last-child{
        text-align: right;
        padding-right: 3.5%;
    }
}

/* Map */

.shipping-map{
    width: 50%;
    height: auto;
    align-self: center !important;
}

.wilaya-popup{
  position:absolute !important;
  background: #00000088 !important;
  /* width:180px !important; */
  z-index:999 !important;
  padding:12px !important;
  display: flex !important;
  justify-content: center !important;
  border :1px solid #463333 !important;
  border-radius: 2px !important;
  color:white !important;
  box-shadow: 3px 3px 6px #5b5b5b2b !important;
  white-space: wrap !important;
  /* transform:translate3d(-50%,-50%,0) !important;
  transition:transform 0.2s cubic-bezier(.02,1.23,.79,1.08) !important; */
}
.wilaya-popup span{
  text-align: center !important;
  font-weight: bold !important;
}
.svg-container{
    position: relative !important;
}