@font-face {
    font-family: "VazirFont";
    src: local("VazirFont"),
    url("./assets/Font/Vazirmatn-Medium.woff2") format("truetype");
    font-weight: medium;
}

h1 {
    font-family: 'VazirFont';
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    direction: rtl;
    overflow-x: hidden;
    flex-direction: column;
    font-family: 'VazirFont';
    background-color: #f0f0f0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

header {
    color: white;
    height: 78px;
    display: flex;
    direction: rtl;
    padding: 0 15px;
    align-items: center;
    background-color: #333;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
}


nav > .button {
    color: black;
    padding: 10px;
    display: flex;
    background: white;
    margin-right: auto;
    border-radius: 5px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.hero {
    background-color: #d4d4d4;
    padding: 50px;
    text-align: center;
}

.hero h1 {
    color: #8b4513;
}

.content {
    height: 800px;
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background: url("img/patern.png") white no-repeat;
}

.text-content {
    width: 35%;
    color: #B69740;
    font-size: 22px;
    margin-top: 200px;
    margin-left: 90px;
    text-align: center;
}

.image-content {
    width: 65%;
}

footer {
    color: white;
    height: 541px;
    display: flex;
    text-align: right;
    padding: 20px 60px;
    background-color: #003366;
    justify-content: space-between;
    background: url("img/footer.jpg") no-repeat bottom center;
}

.w-55 {
    width: 55%;
}

.mr-45 {
    margin-right: 45px;
}

.swiper {
    max-width: 100vw;
    width: 100vw;
    height: 972px;
}

.swiper-slide {
    width: 100% !important;
    justify-content: center;
    display: flex !important;
}

.swiper-slide img {
    width: 100%;
}

.swiper-pagination-bullets {
    bottom: 75px !important;
}

.swiper-pagination-bullet {
    width: 39px !important;
    height: 6px !important;
    border-radius: 0 !important;
    background: white !important;
}

.swiper-pagination-bullet-active {
    background: #B69740 !important;
}

.swiper-slide h4 {
    bottom: 130px;
    color: #B69740;
    font-size: 24px;
    position: absolute;
}

footer p {
    font-size: 14px;
}

@media (max-width: 992px) {
    nav > a.mr-45 {
        display: none
    }

    .swiper {
        height: calc(100vh - 78px);
    }

    .swiper img {
        object-fit: cover;
    }

    .swiper h4 {
        bottom: 40px
    }

    .swiper-pagination-bullets {
        bottom: 20px !important;
    }

    .content, #contact {
        padding: 10px;
        height: unset;
        flex-direction: column-reverse;
    }

    .image-content {
        width: 100%;
    }

    .text-content {
        width: 100%;
        margin-top: 0;
    }

    footer {
        background-color: #00508b;
        background-size: contain;
    }

    .w-55 {
        width: 100%;
    }

}