body{
    background-size: auto;
    background-color: #E5E1E6;
    margin-left: -8px;
    overflow-x: hidden;
}

.cursor {
    pointer-events: none;
}

.cursor__ball {
    position: fixed;
    top: 0;
    left: 0;
    mix-blend-mode: difference;
    z-index: 1000;
}

.cursor__ball circle {
    fill: #f7f8fa;
}

.cursor__ball--big, .cursor__ball--small {
    transition: transform 0.3s ease-out;
}

.outerContainer{
    display: flex;
    flex-direction: column;
    width:80dvw;
    margin: 4rem 138px 400px 138px;
}

.innerContainer{
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    margin-top: 6rem;
    align-items:baseline;
}

.roles{
    display: flex;
    flex-direction: column;
    column-gap: 0px;
}

.roles>h5{
    margin:0;
}

.services>h5{
    margin:0;
}

.services>h5:last-of-type{
    margin-top: 8px;
}

.services a {
    text-decoration: none;
    color: black;
}

.intro{
    max-width: 12rem;
}

.introButtons{
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.arrow{
    display: flex;
    flex-direction: row;
}
.scrollDown{
    width: 25px;
    height: 50px;
    border:#101B20 solid 2px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
}

.scrollDown span{
    background-color: #101B20;
    width: 3px;
    height: 8px;
    border-radius: 30px;
    margin-top: 8px;
    position: relative;
}

.scrollDown span::before{
    position: absolute;
    content: '';
    width:8px;
    height: 8px;
    border: none;
    border-right: 2px solid #101B20;
    border-top:2px solid #101B20;
    transform: translateY(-10px) rotate(135deg);
    left: -3px;
    margin-top: 8px;
    opacity: 0;
    animation: ani 1.8s infinite linear;
}

.scrollDown span::after{
    position: absolute;
    content: '';
    width:8px;
    height: 8px;
    border: none;
    border-right: 2px solid #101B20;
    border-top:2px solid #101B20;
    transform: translateY(-10px) rotate(135deg);
    left: -3px;
    margin-top: 8px;
    opacity: 0;
    animation: ani 1.8s infinite linear;
    animation-delay: 0.8s;
}

@keyframes ani{
    0% {
        margin-top: 10px;
        opacity: 0;
    }
    50% {
        margin-top: 25px;
        opacity: 1;
    }
    100% {
        margin-top: 40px;
        opacity: 0;
    }
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
}

.logo img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease-in-out;
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        0deg,
        transparent,
        transparent 30%,
        rgba(81, 12, 118, 0.5)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(81, 12, 118, 0.7);
}

.logo:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}

.logo:hover img {
    transform: rotateY(360deg);
}


.navigation {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    width:100dvw;
    height: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(9.5px);
    padding: 1em;
    left:0;
    top: 0;
    z-index: 2;
    font-family: 'Aktiv Grotesk', sans-serif;
}

.navContainer {
    width: fit-content;
    padding: 0px 80px 0px 100px;
    display: flex;
    flex-direction: row;
}


.navContainer > ul {
    display: flex;
    flex-direction: row;
    margin: 0px 4rem;
    list-style: none;
    padding: 0;
}

.navContainer > ul > li {
    margin: 0px 2rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 16px;
}

.navContainer > ul > li a {
    color: #101b20;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 20px;
    padding: 10px 20px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.navContainer > ul > li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.navContainer > ul > li a:hover::before {
    width: 200px;
    height: 200px;
    animation: ripple 1s ease-out infinite;
    opacity: 1;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.navContainer > ul > li a:visited {
    color: #101b20;
}

.navContainer button {
    background-color: #101b20;
    color: #e5e1e6;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.navContainer button:hover {
    background-color: #0d161b;
    transform: scale(1.05);
}

.navContainer button:active {
    transform: scale(0.95);
}

.services h5 {
    transition: transform 0.3s ease;
  }
  
  .services h5:hover {
    transform: translateX(5px);
  }
  

.socials{
    display: flex;
    flex-direction: row;
    height: min-content;
    align-items: center;
    margin: auto;
    margin-left: 300px;
    column-gap: 4px;
}

.socials a{
    margin-top: 4px;
    width: 4%
}

.socials button {
    color: #e5e1e6;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.socials button a {
    text-decoration: none;
    color: inherit;
}

.socials button:hover {
    background-color: #0d161b;
    transform: scale(1.05);
}

.socials button:active {
    transform: scale(0.95);
}

.projectsContainer{
    margin-top: 1rem;
    margin-right: -100px;
}

.projectSection{
    padding-top: 4rem;
    margin-left: -132px;
    max-width: 100dvw;
}

.projectSection>hr{
    width: 99.3dvw;
}

.projectSection>h5{
    margin-left: 138px;
}

.caseStudy{
    display: flex;
    flex-direction: row;
}

.projectInfo{
    width:30rem;
    margin-top: 20px;
}

.projectInfo>h5{
    margin:0;
}


.project>h5{
    margin: 0;
}

.projectHeader>h1{
    margin-bottom: 0;
}

.projectHeader>h4{
    margin-top:0;
}

.projectIntro{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.twoColumn{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
    margin-bottom: 60px;
    column-gap: 16px;
}

.threeColumn{
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    margin-top: 60px;
    margin-bottom: 60px;
    column-gap: 16px;
}

.threeColumn h5, h4, h3 {
    margin: 0;
}

.twoColumn h5, h4, h3, h2 {
    margin: 0;
}

.twoColumn ol li::marker {
    font-family: "aktiv-grotesk" ;
    font-size: 2rem;
    font-weight: bold;
    
}

.introText{
    width:30rem;
    margin-left:20px;
    margin-top: 0;
}

.introText h3{
    margin-bottom: 16px;
}

.info{
    margin-top: 8rem;
}

.footer{
    background-color: #101B20;
    color: #E5E1E6;
    width: 100dvw;
    height: 84px;
    padding-top: 40px;
    position: absolute;
    bottom:0;
    margin-bottom:-400rem;
    margin-left: -132px;
}

.footer>p,.footer>h4{
    margin: auto 0px auto 138px;
}

.footer>h4{
    margin-left:138px;
}

.footer>h4:hover{
    cursor: pointer;
    margin-left:148px;
    transition:0.5s ease-in-out;
}

.footer>hr{
    margin: auto 0px 0px 0px;
}

.y.mandatory-scroll-snapping {
    display: flex;
    flex-direction: column;
}

.projectBox {
    margin:2rem 0px 2rem -132px;
    height: 100vh;
    width:100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    color:#E5E1E6;
}
.projectBox > a{
    text-decoration: none;
    color: #e5e1e6;
}

.projectBox > a:visited {
    color: #e5e1e6;
}

.projectsContainer .projectBox:nth-of-type(2) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/remedify/remedifyCard.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}


.projectsContainer .projectBox:nth-of-type(3) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/illestillusionz/illestCard2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: overlay;
}

.projectsContainer .projectBox:nth-of-type(4) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(4)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/bcitdance/rosiePost.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: overlay;
}

