@font-face {
    font-family: "Vazir";
    src: local("Vazir"), url("../Fonts/Vazir/Vazir.eot") format("eot"), url("../Fonts/Vazir/Vazir.ttf") format(".ttf"), url("../Fonts/Vazir/Vazir.woff") format("woff"), url("../Fonts/Vazir/Vazir.woff2") format("woff2")
}

@font-face {
    font-family: "Vazir-Bold";
    src: local("Vazir-Bold"), url("../Fonts/Vazir-Bold/Vazir-Bold.eot") format("eot"), url("../Fonts/Vazir-Bold/Vazir-Bold.ttf") format(".ttf"), url("../Fonts/Vazir-Bold/Vazir-Bold.woff") format("woff"), url("../Fonts/Vazir-Bold/Vazir-Bold.woff2") format("woff2")
}

@font-face {
    font-family: "Aviny";
    src: local("Aviny"), url("../Fonts/Aviny/aviny.woff") format("woff"), url("../Fonts/Aviny/aviny.woff2") format("woff2"), url("../Fonts/Aviny/aviny.otf") format("otf"), url("../Fonts/Aviny/aviny.ttf") format("ttf");
}

@font-face {
    font-family: "FontAwesome";
    src: local("FontAwesome"), url("../Fonts/FontAwesome/fa-regular-400.woff") format("woff"), url("../Fonts/FontAwesome/fa-regular-400.woff2") format("woff2"), url("../Fonts/FontAwesome/fa-regular-400.eot") format("eot"), url("../Fonts/FontAwesome/fa-regular-400.ttf") format("ttf");
}


/* Start General Styling */

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: auto;
    padding: 0;
    /*direction: rtl;*/
    font-family: "Vazir";
    font-size: 18px;
    background-color: rgba(141, 177, 248, 0.411);
}

* {
    direction: rtl;
    /*box-sizing: border-box;*/
    margin: 0;
    padding: 0;
}

.main-container {
    width: min(1700px, 98%);
    width: 98%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
    font-size: 20px;
    font-family: Vazir-Bold
}

a {
    text-decoration: none;
    color: rgb(51, 54, 149);
    transition: all 0.5s;
}

a:hover {
    color: rgb(29, 75, 200);
    transition: all 0.5s;
}


/*                                  Finish General Styling */


/*                                   Start Slide Bar Styling */

.Productions-container {
    flex-shrink: 0;
    width: 100%;
}

.Productions {
    width: 100%;
    position: relative;
    font-weight: bold;
    font-size: 20px;
    /*box-sizing: border-box;*/
    padding: 0 10px;
    margin-top: 40px;
    width: 49%;
    height: 100%;
    border: 4px solid orange;
    border-radius: 10px;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
    overflow-x: hidden;
    overflow-y: hidden;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider-product p {
    text-align: center;
}

.slider .slide {
    display: flex;
    position: absolute;
    left: 0;
    transition: 0.3s left ease-in-out;
}

.slider .item {
    /* items in production slider */
    margin-right: 10px;
    box-shadow: 0 0 8px rgb(206 223 237 / 40%);
    -moz-box-shadow: 0 0 8px rgba(206, 223, 237, .4);
    -webkit-box-shadow: 0 0 8px rgb(206 223 237 / 40%);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    max-height: 350px;
    background-color: rgb(33, 166, 219);
    position: relative;
    border: 1px solid #ecf1f4;
    padding: 10px;
}

#slide .item {
    width: 250px;
}

.slider .item:last-child {
    /*margin-right: 0;*/
}

.ctrl {
    text-align: center;
    margin-top: 5px;
}

.ctrl-btn {
    padding: 20px 20px;
    min-width: 50px;
    background: #fff;
    border: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    outline: none;
    position: absolute;
    top: 50%;
    margin-top: -27.5px;
    z-index: 10;
}

.pro-prev,
.pro-prev2 {
    left: 0;
}

.product-slider_title{
    padding: 10px 0;
}

.pro-next,
.pro-next2 {
    right: 0;
}

.slider-product img {
    width: 100%;
    height: 250px;
}


/*                                   End Slide Bar Styling */

.to-top {
    position: fixed;
    right: 25px;
    bottom: 15px;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    color: #000;
    opacity: 0;
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
}

.to-top.active {
    opacity: 1;
    bottom: 40px;
}

.to-top svg {
    font-size: 30px;
}

.loader {
    box-sizing: border-box;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: auto;
    height: 100%;
    background-color: #fff;
    max-width: 100vw;
}

.loader.hidden {
    animation: fadeOut 1s;
    -webkit-animation: fadeOut 1s;
    animation-fill-mode: forwards;
    
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.menu-one {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 20vw;
    right: -1200%;
    padding-bottom: 20px;
    top: 6.2vw;
    background: #fff;
    transition: all .5s ease-in-out;
    overflow: hidden;
    display: flex;
}

.drop-one:hover .menu-one {
    right: 0;
}

.menu-one ul {
    text-align: center;
    flex: 1;
}

.menu-one_item {
    line-height: 3;
    list-style: none;
}

.menu-one_sub-item {
    list-style: none;
    line-height: 2.6;
}

.menu-one ul li h4 {
    font-size: 20px;
    color: teal;
}

.menu-one ul li a {
    color: #000 !important;
    padding: 10px 0 !important;
}

.menu-one ul li img {
    width: 300px;
}

.bars {
    color: rgb(51, 54, 149);
    font-size: 35px;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    cursor: pointer;
    display: none;
    z-index: 100 !important;
}

.header-menu-image {
    background: url("/assets/Pictures/Logo.png");
}

.Aluminum:hover .header-menu-image {
    background: url("/assets/Pictures/Aluminium.jpg");
}

.intro {
    padding: 100px 0;
    background: #F4511E;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}


/* timeline */

.timeline ul {
    background: #0c1d30;
    padding: 50px 0;
}

.timeline ul li {
    list-style: none;
    margin: 0 auto;
    position: relative;
    background: #fff;
    padding-top: 30px;
    width: 6px;
}

.timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background: #fff;
}

.timeline ul li div {
    position: relative;
    width: min(350px, 35vw);
    background: #F4511E;
    bottom: 0;
    padding: 15px;
    height: 100px;
    box-sizing: border-box;
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    transition-delay: .1s;
}

.timeline ul li.in-view div {
    visibility: visible;
    opacity: 1;
}

.timeline ul li div::before {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 5px;
    border-left: 10px solid #F4511E;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline ul li:nth-child(odd) div {
    right: 45px;
    transform: translateX(max(-200px, calc(-1*7vw)));
    -webkit-transform: translateX(max(-180px, calc(-1*6vw)));
    -moz-transform: translateX(max(-200px, calc(-1*7vw)));
    -ms-transform: translateX(max(-200px, calc(-1*7vw)));
    -o-transform: translateX(max(-200px, calc(-1*7vw)));
}

.timeline ul li.in-view:nth-child(odd) div {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
}

.timeline ul li:nth-child(even) div {
    right: max(-390px, calc(-1*42vw));
    transform: translateX(min(200px, calc(1*7vw)));
    -webkit-transform: translateX(min(200px, calc(1*7vw)));
    -moz-transform: translateX(min(200px, calc(1*7vw)));
    -ms-transform: translateX(min(200px, calc(1*7vw)));
    -o-transform: translateX(min(200px, calc(1*7vw)));
}

.timeline ul li.in-view:nth-child(even) div {
    transform: translateX(0px);
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
}

.timeline ul li:nth-child(even) div::before {
    right: auto;
    left: -10px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.timeline ul li div p {
    padding: 10px 0;
}