@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@200;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Roboto+Slab:wght@200;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap');
*{
    margin: 0;
    padding: 0;
}



.about-text{
    display: flex;
    position:absolute;
    top: 13vh;
    font-size: 150%;
    margin: 16px;
    font-family: 'Roboto Slab', serif;
    color: rgba(236, 67, 15, 0.014);
}

.about-text ul{
    /* display: flex;
    position:absolute; */
    top: 13vh;
    font-size: 100%;
    margin: 16px;
    font-family: 'Libre Baskerville', serif;
    color: rgb(119, 6, 95);
    
}


header{
    height: 8.2vh;
    width: 100vw;
    color: white;
    background-color:rgb(191, 51, 226);
    font-family: 'Roboto Slab', serif;
    }

    .tit{
        
        display: flex;
        font-size: 27px;
        font-weight: 700;
        margin-top: 2vh;
        
        
    }

    .search{
        display: flex;
        margin: 1.5vh;
        height: 5vh;
    }

    .search input{
        width: 25vw;
        border-radius: 5px;
    }

    .searchbutton{
        display: flex;
        margin: 0 0 0 0;
        padding: 0 0 2px 0;
        width:8vw;
        font-size: 2vw;
        background-color: rgb(187, 183, 183);
        color: rgb(191, 51, 226);
        border-radius: 5px;
    }

    .searchbutton:hover{
        font-weight: 700;
        height: 6vh;
    }

    .login{
        display: flex;
        justify-content: center;
        margin: 0 0 0 45vh;
    }

    .register{
        display: flex;
        justify-content: center;
        margin: 0 0 0 0;
    }

.logo{
    width: 6vw;
    height: 10vh;
    margin: 1.5vh 0 0 2vw;
}

nav{
    display: flex;
    height: 8.2vh;
    /* width: 100vw; */

}

nav ul{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

nav ul li{
    list-style: none;
    margin: 2vh 2vw;
}

nav ul li a:hover{
    color: white;
    text-decoration: none;
    font-weight: bolder;
}

nav ul li a{
    color: white;
    text-decoration: none;
}

.main_box{
    display: flex;
    min-height: 85vh;
    background-color: rgb(208, 218, 238);
    max-width: 100vw;
}

.main_box img{
    display: flex;
    height: 85vh;
    width: 100vw;
    opacity: 0.3;
}
.thought{
    display: flex;
    margin: 12vh 0 0 12vw;
    height: calc(100vh - 15vh - 11vh);
    width: 45vw;
    /* font-family: 'Lobster', cursive; */
    font-family: 'Roboto Slab', serif;
    color: rgb(119, 5, 62);
    font-size: 4vw;
    font-weight: 900;
    position: absolute;
    top: 140px;
}

footer{
    height: 15vh;
    width: 100vw;
    background-color: rgb(191, 51, 226);
    color: white;
}

.midcenter{
    height: 9vh;
    padding: 6vh 0 0 0;
    font-family: 'Roboto Slab', serif;
    display: flex;
    justify-content: center;
    text-align: center;
}

.box img{
    display: none
}

.borrower ul{
    display: flex;
    position:absolute;
    top: 45vh;
    left: 51vw;
}

.borrower ul li{
    display: flex;
    margin: 0 30px;    
}

.borrower ul li img{
    border-radius: 8px;
}

.borrower ul li img:hover{
    height: 110%;
    width: 108%;
}

.borrower-search{
    display: flex;
    position:absolute;
    top: 13vh;
    left: 40vw;
    width: 28vw;
    height: 6vh;
}

.borrower-search input{
    width: 28vw;
    border-radius: 10px;
}

.about-text{
    display: flex;
    position:absolute;
    top: 13vh;
}

@media only screen and (max-width: 768px) {
    nav ul li{
        display: none;
    }

    .search{
        display: none;
    }
    .searchbutton{
        display: none;
    }

    .box img{
        display: flex;
        position:absolute;
        right: 5px;
        height: 7vh;
        width: 30px;
        margin-top: 1vh;
        margin-right: 2vw;
    }

    .box img:hover{
        height: 7.25vh;
        width: 32px;
    }

    .thought{
        display: flex;
        justify-content: center;
        /* height: calc(100vh - 15vh - 10.2vh); */
        height: auto;
        width: 60vw;
        margin: 0 20vw;
        font-family: 'Roboto Slab', serif;
        color: rgb(119, 5, 62);
        font-size: 25px;
        font-weight: 900;
    }

    .borrower ul{
        display: flex;
        position:absolute;
        top: 50vh;
        margin: 0 -29vw;
        
        
    }
    
    .borrower ul li{
        display: flex;
        margin: 0 3vw;    
    }
    
    .borrower ul li img{
        border-radius: 8px;
    }
    
    .borrower ul li img:hover{
        height: 110%;
        width: 105%;
    }
  }


  /* Borrower Page  */

  .my_book{
      margin: auto;
  }

  
.form-box {
    max-width: 500px;
    margin: auto;
    padding: 50px;
    background: #ffffff;
    border: 10px solid #f2f2f2;
  }
  
  
  input, textarea {
    width: 100%;
  }

.login_fullscreen{
    height: 58.5vh;
}
.center_x{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    
}
