

@font-face {
    font-family: "Proxima Nova";
    src: url(../images/our-story/Fonts/ProximaNova-Regular.otf);
    font-weight: 400;
}

@font-face {
    font-family: "Proxima Nova";
    src: url(../images/our-story/Fonts/Proxima\ Nova\ Bold.otf);
    font-weight: 700;
}

@font-face {
    font-family: "Proxima Nova";
    src: url(../images/our-story/Fonts/Proxima\ Nova\ Extrabold.otf);
    font-weight: 800;
}

.root {
    position: relative !important;
    width: 100%;
    /* Total height = 100vh (baseline) + 30 * 100vh (animation duration) */
    height: 3100vh;
}

body{
    margin: 0px;
    background: #000E29;
}

.bgm{
    display: none;
}

.loading-overlay{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.5s;
}

.start-button{
    color: #fff;
    background: linear-gradient(to right, #0544E4, #008CFF);
    border: none;
    padding: 20px 30px;
    font-family: "Proxima Nova";
    font-size: 16px;
    border-radius: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.5s;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}


.loader {
    width: 120px;
    height: 20px;
    transform: skewX(-45deg);
    background: 
      linear-gradient(#008CFF 0 0) left -30px top 0/30px 20px no-repeat 
      #1853A1;
    animation: l3 1s infinite linear;
    transition: opacity 0.5s;
  }
  
  @keyframes l3 {
    100% {background-position: right -30px top 0}
  }

  .loading-percentage{
    position: fixed;
    left:50%;
    top: 50%;
    transform: translate(-50%,-50%) translateY(50px);
    color: #fff;
    font-family: "sans-serif";
    font-size: 24px;
    transition: opacity 0.5s;
    font-weight: 700;
    font-family: "Proxima Nova";
    
  }


.timeline{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0px;
    left: 0px;
}

.cssRenderer{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.start-content{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: url(../images/our-story/frames/frame_1.webp);
    background-size: cover;
    background-position: center;
}

.year-element{
    font-family: "Proxima Nova";
    font-weight: 800;
    
    background:linear-gradient(90deg,#052445 0%, #1853A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    font-size: 24px;
    display: none;
}

.hero-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.canvas-3d-elements{
    opacity: 0;
    pointer-events: none;
    position: fixed;
    z-index: -10;
}

.canvas-3d{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.start-blue-overlay{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100vw;
    background: #000E29;
    z-index: 0;
    opacity: 1;
}

.blue-gradient-overlay{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(to bottom,#010B22 0%,#113882 50%,#010B22 100%);
    z-index: 0;
    opacity: 0;
}

.bright-blue-gradient-overlay{
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100vw;
    background: radial-gradient(
  ellipse at center,
  #008CFF 0%,
  #0544E4 100%
);
z-index: 0;
opacity: 0;
}


.background-2-overlay{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100vh;
    opacity: 0;
}

.background-2-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    outline-offset: -5px;
    background: linear-gradient(
        to bottom,
        #000E29 0%,
        rgba(0,8,25,0.8) 25%,
        rgba(0,8,25,0.6) 50%,
        rgba(0,8,25,0.8) 75%,
        #000E29 100%
    );
}

.background-2-overlay video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* .background-3-overlay{
    background: url("../images/our-story/Background 3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100vh;
    opacity: 0;
} */

.mouse-scroll-icon{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,0%);
    z-index: 2;
}

.mouse {
    max-width: 30px;
    width: 100%;
    height: auto;
  }

  .scroll {
    animation-name: scroll;
    animation-duration: 1.5s;
    animation-timing-function: cubic-bezier(0.650, -0.550, 0.250, 1.500);
    animation-iteration-count: infinite;
    transform-origin: 50% 20.5px;
    will-change: transform, opacity;
    opacity: 1;
  }
  
  @keyframes scroll {
  
    0%, 20% {
      transform: translateY(0) scaleY(1);
    }
  
    100% {
      transform: translateY(36px) scaleY(2);
      opacity: 0;
    }
  
}

.sound-button{
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 100px;
    transform: translate(25px, 25px);
    cursor: pointer;
    z-index: 5;
}

.sound-button svg path {
    fill: #ffffff;
  }



.color-white{
    color: #ffffff;
   
}

.revolving-element.text-3d{
    font-weight: 400;
    text-align: center;
    line-height: 1;
}

.revolving-element.year{
    font-weight: 700;
}


.formed{
    font-size: 7px;
}

.revolving-element.css3d{
    padding: 20px;
    color: white;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0,0,0,0.6);
    font-family: "Proxima Nova";
}

.aquilla-details{
    border-radius: 15px;
}

.text-center{
    font-weight: 400;
    text-align: center;
    line-height: 1;
}

.gradient-text{
    background: linear-gradient(45deg,#0544E4, #008CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Proxima Nova";
}

.dark-gradient-text{
    font-family: "Proxima Nova";
    font-weight: 800;

    background:linear-gradient(90deg,#052445 0%, #153593 100%);
    font-size: 70px;
}

.bold-text{
    font-weight: 800;
}

.white-gradient-text{
    background: linear-gradient(90deg,rgba(255,255,255,0.4) 30%, rgba(255,255,255,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: white;
    font-family: "Proxima Nova";
}

.year-2021{
    background: linear-gradient(90deg,#0544E4, #008CFF);
}



.dba-image-2{
    width: 100%;
    border-radius: 5px;
}

.aq-launched{
    background:linear-gradient(90deg,#052445 0%, #1853A1 100%);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 20px;

}

.dpt-launched-year{
    background: linear-gradient(90deg,#0544E4, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 40px;
}

.dpt-launched-text{
    background: linear-gradient(90deg,#0544E4, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 10px;
}
.edge-launched-year{
    background: linear-gradient(90deg,#0544E4, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 20px;
}

.edge-launched-text{
    background: linear-gradient(90deg,#2f65ef, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 5px;
}

.aq-cybersecurity-text{
    background: linear-gradient(90deg,#0544E4, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 400;
    font-size: 20px;
}

.last-section-text{
    background: linear-gradient(90deg,rgba(0,140,255,1) 0%, #008CFF);
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
}


.horizontal-container-1{
    width: 100vw;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        #008CFF 0%,
        #0544E4 100%
      );
      opacity: 0;

      overflow: hidden;
}

.horizontal-1-contents{
    display: flex;
      flex-direction: row;
      gap: 100px;
      transform: translateX(0%);
      width: fit-content;
      height: 100%;
      align-items: flex-start;
}

.horizontal-heading{
    font-family: "Proxima Nova";
    font-weight: 500;
    font-size: 8vw;
    line-height: 0.9;
    background: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    margin-top: 5vh;
    margin-left: 5vw;
    min-width: 70vw;
}

.horizontal-year-1{
    position: absolute;
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 55vw;
    color: #0544E4;
    opacity: 0.5;
    line-height: 0.8;
    left: 5%;
    top: 50%;
    transform: translate(0%,-50%);
    z-index: -1;
}

.horizontal-images{
    left: 0px;
    top: 0px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    height: 100vh;
}


.horizontal-image{
    border-radius: 100px;
}

.horizontal-sidebar{
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5%;
    gap: 40px;
    background-color: #0368F1;
    box-sizing: border-box;
    max-width: 25vw;
    border-radius: 0vw 5vw 5vw 0vw;
}

.horizontal-sidebar-element{
    font-family: "Proxima Nova";
    font-weight: 400;
    color: #fff;
    font-size: 24px;
    opacity: 0.5;
    transition: opacity 0.5s;
    position: relative;
    z-index: 5;
}

.horizontal-sidebar-element.active{
    opacity: 1;
}

.horizontal-2-contents{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100dvw;
    height: 100%;
    opacity: 1;
    overflow: hidden;
}

.horizontal-sidebar{
    height: 100%;
}

.bottom-year-overlay{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 100%;
    width: 100vw;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
    background:linear-gradient(rgba(255,255,255,0) 0%, rgba(5, 68, 228,1) 100%); 
}

.bottom-year{
    font-family: "Proxima Nova";
    font-weight: 800;
    font-size: 42vw;
    background:linear-gradient(rgba(0,0,0,0.1) 0%, rgba(0,0,0,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity:0.6;
    line-height: 0.8;
    z-index: 2;
    margin-bottom: -4%;
}

.dba-launched{
    font-weight: 400;
}

.dba-year{
    font-size: 20px;
}

.horizontal-2-images{
    position: absolute;
    left: 0px;
    top: 0px;
    display: flex;
    flex-direction: row;
    height: 100%;
    opacity: 1;
    z-index: -1;
    transform: translateX(0%);
}
.horizontal-2-image{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}


@media (max-width:1024px) {
    .revolving-element.year{
        font-size: 8px;
    }

    .formed{
        font-size: 4px;
    }

    .oculus-text{
        font-size: 5px;
    }

    .big-year-text{
        font-size: 30px;
    }

    .dba-launched{
        font-size: 8px;
    }

    .dba-year{
        font-size: 10px;
    }

    .aq-launched{
        font-size: 8px;
    }

    .dpt-launched-year{
        font-size: 20px;
    }

    .dpt-launched-text{
        font-size: 6px;
    }

    .aq-cybersecurity-text{
        font-size: 6px;
    }

    .last-section-text{
        font-size: 7px;
    }

    .year-element{
        font-size: 5px;
    }

    .horizontal-1-contents{
        flex-direction: column;
        gap: 20px;
        height: fit-content;
    }

    .horizontal-images{
        height: fit-content;
        flex-direction: column;
        box-sizing: border-box;
        padding: 10px;
    }

    .horizontal-heading{
        font-size: 60px;
    }

    .horizontal-image{
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .horizontal-2-images{
        flex-direction: column;
        height: fit-content;
    }

    .horizontal-sidebar{
        width: 100vw;
        max-width: 100vw;
        height: 30dvh;
        justify-content: space-around;
        gap: 0px;
        border-radius: 0px 0px 20px 20px;
    }

    .horizontal-sidebar-element{
        font-size: 16px;
    }

    .horizontal-2-image{
        min-height: 100dvh;
    }

    .horizontal-heading{
        background: linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 120%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .scroll-dummy{
        height: 2000vh;
    }

    .bottom-year-overlay{
        background:linear-gradient(rgba(255,255,255,0) 50%, rgba(5, 68, 228,0.5) 100%); 
    }

    .start-content{
        background: url(../images/our-story/mobileframes/frame_1.webp);
    }
}