﻿@font-face {
    font-family: webfont;
    src: url('Font/Vazir-Regular.ttf') format('truetype');
}

* {
    font-family: webfont !important;
    transition: all 0.5s;
}

.top_menu {
    background-color: black;
    color: white;
    height: 35px;
    margin-top: -50px;
    padding: 7px;
    text-align: center;
}

.menu_style {
    height: 70px;
    /*background-color: #0e1346;*/
    background: linear-gradient(to left, #0e1346 30%, #0000cc 132%);
}

.menu_title {
    display: inline-block;
    color: white !important;
    text-decoration: none;
    cursor: pointer;
    font-size: 21px;
    margin: 19px;
}

    .menu_title a:hover {
        color: #9f9f9f !important;
    }

.hamberger_menu {
    display: none;
    cursor: pointer;
    float: right;
    margin: 16px;
}

.bar1, .bar2, .bar3 {
    width: 33px;
    height: 5px;
    border-radius: 5px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}
.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: white;
    text-decoration:none;
}

    .hover-underline-animation:after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #9f9f9f;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .hover-underline-animation:hover:after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
.mobile_menu {
    margin-top: 85px;
    height: 0px;
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background: linear-gradient(to left, #0e1346 30%, #0000cc 132%);
    overflow-y: hidden;
    display: none;
    text-align: center;
    color: white;
    font-size: 18px;
    padding: 10px;
}

    .mobile_menu a {
        margin-top: 12px;
        box-shadow: 0px 0px 3px 0px #ffffff;
        padding: 5px;
    }

.menu_child {
    color: white !important;
    display: inline-block;
    float: right;
    direction: rtl;
    margin: 23px;
    text-decoration: none;
}

    .menu_child a {
        cursor: pointer;
        margin-right: 20px;
    }

        .menu_child a:hover {
            color: #9f9f9f !important;
        }

@media (max-width:1000px) {
    .menu_child {
        display: none;
    }

    .hamberger_menu {
        display: inline-block;
    }

    .mobile_menu {
        display: grid;
    }
}
/* The hero image */
.hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    /* Set a specific height */
    height: 50%;
    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    color: white;
    width: 280px;
    border-radius: 7px;
    height: 12vw;
    padding: 25px;
    min-height: 170px;
}

.row2 {
    display: inline-flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column_img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}
@media screen and (max-width: 1160px) {
    .column {
        flex: 33%;
        max-width: 33%;
    }
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}


