*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.codezara-logo img{
   width: 100%;
   height: auto;
   object-fit: contain;
   background-color: var(--light);
}
.code-zara-search{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    height: 60vh;
    align-items: center;
}
.fa-search, .fa-microphone{
    font-weight: 300px;
    padding: 0px 10px;
    color: var(--dark);
}
.my-search{
    position: relative;
    height: 50px;
    padding: 0px 30px;
    box-shadow: 1px 1px 1px 1px rgba(167, 165, 165, 0.5);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
    transition: 0.5s;
}
.my-search button{
    border: none;
    outline: none;
}

input[type="search"]{
    height: 48px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 20px;
    transition: 0.5s;
    
}
.main-total-body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}
.footer{
    background-color: var(--light);
    padding: 30px 0px;
    text-align: center;
    margin-top: auto;
}
:root{
    --dark:#000;
    --light:#f6f6f6;
    --gray:#eee;
    --darklight:#1877F2;
    --darkgray:#eee;
    --danger:rgba(255, 0, 0, 0.932);
    --hover:#d4d4d4;
}

body{
    background-color: var(--dark);
    color: var(--light);
}
body.darkmode{
    background-color: var(--dark);
    color: var(--light);
}


.darkmode{
    --dark:#000;
    --light:#f6f6f6;
    --gray:#eee;
    --darklight:#1877F2;
    --darkgray:#eee;
    --danger:rgba(255, 0, 0, 0.932);
    --hover:#d4d4d4;
}

#sticky{
    width: 100%;
    position: fixed;
    position: sticky;
    top: 0 ;
    position: -webkit-sticky ;
}

.my-navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    
}

#theme-switch .fa{
    font-size: 25px;
}

#theme-switch .fa:last-child{
    display: none;
}
.darkmode #theme-switch .fa:first-child{
    display: none;
}
.darkmode #theme-switch .fa:last-child{
    display: block;
}


.image-rounded{
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.5);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    object-fit: cover;
}
.h1{
    text-align: center;
    padding: 30px 0px;
    font-weight: 900;
    font-size: 30px;
}
.py{
    padding: 20px 0px;
}
.para{
    letter-spacing: 0.1rem;
    font-size: 15px;
    line-height: 25px;
    font-weight: 400;
}
.bold{
    padding-top: 20px;
    font-size: 30px;
    font-weight: 900;
}
.my{
 margin-top: 20px;
 margin-bottom: 20px;
}
.shadow{
    box-shadow: 1px 2px 2px 1px rgba(0,0,0,0.5);
}

.img{
    width: 100%;
    height: auto;
}


.darkmode .all-navbar{
    background-color: var(--dark);
}
.darkmode .all-navbar a{
    color: var(--light);
}
.darkmode .bar1{
    background-color: var(--light);
}
.darkmode .bar2{
    background-color: var(--light);
}
.darkmode .bar3{
    background-color: var(--light);
}
.darkmode .my-nav-bar-content{
    background-color: var(--dark);
}
.darkmode .nav{
  background-color: var(--gray);
}
.darkmode .nav li a{
    color: var(--light);
}


.darkmode .footer{
    background-color: var(--dark);
    color: var(--light);
}

.all-navbar{
    position: relative;
    height: 100px;
    background-color: var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.1);
    z-index: 99;
}


