/*reset the default styles*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    overflow-x: hidden;
    background: #000000;
    scroll-snap-type: y mandatory; /* Enable vertical snapping */
    overflow-y: scroll; /* Vertical scroll */
    scroll-behavior: smooth; /* Smooth scrolling */
    -webkit-overflow-scrolling: touch;
    
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /*overflow: hidden;*/
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

section {
    width: 100%; /* Full width of the container */
    /*max-width: 1200px; /* Restrict maximum width */
    margin: 0 auto; /* Center the section */
    height: auto;
}

.snap {
    scroll-snap-align: start;
}

::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #353535;
    box-shadow: inset 0 0 15px 2px #5f5f5fc2;
    height: 200px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #939393;
    box-shadow: 0 0 20px 3px #000000c7;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #6e6e6e;
  }

  .scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
  }
/*#region FONTS */

.amarante-large {
    font-family: "Amarante", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 6rem;
}
.amarante-regular {
    font-family: "Amarante", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.2rem;
}
.amarante-small {
    font-family: "Amarante", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.0rem;
}
.montserrat-regular {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.white {
    color: #eeeeee;
}
.black {
    color: black;
}
.bold {
    font-weight: bold;
}
a {font-size: 1.5rem; font-weight: 300;}
p {font-size: 1.2rem; font-weight: 300; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);}
h1 { font-size: 2.2rem; font-weight: 700;}
h2 {font-size: 1.8rem; font-weight: 500;}
.sointi-h1 {font-size: 10.4rem; font-weight: 700;}

/*#endregion*/

/*#region NAVIGATION BAR */
.navbar {
    position: fixed;
    top: 7.3rem;
    text-transform: uppercase;
    right: 3.3rem;
    height: 150px;
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0.9;

    &:hover {
        right: 3.3rem;
    }
}

.nav-item {
    color: white;
    text-decoration: none;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
    white-space: nowrap;
}

.navbar.minimized{
    right:-10%;
}
  
.nav-item:hover {
    opacity: 0.5;
    transform: translate(-7%);
}
  
.nav-item.minimized {
    opacity: 0;
    font-size: 0;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    /* left: 40px; */
    /* top: 40px; */
    position: absolute;
    height: 80px;
    /* width: 103px; */
    /* width: 100px; */
    /* border-style: solid; */
    left: 3.3rem;
    top: 2.3rem;
    padding: px;
    /* background: white; */
    z-index: 999;
    margin: 0;
  }
  

.logo object {
    width: 90px;
    border-color: #ffffff70;
    border-radius: 0px;
    border-style: solid;
    border-width: 0.5px;
    padding: 5px;
}
.video-text {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.video-text object {    
    width: 600px;

}

.hamburger-menu {
    position: fixed;
    top: 40px;
    right: 3.3rem;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    z-index: 1000;
        &:hover {
        transform: scale(1.2);
        }
  }
  
  .bar {
    height: 4px;
    width: 100%;
    background-color: #ffffff;
    transition: 0.3s ease-in-out;
    border-radius: 2px;
  }

  .hamburger-menu.active .top {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger-menu.active .middle {
    opacity: 0;
  }
  
  .hamburger-menu.active .bottom {
    transform: rotate(-45deg) translate(5px, -5px);
  }

.sidebar-label {
    position: fixed;
    /* right: 15px; */
    /* transform: translateY(-50%) rotate(90deg); */
    top: 40px;
    right: 3.3rem;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    padding: 10px;
    opacity: 1;
    border-width: 0.5px;
    border-style: solid;
    border-color: #ffffff70;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  
  .sidebar-label:hover {
        color: rgb(207, 207, 207);
        background-color: #00000011;
  }
/*#endregion*/

/*#region VIDEO SECTION */
.video-container {
    position: relative; /* Allows overlay positioning */
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    min-width: 100vw;
    min-height: 100vh;
    overflow-x: clip;
    /*box-shadow: 0 0 300px rgba(0, 0, 0, 0.9) inset;*/
    background-color: rgba(30, 30, 30, 0.3);
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the video */
    width: 100%; /* Make video cover the container width */
    height: 100%; /* Make video cover the container height */
    object-fit: cover; /* Ensures video covers the container without distortion */
    z-index: -1; /* Places video behind other elements */
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center overlay content */
    text-align: center;
    color: white; /* Text color for visibility */
    z-index: 1; /* Ensure overlay content appears above video */
}

.video-overlay h1 {
    margin: 0;
    font-size: 15rem;
}

/*#endregion*/

/*#region MEMBER SECTION */
.contact-container {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
      min-height: 100vh;
      align-content: center;
      display: grid;
}

.member-section {
  padding: 5% 15%; 
  background-color: #000000; 
  box-sizing: border-box;
  position: relative;
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-rows: 2 auto;
  place-items: center;
}

div.member-container {
    display: grid;
    gap: 32px;
    justify-items: center;
    align-items: center;
    width:300px;
}

div.member-details {
    display: grid;
    text-align: center;
    gap: 16px;
    z-index: 2;
}

div.member-image {
    height: 300px;
    width: 300px;
    z-index: 0;
}

.member-h1 {
    /*grid-column: 1 / span 2;*/
    justify-self: center;
}

p.person-info {
    line-height: 1.4;
}
.portrait {
    border-radius: 50%;
}

.filter-member {
  height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    position: absolute;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 30%), rgba(0, 0, 0, 0%));

}

/*#endregion*/

/*#region PARALLAX POSTCARDS */
.parallax {
    position: relative;
    z-index: 0;
    height: 200vh;
    width: 100vw;
    display: grid;
    grid-template-areas: "stack";
}

.postcards-section > * {
    grid-area: stack;
    animation: parallax linear;
    animation-timeline: scroll();
    
}

.postcards-section {
    height: 200vh;
    position: absolute;
    justify-self: center;
}
.bg-containers-post {
  height: 200vh;
    width: 100vw;
    min-width: 100%;
    display: flex;
    flex-direction: column;
}
.bg-container-post1 {
  flex: 1;
  z-index: 0;
  background: no-repeat url(../media/sunrise-bg.jpg);
  background-size: cover;
 
}
.bg-container-post2 {
  flex: 1;
  z-index: 2;
  background: no-repeat url(../media/post-bg.jpg);
  background-size: cover;
 
}
.parallax > img {
    width: 100%;
}

.parallax_bg2 {
    z-index: 1;
    position: relative;
    object-fit: contain;
}

.parallax_textbox1 {
    --parallax-speed: 33;
    z-index: 1;
    position: relative;
    top: 0%;

}
.parallax_text1 {
    text-align: center;
    font-size: 7.2rem;
}
.parallax_textbox2 {
    --parallax-speed: 4;
    align-content: center;
    position: relative;
    top: 54%;
    z-index: 4;
}
.parallax_text2 {
    text-align: center;
}

.filter-post1 {
  height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    position: absolute;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 30%), rgba(0, 0, 0, 0%));
}
.filter-post2 {
  height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    position: relative;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 30%), rgba(0, 0, 0, 0%));
}

