body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #222;
    box-sizing: border-box;
    scrollbar-color: transparent transparent;
    margin: 0;
    padding: 0;
    overflow: auto;
}

#landingpage-video {
    position: fixed;
    object-fit: cover;
    width: 100%;
}

.page-content {
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.title-image {
    max-height: 60%;
    width: auto;
    border-radius: 10px;
}

/* For WebKit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 0; /* Width of the vertical scrollbar */
}

::-webkit-scrollbar-thumb {
    background-color: transparent; /* Color of the thumb */
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Image part*/
.image-container {
    width: 100%;
    height: 50vh;
    margin-top: -30vh;
    position: relative;
    background-image: url('media/HiddenJams-Sirintip_171.jpg'); /* Replace with the path to your image */
    background-size: cover; /* Adjust to cover the container */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent image repetition */
}

.cover {
    position: absolute;
    left: 0;
    width: 100%;
    top: 70vh;
    height: 130%;
    background-color: #f5f5f5;
    transition: transform 0.5s ease-in-out;
    z-index: -1;
    transform: translateX(0);
}

.info-segment {
    background-color: #222;
    display: flex;

    width: 100%;
    align-items: center;
}

.info-wrapper {
    color: #f5f5f5;
    text-align: left;
    width: 70vw;
    max-width: 800px;
    align-self: flex-end;
    padding: 20px;
    position: relative;
    margin: 7vh 15vw 7vh auto;
}

.big-font {
font-size: 2.7em;
margin-bottom: 10px;
}

.small-font {
font-size: 1.5em;
}

.line-wrapper {
position: relative;
width: 100%;
height: 1px;
margin: 4vh 0;
background-color: #f5f5f5;
transition: width 0.5s ease;
}

/* Scroll-triggered animation for the line */
.scroll-trigger .line {
width: 100%;
}



h1 {
    font-size: 2.5em;
}

.title-text {
    color: #333;
    font-size: 15vh;
}

.blur {
    display: flex;
    font-size: 15vh;
}

#hidden-text {
    z-index: -1;
    padding-right: 2%;
    font-weight: 700;
}

#jams-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    z-index: 900;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 100;
    }
}

/* Scroll reveal  */
.hidden-element {
    opacity: 0;
    transition: opacity 2s ease;
    margin-bottom: 20px;
  }

  .visible-element {
    opacity: 1;
    transition: opacity 2s ease;
  }


/*animations*/
@keyframes fadeInBlur {
    from {
        z-index: 901;
        font-size: 9vh;
        text-shadow: 0 0 200px #f5f5f5;
    }
    to {
        z-index: 901;
        font-size: 15vh;
        text-shadow: 0 0 0 #333;
    }
}

@keyframes slideRight {
    from {
        font-weight: lighter;
    }
    to {
        transform: translateX(0%);
        font-weight: lighter;
        color: #333;
    }
}

@keyframes slideLeft {
    from {
    }
    to {
        transform: translateX(0%);
        color: #333;
    }
}

@keyframes slideDown {
    from {
        font-weight: lighter;
    }
    to {
        position: relative;
        transform: translateY(0%);
        font-weight: lighter;
        color: #333;
    }
}

@keyframes slideUp {
    from {
    }
    to {
        position: relative;
        transform: translateY(0%);
        color: #333;
    }
}

@keyframes coverSlide {
    to {
        transform: translateX(-100%);
    }
}

.slide-in-photo img {
    width: 100%;
}

@media (orientation: portrait) {
    #landingpage-video {
        min-height: 80%;
        width: 100%;
    }

    .title-text {
        font-size: 8vh;
    }

    .blur {
        font-size: 8vh;
    }

    #hidden-text {
        font-size: 8vh;
    }

    #jams-text {
        font-size: 8vh;
        letter-spacing: 30px;
        text-align: right;
        padding-left: 13px;
    }

    @keyframes fadeInBlur {
        from {
            z-index: 901;
            font-size: 5vh;
            text-shadow: 0 0 200px #f5f5f5;
        }
        to {
            z-index: 901;
            font-size: 9vh;
            text-shadow: 0 0 0 #333;
        }
    }
    .info-segment {
        padding: 10px;
      }
  
      .info-wrapper {
          margin-right: auto;
          width: 80vw;
      }
      .big-font {
        font-size: 1.5em;
      }
  
      .small-font {
        font-size: 0.9em;
      }
}

@media (orientation: portrait) and (min-width: 700px) {
    .container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #jams-text {
        text-align: center;
        position: relative;
    }
    #hidden-text {
        text-align: center;
        display: block;
        height: auto;
    }
}

@media (max-width: 500px) and (max-device-width: 500px) {
    .navbar a {
        font-size: 14px;
    }
}

/* Media query for desktop when the tab becomes smaller */
@media (max-width: 700px) {
    .container {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #jams-text {
        transform: none;
        text-align: center;
        position: relative;
    }
    #hidden-text {
        transform: none;
        position: relative;
        text-align: center;
        display: block;
        height: auto;
    }
}