@font-face {
  font-family: "GE Thameen";
  src: url(../fonts/GE-Thameen-Book/GE-Thameen-Book.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  line-height: 24px;
  font-size: 14px;
  font-family: "Avenir", sans-serif;
  font-weight: normal;
  color: #777777;
}

.change-language {
  font-family: "GE Thameen";
  font-weight: normal;
  font-size: 18px;
  color: rgb(83, 86, 90);
}

.change-language:hover {
  color: #77c5d5;
}

.custom-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ======== Image Slideshow */

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* ======== Image Slideshow END */

@media (max-width: 767px) {
  .scrolled {
    padding-top: 0.5rem !important;
    /* padding-bottom: 0.5rem !important; */
  }

  .small-screen-p-m {
    margin-top: 10rem !important;
    /* margin-left: 1rem !important; */
    margin-right: 1rem !important;
  }

  .mx-auto-logo-small {
    margin-right: auto !important;
    /* margin-left: 4.8rem !important; */
  }

  .small-heading {
    padding-left: 1.1em !important;
    padding-right: 1.1em !important;
  }

  .main-banner {
    padding-bottom: 10rem !important;
  }

  .hovereffect .overlay {
    background-color: rgb(255, 255, 255, 0);
  }

  .hovereffect img {
    scale: 140%;
  }

  .small-screen-categories {
    padding-top: 3.3rem !important;
  }

  .category-box h2 {
    font-size: 0.8rem !important;
  }

  .category-box:nth-child(even) h2 {
    transform: rotate(45deg) translate(22%, 30%);
  }

  .category-box:nth-child(even):hover h2 {
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
    /* transform: rotate(-45deg) translate(-30%, 20%); */
  }

  .contact-address-icon {
    margin-bottom: 1rem !important;
  }

  .get-in-touch {
    background-color: rgba(83, 86, 90, 0.04);
  }
}

@media (max-width: 991px) and (min-width: 767px) {
  .small-screen-p-m {
    margin-top: 10rem !important;
  }

  .medium-screen-flex-column {
    flex-direction: column !important;
  }

  .main-banner .main-banner-content .left-content {
    margin-left: 4rem !important;
    align-self: flex-start;
  }

  .main-banner .product-categories {
    margin-top: -10rem !important;
    margin-bottom: 1rem !important;
    padding-top: 0 !important;
  }

  .main-banner .justify-content-end {
    /* justify-content: center!important; */
    padding-right: 4rem !important;
  }

  .contact-address-icon {
    margin-bottom: 1rem !important;
  }

  .footer_area .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 767px) {
  .custom-padding {
    padding-top: 80px;
    padding-bottom: 80px !important;
  }

  .container {
    max-width: 1170px;
  }

   .main-banner {
    height: 800px !important;
  }

  .main-banner .main-banner-content .left-content {
  margin-top: 23.5rem!important;
}

  .product-categories .first-category-diamond,
  .product-categories .fourth-category-diamond {
    /* transform: rotate(45deg) translate(50%) !important; */
    margin-left: 2.7rem;
  }

  .product-categories .first-category-diamond {
    /* translate: 50% 25%; */
    right: 0;
    margin-right: 3rem;
    position: absolute;
    margin-top: -3.4rem;
  }

  .product-categories .second-category-diamond {
    /* margin-right: 3.3rem !important; */
    position: absolute;
    right: 0;
    margin-right: 3.1rem !important;
    margin-top: 8.7rem;
  }

  .product-categories .third-category-diamond {
    right: 0;
    margin-right: 3.1rem;
    position: absolute;
    margin-top: 20.7rem;
  }

  .product-categories .fourth-category-diamond {
    /* translate: 50% -25%; */
    right: 0;
    margin-right: 9.1rem;
    position: absolute;
    margin-top: 2.55rem;
  }

  .product-categories .fifth-category-diamond {
    right: 0;
    margin-right: 9.2rem;
    position: absolute;
    margin-top: 14.7rem;
  }

  .product-categories .sixth-category-diamond {
    right: 0;
    margin-right: 15.2rem !important;
    position: absolute;
    margin-top: 8.7rem;
  }

  .main-banner .product-categories .category-box {
    width: 150px;
    flex: 0 0 50%;
    /* max-width: 40%; */
    text-align: center;
    line-height: 150px;
    /* border-bottom: 5px solid rgba(255, 255, 255, 0); */
    transform: rotate(45deg);
    transition: all 300ms linear 0s;
  }

  .hovereffect img {
    display: block;
    position: relative;
    transform: rotate(-45deg);
    scale: 150%;
  }

  .contact-section-content {
    padding-bottom: 4em !important;
  }

  .footer_newsletter {
    padding-left: 15px;
  }
}
