body {
		--PBC: rgb(0, 0, 0);
	  --SBC: rgb(35, 35, 35);
    --TBC: rgb(225, 225, 225);
    
    --PHC: rgb(83, 213, 253);
    --SHC: rgb(83, 213, 253, .5);
    
    --PTC: rgb(235, 235, 235);
    
    background-color: var(--PBC);
    margin: 0;
    font-size: max(min(1.75vw, 24px), 16px);
    color: var(--PTC);
    font-family: sans-serif;
    overflow: hidden;
    text-shadow: 0px 1px 2px rgb(0, 0, 0);
    font-size: min(max(1.5vw, 10px), 24px);
}

.header {
    background-color: var(--SBC);
    display: flex;
    justify-content: space-between;
    padding: 8px 24px;
    align-items: center;
}

.iconContainer {
    height: 88px;
    width: 129.5px;
    position: relative
}

.iconImg {
	position: absolute;
  height: 64px;
  width: 108px;
  top: calc(50% - 32px);
  left: calc(50% - 54px);
  z-index: 5;
}

.iconImgHaze {
    position: absolute;
    height: 72px;
    width: 132px;
    top: calc(50% - 36px);
    left: calc(50% - 66px);
    z-index: 0;
    filter: blur(16px);
    pointer-events: none;
}

.iconImgHaze::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
}

.linksContainer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link {
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 50%, var(--PHC) 120%);
    background-color: rgba(255, 255, 255, 0);
    border-radius: min(12px, 1vw);
    padding: 8px;
    background-size: 300% 100%;
    background-position: 0% 0%;
  	transition: background-position .2s linear, background-color .4s linear .2s;
  	cursor: pointer;
  	color: var(--PTC);
  	text-decoration: none;
}

.link:hover {
		background-position: 100% 0%;
		background-color: rgba(255, 255, 255, .75);
}

.svgLink {
    width: 32px;
    height: 32px;
}

.body {
    height: calc(100svh - 104px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: rgba(255, 255, 255, 1) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
    scroll-snap-type: y proximity;
    scroll-behavior: smooth; 
}

.page {
    width: 100%;
    min-height: calc(100svh - 104px);
    padding: min(max(16px, 10vw), 48px);
    box-sizing: border-box;
    scroll-snap-align: start;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0));
    position: relative;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-stop: normal;
}

.pageContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    

    width: 100%;
    flex: 1;
    border-radius: min(24px, 2vw);

    position: relative;
    overflow: hidden;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.08);

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        inset 0 -1px 1px rgba(255, 255, 255, 0.12);
}

.backgroundImage {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;

    transform: scale(1.04);
}

/* frosted glass layer */
.pageContainer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0) 54%),
        radial-gradient(circle at 85% 80%, rgba(83, 213, 253, 0.22), rgba(0, 0, 0, 0) 84%),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.30),
            rgba(255, 255, 255, 0.08) 42%,
            rgba(255, 255, 255, 0.18)
        );

    backdrop-filter: blur(4px) saturate(170%) contrast(110%);
    -webkit-backdrop-filter: blur(4px) saturate(170%) contrast(110%);

    border: 1px solid rgba(255, 255, 255, 0.35);

    box-shadow:
        inset 0 0 40px rgba(255, 255, 255, 0.18),
        inset 0 0 120px rgba(255, 255, 255, 0.08);
}



.topMessage {
    font-size: 2.5em;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, .25);
    border-width: 1px;
    border-style: solid;
    backdrop-filter: blur(8px);
    padding: min(max(8px, 5vw), 16px);
    border-radius: min(24px, 2vw);
    z-index: 3;
    font-weight: 700;
    margin: min(max(8px, 5vw), 32px);
    text-align: center;
}

.bottomMessage {
		font-size: 1.5em;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, .25);
    border-width: 1px;
    border-style: solid;
    backdrop-filter: blur(8px);
    padding: min(max(8px, 5vw), 16px);
    border-radius: min(24px, 2vw);
    z-index: 3;
    margin: min(max(8px, 5vw), 32px);
    text-align: center;
}


