/* Avenir Black */
@font-face {
  font-family: "Avenir";
  src: url("Avenir Black.woff2") format("woff2"),
    url("Avenir Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Avenir Heavy */
@font-face {
  font-family: "Avenir";
  src: url("/assets/fonts/Avenir\ Heavy.woff2") format("woff2"),
    url("/assets/fonts/Avenir\ Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Avenir Book */
@font-face {
  font-family: "Avenir";
  src: url("/assets/fonts/Avenir\ Book.woff2") format("woff2"),
    url("/assets/fonts/Avenir\ Book.woff") format("woff");
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

/* Avenir Regular */
@font-face {
  font-family: "Avenir";
  src: url("/assets/fonts/Avenir\ Regular.woff2") format("woff2"),
    url("/assets/fonts/Avenir\ Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Avenir Light */
@font-face {
  font-family: "Avenir";
  src: url("/assets/fonts/Avenir\ Light.woff2") format("woff2"),
    url("/assets/fonts/Avenir\ Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-height: 64px; /* adjust if your header is taller */
  --footer-height: 513px; /* adjust based on your footer */
  --bs-container-max-width: 1140px;
}

/* translate */
.goog-te-menu-frame,
.goog-te-gadget-simple,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-te-combo {
  display: none !important;
}

.goog-te-overlay {
  display: none !important;
}

#google_translate_element {
  display: none !important;
}

#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-banner-frame skiptranslate {
  display: none !important;
}

.skiptranslate {
  display: none !important;
}

body {
  font-family: "Avenir", sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  top: 0 !important;
}

/* Colors */
.bg-dark {
  background-color: #2d2d2d !important;
}

.bg-light-pink {
  background-color: #f2f3f5 !important;
}
.bg-light-green {
  background-color: #b5c2cb !important;
}

.text-muted-900 {
  color: #595959;
}

.text-muted {
  color: #c5c5c5 !important;
}

.text-dark {
  color: #2d2d2d;
}

/* Modal */
#welcomeModal .modal-dialog {
  max-width: 980px;
  margin: 1.5rem auto;
}

#welcomeModal .modal-content {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 0;
}

.modal-image {
  background: #f6f6f6;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
}

.modal-description {
  background: #ffffff;
  color: #111;
}

#welcomeModal .modal-body .row {
  align-items: stretch;
}

/* header */
.navbar-toggler {
  min-width: 46px;
  min-height: 42px;
  padding: 6px;
  border: 0 !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-brand img {
  height: 38px;
  display: block;
}

#lang-toggle-btn img {
  height: 15px;
  width: 22px;
}

/* footer */
footer {
  z-index: 20;
  position: relative;
}

footer .col-md-4:nth-child(1) {
  text-align: left;
}

footer .col-md-4:nth-child(2) {
  text-align: center;
}

footer .row.gx-4.gy-3 > .col-md-4:nth-child(3) {
  text-align: right;
}

footer .row.gx-4.gy-3 > .col-md-4:nth-child(3) ul li {
  width: 100%;
  justify-content: flex-end;
  align-items: center;
}

footer .row.gx-4.gy-3 > .col-md-4:nth-child(3) ul li img {
  margin-right: 0.5rem;
}

/* scroll up button */
.global-go-up-btn {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45),
    inset 0 2px 6px rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: 0.15s ease;
  z-index: 997;
}

.global-go-up-btn svg {
  width: 56px !important;
  height: 56px !important;
  display: block;
  pointer-events: none;
}

/* Chat Button */
#chat-widget-container {
  bottom: 5px !important;
}

/* Debugging */
.debug-1 {
  border: 1px dashed red;
}
.debug-2 {
  border: 1px dashed green;
}
.debug-3 {
  border: 1px dashed blue;
}

/* Desktop */
@media (min-width: 992px) {
}

/* Mobile view */
@media (max-width: 991.98px) {
  .navbar {
    position: relative;
  }

  .navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    margin: 0;
  }

  .navbar-collapse {
    margin-top: 5px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 20;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0;
  }

  footer .col-12 {
    text-align: center !important;
  }

  footer .col-12 ul,
  footer .col-12 li {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  footer .row.gx-4.gy-3 > .col-md-4:nth-child(3) ul li {
  justify-content: center;
  }
}
