:root{
    --primary-color-hue: 252;  
    --color-dark-light-theme: 15%;
    --color-light-light-theme: 92%;
    --color-white-light-theme: 100%;

    --color-white: hsl(0, 0%, var(--color-white-light-theme));
    --color-light: hsl(252, 30%, var(--color-light-light-theme));
    --color-gray: hsl(252, 15%, 60%);
    --color-primary: hsl(var(--primary-color-hue), 75%, 60%);
    --color-secondary: hsl(252, 100%, 90%);
    --color-success: hsl(120, 95%, 60%);
    --color-danger: hsl(0, 95%, 60%);
    --color-dark: hsl(252, 30%, var(--color-dark-light-theme));
    --color-black: hsl(252, 30%, 8%);


    --border-radius: 2rem;
    --card-border-radius: 1rem;

    --btn-padding: .6rem 2rem;

    --search-padding: .6rem 1rem;
    --card-padding: 1rem;
}



/*Loding close*/
    

.loading{
  position: sticky;
  margin-left: auto;
  margin-right: auto;
  transform: translate(-50%,-50%);
  height: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.obj{
  width: 6px;
  height: 40px;
  background: red;
  margin: 0 3px;
  border-radius: 10px;
  animation: loading 0.8s infinite;
}
.obj:nth-child(2){
  animation-delay: 0.1s;
}
.obj:nth-child(3){
  animation-delay: 0.2s;
}
.obj:nth-child(4){
  animation-delay: 0.3s;
}
.obj:nth-child(5){
  animation-delay: 0.4s;
}
.obj:nth-child(6){
  animation-delay: 0.5s;
}
.obj:nth-child(7){
  animation-delay: 0.6s;
}
.obj:nth-child(8){
  animation-delay: 0.7s;
}


@keyframes loading {
  0%{
    height: 0;
  }
  50%{
    height: 40px;
  }
  100%{
    height: 0;
  }
}

    
    
/*Loding close*/









.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0);
    background-color:rgb(252 245 245 / 100%);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 15%;
    width: 100%;
    /*text-align: center;
    margin-top: 30px;*/
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  
.opendiv{
  cursor: pointer;
  padding: 5px;
}
.opendiv:hover{
  background-color: #000000;
  animation: fadeIn 10s; 
  border-radius: 5px;
  color: #f0f0f0;
  max-width: 180px;
  text-align: center;
}
/* .................Start NavBar.................. */
#nav_overlay{
  width: 0%;
  position: fixed;
  top: 0;
  z-index: 10;
  padding: .7rem 0;
  background: var(--color-gray);
}
.nav_overlay_container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/*
nav .serch-bar{
  padding: var(--search-padding);
  background: var(--color-light);
  border-radius: var(--border-radius);
}
nav .serch-bar input[type="search"]{
  background: transparent;
  width: 30vw;
  margin-left: 1rem;
  font-size: .9rem;
  color: var(--color-dark);
}
nav .serch-bar input[type="search"]::placeholder{
  color: var(--color-gray);
}*/








  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    /*font-size: 40px;*/
    top: 15px;
    right: 35px;
    }
  }