@font-face {
    font-family: Yekan;
    src: url("../fonts/yb/Yekan\ Bakh\ EN\ 05\ Medium.ttf");
    font-weight: normal;
}

@font-face {
    font-family: VazirCodeX;
    src: url("../fonts/yb/Yekan\ Bakh\ EN\ 05\ Medium.ttf");
    font-weight: normal;
}

@font-face {
    font-family: Yekan-light;
    src: url("../fonts/yb/Yekan\ Bakh\ EN\ 05\ Medium.ttf");
    font-weight: normal;
}

@font-face {
    font-family: Yekan1;
    src: url("../fonts/yb/Yekan\ Bakh\ EN\ 07\ Heavy.ttf");
    font-weight: normal;
}

@font-face {
    font-family: Yekan-bold;
    src: url("../fonts/yb/Yekan\ Bakh\ EN\ 06\ Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    src: url("../fonts/Vazir-Light.eot");
    src: url("../fonts/Vazir-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir-Light.woff2") format("woff2"), url("../fonts/Vazir-Light.woff") format("woff"), url("../fonts/Vazir-Light.ttf") format("truetype");
    font-weight: 300;
}

body {
    font-family: "Yekan", sans-serif !important;
    background: #f6fafd;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Yekan", sans-serif !important;
}


/*nav*/

@media (min-width: 991px) {
    /* .festival-margin {
        top: 90px;
    } */
    nav {
        width: 100%!important;
        /* position: fixed !important; */
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0;
        margin: auto;
        top: 0px;
        background-color: white;
        z-index: 1000;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px;
        position: relative;
    }
    nav .nav-logo {
        direction: rtl!important;
    }
    nav .nav-logo img {
        width: 100px;
    }
    nav .nav-title {
        display: flex;
        margin-right: 30px;
    }
    nav .nav-title a {
        text-decoration: none;
        color: #000662;
        margin: 0 15px;
        font-family: vazir;
        font-weight: 900;
    }
    nav .dropdown {
        position: relative;
        display: inline-block;
    }
    nav .dropdown button {
        text-decoration: none;
        color: #000662;
        margin: 0 15px;
        font-family: vazir;
        font-weight: 900;
        background-color: transparent;
        border: none;
    }
    nav .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fff;
        min-width: 160px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        padding: 12px 16px;
        z-index: 10000;
        border-radius: 8px;
    }
    nav .dropdown:hover .dropdown-content {
        display: block;
    }
    nav .search {
        border: 2px solid #f3f4f6;
        height: 45px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        width: 300px;
    }
    nav .search input {
        background-color: white;
        border: none;
        width: calc(100% - 45px);
        height: 100%;
        border-radius: 10px;
        padding-right: 20px;
    }
    nav .search button {
        background-color: #f3f4f6;
        border: none;
        width: 45px;
        height: 45px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        font-size: 20px;
        padding-top: 2px;
    }
    nav .search button img {
        width: 22px;
    }
    nav .nav-login {
        display: flex;
        margin-right: 20px;
    }
    nav .nav-login a {
        text-decoration: none;
        color: #000662;
    }
    nav .nav-login img {
        width: 30px;
        height: 30px;
        margin: 0 5px;
        cursor: pointer;
    }
}

@media (max-width: 991px) {
    /* .festival-margin {
        top: 0px;
    } */
    nav {
        width: 100%!important;
        /* position: fixed !important; */
        padding: 10px 0;
        /* top: 200px; */
        background-color: rgb(255, 255, 255);
        z-index: 1000;
        height: 120px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px;
        position: relative;
    }
    nav .nav-logo {
        text-align: center;
    }
    nav .nav-logo img {
        width: 100px;
    }
    nav .nav-title {
        display: none;
    }
    nav .nav-title a {
        text-decoration: none;
        color: #000662;
        margin: 0 15px;
        font-family: vazir;
        font-weight: 900;
    }
    nav .search {
        border: 2px solid #f3f4f6;
        height: 40px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        width: 95%;
        position: absolute;
        bottom: 10px;
        right: 2.5%;
    }
    nav .search input {
        background-color: white;
        border: none;
        width: calc(100% - 40px);
        height: 100%;
        border-radius: 10px;
        padding-right: 20px;
    }
    nav .search button {
        background-color: #f3f4f6;
        border: none;
        width: 40px;
        height: 40px;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        font-size: 20px;
        padding-top: 2px;
    }
    nav .search button img {
        width: 22px;
    }
    nav .nav-login {
        display: flex;
    }
    nav .nav-login a {
        color: #000662;
        text-decoration: none;
        font-size: 14px;
    }
    nav .nav-login img {
        width: 25px;
        height: 25px;
        margin: 0 5px;
        cursor: pointer;
    }
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000000000;
    top: 0;
    right: 0;
    background: #002570;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 5px;
}

.sidenav .link-a {
    padding: 8px 25px 8px 8px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidenav .link-a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    /* position: absolute;
    top: 0;
    right: 25px; */
    font-size: 36px;
    /* margin-left: 50px; */
    color: white;
    cursor: pointer;
}

.sidenav img {
    width: 70px;
}

#main {
    display: none;
}

