:root {
    --bg: #000000;
    --bg2: #181818;
    --tx: #e7e7e7;
    --tx-low: rgba(231, 231, 231, 0.3);
    --tx2: #696969;
    --tx3: #404040;
    --cf: #9acd32;
    --cf-bright: #adff2f;
    --cf2: #059d00;

    --border: 1px solid var(--tx2);

    --f-main: "Lexend", sans-serif;
    --ff: "Source Code Pro", monospace;

    --right-width: 120px;
    --days-container-width: 150px;

    --title-size: clamp(46px, 18vw, 160px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes loading {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

/* For WebKit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 18px; /* Width of the scrollbar */
  background: var(--bg); /* Black background */
}

::-webkit-scrollbar-thumb {
  background: var(--tx); /* Gray thumb */
  border-radius: 6px; /* Optional: rounded corners for the thumb */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-color: var(--tx) var(--bg);
    scrollbar-width: normal;
    background-color: var(--bg);
    color: var(--tx);
}

body {
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg);
    color: var(--tx);
    font-family: var(--f-main);
    scrollbar-width: normal;
    scrollbar-color: var(--tx) var(--bg);
    font-size: 22px;
}

/* #main-nav {
    border-bottom: 1px solid var(--tx2);
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .4em;
    color: var(--tx2);
    padding: .6em;
}
#main-nav a {
    color: var(--tx2);
    text-decoration: none;
}
#main-nav a:hover {
    color: var(--cf-bright);
} */

#smooth-wrapper {
    transform-origin: bottom left;
}

::selection {
    background-color: var(--cf2);
    color: var(--bg);
}

.color-focus {
    color: var(--cf-bright);
}

.color-focus2 {
    color: var(--cf2);
}

.nowrap {
    text-wrap: nowrap;
    white-space: nowrap;
}

@keyframes blurEffect {
    0% {
        filter: blur(0px);
    }
    20% {
        filter: blur(10px);
    }
    100% {
        filter: blur(0px);
    }
}

canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: exclusion;
}

.title-container {
    height: 100dvh;
    display: flex;
    justify-content: flex-end;
    align-items: end;
    z-index: 1;
    width: 100%;
}
.title {
    font-size: 10rem;
    text-transform: uppercase;
    font-weight: bold;
    transform-origin: left;
    animation: title-enter 1s;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.title small {
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    margin: 0 2em;
    min-width: 66px;
}

@keyframes title-enter {
    from {
        transform: translateY(100%) rotate(20deg);
    }
}

.heading-container {
    /* position: absolute; */
    /* background-color: red; */
    /* width: fit-content; */
    /* top: 50dvh;
    left: 50dvw;
    transform: translate(-50%, -50%); */
    /* background-color: red; */
    text-align: center;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    
    /* background-color: blue; */
    overflow: hidden;
}

.heading-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.heading {
    line-height: 1;
    font-size: 6rem;
    text-wrap: nowrap;
    white-space: nowrap;
    text-align: center;
    position: relative;
    padding: 0 2vw;
}

.sub-heading {
    font-size: 1rem;
    max-width: 94vw;
    margin: 0 auto;
}

.about {
    background-color: var(--bg);
    height: 100dvh;
    z-index: -2;
    position: relative;
}

.para {
    font-size: 36px;
    text-align: justify;
    position: relative;
}

/* .showcase-logo {
    width: 140px;
    position: absolute;
    bottom: 0;
    left: 10vw;
    transform: translateY(100%);
    z-index: -1;
} */

.stripe {
    /* background-color: red; */
    height: 60px;
    /* min-width: 200%; */
    position: absolute;
    bottom: 22px;
    left: 100vw;
    display: flex;
    flex-direction: row;
    /* justify-content: space-around; */
    align-items: center;
    gap: 8em;
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 0 4em;
}
.stripe-tile {
    display: flex;
    flex-direction: row;
    gap: .5em;
    height: 34px;
    align-items: end;
    justify-content: center;
}
.stripe-tile a {
    all: unset;
}
.stripe-logo {
    height: 100%;
}
/* .stripe-tile:last-child {
    background-color: red;
} */

.page {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: -3;
    align-items: flex-start;
    margin: 0 auto;
}

.page-column .preview-img-container {
    position: relative;
    /* height: 50dvh; */
    overflow: hidden;
}
.page-column .preview-img-overflow {
    height: 50dvh;
}
.page-column img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
}
.preview-img {
    width: 50vw;
    height: auto;
}
/* .preview-vid-overflow {
    width: 50vw;
    height: fit-content;
} */
.preview-vid {
    width: 100%;
    height: auto;
}

