:root {
  /*========== Brand Colors ==========*/
  --brand-black: #000;
  --brand-yellow: #f3bd48;
  --brand-coral: #ff595a;
  --brand-light-blue: #74c3d5;
  --brand-blue: #007481;

  /*========== Background Colors ==========*/
  --brand-background-yellow: rgb(243, 189, 72, 0.1);
  --brand-background-coral: rgb(255, 89, 90, 0.1);
  --brand-background-light-blue: rgb(116, 195, 213, 0.2);
  --brand-background-blue: rgb(0, 116, 129, 0.2);

  /*========== Scrollbar Colors ==========*/
  --sb-track-color: var(--brand-black);
  --sb-thumb-color: var(--brand-yellow);
  --sb-size: 10px;

  /** Text **/
  --header-height: 4rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 3%;

  /*--title-color: hsl(var(--hue), 12%, 15%);*/
  --title-color: #000;
  /*--text-color: hsl(var(--hue), 8%, 35%);*/
  --text-color: #333;
  /*--body-color: hsl(var(--hue), 100%, 99%);*/
  --body-color: #ececec;
  --container-color: #fff;

  /*========== Font and typography ==========*/
  --body-font: "owners-wide", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: 0.938rem;
  --menu-font-size: 0.82em;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
    --menu-font-size: 1em;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
::selection {
  color: #000;
  background: var(--brand-yellow);
}
html {
  /*scroll-behavior: smooth;*/
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 0px;
}
html, body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}
body {
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.nav, .header {
    touch-action: pan-x pan-y;
}
main {
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
body {
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  margin: var(--header-height) 0 0 0;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
  font-family: "Made Dillan", sans-serif;
}
p {
  color: var(--text-color);
  font-family: owners-wide, sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.08em;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

nav {
  font-family: "owners-wide", sans-serif;
  font-weight: 300;
  letter-spacing: 0.09m;
}
nav ul {
  margin-bottom: 0;
  padding-left: 0;
}
.icon {
  max-width: 25px;
}
.header {
  background-color: var(--brand-coral);
}
.nav__menu {
  margin-right: 1em;
}
.nav__logo {
  max-width: 140px;
  margin-top: 0.6em;
}
.nav__logo a:hover {
  filter: invert(1);
}
@media (max-width: 767px) {
    .nav__logo img {
        max-width: 100px;
        margin: 0.5rem 0 0.5rem 0.5rem;
    }
}
.main-menu {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  z-index: 1000;
  transition: all 600ms ease-in;
}
.main-menu .nav {
  position: relative;
  display: inline-block;
  padding: 0px;
  list-style: none;
  height: auto;
  width: 80%;
}
.main-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin-top: 0em;
}
.main-menu .nav__item {
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.bg-black {
    background: #000;
}

/* Base styles for nav items */
.main-menu .nav__item a {
  color: #fff;
  cursor: pointer;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: 0;
  text-decoration: none;
  transform: translateX(-30px);
  /* Changed to positive value */
  transition: all 0.4s ease-out;
  /* Simplified timing function */
  display: block;
}

.main-menu .nav__item a img {
  filter: invert(1);
  max-width: 200px;
  margin-bottom: 0.5em;
}

.main-menu .nav__item a:hover {
  color: var(--brand-yellow);
}

.main-menu.open .nav__item a {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered entrance animation for each nav item */
.main-menu.open .nav__item:nth-child(1) a {
  transition-delay: 0.2s;
}

.main-menu.open .nav__item:nth-child(2) a {
  transition-delay: 0.25s;
}

.main-menu.open .nav__item:nth-child(3) a {
  transition-delay: 0.3s;
}

.main-menu.open .nav__item:nth-child(4) a {
  transition-delay: 0.35s;
}

.main-menu.open .nav__item:nth-child(5) a {
  transition-delay: 0.4s;
}

.main-menu.open {
  background-color: rgb(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  left: 0;
  visibility: visible;
}

.main-menu .btn-close-menu {
  background: var(--brand-yellow);
  bottom: -40px;
  border: 0;
  border-radius: 20px;
  height: 40px;
  opacity: 1;
  position: absolute;
  transition: all 250ms cubic-bezier(0.075, 0.82, 0.165, 1);
  width: 40px;
}

.main-menu .btn-close-menu.open {
  bottom: 2em;
}

.main-menu .btn-close-menu .line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: #000;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(45deg);
}

.main-menu .btn-close-menu .line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.main-menu .btn-close-menu:hover {
  transform: rotate(45deg);
}

/** Serach **/
#search-div {
    background-color: rgb(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 9999;
}
#search-div.opened {
    background-color: rgb(0, 0, 0, 0.8);
}
.search-input {
    background-color: transparent;
    height: 80px;
    top: 50%;
    left: 0;
    margin-top: -40px;
    position: absolute;
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    transform: translate(0, 0);
    transition: all 0.3s ease-in-out;
    transition-delay: 0.3s;
    width: 100%;
}

.input-search {
    color: #fff;
    border: 0;
    box-sizing: border-box;
    font-size: 54px;
    font-weight: 400;
    background: transparent;
    outline: 0;
    -webkit-appearance: none;
    transform: translate(0px, 0);
    transition: all 0.3s ease-in-out;
}
.input-search.active {
    transform: translate(40px, 0);
    transition-delay: 0.3s;
}

.input-search ::-webkit-input-placeholder {
    color: #c4c4c4;
}
.input-search :-moz-placeholder {
    color: #c4c4c4;
    opacity: 1;
}
.input-search ::-moz-placeholder {
    color: #c4c4c4;
    opacity: 1;
}
.input-search :-ms-input-placeholder {
    color: #c4c4c4;
}

.search-button {
    background: white;
    cursor: pointer;
    border: 0;
    border-radius: 30px;
    height: 60px;
    padding: 10px;
    width: 60px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.search-button.active {
    opacity: 1;
    transform: translate(40px, 0);
    transition-delay: 0.6s;
}
.search-button i {
    font-size: 40px;
    color: #000;
}

.close-search-div-button {
    background: var(--brand-yellow);
    cursor: pointer;
    color: white;
    border: 0;
    border-radius: 20px;
    height: 40px;
    opacity: 1;
    padding: 0.5em;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: all 250ms ease-in;
    width: 40px;
}
.close-search-div-button:hover {
    transform: rotate(45deg);
}
.close-search-div-button .line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background: #000;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
}
.close-search-div-button .line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mediaquery to tablet and PCs*/
@media (min-width: 768px) {
  .main-menu ul {
    margin-top: 6em;
  }
  .main-menu .btn-close-menu {
    top: -40px;
  }

  .main-menu .btn-close-menu.open {
    top: 2em;
  }
}

.section__title {
  font-size: 2.6em;
}

.section__title {
  font-size: 2.6em;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  color: var(--title-color);
  /*font-family: ohno-blazeface, sans-serif;*/
    font-family: "owners-wide", sans-serif;
  /*font-style: italic;*/
    font-style: normal;
  font-weight: 600 !important;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2rem;
}
.section-dashed {
  border-top: 1px solid #999;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height {
  height: 100vh;
}

/*=============== LAYOUT ===============*/
.nav-container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
  transition: all 0.4s;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--brand-coral);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  align-items: center;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
}
.nav__top {
  display: flex;
  justify-content: flex-end;
}
.nav__top a {
  display: block;
  text-decoration: none;
}
.nav__top a:hover {
  filter: invert(1);
}
.nav__img {
  width: 26px;
  height: 26px;
  margin-left: 10px;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    /*background-color: var(--brand-coral);*/
    background-color: var(--brand-yellow);
    box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
    width: 100%;
    height: 4rem;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    border-radius: 1.25rem 1.25rem 0 0;
    transition: 0.4s;
  }
}

