@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


:root {
    --main_color: #DE0713;
    --scandry-color: #333333;
    --text-color: #FFFFFF;
    --primary-fonts: Helvetica, sans-serif;
    --default-fonts: Montserrat, sans-serif;
}


a {
    text-decoration: none;
    color: inherit;
}


ul {
    list-style-type: none;
}

.player {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);

}



body {
    color: var(--text-color);
    font-family: var(--primary-fonts);
}



.dropdown-item,
.nav-link {
    color: var(--text-color);
    font-family: var(--primary-fonts);
    font-weight: 700;
    font-size: 16px;
    position: relative;

}

.dropdown-menu,
.dropdown-item {
    background-color: black;

}


body:has(#Home:target) .home-link,
body:has(#Books:target) .Books-link,
body:has(#Book-more:target) .Book-more-link,
body:has(#About:target) .About-link,
body:has(#Rev:target) .Rev-link ,
body:has(#contact:target) .contact-link {
    color: var(--main_color);
}

body:has(#Home:target) .home-link::after,
body:has(#Books:target) .Books-link::after,
body:has(#Book-more:target) .Book-more-link::after,
body:has(#About:target) .About-link::after,
body:has(#Rev:target) .Rev-link::after,
body:has(#contact:target) .contact-link::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: -3px;
    left: 0;
    background-color: var(--main_color); 
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
}

nav{
    direction: ltr;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--primary-fonts);
    font-weight: 700;
    font-size: 16px;
}

.bg-dark {
    --bs-bg-opacity: 0.2;

}




.nav-link:hover {
    color: var(--main_color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    transition: 0.5;
    -webkit-transition: 0.5;
    -moz-transition: 0.5;
    -ms-transition: 0.5;
    -o-transition: 0.5;
}


.navbar-brand:hover {
    -webkit-text-stroke: 2px var(--text-color);
    font-size: 1.8rem;
    color: transparent;
}





#Book-more {
    background-image: url(../imeges/Book-more.jpg);
    background-size: cover;
    background-position: center ;
}

.img-book {
    width: 40%;
}

.img-book img {
    width: 100%;
}

.about-book {
    width: 55%;
}

.about-book h2 {
    color: #FFD703;
    font-size: 3.75rem;
    font-weight: 700;
    padding: 30px;
}

.about-book h4 {

    font-size: 19px;
    font-weight: 700;
    line-height: 20.9px;
}

.about-book p:first-of-type {

    font-size: 19px;
    font-weight: 500;


}

.about-book p {

    font-size: 18px;
    font-weight: 500;


}
.about-book em{
    font-size: 20px;
    font-weight: 500;
}



/* Media screen for Books */

@media screen and (max-width:900px) {

    .contant-book {
        flex-direction: column-reverse;
        width: 100%;
    }

    .img-book {
        width: 90%;
        padding: 30px;
        margin: 30px;
    }

    .about-book {
        width: 100%;
        margin: 20px;
    }

    .about-book p:first-of-type {

        font-size: 18px;
        font-weight: 500;
        padding: 20px;

    }



}





/* footer */
footer {
    background-color: black;
    direction: ltr;
    padding-top: 30px;
}

.name-footer {
    color: var(--main_color);
    font-size: 35px;
    font-weight: 700;
    text-align: center;

}

.navbar-nav .nav-link.active {
    font-weight: 700;
    color: var(--text-color);
    padding: 20px;
    text-transform: uppercase;
    border-bottom: 3px solid var(--main_color);
}

.fainl {
    font-size: 12px;
    font-weight: 500;
    font-family: var(--default-fonts);
    position: relative;
}

.fainl strong {
    font-size: 18px;
    font-weight: 700;
    padding: 10px 0;
}

.fainl::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--text-color);

}

.copy {
    font-size: 12px;
    font-weight: 500;
    padding-top: 15px;
    padding-bottom: 40px;
}


.name-footer img {
    width: 80px;
    }
    
    @media screen and (max-width:900px) {
        .navbar-toggler {
            align-items: end;
        }
    }
    @media screen and (max-width:420px) {
        .name-footer  img {
            width: 60px;
        }
        .name-footer{
            font-size: 30px;
        }
    }