/* HOMEPAGE STYLES */
body {
    background-color: black;
    color: white;
    font-family: Helvetica, sans-serif;
}

img{
    max-width: 50%;
    height:auto;
}


.name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* This is the animation — it fades each letter in from invisible to visible */
@keyframes writeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* These are the shared styles for every single letter */
.letter {
    font-family: "BBH Bartle";
    font-size: 72px;
    opacity: 0;
    /* start invisible while waiting for delay */
    animation: writeIn 0.15s ease forwards;
    /* forwards keeps it visible after it appears */
}

/* Each span gets a slightly later delay so letters appear one at a time */
.letter:nth-child(1) {
    animation-delay: 0.0s;
}

/* K */
.letter:nth-child(2) {
    animation-delay: 0.1s;
}

/* a */
.letter:nth-child(3) {
    animation-delay: 0.2s;
}

/* t */
.letter:nth-child(4) {
    animation-delay: 0.3s;
}

/* e */
.letter:nth-child(5) {
    animation-delay: 0.5s;
}

/* (gap for space) */
.letter:nth-child(6) {
    animation-delay: 0.6s;
    margin-left: 60px;
}

/* B */
.letter:nth-child(7) {
    animation-delay: 0.7s;
}

/* y */
.letter:nth-child(8) {
    animation-delay: 0.8s;
}

/* n */
.letter:nth-child(9) {
    animation-delay: 0.9s;
}

/* u */
.letter:nth-child(10) {
    animation-delay: 1.0s;
}

/* m */

.explorebutton {
    opacity: 0;
    animation: writeIn 0.9s ease forwards;
    animation-delay: 5s;
    border: 2px solid #0000ff;
    border-radius: 35px;
    background-color: black;
   
    color: white;
    padding: 10px 20px;
    font-family: Helvetica, sans-serif;
    margin-top: 15px;
}

.word{
    font-family: "Inter";
    color: #0000ff;
    text-align: center;
    text-emphasis: bold;
}

.word {
    opacity: 0;
    animation: writeIn 0.9s ease forwards;
}

.word:nth-child(1) {
    animation-delay: 1.5s;
    margin: 20px;
}

.word:nth-child(2) {
    animation-delay: 2.5s;
        margin: 20px;

}

.word:nth-child(3) {
    animation-delay: 3.5s;
        margin: 20px;

}


/* for mobile */
@media (max-width: 1080px) {

    img {
        max-width: 90%;
    }

    .letter {
        font-size: 15px;
    }

    p{
        font-size: 10px;
    }

    .letter:nth-child(6) {
        margin-left: 30px;
    }

    .word {
        margin: 12px;
    }

    .threewords {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}
/* CODE FOR POPUP GENERATED BY CLAUDE */
/* covers the whole screen behind the popup  */
#popup-overlay {
    position: fixed;    /* stays in place even when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);  /* semi-transparent black */
    display: none;                      /* hidden by default */
    z-index: 9999;      /* floats above everything else on the page */

    /* these three lines center the popup box inside the overlay */
    justify-content: center;
    align-items: center;
}

/* the actual popup box */
#popup-box {
    background: #000;
    border: 1px solid #0000ff;
    border-radius: 15px;
    padding: 15px;
    max-width: 400px;
    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif;
}

#popup-box p {
    font-size: 20px;   
}

/* the close button */
#popup-close {
    margin-top: 20px;
    padding: 8px 20px;
    background: #0000ff;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
}