@font-face {
  font-family: Outfit;
  src: url("/medias/css/fonts/Outfit-Regular.ttf") format("truetype");
  font-style: normal;
  font-style: normal;
}

@font-face {
  font-family: Outfit-Bold;
  src: url("/medias/css/fonts/Outfit-Bold.ttf") format("truetype");
  font-style: bold;
  font-style: bold;
}

@font-face {
  font-family: Outfit-Light;
  src: url("/medias/css/fonts/Outfit-Light.ttf") format("truetype");
  font-style: bold;
  font-style: bold;
}

.bodywebsite * {
  font-family: Outfit, sans-serif, "Lucida Sans", "Lucida Sans Regular",
    "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana;
  box-sizing: border-box;
}

.fa,
.far,
.fas {
  font-family: "Font Awesome 5 Free" !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
}

.bodywebsite h1,
.bodywebsite h2,
.bodywebsite h3,
.bodywebsite h4 {
  font-family: Outfit-Bold, sans-serif, "Lucida Sans", "Lucida Sans Regular",
    "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana;
  box-sizing: border-box;
}

.bodywebsite a {
  text-decoration: none;
}

/* ================== NAVBAR ================== */

/* ================== SLIDE ================== */

.fullsize {
  max-height: calc(var(--banner-full-height) - var(--navbar-height));
  min-height: calc(var(--banner-full-height) - var(--navbar-height));
}

.slider-canvas {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.slider-canvas:not(.fullsize) {
  height: calc(var(--banner-height) - var(--navbar-height));
}

.slider-canvas .slider-page {
  position: relative;
}

.slider-page img.stretch {
  width: 100vw;
  height: calc(var(--banner-height) - var(--navbar-height));
}

.slider-page img.left {
  float: left;
  width: var(--banner-width);
  height: 100%;
}

.slider-page img.right {
  float: right;
  width: var(--banner-width);
  height: 100%;
}

.slider-page img.center {
  margin-left: calc(calc(100vw - var(--banner-width)) / 2);
  width: var(--banner-width);
  height: 100%;
}

.slider-page img .slider-right {
  float: left;
  margin-left: 20px;
}

.slider-text {
  position: absolute;
  color: white;
  left: 10%;
  width: 80%;
  top: 40%;
  text-shadow: 3px 0px 4px BLACK;
}

.slider-text strong {
  display: block;
  margin-bottom: 10px;
  font-size: 250%;
}

.slider-text span {
  font-size: 180%;
}

#splide-banner .splide__arrow {
  height: 80px !important;
  width: 80px !important;
  background: transparent !important;
  filter: drop-shadow(2px 4px 6px grey);
  transition: all 0.3s;
}
#splide-banner .splide__arrow svg {
  height: 40px;
  width: 40px;
}
#splide-banner .splide__arrow path {
  fill: #f4f4f4;
}
#splide-banner .splide__arrow:hover {
  filter: drop-shadow(2px 4px 4px black);
}

/* ================== SLIDE END ================== */

/* ================== WhatsApp Chat ================== */

.chat:hover {
  background-color: #23a455;
}
.chat a,
.chat a:hover {
  color: #fff;
}
.chat {
  z-index: 20;
  bottom: 30px;
  left: 30px;
  height: 60px;
  width: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, 24%);
  cursor: pointer;
  transition: background 0.5s linear;
  will-change: background-color, width;
  right: auto;
  flex-direction: row-reverse;
  text-align: end;
  font-size: 42px;
  line-height: 58px;
  position: fixed;
  bottom: 20px;
  left: 20px;
}

/* ================== WhatsApp Chat END ================== */

/* ================== Gloabal Styles ================== */

.bodywebsite .container {
  max-width: 1600px;
  padding-inline-start: var(--global-x-margin);
  padding-inline-end: var(--global-x-margin);
  margin-left: auto;
  margin-right: auto;
}

.bodywebsite .button.contrast {
  --face-button: var(--contrast-color);
}