/* .page-column .preview-vid {
    width: 100%;
} */
.img-btn-container {
    display: none;
}
.page-column .img-btn-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    right: 12px;
    flex-direction: column;
    gap: 12px;
    mix-blend-mode: difference;
}
.page-column .img-btn-container button {
    all: unset;
    background-color: #8686862a;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    border-radius: 50%;
    height: 1.4em;
    width: 1.4em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-column .img-btn-container button svg {
    height: 1em;
    width: 1em;
}
.page-column .img-btn-container button svg path {
    fill: var(--tx);
}

.right {
    width: 100%;
    padding: 22px;
    position: relative;
}
.page1 .right {
    height: 100dvh;
}
.right-top {
    color: var(--tx2);
}
.service-para {
    margin: 40px 0;
    text-transform: uppercase;
    text-align: justify;
    text-indent: 1.4em;
    /* transition: opacity 0.3s ease; */
}
.list-heading {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 14px;
}
.service-ul {
    font-size: 20px;
}
li {
    list-style: none;
}
.service-ul li {
    padding-left: 12px;
    width: fit-content;
    /* transition: color 0.3s ease; */
}
.service-ul li.active {
    color: var(--tx);
}
/* .service-ul li:hover {
    color: var(--tx);
} */

.page-no-container {
    text-transform: uppercase;
    font-size: 14px;
    text-align: right;
}

.page1 .page-no-container {
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 22px;
}
.page-no {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.page-name {
    color: var(--tx2);
    text-decoration: none;
}
.scroll-hint {
    display: inline-block;
    position: absolute;
    bottom: 12px;
    left: 22px;
    text-transform: uppercase;
    font-size: 14px;
}
/* Web design */
/* .web-design {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-left: auto;
    gap: 6px;
}
.color {
    --size: 32px;
    font-size: var(--size);
    width: var(--size);
    height: var(--size);
    border-radius: .2em;
    border: 1px solid var(--tx);
    position: relative;
    cursor: pointer;
}
.color::after {
    content: attr(data-color);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}
.color:hover::after {
    opacity: 1;
}
.color1 {
    background-color: #EBEBEB;
}
.color2 {
    background-color: #000000;
}
.color3 {
    background-color: #FF4000;
}
.color4 {
    background: linear-gradient(-45deg, #FF4000 15%, #FF916D 47%, #FF4000 85%);
} */

/* Frontend */
/* .frontend ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.frontend ul li {
    text-wrap: nowrap;
    line-height: 1.6;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 14px;
} */

/* User Experience */
/* .user-experience ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.user-experience ul li {
    text-wrap: nowrap;
    line-height: 1.6;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 14px;
} */

/* Animation */
/* .animation ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.animation ul li {
    text-wrap: nowrap;
    line-height: 1.6;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 14px;
} */

/* Optimization */
/* .optimization ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.optimization ul li {
    text-wrap: nowrap;
    line-height: 1.6;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 14px;
} */

/* Common styles for list containers */
.list-container ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.list-container ul li {
    text-wrap: nowrap;
    line-height: 1.6;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 14px;
}

/* Web design */
.web-design {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin-left: auto;
    gap: 6px;
}

.color {
    --size: 32px;
    font-size: var(--size);
    width: var(--size);
    height: var(--size);
    border-radius: .2em;
    border: 1px solid var(--tx);
    position: relative;
    cursor: pointer;
}

.color::after {
    content: attr(data-color);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.color:hover::after {
    opacity: 1;
}

/* .color1 {
    background-color: #EBEBEB;
}

.color2 {
    background-color: #000000;
}

.color3 {
    background-color: #FF4000;
}

.color4 {
    background: linear-gradient(-45deg, #FF4000 15%, #FF916D 47%, #FF4000 85%);
} */
.color4::after {
    right: 0;
    left: auto;
    transform: translateX(0);
}

.web-design { 
    display: none; 
}

/*  */

.web-design, .frontend, .user-experience, .animation, .optimization {
    display: none;
}

.list-active {
    display: flex !important;
    justify-content: flex-end !important;
    animation: blurEffect .3s ease;
}

/* ---------------------------------------------- */

.page2 {
    margin-top: 20px;
    position: relative;
}

.page2 .right {
    position: static;
    padding-bottom: 42px;
}

.page2 .page-no-container {
    margin-bottom: 22px;
}

.page2-para {
    text-align: justify;
}
.page2-para p {
    text-indent: 1.4em;
}

.next-project {
    position: absolute;
    bottom: 0;
    right: 22px;
    text-transform: uppercase;
    font-size: 14px;
    text-underline-offset: 4px;
    color: var(--tx);
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;
    border-top: 1px solid var(--tx2);   
    padding: 8px 12px 12px;
    color: var(--tx2);
    text-transform: uppercase;
    font-size: 12px;
    gap: 1em;
}
.footer-left {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
}
footer a {
    color: var(--tx2);
}
footer a:hover {
    color: var(--tx);
}
.copyright {
    display: inline-block;
}

@media (max-width: 1140px) {
    .title {
        font-size: 14vw;
    }
}
@media (max-width: 960px) {
    .page-column {
        flex-direction: column;
    }
    .preview-vid {
        width: 100%;
    }
}
@media (max-width: 800px) {
    .title {
        font-size: 13vw;
    }
    .title small {
        margin: 0 1em;
    }
}
@media (max-width: 516px) {
    .title {
        font-size: 13vw;
    }
}
@media (max-width: 470px) {
    .title {
        font-size: 12.5vw;
    }
}
@media (max-width: 416px) {
    .title {
        font-size: 12vw;
    }
}
@media (max-width: 370px) {
    .title {
        font-size: 11.5vw;
    }
}
@media (max-width: 330px) {
    .title {
        font-size: 10vw;
    }
}
@media (max-width: 250px) {
    .title {
        font-size: 15vw;
        flex-direction: column;
        align-items: flex-start;
    }
    .title small {
        margin: 0;
    }
}