/* Base setup for all screen sizes */
* {
    box-sizing: border-box;
}

body {
    background-color: beige;
    margin: 0;
    font-family: Arial, sans-serif;
}
.form{
    align-items: center;
    margin-left: 250px;
    margin-bottom: 200px;
}
#logo {
    position: fixed;
    color: beige;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    top: 10px;
    left: 50px;
    text-shadow: 0 0 5px beige;
}


#navbar {
    position: fixed;
    background-color: rgb(6, 6, 78);
    top: 0;
    width: 100%;
    height: 80px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: 11;
}

#navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 300px;
    margin: 0;
    padding: 0;
    height: 100%;
}

#navbar a {
    text-decoration: none;
    color: blue;
    font-weight: bold;
    font-size: 18px;
    transition: font-size 0.2s ease, color 0.2s ease;
}

#navbar a:hover {
    color: beige;
    font-size: 20px;
    text-shadow: 0 0 5px beige;
}

#big-screen-img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 800px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    display: block;
    z-index: 8;
}

#big-screen-img:hover {
    background-color: blue;
    opacity: 1;
}

#cosmos {
    position: fixed;
    width: 100%;
    height: 1000000px;
    max-height: 725px;
    display: block;
    top: 0;
    left: 0;
    z-index: 7;
}

#content1 {
    padding: 20px;
    background-color: beige;
    border-radius: 25px;
    width: 100%;
    min-height: 1000px;
    margin-top: -90px;
    margin-bottom: -50px;
    position: relative;
    z-index: 9;
    /* Adjust to control overlap */
}
#utext {
    left: 100px;
    font-size: 20px;
    font-family: "Pacifico", cursive;
}
#username {
    left: 50px;
    height: 50px;
    width: 500px;
    border: 5px, solid;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0 0 5px beige;
}

#ptext {
    position: center;
    font-size: 20px;
    font-family: "Pacifico", cursive;
}
#password {
    height: 50px;
    width: 500px;
    border: 5px, solid;
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0 0 5px beige;
}

#button {
    margin-left: 75px;
    width: 525px;
    height: 50px;
    border: 2px, solid;
    border-radius: 25px;
}

#button:hover {
    border: 5px, solid;
    border-radius: 25px;
    box-shadow: 5px;
    background-color: blue;
    width: 525px;
    height: 50px;
}

#content2 {
    padding: 20px;
    background-color: blue;
    border-radius: 25px;
    width: 100%;
    min-height: 500px;
    margin-bottom: -50px;
    position: relative;
    z-index: 9;
    opacity: 0;
    /* Adjust to control overlap */
}

#loginForm {
    position: relative;
    left: 150px;
    width: 1200px;
    height: 650px;
    margin-bottom: 50px;
    background-color: blue;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 7;

}

#loginContent {
    position: relative;
    top: 50px;
    margin-top: 50px;
    margin-left: 50px;
    width: 1100px;
    height: 550px;
    background-color: green;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 8;
}

#content3 {
    padding: 20px;
    background-color: beige;
    border-radius: 25px;
    width: 100%;
    min-height: 1050px;
    margin-top: -50px;
    bottom: -50px;
    position: relative;
    z-index: 9;

    /* Adjust to control overlap */
}

#con {
    margin-top: 100px;
    margin-left: 500px;
}

#con2 {
    margin-top: 100px;
}

#footerId {
    width: 100%;
    height: 1000;
    background-color: #C0C0C0;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 40px;
    text-align: center;
    position: relative;
    margin-top: -0px;
    z-index: 11;
}

/* Responsive Design */
@media (max-width: 768px) {
    #navbar ul {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    #navbar {
        height: auto;
        padding: 10px 0;
    }

    #navbar a {
        font-size: 16px;
    }

    #content {
        padding: 10px;
    }

    #footerId {
        font-size: 14px;
        padding: 10px;
    }
}
