* {
    margin: 0;
    padding: 0;
    font-family: inter;
    transition: filter 0.3s ease;
}

@font-face {
    font-display: swap;
    font-family: "neue";
    src: url("../fonts/Satoshi-Black.otf");
}

body {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    background: #000 url("../images/noise.webp");
}


.projectSection {
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.projectsLogo {
    padding-left: 1vw;
    display: flex;
    align-items: center;
}

.proLogo {
    height: 9vh;
    aspect-ratio: 1 / 1;
    /* padding: 0.5em; */
    font-family: inria sans;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    white-space: nowrap;
    border: 1px solid white;
    margin-right: 1vw;
    cursor: pointer;
    transition: all 150ms ease-out;
    border-radius: 12px;
    border: 2px solid #4C4C4C;
    background: rgba(0, 0, 0, 0.34);
    position: relative;
    box-shadow:
        inset -2px -2px 5px rgba(255, 255, 255, 0.05),
        inset 2px 2px 5px rgba(0, 0, 0, 0.6),
        2px 2px 10px rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
}


.proLogo:hover {
    border: 2px solid #9C9C9C;
    background: linear-gradient(145deg, #1f1f1f, #141414);
    box-shadow:
        inset -1px -1px 3px rgba(255, 255, 255, 0.07),
        inset 2px 2px 4px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(255, 255, 255, 0.03);
    color: #ffffff;
}


.proLogo>img {
    width: 75%;
    /* aspect-ratio: 1 / 1; */
    border-radius: 10px;
}

.projectsNameContainer {
    position: relative;
    height: 45vh;
    pointer-events: none;
    width: 100%;
    display: flex;
}

.projectName {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    height: 45vh;
    /* color: var(--primary); */
    overflow: hidden;
    position: absolute;
}

.projectName>span {
    font-size: 25vh;
    font-weight: 1000;
    font-family: neue;
    transform: translateY(100%);
    transition: transform 600ms cubic-bezier(0.3, 0.84, 0.44, 1);
}

.projectName>span.appear {
    transform: translateY(0%) !important;
}

.projectName>span.pre {
    transition: none !important;
}

/* .projectName > .default{
    color: rgba(47, 106, 234, 0.5);
} */

.blurDiv {
    width: 2000px;
    aspect-ratio: 1 / 1;
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 100%;
    opacity: 0.6;
    transform: translateX(-50%) translateY(35%);
    background-image: url(../images/whiteSun.png);
    background-position: center;
    background-size: cover;
    filter: blur(200px);
    pointer-events: none;
    animation: rotate 5s infinite;
}

@keyframes rotate {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.6;
    }
}

.urlContainer {
    position: absolute;
    z-index: 9999999;
    left: -2.5%;
    bottom: 0;
    transform-origin: top left;
    transform: translateY(calc(100% + 1vh)) scale(0);
    height: max-content;
    width: calc(200% + 1vw + 6px);
    font-size: 0.9rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    will-change: transform;
    transition: all 200ms cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.urlContainerOpened {
    transform: translateY(calc(100% + 1vh)) scale(0.9090909091);
}

.url {
    height: 4.5vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 0 0.75vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.229);
    cursor: pointer;
    transition: background 50ms ease-out;
}

.url:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.urlContainer .url:last-child {
    border-bottom: none !important;
}

.urlIcon {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.urlIcon>svg {
    height: 1.25rem;
}

.urlIcon>img {
    height: 1.25rem;
    filter: grayscale(1) contrast(100) invert(100);
}

.blur {
    filter: blur(6px);
}

nav {
    filter: none !important;
}

.no-blur {
    filter: none !important;
    transform: scale(1.1);
    border: 2px solid #9C9C9C;
    background: linear-gradient(145deg, #1f1f1f, #141414);
    box-shadow:
        inset -1px -1px 3px rgba(255, 255, 255, 0.07),
        inset 2px 2px 4px rgba(0, 0, 0, 0.7),
        0 0 8px rgba(255, 255, 255, 0.03);
}

#previewContainer {
    filter: none !important;
    perspective: 1000px;
    position: absolute;
    z-index: 99999999999;
    width: 100vw;
    height: 100dvh;
    pointer-events: none;
}

.previewImg {
    height: 55vh;
    width: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transform-origin: left top;
    scale: 0;
    transform-style: preserve-3d;
    transition: scale 300ms cubic-bezier(0.175, 0.885, 0.32, 1.1)
}

.fakeNav {
    position: absolute;
    z-index: 99999999999;
    pointer-events: all;
    top: 0;
    left: 0;
    width: max-content;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    background: rgba(255, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 0 1.5vh;
    box-sizing: border-box;
    border-radius: 1vh;
    opacity: 0;
    transition: left 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

@media (max-width: 599px) {

    html,
    body {
        overflow-x: hidden;
        position: relative;
        height: 100dvh;
        max-height: 100dvh;
    }

    .projectName>span {
        font-size: 7vh;
    }

    .projectsNameContainer {
        position: relative;
        height: 15vh;
        pointer-events: none;
        width: 100%;
        display: flex;
        filter: none !important;
    }

    .projectName {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: end;
        height: 10vh;
    }

    .projectSection {
        flex-direction: column-reverse;
    }

    .urlContainer {
        font-size: 0.8rem;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }

    .url {
        height: 4.5vh;
        width: 100%;
        padding: 0 3vw;
    }

    .urlIcon>svg {
        height: 1.1rem;
    }

    .previewImg {
        width: 90vw;
        height: auto;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        transform-origin: left top;
        scale: 0;
        transform-style: preserve-3d;
        transition: scale 300ms cubic-bezier(0.175, 0.885, 0.32, 1.1)
    }

    .fakeNav {
        position: absolute;
        z-index: 99999999999;
        pointer-events: all;
        top: 0;
        left: 0;
        width: max-content;
        height: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8em;
        background: rgba(255, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(5px);
        padding: 0 1.5vh;
        box-sizing: border-box;
        border-radius: 1vh;
        opacity: 0;
        transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
    }
}