*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0;
    font-family: 'BL Melody', sans-serif;
    font-weight: 300; /* Regular */
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Book.woff2') format('woff2');
  font-weight: 350; /* between light and regular */
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* Helvetica Pixelated */
@font-face {
  font-family: 'Helvetica Pixelated';
  src: url('/fonts/helvetica-pixelated.otf.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  transform: translateY(0); /* start fully visible */
  transition: transform 0.3s ease-in-out;
}

#loader.loaded {
  transform: translateY(100%); /* swipe down off screen */
}

#loader.exit {
  transform: translateY(0); /* swipe up onto screen */
}

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #000;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 10px;
}

#navbar_logo {
  text-decoration: none;
  color: inherit;
  display: flex;               /* <== this is key */
  align-items: center;
}

.logo_group {
  display: flex;               /* <== this makes image and text side by side */
  align-items: center;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;          /* space between image and text */
}

.logo_text {
  font-size: 0.8rem;
    font-size: clamp(10px, 2vw, 15px); /* min: 14px, preferred: 2% of width, max: 20px */
    white-space: nowrap; /* keeps text in one line */
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 60px;
    width: 120px;
}

.navbar__links {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__links:hover {
    background: #000000;
    color: #ffffff;
    transition: all 0.3s ease;

}

.main {
    width: 100%;
    padding: 0px 0px;
    display: flex;
    justify-content: center;
}

.main__container {
    display: flex;
    align-items: center; /* <== changed from center */
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
    margin: 0px 20px;
    max-width: 1300px;
    padding: 2vw 2vw;
    
}

.main__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    
}

.main__content h1 { 
    font-family: 'BL MELODY';
    font-weight: 400;
    align-items: flex-start;
    font-size: 20px;
    margin-top: 0px;
    padding: 20px 0px 0px;
    
}

.main__content p {
    font-family: 'BL MELODY';
    font-weight: 100;
    margin: 0;
    max-width: 500px;
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding: 1vw 0 30px;
    border: 1px #000;
}
.main__btn {
    font-size: 14px;
    align-content: flex-start;
    background-image: none;
    border: 1px solid #000;
    padding: 14px 32px;
    color: #000;
    text-decoration: none;


}


.hover-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-self: flex-start;
}

.hover-image {
    width: auto;
    max-height: 750px;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.floating-text {
  position: absolute;
  background: #0000ff;
  color: #fff;
  border: 1px solid #000;
  padding: 6px 10px;
  font-family: 'Helvetica Pixelated';
  font-size: 14px;
  pointer-events: none; /* let mouse go through */
  display: none;
  z-index: 1000;
  white-space: nowrap;
}

.hover-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

@media screen and (max-width: 960px) {
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5 ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: #f1f1f1;
        border: 1px solid #000;
        top: 100%;
        opacity: 1;
        transition: all 0.5 ease;
        z-index: 99;
        height: 50vh;
        font-weight: 1.6 rem;
    }

    #navbar_logo {
        padding-right: 0px;
        width: 1px
    }

    .navbar__logo-img {
        padding-left: 20px;
    }

    .logo_text {
        font-size: clamp(14px, 2vw, 20px); /* min: 14px, preferred: 2% of width, max: 20px */
        white-space: nowrap; /* keeps text in one line */
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #000;
    }

    .navbar__item {
        height: 100%;
        width: 100%;
    }

    .navbar_links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%)
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}