*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
: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;
}

.codezara-logo img{
   width: auto;
   height: 60px;
   object-fit: cover;
   background-color: var(--light);
}

.fa-microphone, .fa-user{
    font-weight: 300px;
    padding: 0px 10px;
    color: var(--dark);
}
.my-search{
    position: relative;
    width: 100%;
    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;
}
#sticky{
    position: sticky;
    top: 0;
    position: -webkit-sticky;
}

.h1{
    text-align: center;
    padding: 30px 0px;
    font-weight: 900;
    font-size: 60px;
}
.py{
    padding: 20px 0px;
}

.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;
}
.para{
    letter-spacing: 0.1rem;
    font-size: 17px;
    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;
}


#theme-switch .fa-moon{
    font-size: 25px;
}
#theme-switch .fa-sun{
    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;
}


.darkmode .all-navbar{
    background-color: var(--dark);
}
.darkmode .all-navbar a{
    color: var(--light);
}

.darkmode .bar1{
    background-color: var(--dark);
}
.darkmode .bar2{
    background-color: var(--dark);
}
.darkmode .bar3{
    background-color: var(--dark);
}

.darkmode .footer{
    background-color: var(--dark);
    color: var(--light);
}
/* .color-change-body .nav{
  background-color: var(--gray);
} */


/* signup==========================btn start */
.darkmode .signup-btn{
    background-color: var(--darklight);
    color: var(--light) !important;
}

.darkmode .signup-btn:hover{
    background-color: var(--light);
    color: var(--light) !important;
}
.signup-btn{
 background-color: var(--darklight);
 color: var(--light);
}
.signup-btn:hover{
    background-color: var(--dark) !important;
    color: var(--light) !important;
}

/* signup==========================btn end */

/* logout===================btn start */
.darkmode .logout-btn{
    background-color: var(--danger);
    color: var(--light) !important;
}

.darkmode .logout-btn:hover{
    background-color: var(--light);
    color: var(--light) !important;
}
.logout-btn{
 background-color: var(--danger);
 color: var(--light);
}
.logout-btn:hover{
    background-color: var(--dark) !important;
    color: var(--light) !important;
}

/* logout===================btn end */


.all-navbar{
    position: relative;
    background-color: var(--light);
    height: 60px;
    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;
}


.logo a{
    text-decoration: none !important;
    font-size: 2vw;
    font-weight: 900;
}
.my-navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}

.bar{
    position: relative;
    display: none;

}

.nav li{
    list-style: none;
    display: inline-block;
}
.nav li a{
    position: relative;
    display: block;
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    padding: 5px 15px;
    margin-right: 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;

}
.darkmode .admin-sidebar{
     box-shadow: 1px 0px 0px rgba(93, 92, 92, 0.9);
}
.allmenu{
    display: none !important;
}
.darkmode .admin-sidebar{
    background-color: var(--dark);
}
.admin-sidebar{
    position: fixed;
    min-width: 20%;
    height: 90vh;
    box-shadow: 1px 0px 0px rgba(0,0,0,0.1);
    overflow-y: scroll;
    padding-top: 20px;
    padding-bottom: 100px;
    background-color: var(--light);
}
.admin-close{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 25px;
    display: none;
}
.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: 70vh;
}
.table{
    background-color: var(--light);


}
.darkmode .table{
    background-color: var(--dark);
    color: var(--light);
}


.all-about{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding:80px 20px;
}
.image{
    display: flex;
    justify-content: center;
    padding: 10px 10px;
}


/* signup-container */
/* signup-container */
.singup-container{
    position: relative;
    top: 60px;
    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);
}

.error-message{
    width: 800px;
    height: auto;
    background-color: var(--light);
}
.signup{
    position: relative;
    width: 70%;
    height: auto;
    margin-top: 20px;
    border: 1px solid var(--darkgray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    gap: 20px;
    border-radius: 15px;
}

.signup-content{
    position: relative;
    right: 0;
    left: 0;
    bottom: 0;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: 0.5s;
    overflow:hidden ;
    z-index: 1;
}



.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: 10px;
}


/* footer============== */

.footer-container{
    position: relative;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.5);
    padding: 10px 20px;
}
.setting-div{
    position: absolute;
    bottom: 60px;
    right: 0px;
    width: 100px;
    height: 0px;
    overflow: hidden;
    transition: 0.5s;
    z-index: 4;
}
.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:80vh;
    position:fixed;
    right:0;
    overflow:scroll;
}
.cart-count{
    position: absolute;
    top: -10px;
    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%;
}


