* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    font-family: 'FontAlteHaasGrotesk', Fallback, sans-serif;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    background-size: 200px 200px;
}

h1 {
    color: rgb(24, 22, 20);
    font-family: FontAlteHaasGrotesk, sans-serif;
    margin: 10px 0;
    font-size: 5em; /* Reduced for better mobile support */
}

.layout {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100vh;
}

/* Desktop and larger screens (default) */
.canvas-container {
    flex: 1;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh; /* Full height on desktop */
}

canvas {
    width: 100%;
    height: 100%;
}

/* Right Side - Text Content */
.content {
    flex: 1;
    padding: 40px;
    background-color: white;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* Default for larger screens (desktop) */
.layout {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Tablets and smaller screens - stack vertically */
@media (max-width: 1024px) {
    .layout {
        flex-direction: column;
    }

    .canvas-container {
        height: 50vh; /* Canvas takes the top 50% */
    }

    .content {
        height: 50vh; /* Content takes the bottom 50% */
        padding: 20px;
        overflow-y: auto;
    }
}


@font-face {
    font-family: 'FontAlteHaasGrotesk';
    src: url('/AlteHaasGroteskBold.ttf') format('truetype');
}

#header-text {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.stacked-title {
    line-height: 0.9;
}

p {
    color: rgb(24, 22, 20);
    font-family: FontAlteHaasGrotesk, sans-serif;
    font-size: 1.5em;
    margin: 0;
    font-family: 'FontAlteHaasGrotesk', Fallback, sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.row {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    color: #555; /* Default link color (medium gray) */
    text-decoration: none; /* No underline by default */
    transition: color 0.3s ease; /* Smooth color change on hover */
}

a:hover {
    color: #222; /* Darker gray on hover */
    text-decoration: underline; /* Optional: underline on hover */
}

a:visited {
    color: #888; /* Lighter gray for visited link */
}

a:active {
    color: #000; /* Almost black when actively clicked */
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 8px;
}

.loader span {
    display: block;
    width: 8px;
    height: 40px;
    background-color: black; /* Changed to black */
    animation: loaderAnim 1.2s infinite ease-in-out;
    border-radius: 4px; /* Optional for rounded edges */
}

.loader span:nth-child(1) {
    animation-delay: 0s;
}
.loader span:nth-child(2) {
    animation-delay: 0.2s;
}
.loader span:nth-child(3) {
    animation-delay: 0.4s;
}
.loader span:nth-child(4) {
    animation-delay: 0.6s;
}
.loader span:nth-child(5) {
    animation-delay: 0.8s;
}
.loader span:nth-child(6) {
    animation-delay: 1s;
}

@keyframes loaderAnim {
    0%, 100% {
        transform: scaleY(0.3); /* Shortest */
    }
    50% {
        transform: scaleY(1); /* Tallest */
    }
}


.right-footer {
    position: fixed;
    /* bottom: 0px; */
    right: 0%;
    padding: 15px 20px;
    background-color: rgb(250, 250, 250);
    font-size: 1rem;
    color: #333;
    font-family: 'FontAlteHaasGrotesk', sans-serif;
    /* border-top-left-radius: 15px; */
    border-bottom-left-radius: 15px;
    box-shadow: -2px -2px 20px rgba(0,0,0,0.2);
}

.right-footer p {
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    width: 2em; /* Resize icons here */
    height: 2em;;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(0) grayscale(100%); /* Always black */
    transition: transform 0.2s ease;
}

.social-icons a:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}
