:root{
    --primary-color:#000000;
    --secondary-color:#ffffff;
    --neutral-color: #f2f2f2;
    --tertiary-color:#757575;
}

body{
    background-color: var(--neutral-color);
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh;
    width: 100vw;
    user-select: none;
}
h2,
h1{
    margin: 0;
    padding: 0;
}
.nav-bar{
    display:flex;
    justify-content: space-between;
    height:80px;
    width:100%;
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--primary-color);
}
.nav-content{
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
.h2_text{
    font-family: "Newsreader", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

main{
    font-family: "Newsreader", serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
}
.h1_span{
    font-style: italic;
    font-size: 3rem;
    font-weight: 300;
}
.intro_text{
    margin: 0;
    font-size: 2rem;
    font-weight: 100;
    max-width: 720px;
}
.intro_para{
    font-family: "Inter", sans-serif;
    font-size: medium;
    font-weight: 200;
    letter-spacing: 4px;
    color: var(--tertiary-color);
    margin-top: 1rem;
}
.button-container{
    width: 160px;
    height: 90px;
    z-index: 1;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    transition: all 0.3s ease;
}
.button{
    font-family: "Inter", sans-serif;
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--tertiary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.2s ease;
    width: fit-content;
    height: fit-content;
    margin: auto auto;
    user-select: none;
    backdrop-filter: blur(10px);
}

.random-text {
    width: 480px;
    height: 160px;
    margin: 8rem auto 0 auto; /* Centers it horizontally and gives space from the top */
    
    /* Aesthetic Styling */
    border-top: 1px solid var(--tertiary-color); /* Subtle line for that 'footnote' look */
    font-family: "Newsreader", serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--tertiary-color);
    text-align: center;
    
    /* Box model specifics */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.random-text p {
    margin: 0;
    opacity: 0.8;
}

.why-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Above everything else */
    text-align: center;
}

.why-content {
    max-width: 600px;
    padding: 2rem;
}

.why-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Style the "Why?" in the nav to look clickable */
.nav-small {
    cursor: help;
}


#name-input-container {
    text-align: center;
    margin: 1rem auto 0 auto;
    z-index: 10;
    padding: 0.5rem;
    width: fit-content;
}

#user-name {
    background: transparent;
    border: none;
    font-family: "Newsreader", serif;
    padding: 5px;
    outline: none;
    color: var(--primary-color);
}

.floating-name {
    position: fixed;
    pointer-events: none; /* So they don't block the button! */
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 200;
    color: var(--tertiary-color);
    opacity: 0.5;
    white-space: nowrap;
    z-index: 0; /* Keep them behind the button and text */
    transition: all 8s linear; /* Smooth, slow drifting */
}
.button-small{
    font-family: "Inter", sans-serif;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--tertiary-color);
    color: var(--primary-color);
    width: fit-content;
    height: fit-content;
    backdrop-filter: blur(10px);
}