@keyframes parallax {
    to {
        transform: translateY(calc(var(--parallax-speed) * 100px));
    }
}
/*#endregion*/

/*#region PARALLAX SOINTI */
.parallax-sointi {
    position: relative;
    z-index: 0;
    height: 160vh;
    display: grid;
    background: #010508;
    grid-template-areas: "stack";
}

.sointi-section > * {
    grid-area: stack;
    animation: parallax linear;
    animation-timeline: scroll();
    
}

.sointi-section {

}

.bg-containers-sointi {
  height: 100vh;
    width: 100vw;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    background: #010508;
  background-size: cover;
}

.bg-container-sointi1 {
  flex: 1;
  z-index: 2;
  background: no-repeat url(../media/sointi-bg.jpg);
  background-size: cover;
 
}
.parallax-sointi > img {
    width: 100%;
}
.parallax-bg-sointi {
    --parallax-speed: 15;
    z-index: 3;
    min-height: 100%;
    object-fit: contain;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4682247899159664) 48%, rgba(255, 255, 255, 0) 100%);
}

.parallax-textbox1-sointi {
    --parallax-speed: 6;
    z-index: 2;
    position: relative;
    bottom: 7%;

}
.parallax-text1-sointi {
    text-align: center;
    padding-top: 100px;
}



@keyframes parallax {
    to {
        transform: translateY(calc(var(--parallax-speed) * 100px));
    }
}

/*#endregion*/

/*#region POSTCARDS PROMO */

.carousel-container {
    position: relative;
    width: 100vw;
    height: 130vh;
    overflow-x: hidden;
    align-content: end;
    background-color: rgb(0, 0, 0);
    z-index: 0;
  }
  /* Carousel (Sliding Images) */
  .main-image-post {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
  
  /* Individual Images */
  .main-image-post img {
    width: 100vw;
    height: 130vh;
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
    object-fit: cover; /* Ensures the images fill their containers */
  }
  
  /* Overlay Content (Text) */
  .overlay-content {
    display: flex;
    z-index: 3;
    padding-bottom: 300px;
    width: 100%;
    color: white;
    position: relative;
    /*background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4682247899159664) 48%, rgba(255, 255, 255, 0) 100%);*/
    justify-content: center;
  }
  .right-section {
    width: 600px;
  }
  .left-section {
    text-align: left;
    width: 600px;
    display: flex;
    line-height: 1;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  .left-section h2 {
    margin-bottom: -2px;
  }
  .credits {
    line-height: 1.1;
  }
  .synopsis {
    line-height: 1.1;
  }
  .divider {
    width: 1px;
    height: 124px;
    margin: 0 32px;
    background: white;
  }
  .hover-container {
    display: grid;
    justify-content: space-between;
    grid-template-rows: auto;
    grid-template-columns: auto auto auto auto auto;
    
  }
  .hover-img {
    list-style: none;
    cursor: pointer;
    /* border-radius: 6px; */
    transition: transform 0.3s ease;
    opacity: 1;
    height: 124px;
    width: 119px;
    background: black;
    border-style: solid;
    border-color: #ffffff70;
    border-width: 0.5px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  .hover-img:hover{
    transform: scale(1.1);
    z-index: 999;
  }
  
  .hover-img img{
    width: 100%;
    height: 100%;
    transition: 0.5s;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .hover-img img:hover{
    opacity: 1;
    transform: scale(1.2);
    
}
 


.section-container {
    display: flex;
    align-items: flex-end;
    color: white;
    z-index: 10;
    flex-direction: row;
  }

  .filter-sointi {
    height: 100%;
      width: 100%;
      top: 0;
      left: 0;
      z-index: 2;
      position: absolute;
      background-image: linear-gradient(to top, rgba(0, 0, 0, 30%), rgba(0, 0, 0, 0%));
  }

.filter {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    position: absolute;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 72%), rgba(0, 0, 0, 0%));
}
  
/*#endregion*/

/*#region SOINTI PROMO */
 
 .main-image-sointi {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
  
  /* Individual Images */
  .main-image-sointi img {
    width: 100vw;
    height: 130vh;
    z-index: 1;
    transition: opacity 0.2s ease-in-out;
    object-fit: cover; /* Ensures the images fill their containers */
  }

/*#endregion*/

/*#region CONTACT */



/*#endregion*/