.btn-side-login {
    width: 100%;
    background: linear-gradient(45deg, #8aa4fc, #43a3df);
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    border-radius: 35px;
    font-size: 16px;
    margin-top: 30px;
}

.btn-side-reg {
    width: 100%;
    /* background: linear-gradient(45deg, #8aa4fc, #43a3df); */
    border: 2px solid #8aa4fc;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8aa4fc;
    border-radius: 35px;
    font-size: 16px;
    margin-top: 15px;
}


/* footer */

@media (min-width: 991px) {
    /* first-section */
    footer {
        margin-top: 150px;
    }
    footer .first-section {
        width: 100%;
        background-color: #43a3df;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    footer .first-section .logo img {
        width: 75%;
    }
    footer .first-section a {
        width: 50px;
        height: 50px;
        border: 1px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 30px;
    }
    footer .first-section p {
        color: white;
        line-height: 35px;
        margin-top: 20px;
    }
    /* second-section */
    footer .second-section {
        width: 100%;
        background-color: #002570;
        padding-top: 70px;
        padding-bottom: 50px
    }
    footer .second-section h3 {
        font-size: 22px;
        color: #fff;
        font-family: "Yekan-bold" !important;
        position: relative;
        padding-right: 30px;
    }
    footer .second-section h3::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 30px;
        background-color: #ff862d;
        right: 0px;
    }
    footer .second-section .link {
        display: block;
        color: white;
        text-decoration: none;
        margin-top: 20px;
        font-size: 17px;
    }
    footer .second-section .newsletter-div {
        width: 100%;
        display: flex;
        justify-content: center;
        position: absolute;
        top: -110px;
    }
    footer .second-section .newsletter-div .inner {
        width: 300px;
        height: 350px;
        /* background: -webkit-linear-gradient(180deg, #62885a 30%, #248160 100%); */
        background: -webkit-linear-gradient(-90deg, #f59a59 0%, #bb4e00 100%);
        border-radius: 15px;
        padding: 20px;
        padding-top: 30px;
    }
    footer .second-section .newsletter-div .inner .title {
        text-align: center;
    }
    footer .second-section .newsletter-div .inner .title h5 {
        font-size: 25px;
        color: #fff;
        font-weight: 900;
        font-family: "Yekan-bold" !important;
    }
    footer .second-section .newsletter-div .inner .title h6 {
        font-size: 16px;
        color: #fff;
        line-height: 30px;
        margin-top: 20px;
    }
    footer .second-section .newsletter-div .inner form {
        width: 100%;
        position: relative;
        margin-top: 30px;
    }
    footer .second-section .newsletter-div .inner form input {
        width: 100%;
        background-color: white;
        height: 40px;
        border-radius: 35px;
        border: none;
        padding-right: 20px;
    }
    footer .second-section .newsletter-div .inner form input::placeholder {
        font-size: 14px;
    }
    footer .second-section .newsletter-div .inner form button {
        position: absolute;
        height: 30px;
        top: 5px;
        left: 5px;
        background-color: #ff862d;
        color: white;
        width: 80px;
        border-radius: 35px;
        border: none;
        font-size: 12px;
    }
    footer .second-section .newsletter-div .social {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 80px;
        margin-top: 30px;
    }
    footer .second-section .newsletter-div .social img {
        width: 50px;
    }
}

@media (max-width: 991px) {
    /* first-section */
    footer {
        margin-top: 150px;
    }
    footer .first-section {
        width: 100%;
        background-color: #43a3df;
        padding-top: 10px;
        padding-bottom: 50px;
    }
    footer .first-section .logo {
        display: flex;
        justify-content: center;
    }
    footer .first-section .logo img {
        width: 100px;
    }
    footer .first-section a {
        width: 50px;
        height: 50px;
        border: 1px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 30px;
    }
    footer .first-section p {
        color: white;
        line-height: 35px;
        margin-top: 20px;
    }
    /* second-section */
    footer .second-section {
        width: 100%;
        background-color: #002570;
        padding-top: 70px;
        padding-bottom: 50px
    }
    footer .second-section h3 {
        font-size: 22px;
        color: #fff;
        font-family: "Yekan-bold" !important;
        position: relative;
        padding-right: 30px;
    }
    footer .second-section .col-6 {
        margin-top: 300px;
    }
    footer .second-section h3::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 30px;
        background-color: #ff862d;
        right: 0px;
    }
    footer .second-section .link {
        display: block;
        color: white;
        text-decoration: none;
        margin-top: 20px;
        font-size: 17px;
    }
    footer .second-section .newsletter-div {
        width: 100%;
        display: flex;
        justify-content: center;
        position: absolute;
        top: -120px;
    }
    footer .second-section .newsletter-div .inner {
        width: 300px;
        height: 350px;
        /* background: -webkit-linear-gradient(180deg, #62885a 30%, #248160 100%); */
        background: -webkit-linear-gradient(-90deg, #f59a59 0%, #bb4e00 100%);
        border-radius: 15px;
        padding: 20px;
        padding-top: 30px;
    }
    footer .second-section .newsletter-div .inner .title {
        text-align: center;
    }
    footer .second-section .newsletter-div .inner .title h5 {
        font-size: 25px;
        color: #fff;
        font-weight: 900;
        font-family: "Yekan-bold" !important;
    }
    footer .second-section .newsletter-div .inner .title h6 {
        font-size: 16px;
        color: #fff;
        line-height: 30px;
        margin-top: 20px;
    }
    footer .second-section .newsletter-div .inner form {
        width: 100%;
        position: relative;
        margin-top: 30px;
    }
    footer .second-section .newsletter-div .inner form input {
        width: 100%;
        background-color: white;
        height: 40px;
        border-radius: 35px;
        border: none;
        padding-right: 20px;
    }
    footer .second-section .newsletter-div .inner form input::placeholder {
        font-size: 14px;
    }
    footer .second-section .newsletter-div .inner form button {
        position: absolute;
        height: 30px;
        top: 5px;
        left: 5px;
        background-color: #ff862d;
        color: white;
        width: 80px;
        border-radius: 35px;
        border: none;
        font-size: 12px;
    }
    footer .second-section .newsletter-div .social {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 80px;
        margin-top: 30px;
    }
    footer .second-section .newsletter-div .social img {
        width: 50px;
    }
}