:root{
  --base-color: rgb(170, 169, 169);
  --base-varient: white;
  --text-color: black;
  --secondary-text: gold;
  --primary-color:orange;
  --accent-color: white;
}
.darkmode{
  --base-color: black;
  --base-varient: black;
  --text-color: white;
  --secondary-text: orange;
  --primary-color: gold;
  --accent-color: black; 
} 

#theme-switch{
  height: 30px;
  width: 30px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--base-varient);
  display: flex;
  justify-content: center;
  align-items: center;
  position:fixed;
  top: 70%;
  left: 2%;
  z-index: 100;
}
#theme-switch img{
  width: 100%;
  fill: var(--primary-color);
}
#theme-switch img:last-child{
  display: none;
}
.darkmode #theme-switch img:first-child{
  display: none;
}
.darkmode #theme-switch img:last-child{
  display: block;
  width: 100%;
  border-radius: 100%;
  
}
body{
  background-color: var(--base-varient) !important;
  margin-top: 70px !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
header{
  position: fixed;
  width: 100%;
  z-index: 90;
  top: 0;
}
.header-icon{
  width: 100%;
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255,0.3);
  box-shadow: 0 4px 6px var(--base-color);
  margin-top: 5px;
}
.logo{
  width: 30%;
}
.logo img{
  width:65px;
  margin-left: 3px;
  padding: 10px;
}
.icon{
  text-align: end;
  width: 70%;
}
.icon img{
  padding: 5px;
  border-radius: 30%;
  margin-top: 15px;
  width: 40px;
  margin-left: 3px;
}
.menus{
  display: none;
}
.menu-list{
  top: 5px;
  height:fit-content;
  width: 70%;
  right: 0;
  position: fixed;
  z-index: 90;
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-left-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 10px;
  box-shadow: 0 4px 6px var(--base-color);
  visibility: hidden;
}
.open-menu{
  visibility: visible;
}
.menu-list ul{
  padding: 0;
  margin-top: 20px;
  list-style-type: none;
}
.menu-list a{
  color: var(--text-color);
}

.menu-list li{
  margin-top: 20px;
}
.menu-list img{
  width: 90%;
}
.menu-list button{
  width: 40px;
  margin-left: 6px;
}
.menu-list .btn1{
  width: fit-content;
  padding: 5px;
  position: fixed;
  right: 3%;
  background-color: white;
  color: black;
  border-radius: 30%; 
}
.menu-list .btn1 img{
  width: 20px;
  background-color: white;
  margin-right: 1px;
}
.menu-button2 button{
  width: 50px;
  position: fixed;
  z-index: 89;
  right:6%;
  top: 300px;
  height: 60px;
  vertical-align: middle;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255,0.3);
  box-shadow: 0 4px 6px var(--base-color);
  animation: button 2s ease-in-out;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
.menu-button2 .collapse{
  border: none;
}
.menu-button2 a{
  color: var(--text-color);
  font-weight: bold;
}
.menu-button2 img{
  width: 28px;
}
.sub-menu button:nth-child(1){
  top:210px;
  color: var(--text-color);
  font-weight: bold;
  height: 64px;
  width: 58px;
  animation: button 1s ease-in-out;
}

.sub-menu button:nth-child(2){
  top:390px;
  color: var(--text-color);
  font-size: small;
  font-weight: bold;
  width: fit-content;
  animation: button 1s ease-in-out;
  height: 64px;
}
@keyframes button {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}
footer{
  border-top: 1px solid var(--base-color);
  margin-top: 10px;
  background-color: var(--base-varient);
}
.foot p{
  color: var(--primary-color);
  margin-top: 10px;
 }
 .foot span{
   box-shadow: 0 0 3px var(--primary-color);
   color: var(--text-color);
  text-shadow: 0 0 1px var(--primary-color);
 }
 .foot img{
   width: 9%;
   margin-top: 15px;
   margin-left: 2%;
   background-color: var(--primary-color);
   border-radius: 100%;
   box-shadow: 0 0 2px white;
 }
 .foot2{
   margin-top: 25px;
 }
 .foot2 a{
   text-shadow: 0 0 2px var(--primary-color);
   margin-top: 10px;
  font-size: x-small;
  color: var(--text-color);
  font-weight: bold;
 }
 .foot2 img{
   width: 5%;
   background-color: var(--primary-color);
   border-radius: 100%;
   margin-right: 10px;
   margin-left: 10px;
 }
 
 .fa p{
   font-size: x-small;
   color: var(--text-color);
   font-weight: bold;
 }
 .fa{
   margin-top: 40px;
 }
 @media screen and (min-width: 768px){
  .menus{
    margin-right: 10px;
    padding: 5px;
    width: 100%;
    display: inline;
    margin-top: 20px;
  }
  .menus ul{
    display: inline;
  }
  .menus li{
    display: inline-block;
    margin-right: 10px;
    transition: 0.6s;
  }
  .menus li:hover{
    scale:0.8;
  }
  .menus a{
    color: var(--secondary-text);
    transition: 0.6s;
  }
  .menus a:hover{
    color: var(--primary-color);
    scale:0.9;
  }
    .icon{
      display: none;
    }

  .menu-button2{
    display: none;
  }

footer{
  border-top: 1px solid gold;
  margin-top: 10px;
  background-color: var(--base-varient);
}
.foot p{
  color: var(--text-color);
  margin-top: 10px;
 }
 .foot span{
   box-shadow: 0 0 3px var(--primary-color);
   color: var(--text-color);
  text-shadow: 0 0 1px var(--primary-color);
 }
 .foot img{
   width: 9%;
   margin-top: 15px;
   margin-left: 2%;
   background-color: var(--primary-color);
   border-radius: 100%;
   box-shadow: 0 0 2px white;
 }
 .foot2{
   margin-top: 25px;
 }
 .foot2 a{
   text-shadow: 0 0 2px var(--primary-color);
   margin-top: 10px;
  font-size: x-small;
  color: var(--text-color);
  font-weight: bold;
 }
 .foot2 img{
   width: 5%;
   background-color: var(--primary-color);
   border-radius: 100%;
   margin-right: 10px;
   margin-left: 10px;
 }
 
 .fa p{
   font-size: x-small;
   color: var(--text-color);
   font-weight: bold;
 }
 .fa{
   margin-top: 40px;
 }
}