body {
    font-family: system-ui;
    background: #0a1526;
    color: white;
    text-align: center;
    margin: 0;
    overflow: hidden;
    height: 100vh;
}

.lunis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.moon-background {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background-image: url('../2k_moon.jpg');
    background-repeat: repeat-x;
    /*background-size: 110% 100%;*/
    background-size: cover;
    animation: moonRotation 50s linear infinite forwards;
    transform-origin: center;
    box-shadow:
        inset -10px 8px 6px -5px #ffffff,
        inset 20px -20px 40px 30px rgba(0, 0, 0, 0.9),
        7px -6px 14px rgba(255, 255, 255, 0.3215686275);
}

.moon-phase {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    will-change: background-position;
    background:
        linear-gradient(135deg, #d0c8c8 0%, #8c7e7e 50%, #5c5252 100%);
    box-shadow:
        inset -25px -25px 40px #45403f,
        inset 25px 25px 40px #fbf2f2,
        0 0 20px 5px rgba(255, 255, 255, 0.2); /* Subtle glow */
}

.moon-phase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.15) 10px, transparent 11px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.15) 8px, transparent 9px),
        radial-gradient(circle at 50% 40%, rgba(200,200,200,0.2) 20px, transparent 21px),
        radial-gradient(circle at 80% 20%, rgba(200,200,200,0.2) 15px, transparent 16px),
        radial-gradient(circle at 15% 85%, rgba(200,200,200,0.2) 12px, transparent 13px);
    opacity: 0.8;
}


@keyframes moonRotation {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

.star {
    position: absolute;
    width: 1px;
    height: 1px;
    background: white;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes moonlight {
    0% {
        transform: translate(-60px, 60px) scale(0.9);
    }
    50% {
        transform: translate(0px, 0px) scale(1.02);
        box-shadow: 0 0 10px #f9f3f2, 0 0 80px 8px #c7938b;
        background: #efdbd8;
    }
    100% {
        transform: translate(60px, -60px) scale(0.9);
    }
}

@keyframes moonPhase {
    0%, 100% { transform: translate(100%, 0); } /* New moon */
    25% { transform: translate(50%, 0); } /* Crescent moon */
    50% { transform: translate(0, 0); } /* Full moon */
    75% { transform: translate(-50%, 0); } /* Gibbous moon */
}

@keyframes moonMove {
    0% { transform: translate(-52%, -52%) scale(0.98); }
    50% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-48%, -48%) scale(0.98); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    z-index: 1000;
}

.logo {
    font-family: 'AlienLeague', sans-serif;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    font-family: 'AlienLeague', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 18px;
}


.space {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mail-icon {
    font-size: 24px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.mail-icon:hover {
    color: #c7938b;
}

nav ul li:last-child {
    display: flex;
    align-items: center;
}

@font-face {
    font-family: 'AlienLeague';
    src: url('/static/fonts/AlienLeagueBold-1WRj.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}