@font-face {
    font-family: 'Space Nova';
    src: url('font/SpaceNova-6Rpd1.otf') format('truetype');
}

.typing-effect {
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #ffffff;
    width: 0;
    animation: typing 4s steps(40, end) forwards, blink 0.8s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes arrow-move {
    0% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}
.arrow {
    font-size: 2rem;
    color: #ffffff;
    animation: arrow-move 1s infinite;
    display: inline-block;
    margin-right: 10px;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #121212;
    color: #ffffff;
}
.navbar {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #1e1e1e;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    font-family: 'Space Nova', cursive;
}
.navbar a {
    margin: 0 10px;
    text-decoration: underline;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}
.navbar a:hover {
    background: #333;
}
.title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Space Nova', sans-serif;
}
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
img {
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}
img:hover {
    transform: scale(1.2);
}
.left-image:hover {
    cursor: url('https://abs.twimg.com/emoji/v2/72x72/1f47d.png'), auto;
}
.right-image:hover {
    cursor: url('https://abs.twimg.com/emoji/v2/72x72/1f469-200d-1f680.png'), auto;
}
.portal-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: url('Images/Portal.png') no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    color: rgb(11, 11, 11);
}
.popup .planet-section {
    margin-top: 20px;
}
.planet-button {
    display: block;
    margin: 10px auto;
    width: 100px;
    height: auto;
    cursor: pointer;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.question-section {
    margin-top: 30px;
    text-align: center;
    position: relative;
    bottom: 0;
}
.question-section input, .question-section button {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.question-section button {
    background-color: #333;
    color: white;
    cursor: pointer;
}
.popup button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
}
.bio-page {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
}
.bio-page button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
}

.bio-container {
    text-align: center;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    max-width: 50%;
}

.section-title {
    font-family: 'Space Nova', cursive;
}

.game-container {
    text-align: center;
    position: relative;
}

.umbrella-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.umbrella {
    width: 100px;
    cursor: pointer;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.umbrella:hover {
    transform: scale(1.1);
}


@keyframes rain-fall {
    0% { opacity: 1; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(30px); }
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    text-align: center;
    z-index: 1000;
    opacity: 40%;
}

#raindrop-container {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.raindrop {
    position: absolute;
    width: 400px;
    height: auto;
    animation: rain-fall 1s linear infinite;
    left: 36%
}

@keyframes rain-fall {
    0% { opacity: 1; transform: translateY(0px); }
    100% { opacity: 0; transform: translateY(300px); }
}

.kitty-container {
    display: flex;
    justify-content: center; /* Center horizontally */
}

.more-page {
    background: url('Images/StarBackground.png') no-repeat center center fixed;
    background-size: cover !important;
}
