body {
    overflow-x: hidden;
    margin-right: 0;
}


/* navigation */
.hamburger-menu {
    width: 65px;
    height: 65px;
    background: #7f7b82;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 200;
    border-radius: 50%;
    outline: none!important;
    transition: all .5s;
}

.line1, 
.line2,
.line3 {
    width: 30px;
    height: 2px;
    background: #eee;
    margin: 5px;
    transition: all .5s;
}

.bg-cover {
    background: rgba(35, 37, 40, .98);
    width: 55px;
    height: 55px;
    position: fixed;
    top: 35px;
    right: 35px;
    z-index: 100;
    border-radius: 50%;
    transition: all .5s;
}

.change .line1 {
    transform: rotate(-405deg) translate(-5px, 5px);
    background: #777;
}

.change .line2 {
    opacity: 0;
}

.change .line3 {
    transform: rotate(405deg) translate(-5px, -5px);
    background: #777;
}

.change .hamburger-menu {
    background: #eef0eb;
}

.change .bg-cover {
    transform: scale(150);
}

.nav-content {
    position: fixed;
    z-index: 150;
    width: 100%;
}

.link-item {
    font-size: 20px;
    color: #eee;
    border-bottom: 1px solid #eee;
}

.link-item:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
    border-radius: 50% 50% 0 0;
    background: rgba(0, 0, 0, .3);
}

/* end of navigation */

/* top-bar */

.top-bar{
    transition:all 0.8s;
    top: 0;
    width: 100%;
    position: relative;
    background-color: #777;
}
.top-bar ul,ol {
    margin-bottom: 0px;
    padding: 0px;
}
.top-bar a {
    color: #000;
}
.top-bar .contact-details li:first-child {
    margin-left: 0px;
}
.top-bar .contact-details i {
    margin-right: 8px;
}
.top-bar .contact-details li {
    font-size: 13px;
    display: inline-block;
    line-height: 42px;
    font-weight: 600;
    color:#000;
    padding: 0px 20px;
}
/* top-bar Social icons */
ul.social-list {
    list-style-type: none;
}
ul.social-list li a {
    display: inline-block;
    transition: all 0.2s ease-in-out;
}
ul.social-list li a:hover {
    transform: scale(1.2);
}
ul.social-list li a i {
    display: block;
    width: 34px;
    transition: all 0.2s ease-in-out;
    line-height: 42px;
    text-align: center;
    font-size: 18px;
}
ul.social-list li.list-inline-item:not(:last-child){
   margin:0px;
}


/* header */
header {
    height: 90vh;
   
    background-image: url(/img/header/header_new.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.logo-new {
    font-family: 'Great Vibes', cursive;
    font-size: 10rem;
    margin-right: 20px;
}

.logo-new {
    animation: beating 2s infinite;
}




@keyframes beating {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.1);
    }
    60% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* end of header */

/* common-title */
.common-title {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 2px 2px 5px #aaa;
    transition: all .5s;
}

.common-title:first-letter {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    margin-right: 10px;
    font-style: normal;
}

.common-title:hover {
    transform: translate(-5px, -3px);
    text-shadow: 2px 5px 20px #aaa;
}
/* end of common-title */

/* gallery */
.gallery-img {
    backface-visibility: hidden;
    transition: all .5s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.first-row {
    transform: translateX(-300px);
    opacity: 0;
    transition: all 2.5s;
}

.second-row {
    
    transform: translateX(0);
    opacity: 0;
    transition: all 2.5s;
    backface-visibility: hidden;
}

.change .first-row, .change .second-row {
    transform: translateX(0);
    opacity: 1;
}
/* end of gallery */

/* famous writers */
.famous-writers {
    background: linear-gradient(rgba(250, 250, 250, .8), rgba(250, 250, 250, .9)), url(/img/writers-bg.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/* end of famous writers */

.suggested-books {
    height: 100vh;
    background-image: url(/img/wood-bg.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
}

.books {
    position: relative;
    height: 50vh;
    
   

}

.book {
    width: 35%;
    position: absolute;
    box-shadow: 5px 5px 15px #444;
    border-right: 5px solid #777;
    border-bottom: 10px solid #444;
    transition: all .7s;
    
}
.book-1 {
    top: 5%;
    left: 20%;
    transform: rotate(-45deg);
}

.book-2 {
    top: 20%;
    left: 50%;
    transform: rotate(40deg);
}

.book-3 {
    top: 40%;
    left: 40%;
    transform: rotate(55deg);
}

.book-4 {
    top: 35%;
    left: 10%;
    transform: rotate(-35deg);
}


.book:hover {
    
    transform: scale(1.3) rotateX(20deg);
    z-index: 50;
    box-shadow: 5px 5px 25px #444;
    border-right: 10px solid #ddd;
    border-bottom: 20px solid #bbb; 
}

.menu {
    position: relative;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0.4;
}

.bg-video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.book-card {
    position: relative;
    box-shadow: 5px 15px 50px #aaa;
    max-width: 420px;
    overflow: hidden;
    transition: all 0.8s;
}


.rotate {
    perspective: 110rem;

}

.back  {
    position: absolute;
    top: -100%;
    background: #fefefe;
    height: 100%;
    width: 100%;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    transform: rotateY(180deg);
    transition: top 0.8s, opacity 0.4s;

}

.back-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rotate:hover .book-card {
    transform: rotateY(180deg);
}

.rotate:hover .back {
    top: 0;
    user-select: auto;
    pointer-events: auto;
    opacity: 1;

}

.contact    {
    background-image: linear-gradient(rgba(0,0,0, 0.8), rgba(0,0,0, 0.9)), url(/img/header-bg.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  
}
.items-wrapper {
    background-image: linear-gradient(rgba(0,0,0, 0.4), rgba(0,0,0, 0.6)), url(/img/items-wrapper-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
}

.floating-item {
    background: rgba(0,0,0, .85);
    border-radius: 5px;
}

.first-item {
    animation: float 15s infinite ;
} 

.second-item {
    animation: float 20s ease-in infinite ;
} 

.third-item {
    animation: float 40s linear infinite ;
} 


.fourth-item {
    animation: float 30s infinite ;
} 

.fifth-item {
    animation: float 30s ease-in-out infinite ;
} 

@keyframes float {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-60px);
    }
    100% {
        transform: translateX(0);
    }
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: transparent;
    font-size: 18px;
    color: #333;
    border-radius: 5px;
    box-shadow: none;
}


.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(250, 250, 250, .8);
    box-shadow: none;
}


















