@charset "utf-8";

/* Fonts */
@font-face {
  font-family: GFS;
  src: url(../fonts/GFSNeohellenic-Regular.ttf) format('truetype');
}

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-VariableFont_wght.ttf) format('truetype');
}

@font-face {
  font-family: AlbertSans;
  src: url(../fonts/AlbertSans-VariableFont_wght.ttf) format('truetype');
}


:root {
  --font1: 6.5rem;
  --font2: 3.2rem;
  --font3: 2.4rem;
  --font4: 1.5rem;
}

/* Reset */
*,
*::before,
*::after {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a,
img,
span,
button {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  height: auto;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

html {
  font-family: Montserrat !important;
  font-size: 9.5px;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  background-color: white;
  color: black;
}

:focus-visible {
  outline-offset: 1px;
}

/* Right Scroll Bar der */
::-webkit-scrollbar {
  width: 10.5px;
}

::-webkit-scrollbar-track {
  background-color: hsl(0, 0%, 95%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(251, 25%, 82%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(251, 25%, 72%);
}

/* General */
.container {
  padding-inline: 15px;
}

.section {
  padding-block: 40px;
}

.pic_with_background {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.h1,
.h2,
.h3 {
  line-height: 1.1;
}

.h1 {
  color: white;
  font-weight: 390;
  font-family: 'Bangers', Cursive;
  font-size: var(--font1);
  letter-spacing: 1px;
}

.h2,
.h3 {
  color: hsl(210, 3%, 13%);
}

.h2 {
  font-size: var(--font2);
}

.h3 {
  font-size: var(--font3);
}

.btn {
  background-color: black;
  color: white;
  max-width: max-content;
  padding: 8px 25px;
  font-weight: 700;
  border-radius: 50px;
  transition: 0.25s ease;
}

.scroll_area {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  padding-block-end: 20px;
  margin-block-end: -20px;
}

.can_scroll {
  min-width: 100%;
  scroll-snap-align: start;
}

.scroll_area::-webkit-scrollbar {
  height: 10px;
}

.scroll_area::-webkit-scrollbar-track {
  outline: 1.5px solid #D8D5E6;
  border-radius: 8px;
}

.scroll_area::-webkit-scrollbar-thumb {
  background-color: #D8D5E6;
  border-radius: 8px;
  border: 2px solid white;
}

.scroll_area::-webkit-scrollbar-button {
  width: calc(25% - 30px);
}


/* HEADER */
.headerButton.user {
  display: none;
}

/* work when mobile view */
.header {
  background-color: white;
  padding-block: 20px;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  z-index: 100;               /* Make sure one the most top of the layer yaaaaa */
}

.header .container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.header.active {
  position: fixed;
  box-shadow: var(--shadow-1);
}

.nav_minimize {
  font-size: 30px;
  transition: 0.25s ease;
}

/* Rx: For navation der, the icon will change depend on situation*/
.nav_minimize.active #threeLines,
.nav_minimize #tutup {
  display: none;
}

.nav_minimize #threeLines,
.nav_minimize.active #tutup {
  display: block;
}

.logo {
  font-family: 'Carter One', cursive;
  font-size: 3rem;
}

.rightHeader {
  gap: 15px;
  display: flex;
}

.header .headerButton {
  position: relative;
  font-size: 22px;
  transition: 0.5s ease;
}

.nav_minimize:is(:hover, :focus),
.header .headerButton:is(:hover, :focus) {
  transform: scale(1.1);
}

.NavigationBar {
  position: fixed;
  top: 85px;
  left: -320px;
  bottom: 0;
  background-color: white;
  max-width: 320px;
  width: 100%;
  padding: 20px 10px;
  box-shadow: 0 8px 8px hsla(0, 0%, 0%, 0.2);
  transition: 0.25s cubic-bezier(0.33, 0.85, 0.4, 0.96);
  overflow-x: hidden;
  overflow-y: auto;
}

.NavigationBar.active {
  transform: translateX(320px);
  transition-timing-function: cubic-bezier(0.51, 0.03, 0.64, 0.28);
}

.navbar_href {
  color: hsl(210, 3%, 13%);
  font-size: var(--font4);
  padding: 10px 15px;
}

/* Rx: For login btn(small) */
.nav_login {
  text-align: center;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 12px;
  background-color: #D8D5E6;
  color: white;
  font-weight: 680;
  font-family: sans-serif;
}

.nav_login:hover {
  color: silver;
}

/* Footer */
footer {
  background-color: #d8d6d9;
  color: hsl(0, 0%, 53%);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top;
  font-family: 'AlbertSans';
}

.footer_box {
  padding-block-start: 90px;
  padding-block-end: 20px;
  border-block-end: 1px solid hsl(220, 2%, 24%);
}

.footer_box .container {
  display: grid;
  gap: 80px;
}

footer .logo {
  color: white;
  margin-block-end: 10px;
}

.contact {
  font-weight: bold;
  gap: 20px;
  display: flex;
  margin-block-end: 14.3px;
}

.footer_href {
  padding-block: 3.8px;
  transition: 0.2s ease-in-out;
}

.footer_title {
  color: white;
  font-size: 18px;
  padding-block: 11.5px;
  font-weight: 800;
}

.footer_href:hover {
  color: #505e3c;
  font-size: larger;
  font-weight: bolder;
}


/* VIEWPORTS */
@media (min-width: 575px) {

  :root {
    --font2: 4rem;
    --font3: 2.6rem;
  }

  .can_scroll {
    min-width: calc(50% - 15px);
  }

  .feature .can_scroll {
    min-width: 25%;
  }

  .footer_box .container {
    grid-template-columns: 1fr 1fr;
  }

}

.dates {
  font-size: x-small;
  text-align: center;
}

@media (min-width: 768px) {

  :root {
    --font1: 9.1rem;
  }

  .can_scroll {
    min-width: calc(33.33% - 20px);
  }

}

@media (min-width: 992px) {

  .container {
    padding-inline: 30px;
  }

  .can_scroll {
    min-width: calc(20% - 24px);
  }

  /* Header */

  /* Hide the button (small screen)*/
  .nav_minimize,
  .nav_login {
    display: none;
  }

  .header {
    color: white;
    background: none;
  }

  .header.active {
    color: black;
    background-color: white;
  }

  .header .logo,
  .header .headerButton {
    color: var(--color);
  }

  .header .headerButton.user {
    display: block;
  }

  .logo {
    font-size: 3.8rem;
  }

  .NavigationBar,
  .NavigationBar.active {
    all: unset;
    margin-inline-end: auto;
  }

  .NavigationBar_List {
    display: flex;
    gap: 10.5px;
  }

  .navbar_href {
    color: var(--color);
    font-weight: 700;
    transition: 0.25s ease;
    --font4: 1.7rem;
  }

  /* Rx: nav when touch */
  .header.active .navbar_href:is(:focus, :hover) {
    color: #A0AA92;
  }

  .header .navbar_href:is(:focus, :hover) {
    color: #314912;
  }

  .feature .can_scroll {
    min-width: 20%;
  }

  /* Rx: Size for each box */
  .footer_box .container {
    grid-template-columns: 1fr 0.8fr 0.5fr 0.2fr;
  }

}

@media (min-width: 1200px) {
  :root {
    --font1: 15rem;
    --font3: 3.2rem;

  }

  .grid_view {
    grid-template-columns: repeat(4, 1fr);
  }

  :is(.feature, footer) .container {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
  }

  footer {
    padding-block-start: 40px;
  }

}

@media (max-width: 575px) {
  footer {
    background-image: none !important;
  }

  .footer_box {
    padding-block-start: 10px;
  }
}

@media (max-width: 980px) {
  footer {
    background-image: none !important;
  }
}