.bar button{
    background-color: transparent;
    border: none;
    outline: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bar1,.bar2,.bar3{
 background-color: var(--dark);
 width: 37px;
 height: 5px;
 border-radius: 5px;
 cursor: pointer;
 transition: 0.5s;
}

/* .change .bar1{
    transform: translate(0, 10px) rotate(-45deg);
}

.change .bar2{
    opacity: 0;
}

.change .bar3{
    transform: translate(0, -10px) rotate(45deg);
} */

.logo a{
    text-decoration: none;
    font-size: 6vw;
    font-weight: 900;
    text-decoration: none !important;
}
.my-nav-bar-content{
    position: absolute;
    top: 100px;
    right: 0;
    width: 0%;
    height: 86vh;
    background-color: var(--light);
    overflow: hidden;
    transition: 0.5s;
    z-index: 99;
}
.darkmode .nav{
    background-color: var(--dark);
}

.nav{
    display: flex;
    flex-direction: column;
}
.show{
    width: 50%;;
    z-index: 99;
}
.nav li{
    list-style: none;
    display: block;
}
.nav li a{
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    padding: 5px 15px;
    margin-right: 5px;
    margin-top: 5px;
    transition: 0.5s;
    border-radius: 30px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
.nav li a:hover{
    background-color: var(--darklight);
    color: var(--light);
}
.login{
    display: block;
    padding-right: 25px !important;
    background-color: var(--darklight);
    border-radius: 30px;
    transition: all 0.5s;
}
.logout:hover,.login:hover{
    background-color: var(--dark) !important;
}
.logout{
    display: block;
    background-color: var(--danger);
    color: var(--light) !important;
    border-radius: 30px;
    transition: all 0.5s;
}

/* admin-sidebar=============== */
.darkmode .form{
    background-color: var(--dark);
}
.form{
    background-color: var(--light);
    padding: 20px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}
.darkmode .admin-sidebar{
     box-shadow: 1px 0px 0px rgba(93, 92, 92, 0.9);
}
.admin-close{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 25px;
}
.darkmode .admin-sidebar{
    background-color: var(--dark);
}
.admin-sidebar{
    position: fixed;
    height: 85vh;
    min-width: 250px;
    box-shadow: 1px 0px 0px rgba(0,0,0,0.1);
    background-color: var(--light);
    overflow-y: scroll;
    padding-top: 50px;
    padding-bottom: 100px;
    display: none;
    z-index: 1;
}
.admin-side-br-show{
   display: block;
}
.darkmode .admin-sidebar a{
    color: var(--light);
}
.darkmode .admin-sidebar a:hover{
    color: var(--dark);
}
.admin-sidebar a{
    display: block;
    text-decoration: none !important;
    padding: 12px 10px;
    color: var(--dark);
}
.admin-sidebar a:hover{
    background-color: var(--hover);
    color: var(--darklight);
}

/* table---------------- */
.table-responsive{
    height: 40vh;
}
.table{
    background-color: var(--light);


}
.darkmode .table{
    background-color: var(--dark);
    color: var(--light);
}



.all-about{
    display: flex;
    flex-direction: column;
    
}
.content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}
.image{
    display: flex;
    justify-content: center;
    padding: 10px 10px;
}



/* signup-container */
/* signup-container */
.singup-container{
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    overflow:hidden ;
    z-index: 1;
}

.fa-google{
 box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5);
 padding: 20px;
 color:#d62d20;
 font-size: 25px;
 border-radius: 5px;
 transition: 0.5s;
}
.fa-facebook{
 box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5);
 padding: 20px;
 color: #1877F2;
 font-size: 25px;
 border-radius: 5px;
 transition: 0.5s;
}
.fa-github{
 box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.5);
 padding: 20px;
 color: #6cc644;
 font-size: 25px;
 border-radius: 5px;
 transition: 0.5s;
}
.fa-google:hover,.fa-facebook:hover,.fa-github:hover{
  background-color: var(--hover);
}

.signup{
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--darkgray);
    gap: 20px;
    border-radius: 15px;
}
.signup-content{
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    overflow:hidden ;
}


.eye-box{
    position: relative;
    display: flex;
}
.fa-eye{
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}
.gap{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



/* footer=========== */

.footer-container{
    position: relative;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 99;
}
.setting-div{
    position: absolute;
    bottom: 60px;
    right: 0px;
    width: 100px;
    height: 0px;
    overflow: hidden;
    transition: 0.5s;
    z-index: 1;
}
.setting-show{
    height: 40px;
}

/* card-design----------- */
.card-link{
    text-decoration: none;
    color: var(--dark);
}
.darkmode .card-link{
    color: var(--light);
}
.codezara-card{
 position: relative;
 box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.1);
 border-radius: 5px;
 padding: 3px;
}
.darkmode .codezara-card-body{
    background-color: var(--dark);
    color: var(--light);
}
.codezara-card-body{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 20px;
    background-color: var(--light);
    opacity: 0;
    transition: 0.5s;
}
.codezara-card:hover .codezara-card-body:hover{
    cursor: pointer;
    opacity: 1;
}

#details-page{
    height:auto;

}

.cart-count{
    position: absolute;
    top: 5px;
    right: 10px;
    background-color: rgb(248, 211, 1);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
}