@font-face {
    src: url(fonts/ndot-47-inspired-by-nothing.otf);
    font-family: Ndot47;
}


* {
    font-family: Ndot47, "helvetica", sans-serif;
    font-size: 1.8rem;
    text-decoration: none;
    box-sizing: border-box;
    cursor: none !important; /* Strips browser pointer across every tag */
}

#custom-cursor {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    top: 0;
    left: 0;
    background-color: #F2BB06; 
    border: 2px solid #F2BB06;     
    pointer-events: none; 
}


body {
    background-color: #f5f5f5;
    margin: 0;
    overflow-x: hidden;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s, transform 0.5s cubic-bezier(0, 0, 0.14, 0.94);
}

body.loaded {
    opacity: 1;
    transform: translateX(0);
}

.center {
    display: grid;
    place-items: center;
}

p {
    margin: 0;
}

article {
    margin-left: 2%;
    padding-top: 1%;
    margin-top: 20%;
}


#title {
    font-size: 1.8rem;
}

#title2 {
    display: none;
}


.transition-link {
    border: none;
    background-color: #f5f5f5;
    color: #F2BB06;
}

.transition-link:hover {
    background-color: #F2BB06;
    color: #f5f5f5;
}

.btn {
    border: none;
    background-color: #f5f5f5;
    color: #F2BB06;
}

.btn:hover {
    background-color: #F2BB06;
    color: #f5f5f5;
}

#btnHide {
    display: none;
}

#transition-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: #f2bb0600;
    opacity: 0;
    z-index: 9997; /* Keeps cursor layers safely on top */
    pointer-events: none;
    transition: left 0.6s ease, opacity 0.1s ease;
}

#transition-overlay.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
}



@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@media only screen and (max-width: 600px) {
    
    /* FIXED: Targets text typography directly instead of changing structural cursor divs */
    p, span, a, button, div:not(#custom-cursor):not(.trail-dot) {
        font-size: 15vw;
    }

    #custom-cursor {
    background-color: #F2BB0600; 
    border: 2px solid #F2BB0600;
    }

    .center {
        margin-top: 0%;
    }

    #title {
        display: none;
    }

    #title2 {
        display: grid; 
        justify-items: center;
        font-size: 24vw;
    }

    article {
        margin-top: 0;
    }

    #btn1st {
        display: none;
    }

    #btnHide {
        display: grid;
        justify-items: left;
        margin-top: 5%;
    }
}
