/*Top Bar*/
.top_bar{
    position: fixed;
    z-index: 1;
    margin-left: 250px;
    background-color: black;
    border-left: solid rgb(212, 212, 212);
    width: auto;
    height: 64px;
    left: 0;
    right: 0;
    top: 0;
}
.title_box{
    position: fixed;
    z-index: 1;
    background-color: rgb(14, 14, 14);
    width: 1625.5px;
    height: 54px;
    margin-left: 250px;
    margin-top: 64px;
    border-left: solid rgb(212, 212, 212);
    border-top: solid rgb(212, 212, 212);
    left: 0;
    top: 0;
}
.title_box p{
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 30px;
    margin: 6px;
}
.search{
    width: 600px;
    height: 30px;
    float: left;
}
.searchbox{
    
}
.BtnCont{
    width: 600px;
    margin-left: 25%;
}
.searchbtn, .filter, .loginbtn, .signupbtn{
    position: absolute;
    float: left;
    margin-top: 20px;
}
.searchbtn{
    margin-left: 5px;
}
.filter{
    margin-left: 80px;
    margin-top: 10px;
    width: 51px;
    height: 41px;
}
.loginbtn{
    margin-left: 25%;
}
.signupbtn{
    margin-left: 20%;
}

/*Nav Bar*/
.nav_bar{
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow-x: hidden;
}
.logo_cont{
    background-color: black;
    width: 250px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: solid rgb(212, 212, 212);
}
.logo{
    display: block;
    width: 185px;
    height: 142px;
    margin-left: auto;
    margin-right: auto;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
li a{
    display: block;
    width: 250px;
    height: 53px;
}
.nav_li li:not(.gap){
    background-color: black;
    width: 250px;
    height: 33px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.nav_txt{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: white;
    text-decoration: none;
    padding-left: 40px;
    position: absolute;
}
.nav_li li:hover{
    background-color: white;
}
.nav_li li:hover a{
    color: black;
}
.nav_li li:hover a{
    padding-left: 85px;
    transition: 0.5s, color 0.1s;
}
.nav_icon:not(.disc_i, .like_i){
    margin-left: 15px;
    margin-top: -10px;
}
.nav_icon{
    transition: 1s;
    display: block;
}
.home_i, .book_i{
    width: 55px;
    height: 55px;
}
.post_i{
    width: 46px;
    height: 55px;
}
.disc_i{
    width: 55px;
    height: 40px;
    margin-left: 15px;
    margin-top: -4px;
}
.like_i{
    width: 50px;
    height: 48px;
    margin-left: 15px;
    margin-top: -6px;
}
.sett_i{
    width: 55px;
    height: 51px;
}
.gap{
    background-color: black;
    width: 250px;
    height: 100vh;
    pointer-events: none;
}

/*Content*/
.content{
    position: absolute;
    margin-left: 250px;
    margin-top: 64px;
}


/*Overlay*/
#overlay, #overlay2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
  }

  #loginPopup {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 4%;
    color: black;
    text-align: center;
  }

  #signupPopup {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 4%;
    color: black;
    text-align: center;
  }
  
  input[type="text"],
  input[type="password"] {
    margin: 10px 0;
    padding: 5px;
  }

  .closebuttonlogin{
    border: none;
    background: none;
    position:absolute;
    left: 88%;
    bottom: 91%;
    color: red;
    font-size: medium;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%); 
  }

  .closebuttonsignup{
    border: none;
    background: none;
    position:absolute;
    left: 88%;
    bottom: 93%;
    color: red;
    font-size: medium;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    }

  .buttonpopup{
    border: none;
    background-color: #A9C985;
    font-size: 110%;
  }

  .popupbar{
    margin: auto;
    background-color: black;
    padding: 10%;
    color: white;
    text-align: center;
  }

/*Responsiv*/
@media screen and (max-width: 1300px) {
    .search{width: 40%;}

}
@media screen and (max-width: 800px) {
    .search{width: 40%;}
}
