body, html {
    background: linear-gradient(to right, #ffc1d0, #a5dbf8);
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pacifico', sans-serif;
    overflow-x: hidden;
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    color: rgb(255, 255, 255);
    background: linear-gradient(to right, #c7c7fa, rgb(255, 141, 166));
    margin: 15% auto;
    padding: 20px; 
    border: 2px solid #c1cbff; 
    width: 60%; 
    max-width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.932);
    position: relative;
    overflow: auto;
    top: -15%;
    font-family: 'Roboto Condensed', sans-serif;
    transform: translateY(-50%);
    transition: transform 0.4s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close {
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 25px;
    cursor: pointer;
}

label {
    color: rgb(255, 255, 255);;
    font-size: 20px;
    margin-bottom: 5px;
    display: block;
}

@keyframes border-animation {
    0%, 100% {
        border-color: rgb(243, 172, 196);
    }
    50% {
        border-color: rgb(182, 193, 241);
    }
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 3px solid #ffbed9;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #ffffff;
    color: #9ab2ff;
    padding: 5px 15px;
    border-radius: 30%;
    font-family: 'Pacifico', sans-serif; 
    border: 3px solid rgb(255, 255, 255);
    animation: border-animation 2s linear infinite;
}

input[type="submit"]:hover {
    background-color: #cfcccc;
}

@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    h2 {
        font-size: 20px;
    }
}


.top-menu {
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
    background-color: #abbefa;
    text-align: center;
    z-index: 1000;
}

.top-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.top-menu li {
    display: flex; 
    align-items: center;
}

.top-menu li a {
    display: inline-block;
    color: white;
    padding: 10px 12px;
    font-size: 30px;
    text-decoration: none;
    border-radius: 50px;
    text-shadow: 1px 1px 4px #ffa5ac;
}

.top-menu li a:hover {
    background-color: #c2d0ff;
    color: rgb(255, 249, 249);
}

.top-menu li {
    display: flex; 
    align-items: center;
}

.nav-logo {
    height: 80px;
    width: auto;
    margin-right: 10px; 
}

.nav-separator {
    margin: 0 10px; 
    color: white; 
    font-size: 24px; 
}



#interactive-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: center;

}

#question-box {
    color:#ff9ca9;
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #babbfc; 
    box-shadow: 0px 0px 10px 2px #9db5f5; 
    font-family: 'Roboto Condensed', sans-serif;
}

#yes-button, #no-button {
    background-color: #ffa4b4;
    color: white;
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
}

#yes-button:hover, #no-button:hover {
    background-color: #FF87AB; 
}
