@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;
}

body {
    color: var(--text-color);
    font-family: var(--primary-fonts);

}

.player {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);

}




.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;

}

.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;
}
nav img {
    width: 80px;
}


.navbar-brand:hover {
    -webkit-text-stroke: 2px var(--text-color);
    font-size: 1.8rem;
    color: transparent;
}

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(#forms:target) .forms-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-link::after,
body:has(#About:target) .About-link::after,
body:has(#Rev:target) .Rev-link::after,
body:has(#forms:target) .forms-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;
}



#Contact {
    background-image: url(../imeges/conact-page.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;

}

#Contact .container {
    width: 30%;
    padding: 200px 25px 100px;
    margin: auto;
}

#Contact h1 {

    padding: 15px;
    font-size: 3.75rem;
    font-weight: 700;
    position: relative;
}

#Contact h1::after {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--main_color);

}

#Contact h1::before {

    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: var(--main_color);

}



.btnn a {
    font-size: 18px;
    font-family: var(--default-fonts);
    font-weight: 700;
    padding: 10px;
}

.btnn i {
    color: var(--main_color);
}


/* 2 */


#forms {
    background-color: black;
    padding: 30px;
}

.contact-imgess {
    position: relative;
    width: 40%;
}



.img-contact {
    width: 60%;
    border: 13px solid black;
    margin: 20px;
    /*z-index: 2;
    */
    position: absolute;
    top: 6%;
    left: 45%;
    box-shadow: 0px 0px 15px 0px #333333;
}


.img-contact-back {
    width: 80%;
    height: 70%;
    margin: 30px 50px;
    box-shadow: 0px 0px 15px 0px #333333;
}

.img-contact-back img,
.img-contact img {
    width: 100%;
}

.form-contact {
    width: 50%;
    /* padding: 0px 0px 0px 30px */
}

.text-content {
    width: 100%;

    padding: 30px;
}

.text-content p {
    font-size: 18px;
    font-weight: 700;
    position: relative;

}

.text-content p:first-of-type:after {
    content: "";
    position: absolute;
    width: 57px;
    height: 2px;
    top: 15px;
    left: 107px;
    background-color: var(--main_color);
}

.text-content p:last-of-type:after {
    font-size: 18px;
    font-family: var(--default-fonts);
    font-weight: 500;
}

.text-content h3 {
    font-size: 35px;
    font-weight: 700;
    text-shadow: 0px 0px 10px var(--main_color);
    text-transform: uppercase;
}






.inputs {

    text-align: center;
}

.inputs input {
    margin: 10px 0;
    width: 100%;
    height: 40px;
}

textarea {
    width: 100%;
    height: 100px;
    margin: 10px 0;

}

.inputs button {
    color: var(--text-color);
    width: 90%;
    font-weight: 700;
    background-color: var(--main_color);
    text-transform: uppercase;
    margin: 10px;
    padding: 10px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}






@media screen and (max-width:991px) {

    #forms {
        flex-direction: column;
        /* justify-content: center; */
        align-items: center;
        width: 100%;
        padding: 8px;
    }

    .contact-imgess {
        position: static;
        width: 70%;
    }

    .img-contact-back {
        display: none;
    }

    .img-contact {
        position: static;
        width: 90%;
    }

    .form-contact {
        width: 100%;
    }

    #Contact .container {
        width: 60%;

    }


}


@media screen and (max-width:600px) {
    #Contact .container {
        width: 80%;

    }
}

@media screen and (max-width:400px) {
    nav img {
        width: 60px;
    }

    .navbar-brand {
        font-size: 23x;
    }
}




/* footer */
footer {
    background-color: black;

    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;
        }
    }