.nav__list,
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
}

.nav__name {
  font-size: var(--menu-font-size);
  letter-spacing: 0.08rem;
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
}

/*Active link*/
.active-link {
  position: relative;
  color: #000;
  transition: 0.3s;
}

/* Change height header */
.scroll-header {
  box-shadow: 0px 6px 4px 4px rgba(97, 34, 34, 0.3);
}
.scroll-header .nav-container {
  height: 64px;
  transition: height 0.4s;
}

/*=============== MARQUEE ===============*/
.marquee {
  position: relative;
  background-color: #222;
  color: #fff;
  /*height: 15vh !important;*/
  padding: 1em 0;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  overflow: hidden;
}
.marquee-margin-top {
  /*margin-top: var(--header-height);*/
}

.marquee__inner {
  display: flex;
  width: fit-content;
  flex: auto;
  flex-direction: row;
}

.marquee__part {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  padding: 0 4px;
}

.marquee__part a {
  color: #fff;
  text-decoration: none;
}

.marquee__part a:hover {
  color: var(--brand-yellow);
  text-decoration: none;
}

.arrow {
  width: 1em;
  height: 1em;
  margin: 0 1em;
  font-size: 2em;
  transform: rotate(90deg);
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.arrow.active {
  transform: rotate(-90deg);
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.txt-white {
  color: #fff !important;
}

.btn-lg {
    font-size: 1em;
}
/*=============== FOOTER ===============*/
footer {
  background-color: #000;
  padding: 4.5rem 0 2rem;
  text-align: center;
}
footer .logo {
  max-width: 100px;
  display: block;
  transition: all 0.2s;
}
footer .logo:hover {
  animation: shake 0.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
footer h3 {
  color: #fff !important;
  font-size: 1.2em;
  letter-spacing: 0.14em;
}
footer ul,
footer li {
  display: block;
  padding-left: 0;
}
footer a {
  color: #fff;
  font-size: 0.9em;
  letter-spacing: 0.08em;
}
footer a:hover {
  color: var(--brand-yellow);
}
footer p {
  color: #c5c5c5 !important;
  font-size: 0.9em;
}

a.social-link {
  color: #fff !important;
}
a.social-link:hover {
  color: var(--brand-yellow) !important;
}
/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 2.4rem;
  }
}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .marquee-margin-top {
    margin-top: 88px !important;
  }
  .section {
    padding: 3rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
  }
  .nav__link:hover {
    /*color: var(--brand-coral);*/
    color: #f1f1f1;
  }

  .icon {
    display: none;
  }

  /* First design, remove if you choose the minimalist design */
  .active-link::before {
    content: "";
    position: absolute;
    bottom: -0.75rem;
    width: 4px;
    height: 4px;
    /*background-color: var(--brand-color);*/
    background-color: #fff;
    border-radius: 50%;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .nav-container {
    margin-left: auto;
    margin-right: auto;
  }
  .marquee-margin-top {
    margin-top: 88px !important;
  }
  .btn-lg {
    max-width: 220px;
  }
}
