@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    background-color: rgb(20, 20, 20);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: large;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 20px;
    text-align: center;
    font-size: medium;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s ease;
}

header nav a:hover {
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 20px rgba(100, 200, 255, 0.6);
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

footer {
    padding: 20px;
    font-size: small;
    color: gray;
    text-align: center;
}

@keyframes fadeInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.welcome {
    animation: fadeInFromTop 0.4s ease;
    font-family: 'Montserrat', sans-serif;
}

.welcome2 {
    opacity: 1;
    display: inline-block;
    animation: fadeInFromTop 0.6s ease; 
    animation-delay: 100ms;
    animation-fill-mode: backwards;
}

h1{
    font-size: 75px;
}

.links{
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.178);
    transition: all 0.3s ease;
}

.links:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    /*text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(100, 200, 255, 0.6);*/
}

.footer_links{
    color: gray;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.116);
    transition: all 0.3s ease;
}

.footer_links:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    /*text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(100, 200, 255, 0.6);*/
}
.rainbow-loop {
    font-weight: 600;
    background: linear-gradient(90deg,
        rgba(255, 120, 120, 0.95),
        rgba(255, 180, 110, 0.95),
        rgba(255, 235, 120, 0.95),
        rgba(140, 255, 170, 0.95),
        rgba(120, 210, 255, 0.95),
        rgba(180, 150, 255, 0.95),
        rgba(255, 120, 190, 0.95),
        rgba(255, 120, 120, 0.95),
        rgba(255, 180, 110, 0.95),
        rgba(255, 235, 120, 0.95),
        rgba(140, 255, 170, 0.95),
        rgba(180, 150, 255, 0.95)
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbowLoop 5s linear infinite, rainbowGlow 5s ease-in-out infinite;
    text-shadow: 0 0 6px rgba(255, 170, 210, 0.22),
    0 0 12px rgba(130, 210, 255, 0.18),
    0 0 18px rgba(170, 255, 190, 0.14);
}

@keyframes rainbowLoop {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes rainbowGlow {
    0%,
    100% {
        text-shadow: 0 0 6px rgba(255, 170, 210, 0.22),
                     0 0 12px rgba(130, 210, 255, 0.18),
                     0 0 18px rgba(170, 255, 190, 0.14);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 170, 210, 0.3),
                     0 0 16px rgba(130, 210, 255, 0.24),
                     0 0 22px rgba(170, 255, 190, 0.2);
    }
}