.scrollPage {
	gap: 32px;
	align-items: stretch;
	background-size: cover;
}

.servicesPage {
	background-image: url("../images/javascriptScreen.jpg");
}

.techPage {
	background-image: url("../images/tech.webp");
}

.supportPage {
	background-image: url("../images/supportBackground.webp");
}

.pageTitle {
    box-sizing: border-box;

    font-size: 2em;
    font-weight: 700;

    padding: min(max(8px, 5vw), 16px) min(max(16px, 5vw), 32px);

    border-radius: min(24px, 2vw);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.1);

		background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);

    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.38),
        0 12px 34px rgba(0, 0, 0, 0.30);
}

.itemList {
    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: min(16px, 2vw);

    padding: min(max(16px, 5vw), 32px);

    border-radius: min(24px, 2vw);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, .1);

		background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 1px rgba(255, 255, 255, 0.36);
}

.item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: min(max(8px, 2vw), 16px) min(max(8px, 2vw), 32px);
    box-sizing: border-box;
    border-radius: min(24px, 2vw);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);
    /* font-weight: 600; */
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.20), 0 8px 18px rgba(0, 0, 0, 0.20);
    justify-content: center;
    font-size: .8em;
}

.highlightedHashtag {
    color: var(--PHC);
    font-weight: 900;
    font-size: 1em;
    text-shadow: 0 0 10px var(--PHC);
}

.pageFooter {
    box-sizing: border-box;

    padding: min(max(8px, 5vw), 16px) min(max(16px, 5vw), 32px);

    border-radius: min(24px, 2vw);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.1);
    
    width: fit-content;

		background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);

    font-weight: 600;
}

.techPage .itemList {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: min(24px, 2vw);

   
}

.itemIcon {
    width: max(min(64px, 6vw), 24px);
    height: max(min(64px, 6vw), 24px);
    border-radius: min(12px, 1vw);
    background-color: rgb(255, 255, 255);
}

.contactContainer {
    display: flex;
    gap: 16px;
}

.contact {
    color: var(--PTC);
    padding: min(max(8px, 5vw), 16px) min(max(16px, 5vw), 32px);
    border-radius: min(24px, 2vw);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);
}








.header {
    position: relative;
    z-index: 50;
}

.link {
    color: inherit;
    text-decoration: none;
}

.menuToggle {
    display: none;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;

    cursor: pointer;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hamburger span {
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--PTC);

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

/* mobile menu */
@media (max-width: 760px) {
    .header {
        padding: 8px 14px;
    }

    .hamburger {
        display: flex;
    }

    .linksContainer {
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;

        width: min(260px, calc(100vw - 28px));
        padding: 12px;

        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.22);

        background: rgba(35, 35, 35, 0.78);

        backdrop-filter: blur(18px) saturate(170%);
        -webkit-backdrop-filter: blur(18px) saturate(170%);

        box-shadow:
            0 18px 48px rgba(0, 0, 0, 0.45),
            inset 0 1px 1px rgba(255, 255, 255, 0.22);

        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        pointer-events: none;

        transition:
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .menuToggle:checked ~ .linksContainer {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .linksContainer .link {
        justify-content: center;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .menuToggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menuToggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menuToggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}









@media (max-width: 760px) {
    .itemList {
        grid-template-columns: 1fr;
    }
    
    .techPage .itemList {
    	grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pageTitle {
        font-size: 2em;
    }
}










@keyframes fadeInHoldFadeOut {
    0% {
        opacity: .25;
        transform: translateY(28px) scale(0.98);
        filter: blur(6px);
    }

    25% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    75% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }

    100% {
        opacity: .25;
        transform: translateY(-28px) scale(0.98);
        filter: blur(6px);
    }
}

@supports (animation-timeline: view()) {
    .page {
        animation-name: fadeInHoldFadeOut;
        animation-duration: auto;
        animation-fill-mode: both;

        /* curve */
        animation-timing-function: ease-in-out;

        /* scroll-linked */
        animation-timeline: view(block);

        /* activation / deactivation points */
        animation-range: entry 40% exit 60%;
    }
}