.projectsContainer .projectBox:nth-of-type(5) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(5)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/vfs/vfsprojectheader.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
}

.projectsContainer .projectBox:nth-of-type(6) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(6)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/bw/bwHeader.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
}

.projectsContainer .projectBox:nth-of-type(7) {
    position: relative;
}

.projectsContainer .projectBox:nth-of-type(7)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/tc/tcPhoneMockup.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px);
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
}


.projectBox>a{
    margin-left:132px;
}

.projectHeader{
    padding-bottom: 12px;
}

.introName{
    padding-top:1rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.pageEnd{
    padding-top: 10rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.viewSection {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    row-gap: 12px;
  }

  .viewSection img {
    padding-bottom: 12px;
  }

  .viewSection a {
    align-self: flex-end;
    margin-top: 40px;
  }
  
  .viewSection button {
    padding: 10px 20px;
    background-color: #101B20;
    color: white;
    border: none;
    cursor: pointer;
  }

.spacedButtons{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.motionReel {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width:50%;
    margin: auto;
}

.motionReel video {
    display: block;
    margin: 0 auto;
}

.threeColumnProjects{
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    margin-top: 40px;
    margin-bottom: 40px;
    column-gap: 16px;
    align-items: center;
    height:16em;
    padding:16px;
    transition: all 0.3s ease-in-out;
}

.threeColumnProjects:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(81, 12, 118, 0.7);
    opacity: 1;
    color:#E5E1E6;
    background-color: #0d161b;
}

.threeColumnProjects h5, h4, h3 {
    margin: 0;
}

.threeColumnProjects div:last-child {
    height: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.threeColumnProjects div:nth-of-type(2){
    width:50%;
}

.threeColumnProjects img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.filterButtons{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 28px;
    margin-top: 12em;
}

.filterButtons button{
    color: #e5e1e6;
    background-color: #101B20;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding:8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.filterButtons button:hover{
    background-color: #0d161b;
    transform: scale(1.05);
}

.tracking{
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.tracking>video{
    display: none;
}

#predictionCanvas {
    transition: all 0.3s ease-in-out;
    border: 5px solid transparent;
    border-image-slice: 1;
    animation: borderAnimation 4s linear infinite;
  }
  
  @keyframes borderAnimation {
    0% {
      border-image-source: linear-gradient(0deg, rgba(81, 12, 118, 0.7), transparent);
    }
    25% {
      border-image-source: linear-gradient(90deg, rgba(81, 12, 118, 0.7), transparent);
    }
    50% {
      border-image-source: linear-gradient(180deg, rgba(81, 12, 118, 0.7), transparent);
    }
    75% {
      border-image-source: linear-gradient(270deg, rgba(81, 12, 118, 0.7), transparent);
    }
    100% {
      border-image-source: linear-gradient(360deg, rgba(81, 12, 118, 0.7), transparent);
    }
  }
  
  .canvas-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: 250px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 330 / 230;
    
    border: 5px solid transparent;
    border-image-slice: 1;
    animation: borderAnimation 4s linear infinite;
  }
  
  
  .tracking button {
    padding: 10px 20px;
    background-color: #101B20;
    color: white;
    border: none;
    cursor: pointer;
  }

  #instructions {
    background-color: transparent;
    color: #101B20;
    width: 20px;
    height:3em;
    font-size: large;
    border-radius: 20px;
  }

  #instructionText{
    font-family: "aktiv-grotesk", sans-serif;
    font-weight: 300;
    font-style:  normal;
  }

  .overlay {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 500px;
}
.button-container {
    position: relative;
    display: inline-block;
}
  