body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    width: auto ;
    height: auto;
    
    background-image: url('bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

header {
    background-color: rgb(51, 51, 51,0.7);
    color: #fff;
    text-align: center;
    padding: 10px;
    position: sticky;
    top:0%;
    z-index: 3;
}
nav{
    background-color:rgb(0, 0, 0);
    color: #fff;
    padding: 10px;  
    position: sticky;
   
}

.nav {
    background-color:black;
    color: #fff;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 0%;
    margin-top:0% ;
   position: relative;
    display: inline;
    align-content: flex-end;
    transition: 0.5s;
}
.nav:hover {
  background-color:rgba(143, 93, 93, 0.853);
  color: #fff;
  
}

.auth,.boge{
  display:inline;
}
#read{
    width:100% ;
    height:;
}
#side{
    position: static;
    left: 0%;
    width:15%;
    height: ;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
}

section {
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 800px;
    left: 15%;
    margin: 0;
    padding: 0;
    background-image: url('bg2.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    /*padding-left: 75px;
    padding-right: 75px;*/
    position:static ;
    bottom: 0%;
    width: 100%;
    display:block ;
}
.search-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    opacity:1 ;
            padding-top: 15px;
            padding-bottom: 15px;
            position: relative;
            width: 100%;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.search-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 40%;
    opacity: 0.4;
    top: 100px;
    margin-right: 10px;
    box-sizing: border-box;
}

#search-button {
    opacity: 1;
    padding: 10px;
    font-size: 16px;
    background-color:rgb(161, 115, 115);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/*.side-panel {
    background-color: #333;
    width: 80px;
    height: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}*/

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0%;
    top:800px;
}

.button {
    background-color: rgb(52, 152, 219,0.5) ;
    color: #fff;
    padding: 10px;
    margin-bottom: 25px;
    margin-top: 25px;
    border: none;
    text-align: center;
    text-decoration: none;
    display: block;
    width: max-content;
    border-radius: 10%;
    transition: 2s;
    cursor:pointer ;
}
.button:hover{
 transform: rotateY(360deg);
}
#g1{
    font-family:Luminari, fantasy ;
}
#g2{
    font-family:OCR A Std, monospace ;
}
#g3{
    font-family: ;
}
#g4{
    font-family:Trattatello, fantasy ;
}
#g5{
    font-family:Snell Roundhand, cursive ;
}#g6{
    font-family: ;
}
#g7{
    font-family: ;
}
h3{
    background-color:rgba(111, 111, 228, 0.91) ;
    color: aliceblue;
    text-align: center;
}
/*#auth:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 12px 16px;
    display: block;
    color: #fff;
    text-decoration: none;
}
#dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1;
}*/
.auth:hover .dropdown-content,.auth .dropdowncontent:hover {
    display: block;
    position: fixed;
    overflow: auto;
    background-color: #7d4444;
    z-index: 1;
  }
  

  .dropdown-content {
    display: none;
    width: 100%;
  }

.dropdown-content a {
    display: block;
    color: #ee9696;
    padding: 5px;
    text-decoration: none;
  }
  .dropdown-content a:hover {
    color: #FFFFFF;
    background-color: #00A4BD;
  }
#p {
    animation-duration: 3s;
    animation-name: slidein;
  }
  
  @keyframes slidein {
    from {
      margin-left: 100%;
      width: 300%;
    }
  
    to {
      margin-left: 0%;
      width: 100%;
    }
  }
  
  #p1 {
    animation-duration: 3s;
    animation-name: slidein;
  }
 
  
  @keyframes slidein {
    from {
      margin-left: 100%;
      width: 300%;
    }
  
    75% {
      font-size: 300%;
      margin-left: 25%;
      width: 150%;
    }
  
    to {
      margin-left: 0%;
      width: 100%;
    }
  }
  #side-container{
    position: static;
    display: flex;
    flex-direction: column;
    align-items: left;
    left: 0%;
    top:800px;
    padding: 20px;
    width: max-content;

   

  }
  .sidepane{
    position: static;
    display: flex;
    flex-direction: column;
    align-items: left;
    left: 40px;
    background-color: rgb(164, 143, 242, 0.1);
    color: bisque;
    top:800px;
    padding-top: 40px;
    padding-bottom: 50px;
    text-decoration: none;
  }
  .vertical {
    border-left: 2px solid rgb(68, 33, 33);
    height: 600px;
    position: absolute;
    left: 15%;
    top:1500px;
}
#books img{
    display:flex;
    position:absolute;
    right: 100px;
    top: 1720px;
    height:150px;
    border-radius: 15px;
    transition: 2s;
    cursor:pointer ;
}
#books img:hover{
  display:flex;
  position:absolute;
  right: 100px;
  top: 1720px;
  height:150px;
  border-radius: 15px;
  transform: rotateY(360deg);
}
#librarian{
  display:flex;
  position:absolute;
  right: 200px;
  top: 1370px;

  height:500px;
  border-radius: 15px;
  transition: 1s;
  cursor:pointer ;
}
#librarian:hover{
  display:flex;
  position:absolute;
  right: 170px;
  top: 1350px;

  height:600px;
  border-radius: 15px;
 
}
.backg{
    margin-right: 60px;

    padding: 0;
    background-image: url('sidebg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;  
    
}
#backgroundVideo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -3;
    object-fit: cover;
    height: 100vh;
    width: 100%; 
    /* overflow: hidden; */
}
.content {
    position: relative;
    z-index: 1;
    padding: 20px; 
    color: #fff;
}
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


h1 {
    color: #fff; 
}
#user{

    height: 15px;
    margin-right: 30px;
}
.boge:hover .dropdowncontent,.boge .dropdowncontent:hover {
    display: block;
    position: fixed;
    overflow: auto;
    background-color: #7d4444;
    z-index: 1;
    
  }
  
  .dropdowncontent {
    display: none;
    width: 100%;
  }

.dropdowncontent a {
    display: block;
    color: #ee9696;
    padding: 5px;
    text-decoration: none;
  }
  .dropdowncontent a:hover {
    color: #FFFFFF;
    background-color: #00A4BD;
  }
