* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* navBar start*/
.menu {
    list-style: none;
    /* background-color: orangered; */
    height: 60px;
}

@font-face {
    font-family: Vazir;
    src: url("../Font/Vazir-Regular.eot");
    src: url("../Font/Vazir-Regular.eot?#iefix") format("embedded-opentype"), url("../Font/Vazir-Regular.woff2") format("woff2"), url("../Font/Vazir-Regular.woff") format("woff"), url("../Font/Vazir-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Vazir;
}

footer a {
    text-decoration: none;
}

    footer a:link {
        color: black;
        background-color: transparent;
        text-decoration: none;
    }

    footer a:visited {
        color: black;
        background-color: transparent;
        text-decoration: none;
    }

    footer a:hover {
        color: rgb(80, 80, 80);
        background-color: transparent;
        text-decoration: underline;
    }

    footer a:active {
        color: black;
        background-color: transparent;
        text-decoration: underline;
    }

a {
    text-decoration: none;
}

p {
    line-height: 1.8;
}

img {
    max-width: 100%;
}


.myAnchor {
    color: white !important;
}

.menu-item-3 {
    float: right;
    /* display: inline; */
    /* margin-left: 100px; */
    margin-top: 15px;
    margin-right: 90px;
}

.menu-item-2 {
    float: left;
    /* display: inline; */
    margin-left: 100px;
    margin-top: 15px;
}

.menu-item {
    float: right;
    /* display: inline; */
    margin-right: 20px;
    margin-top: 15px;
}

.menu-link {
    color: white;
    font-size: 18px;
}

    .menu-link:hover {
        color: peachpuff;
    }
/* navBar end*/

header {
    /* background-image: url(../img/back.jpg); */
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
    url(../img/writer2.jpeg);*/
    height: 100vh;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}

    header h1 {
        color: white;
        font-size: 50px;
        text-align: center;
        padding-top: 325px;
    }

.text-red {
    color: peachpuff;
}

#top-products h2,
#about h2 {
    text-align: center;
    margin: 40px;
}

#Producers h2,
.books-box h2,
#contact h2 {
    text-align: center;
    margin: 40px;
}

.services-box-2 {
    /* border: 1px solid black; */
    box-shadow: 1px 1px 20px #cecece;
    width: 95%;
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 10px;
}

.flex-2 {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.services-box {
    /* border: 1px solid black; */
    box-shadow: 1px 1px 20px #cecece;
    width: 20%;
    text-align: center;
    margin-bottom: 50px;
    padding: 20px 10px;
}



.register {
    position: absolute !important;
    top: 20%;
    left: 5%;
    list-style: none;
}


.flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.services-box h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

#consult {
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/library.jpeg);*/
    background-position: center center;
    background-size: cover;
    height: 400px;
    background-attachment: fixed;
    margin-top: 10px;
}

    #consult p {
        text-align: center;
        font-size: 60px;
        color: white;
    }

.consult-btn {
    text-align: center;
    padding-top: 70px;
}

    .consult-btn a {
        background-color: orangered;
        border-radius: 30px;
        color: white;
        padding: 15px 25px;
    }

.book-btn {
    text-align: center;
    padding-top: 30px;
    margin-bottom: 30px;
}

    .book-btn a {
        background-color: orangered;
        border-radius: 30px;
        color: white;
        padding: 15px 25px;
    }

.consult-text {
    display: block;
    text-align: center;
    padding-top: 150px;
}

.Producers-box,
.books-box-owl {
    /* border: 1px solid black; */
    /* width: 22%; */
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 10px;
    box-shadow: 1px 1px 20px #cecece;
}

.Producers-box,
.books-box {
    /* border: 1px solid black; */
    /*width: 22%;*/
    text-align: center;
    margin-bottom: 30px;
    padding: 15px 10px;
    box-shadow: 1px 1px 20px #cecece;
}

    .Producers-box h3,
    .books-box h3 {
        margin: 15px 0;
    }

    .Producers-box img {
        border-radius: 50%;
    }

    .books-box img {
        width: 200px;
        height: 300px;
    }

.contact-box {
    width: 70%;
    margin: 30px auto;
}

.form-control {
    width: 100%;
    border: 1px solid #cecece;
    text-align: right;
    padding-right: 20px;
}

.form-group {
    margin-bottom: 20px;
    direction: rtl;
}

form input,
form textarea {
    font-family: Vazir;
}

input {
    height: 35px;
}

.form-btn {
    background-color: forestgreen;
    border: 1px solid forestgreen;
    color: white;
    border-radius: 20px;
    padding: 5px 15px;
}

.footer-box {
    width: 30%;
    text-align: right;
    text-align: center;
}

    .footer-box img {
        width: 50px;
    }

.footer-backcolor {
    background-color: lightgrey;
    padding: 30px 10px;
}

@media screen and (max-width: 480px) {
    /*Mobile breackpoint*/
    .menu-link {
        font-size: 16px;
    }

    header h1 {
        font-size: 30px;
        padding-top: 60px;
    }

    .services-box {
        width: 95%;
    }

    #consult p {
        font-size: 30px;
        padding-top: 100px;
    }

    .Producers-box,
    .books-box {
        width: 95%;
    }

    .footer-box {
        width: 95%;
        padding-bottom: 20px;
    }

    .consult-text {
        padding-top: 0px;
    }

    #consult p {
        font-size: 23px;
    }

    .footer-about {
        display: none;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    nav a {
        font-size: 13px !important;
    }

    .register a{
        position:absolute;
        left:0%;
    }
}

@media screen and (min-width: 451px) and (max-width: 768px) {
    nav a {
        font-size: 12px !important;
    }

    .register a {
        position: absolute;
        left: 1%;
    }
}

@media screen and (min-width: 200px) and (max-width: 450px) {
    header h1 {
        font-size: 15px;
    }

    .register a {
        position: absolute;
        top: 5%;
        left: 15%;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    /*Tablet breackpoint*/
    .menu-link {
        font-size: 20px;
    }

    header h1 {
        font-size: 35px;
        padding-top: 80px;
    }

    .services-box {
        width: 45%;
    }

    .consult-text p {
        font-size: 35px;
        padding-top: 150px;
    }

    .Producers-box,
    .books-box {
        width: 45%;
    }

    .footer-box {
        width: 45%;
        padding-bottom: 20px;
    }

    .consult-text {
        padding-top: 0px;
    }

    #consult p {
        font-size: 23px;
    }

    .footer-about {
        display: none;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    /*Small screens, laptops*/
    .menu-link {
        font-size: 20px;
    }

    header h1 {
        font-size: 35px;
        padding-top: 80px;
    }

    .consult-text p {
        /* font-size: 15px; */
        padding-top: 150px;
    }

    .consult-text {
        padding-top: 0px;
    }

    #consult p {
        font-size: 45px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
    /*Desktops, large screens.*/
    .menu-link {
        font-size: 20px;
    }

    header h1 {
        font-size: 35px;
        padding-top: 80px;
    }
}

@media screen and (min-width: 1201px) {
    /*Extra large screens, TV.*/
    /* .menu-link{
        font-size: 20px;
    } */

    /* header h1{
        font-size: 35px;
        padding-top: 80px;
    } */
}
