@font-face {
  font-family: "Aviny";
  src: url("./../fonts/Aviny/Aviny.ttf");
}
@font-face {
  font-family: "Danstevis";
  src: url("./../fonts/Danstevis/Danstevis.otf");
}
@font-face {
  font-family: "Gandom";
  src: url("./../fonts/Gandom/Gandom.ttf");
}
@font-face {
  font-family: "Ghasem";
  src: url("./../fonts/Ghasem/Ghasem.ttf");
}
@font-face {
  font-family: "IranianSans";
  src: url("./../fonts/IranianSans/IranianSans.ttf");
}
@font-face {
  font-family: "IranNastaliq";
  src: url("./../fonts/IranNastaliq/IranNastaliq.ttf");
}
@font-face {
  font-family: "IranSans";
  src: url("./../fonts/IranSans/IranSans.woff");
}
@font-face {
  font-family: "Kereshmeh";
  src: url("./../fonts/Kereshmeh/Kereshmeh.ttf");
}
@font-face {
  font-family: "Khodkar";
  src: url("./../fonts/Khodkar/Khodkar.ttf");
}
@font-face {
  font-family: "Koodak";
  src: url("./../fonts/Koodak/Koodak.ttf");
}
@font-face {
  font-family: "Lalezar";
  src: url("./../fonts/Lalezar/Lalezar.ttf");
}
@font-face {
  font-family: "Linotype";
  src: url("./../fonts/Linotype/Linotype.ttf");
}
@font-face {
  font-family: "Lotus";
  src: url("./../fonts/Lotus/Lotus.ttf");
}
@font-face {
  font-family: "Maktab";
  src: url("./../fonts/Maktab/Maktab.ttf");
}
@font-face {
  font-family: "Mitra";
  src: url("./../fonts/Mitra/Mitra.ttf");
}
@font-face {
  font-family: "Nahid";
  src: url("./../fonts/Nahid/Nahid.ttf");
}
@font-face {
  font-family: "Nazanin";
  src: url("./../fonts/Nazanin/Nazanin.ttf");
}
@font-face {
  font-family: "Ordibehesht";
  src: url("./../fonts/Ordibehesht/Ordibehesht.ttf");
}
@font-face {
  font-family: "OrdibeheshtShablon";
  src: url("./../fonts/OrdibeheshtShablon/OrdibeheshtShablon.ttf");
}
@font-face {
  font-family: "PersianKhatKhati";
  src: url("./../fonts/PersianKhatKhati/PersianKhatKhati.ttf");
}
@font-face {
  font-family: "Rezvan";
  src: url("./../fonts/Rezvan/Rezvan.ttf");
}
@font-face {
  font-family: "Sahel";
  src: url("./../fonts/Sahel/Sahel.ttf");
}
@font-face {
  font-family: "Samim";
  src: url("./../fonts/Samim/Samim.ttf");
}
@font-face {
  font-family: "Shabnam";
  src: url("./../fonts/Shabnam/Shabnam.ttf");
}
@font-face {
  font-family: "Shams";
  src: url("./../fonts/Shams/Shams.ttf");
}
@font-face {
  font-family: "Shekari";
  src: url("./../fonts/Shekari/Shekari.ttf");
}
@font-face {
  font-family: "Suls";
  src: url("./../fonts/Suls/Suls.ttf");
}
@font-face {
  font-family: "Tanha";
  src: url("./../fonts/Tanha/Tanha.ttf");
}
@font-face {
  font-family: "Titr";
  src: url("./../fonts/Titr/Titr.ttf");
}
@font-face {
  font-family: "Traffic";
  src: url("./../fonts/Traffic/Traffic.ttf");
}
@font-face {
  font-family: "Vazir";
  src: url("./../fonts/Vazir/Vazir.ttf");
}
@font-face {
  font-family: "Yagut";
  src: url("./../fonts/Yagut/Yagut.ttf");
}
@font-face {
  font-family: "Yekan";
  src: url("./../fonts/Yekan/Yekan.ttf");
}
@font-face {
  font-family: "Zar";
  src: url("./../fonts/Zar/Zar.ttf");
}
@font-face {
  font-family: "Ziba";
  src: url("./../fonts/Ziba/Ziba.ttf");
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(220, 220, 220, 0.9);
}
::-webkit-scrollbar-thumb {
  background: rgba(220, 220, 220, 0.9);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(117, 0, 0, 0.76);
}
.right {
  direction: rtl !important;
  text-align: right !important;
}
.left {
  direction: ltr !important;
  text-align: left !important;
}

body {
  direction: rtl;
  text-align: right;
}

:root {
  --primary: rgba(117, 0, 0, 0.76);
  --light: #f1f8ff;
  --dark: #0f172b;
}

.ff-secondary {
  font-family: "IranSans";
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  left: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-family: "IranSans";
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  font-size: 15px;
  color: var(--light) !important;
  text-transform: uppercase;
  font-weight: 500;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
  max-height: 60px;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-dark {
    position: relative;
  }

  .navbar-dark .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-dark .navbar-nav .nav-link,
  .sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
  }

  .navbar-dark .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-dark {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent !important;
  }

  .sticky-top.navbar-dark {
    position: fixed;
    background: black !important;
  }
}

/*** Hero Header ***/
.hero-header {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.99)),
    url(../img/about-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-header img {
  animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate {
  100% {
    transform: rotate(360deg);
  }
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  left: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
  display: none;
}

/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

/*** Food Menu ***/
.nav-pills .nav-item .active {
  border-bottom: 2px solid var(--primary);
}

/*** Youtube Video ***/
.video {
  position: relative;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
    url(../img/video.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video .btn-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  box-sizing: content-box;
  display: block;
  width: 32px;
  height: 44px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  transition: all 200ms;
}

.video .btn-play img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

.video .btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 32px solid var(--dark);
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

#videoModal {
  z-index: 99999;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Team ***/
.team-item {
  /*box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);*/
  height: calc(100%);
  transition: 0.5s;
}

.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item:hover {
  height: 100%;
}

.team-item .btn {
  border-radius: 38px 38px 0 0;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #cccccc;
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-left: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: right;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}
.text-copper {
  color: #818181 !important;
  font-size: 13px;
}

ul.scrollmenu {
  /*background-color: #333;*/
  overflow: auto;
  white-space: nowrap;
}

ul.li.scrollmenu a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

ul.li.scrollmenu a:hover {
  background-color: #777;
}

.container-xxl {
  background-color: #000;
}

.d-flex {
  color: #ffffff;
  font-size: 16px;
}

/* .top-menu {
  width: 75%; 
  right: 0; 
} */

.haupt-menu {
  width: 75%;
  margin-top: 40px;
  /* right: 0; */
}

/* The side navigation menu */
.sidenav {
  height: 75%; /* 100% Full-height */
  width: 22%; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 75px; /* Stay at the top */
  left: 0;
  background-color: rgba(117, 0, 0, 0.76); /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 5px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  text-align: center;
  font-weight: 600;
  border-radius: 0 10px 10px 0;
  /* box-shadow: 4px 8px rgba(96, 95, 95, 0.2); */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 10px 10px 32px !important;
  text-decoration: none;
  font-size: 11px !important;
  color: rgb(255, 255, 255);
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}


.color {
  color: red;
}

.ingeniuer {
  color: red;
}

.bekanntheit {
  color: #fff;
}

.white {
  color: #fff;
}

.color span {
  color: #fff;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media (max-width: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

@media (max-width: 770px) {
  .haupt-menu {
    margin-top: 0px;
  }
}
