@import url('https://fonts.googleapis.com/css2?family=Your+Preferred+Font');

:root{


    --black3: #ffffff;
    --black2: #e6e6e6;
    --black1: #d8d8d8b1;
    --white1: black;
    --white2: #222222;
    --white3: #2c2c2c;


}
body{
    background-color: #202022;
      
    height: 100%;
    color: #333;
    font-family: 'Your Preferred Font', sans-serif;
    text-transform: capitalize;
}


.sec3{
    background-color: #fff;
    border-radius: 20px;

    padding: 20px;
    width: calc(100vw - 60px) !important;
height: calc(100vh - 60px);
    text-align: center;

    overflow-x: scroll;
    overflow-y: scroll;


    
}
h1{
    text-align: center;
   
}


.menubar{
    display: flex;
    background-color: var(--black3);
    justify-content: space-between;
    padding: 5px 15px;
    border-radius: 10px ;
    align-items: center;
}
.logo{
    font-family: 'Pacifico', cursive;
    font-size: 30px;
}
.menucon{
    display: flex;
    
}
.menui{
cursor: pointer;
padding: 10px 15px;
border-radius: 50px;
text-transform: capitalize;
}
.menui.active{
    background-color: var(--black3);
    box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.2), -5px -5px 10px rgba(255, 255, 255, 0.8);
}
.user{
    position: fixed;
    top: 10px;
    left: 50px;
    display: flex;
    cursor: pointer;

    padding: 15px 20px;
    border-radius: 50px;
 
    color: var(--white1);
    border: none;
    font-size: 18px;
    background-color: rgb(245, 245, 245)
    ;
    min-width:  100px;
    text-align: center;
    justify-content: center;
}
.menu0{
    position: absolute;
    top: 10px;
    right: 50px;
    display: flex;
}
.menu{
margin-left: 5px;
 

    background-color: rgb(245, 245, 245)
    ;
    padding: 15px 5px;
    border-radius: 50px;
}
a{
    text-decoration: none;
    color: var(--white1);
}
.menuop{
    cursor: pointer;

    padding: 15px 20px;
    border-radius: 50px;
 
    color: var(--white1);
    border: none;
    font-size: 18px;
    background-color: rgb(245, 245, 245)
    ;
}
.active{

    background-color: var(--black3);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}





#emailForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    
}

 input[type="number"], input[type="text"],  input[type="email"]{
    font-size: 18px;
    background-color: var(--black3);
    border: none;
    border-radius: 50px;
   margin-bottom:10px;
   width: 100%;
   padding: 10px 20px;
   color: var(--white1);
   width: 94%;
}
input[type="submit"] {
    font-size: 18px;
    background-color: var(--black3);
    border: none;
    border-radius: 50px;
   margin-bottom: 5px;
   width: 100%;
   padding: 10px 20px;
   color: var(--white1);
   cursor: pointer;
   margin-bottom: 20px;
   margin-top: 20px;

}


#loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    stockition: absolute;
    z-index: 9999999;
 
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  label {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--white1);
  }

  select {
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    border-radius: 55px;
    background-color: var(--black3);
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
    color: var(--white1);
  }

  select:hover,
  select:focus {
    border-color: #66afe9;
  }


 #search{
    width: 300px;
    color: rgb(0, 0, 0);
 }

#price, #barcode, #uses, #phone, #site, #stone, #cname{
    color: var(--white1);
    background-color: var(--black3);

 }
 #addlinkcontent{
    width: 94%;
    background-color: var(--black3);
 }


 /* upload form */
.uploadsec1,.addparagraph, .addlink{
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: #000000d5;
    z-index: 10;
    top: 0;
    left: 0;
}
.uploadsec3, .uploadsec4, .uploadsec5{
    background-color: var(--black2);
    padding: 20px;
    display: flex;
    flex-direction: column;

    align-items: center;
    border-radius: 10px;
    height: calc(100vh - 100px);
    overflow-y: scroll;

}
.hidden{
    display: none;

}
.af-close{
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

.addqbtn{
    cursor: pointer;
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 50px;
    background-color: var(--black3);
    color: var(--white1);
    border: none;
    font-size: 18px;
}
.deletebtn{
    cursor: pointer;
    margin-top: 30px;
    padding: 15px 20px;
    border-radius: 50px;
    background-color: red;
    color: var(--white1);
    border: none;
    font-size: 18px;
}



/* table */

table {
    border-collapse: collapse;
 width: 100%;
    margin: 20px 0;

}

th, td {

    padding: 8px;
    text-align: left;
min-width: 100px;

    cursor: pointer;

}

th {
    background-color:var(--black3);
    color: var(--white1);
 

}
.pricecol{
    text-align: right;
}

tr:hover {
    background-color: #c42c2c;
}


        
/* Define the styles for the scrollbar track */
::-webkit-scrollbar {
    width: 10px;
}

/* Define the styles for the scrollbar handle */
::-webkit-scrollbar-thumb {
    background-color: var(--white2);
    /* Change the color to your preference */
    border-radius: 6px;
    opacity: 0;
}

/* Define the styles for the scrollbar track on hover */
::-webkit-scrollbar-track:hover {
    background-color: #f1f1f1;
    /* Change the color to your preference */
}
::-webkit-scrollbar-thumb {
    background-color: #00000000;
    /* Change the color to your preference */
}
/* Define the styles for the scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #000000;
    /* Change the color to your preference */
}

/* Define the styles for the scrollbar corner */
::-webkit-scrollbar-corner {
    background-color: transparent;
}
        