/* import font */

@font-face {
    font-family: "Yekan";
    src: url("../fonts/yekan/BYEKAN.eot");
    src: url("../fonts/yekan/BYEKAN.eot?#iefix") format("embedded-opentype"),
        url("../fonts/yekan/BYEKAN.woff") format("woff"),
        url("../fonts/yekan/BYEKAN.ttf") format("truetype"),
        url("../fonts/yekan/BYEKAN.svg#font1") format("svg");
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Yekan" !important;
}

.fa,
.fas,
.far,
.fal,
.fad,
.fab {
    font-family: "Font Awesome 5 Free" !important;
}

#main-header .navbar-nav,
#main-header .dropdown-item {
    text-align: right !important;
}

#main-header .bg-dark {
    background-color: #343a4085 !important;
    transition: all 500ms;
}

#main-header .bg-dark:hover {
    background-color: #343a40 !important;
    transition: all 500ms;
}

#mainCarousel {
    direction: ltr !important;
}

#mainCarousel .carousel-caption {
    direction: rtl !important;
}

.work-title > div {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.work-title > a {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.work-title .fas {
    font-size: 3rem;
    margin-bottom: 2rem;
}

footer .first-footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #494f4f;
    color: lightgray;
}

footer .first-footer .footer-title {
    padding-bottom: 2rem;
}

footer .first-footer a,
footer .first-footer address {
    color: lightgray;
    text-decoration: none;
}

footer .first-footer a:hover {
    color: white;
}

footer .second-footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: black;
    color: lightgray;
}

.webpage {
    padding-top: 7rem;
    padding-bottom: 4rem;
    text-align: right;
    line-height: 2;
    min-height: calc(100vh - 297.6px);
}

.webpage h1 {
    margin-bottom: 2rem;
}

.page-img {
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.page-img img {
    max-width: min(100%, 600px);
    margin: auto;
}

.card.learn-item {
    margin-bottom: 2rem;
}

.card.learn-item img {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.card.learn-item ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#mainCarousel .carousel-item h1 {
    color: black;
    text-shadow: 1px 1px 2px beige;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: lightgray !important;
    border-radius: 50%;
}

section#big-icon {
    background-color: #f0f0f0;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

section#products {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

section#products .card {
    max-width: 400px;
    margin: auto;
    text-align: right;
}

section#products .card img {
    max-width: 100%;
}

.section-title {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: right;
}

section#coworker {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #f0f0f0;
}

section#big-img .container .row img {
    max-width: 100%;
    max-height: 400px;
}

section#big-img .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

section#big-img p {
    text-align: justify;
}

section#big-img .col-sm-6.col-xs-12.text-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

section#big-img .col-sm-6.col-xs-12.text-right h1 {
    margin-bottom: 2rem;
}

section#big-img > div:nth-child(even) {
    background-color: #f0f0f0;
}

.exec-img img {
    max-width: 100%;
    margin-bottom: 2rem;
}

.english-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}

.contact-info {
    border: 1px solid gray;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400;
}