.bodywebsite .button.primary {
  --face-button: var(--primary-color);
}

.bodywebsite .button.atention {
  --face-button: var(--atention-color);
}

.bodywebsite .button {
  display: block;
  width: fit-content;
  padding: 0.5rem 2.1rem;
  border-radius: 15px;
  color: white;
  font-size: var(--size-title-min);
  background-color: var(--face-button);
  border: solid 4px var(--face-button);
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.bodywebsite .button:hover {
  color: var(--face-button);
  background-color: transparent;
}

.fullwith {
  width: 100%;
}

.upper {
  text-transform: uppercase;
}

.box-shadow {
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%);
}

.border-box {
  border-bottom: 1px solid rgb(0 0 0 / 30%);
}

.has-link {
  cursor: pointer;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.bg-primary {
  background-color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: white;
}

.noecho {
  text-decoration: none;
}

.m-1 {
  margin: 0.8rem;
}
.m-2 {
  margin: 1.6rem;
}
.m-3 {
  margin: 2.4rem;
}
.m-4 {
  margin: 3.2rem;
}

.mx-1 {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}
.mx-2 {
  margin-left: 1.6rem;
  margin-right: 1.6rem;
}
.mx-3 {
  margin-left: 2.4rem;
  margin-right: 2.4rem;
}
.mx-4 {
  margin-left: 3.2rem;
  margin-right: 3.2rem;
}

.my-1 {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
.my-2 {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}
.my-3 {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}
.my-4 {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
}

.p-1 {
  padding: 0.8rem;
}
.p-2 {
  padding: 1.6rem;
}
.p-3 {
  padding: 2.4rem;
}
.p-4 {
  padding: 3.2rem;
}

.px-1 {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}
.px-2 {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}
.px-3 {
  padding-left: 2.4rem;
  padding-right: 2.4rem;
}
.px-4 {
  padding-left: 3.2rem;
  padding-right: 3.2rem;
}

.py-1 {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.py-2 {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.py-3 {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.py-4 {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.ms-show,
.nav-ms-show {
  display: none;
}

.nologo {
  display: block;
}

/* ================== Gloabal Styles END ================== */

/* ====================== HEADER NAV MENU =============================== */

.main-menu {
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-menu);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, 0.3);
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.nav {
  height: var(--navbar-height);
}

.nav__logo,
.nav__burger,
.nav__close {
  color: var(--menu-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-weight: 600;
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav .logo {
  height: calc(var(--navbar-height) - 1rem);
  position: absolute;
  transition: opacity 0.3s;
}

.nav .logo.white {
  opacity: 0;
}

.alpha.main-menu {
  --background-menu: transparent;
  --contrast-color: white;
  box-shadow: none;
}
.alpha .logo.white {
  opacity: 1;
}

.alpha .logo.color {
  opacity: 0;
}
.alpha .nav__link {
  color: white;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
  opacity: 0;
}

.dropdown__menu,
.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  color: var(--menu-color);
  font-weight: 400;
  font-size: calc(var(--navbar-height) * 0.3);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__link:hover {
  background-color: #c3cfe2;
  color: var(--menu-contrast-color);
}

/* Show menu */
.show-menu {
  opacity: 1 !important;
  top: 3.5rem !important;
  pointer-events: initial !important;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/* ====================== DROPDOWN =============================== */

.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
  margin-left: 5px;
}

.dropdown__link {
  padding: 1rem;
  color: var(--menu-color);
  background-color: #e0edf8;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.dropdown__link:hover {
  background-color: var(--background-menu);
}

.dropdown__menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

/* Show dropdown menu & submen */
.dropdown__item:hover .dropdown__menu {
  max-height: 1000px;
  transition: max-height 0.4s ease-out;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/* For large devices */
@media screen and (min-width: 1000px) {
  :root {
    /* --background-menu: red; */
    --global-x-margin: 2rem;
  }

  :root {
    --global-x-margin: 3rem;
  }

  .nav {
    height: calc(var(--navbar-height) + 1rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 4.5rem;
  }

  .nav__link {
    height: 100%;
    justify-content: initial;
    column-gap: 0.25rem;
    padding: 1.25rem 0 1.5rem 0;
  }

  .nav__link:hover {
    background-color: transparent;
    color: var(--menu-color) !important;
  }

  .dropdown__item {
    position: relative;
  }

  .dropdown__menu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
  }

  .nav__list > li {
    position: relative;
  }

  .nav__list > li:hover > a {
    color: var(--menu-contrast-color);
  }

  .nav__list > li.line-hover-up:hover > a::after,
  .nav__list > li.line-hover-down:hover > a::after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-width: 2px;
    border-color: #fff;
    border-color: var(--menu-contrast-color);
    border-radius: 10px;
    animation-name: zoom-center;
    animation-duration: 500ms;
    animation-fill-mode: forwards;
  }

  .nav__list > li.line-hover-up:hover > a::after {
    top: calc(var(--navbar-height) * 0.28);
  }
  .nav__list > li.line-hover-down:hover > a::after {
    top: calc(100% - calc(var(--navbar-height) * 0.4));
  }

  .nav__list > li.reflex-up > a {
    transition: color 200ms;
    transform-style: preserve-3d;
  }

  .nav__list > li.reflex-up > a::after {
    content: attr(title);
    position: absolute;
    display: block;
    text-align: center;
    width: 100%;
    transform-origin: 50% 0%;
    backface-visibility: hidden;
    transform: translate3d(0px, 100%, 0px) rotateX(-115deg);
    transform-style: preserve-3d;
    transition: all 200ms ease;
    z-index: -1;
    color: var(--menu-contrast-color);
  }

  .nav__list > li.reflex-up:hover > a::after {
    transform: rotateX(0deg) translateZ(0px);
  }

  .nav__list > li.reflex-up:hover > a {
    color: var(--menu-contrast-color);
  }

  .nav__list > li.bold-hover:hover > a {
    filter: drop-shadow(0 3px 3px var(--menu-contrast-color));
  }

  @keyframes zoom-center {
    0% {
      left: 50%;
      width: 0;
    }
    100% {
      left: -5%;
      width: 110%;
    }
  }

  /* dropdown menu */
  .dropdown__menu {
    position: absolute;
    left: -90%;
    top: 4rem;
    padding: 1rem;
  }

  .dropdown__link {
    width: 360px;
    background-color: #fff;
    border: solid 1px #e0edf8;
    justify-content: start;
    border-radius: 15px;
    margin-top: 0.8rem;
    /* color: #000; */
    line-height: 21px;
  }

  .dropdown__link:hover {
    background-color: #e0edf8;
  }

  .dropdown__list {
    background-color: #fff;
    border: solid 1px #e0edf8;
    border-radius: 15px;
    padding: 0.2rem 1rem 1rem 1rem;
  }

  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5rem;
    pointer-events: initial;
    transition: top 0.3s;
  }
}

/* Navigtation for mobile devices */
@media screen and (max-width: 1000px) {
  :root {
    /* --background-menu: green; */
    --global-x-margin: 2rem;
  }

  .alpha.main-menu {
    --background-menu: #fff;
    --contrast-color: #6f2f9b;
  }
  .alpha .logo.white {
    opacity: 0;
  }

  .alpha .logo.color {
    opacity: 1;
  }
  .alpha .nav__link {
    color: var(--blak-text);
  }

  .nav__menu {
    position: absolute;
    left: 0;
    top: var(--navbar-height);
    width: 100%;
    background-color: gray;
    height: calc(100vh - var(--navbar-height));
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--background-menu);
    padding-top: 1rem;
  }
}

/* Navigtation for small devices */
@media screen and (max-width: 700px) {
  :root {
    /* --background-menu: purple; */
    --global-x-margin: 2rem;
  }
}
