@font-face {
    font-family: 'Antiquarian Scribe';
    src: url('./fonts/AntiquarianScribe.ttf') format('truetype');
}

@font-face {
    font-family: 'Antiquarian';
    src: url('./fonts/Antiquarian.ttf') format('truetype');
}

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

body {
    width: 100%;
    height: 100vh;
    /* height: -webkit-fill-available; iOS Safari fix */
    overflow: hidden;
    color: rgb(192, 192, 192);
    background-color: black;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

canvas {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cloud-text-container {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* pointer-events: none; */
    /* animation: fadeIn 2s ease-in-out; */
}
@keyframes fadeIn {
    from {
        transform: scale(1.3);
        filter: blur(10px);
        opacity: 0;
    }
    to {
        transform: scale(1);
        filter: blur(0px);
        opacity: 1;
    }
}

.cloud-text-container .container {
    width: 100%;
    height: 100%;
}

.title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(173, 1, 1);
}

.links {
    /* visibility: hidden; */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    position: relative;
    animation: fadeIn 1.2s ease-in-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
    transform: scale(1.3);
    filter: blur(10px);
}

.links ul {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links a {
    color: rgb(160, 160, 160);
    text-decoration: none;

    transition: color 0.3s ease;
    &:hover {
        text-decoration: underline;
    }
    /* font-family: 'Antiquarian'; */
    font-family: 'Times New Roman', Times, serif;
    font-size: 24pt;
    font-weight: bold;
    /* letter-spacing: 5px; */
}


/* Mobile optimizations */
@media (max-width: 768px) {
    .noise {
        opacity: 0.1; /* Reduce noise opacity on mobile for performance */
    }
}

