body {
    margin: 0;
    /* Remove default margin to avoid unwanted space around the page */
    padding-top: 60px;
    /* Ensure content starts below the fixed nav */
    font-family: "Edu AU VIC WA NT Hand", cursive;
    background-image: url(../Images/backo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

nav {
    position: fixed;
    /* Fixes the nav at the top */
    top: 0;
    left: 0;
    width: 100%;

    background-color: #000000;
    / color: white;

    padding: 10px 25px;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    z-index: 1000;

    display: flex;

    justify-content: flex-start;

    gap: 20px;

}

nav a {
    color: white;
    /* Text color for links */
    text-decoration: none;
    /* Remove underline */

    /* Font style */
    font-size: 1rem;
    /* Font size */
    transition: color 0.3s;
    /* Transition for hover effect */
}

nav a:hover {
    color: #ffcc00;
    /* Highlight color on hover */
}



html {
    height: 100%;
}



.container {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;

}

.body {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.right {
    font-size: 60px;

    color: rgb(0, 0, 0);
    margin-top: 100px;
}

.left {
    margin-top: 20px;
    width: 400px;
    text-align: center;
    background-color: white;
    align-items: center;
    border-radius: 6px;
    height: 590px;
    box-shadow: 0px 0px 15px rgb(186, 186, 186);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    /* Added padding for better form spacing */
}

.input {
    margin-top: 1px;
    border-radius: 6px;
    border: 1px solid black;
    height: 30px;
    width: 370px;
    margin-bottom: 10px;
    /* Added margin for spacing between inputs */
}

.sub {
    width: 120px;
    height: 33px;
    margin-top: 10px;
    border-radius: 6px;
    background-color: rgb(0, 0, 0);
    border: 0px;

    color: white;
    font-size: 1.2rem;
}

.sub:hover {
    box-shadow: 0px 0px 15px rgb(0, 0, 0);
    background-color: white;
    color: rgb(0, 0, 0);
    transition-duration: 1s;
}

.down a {
    font-size: 1.5rem;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
    text-decoration: none;

}

.up p {
    color: rgb(0, 0, 0);
    font-size: 2rem;
    /* Reduced size for form title */

    margin-top: 15px;
    margin-bottom: 0px;
}

.down a:hover {
    text-decoration: underline;
    text-shadow: 5px 5px 5px rgb(0, 0, 0);
}

span {
    color: rgb(0, 0, 0);

    font-size: 1.3rem;
}



.s1,
.s2 {
    display: block;

    margin-bottom: 5px;

    margin-left: 7px;
    font-size: 1rem;

    text-align: left;

    color: rgb(0, 0, 0);



}

*/ .buttons a {
    text-decoration: none;
    margin-top: 15px;
    width: 130px;
    height: 25px;
    background-color: rgb(0, 0, 0);
    border-radius: 6px;
    color: white;

    padding-top: 7px;
    font-size: 1.2rem;
    padding-bottom: 2px;
}

.buttons {
    display: flex;
    justify-content: space-around;
}

.buttons a:hover {
    box-shadow: 0px 0px 15px rgb(0, 0, 0);
    background-color: white;
    color: rgb(0, 0, 0);
    transition-duration: 1s;
}

@media (max-width: 768px) {
    .container {
        width: 760px;
    }

    .right {
        display: none;
    }

    .left {
        width: 600px;
    }

    .input {
        margin-top: 3px;
        border-radius: 6px;
        border: 1px solid black;
        height: 35px;
        width: 480px;
    }

    .s1 {
        margin-right: 390px;
    }

    .s2 {
        margin-right: 360px;
    }
}

@media (max-width: 420px) {
    .container {
        width: 400px;
    }

    .right {
        display: none;
    }

    .left {
        width: 390px;
    }

    .input {
        margin-top: 3px;
        border-radius: 6px;
        border: 1px solid black;
        height: 35px;
        width: 370px;
    }

    .s1 {
        margin-right: 305px;
    }

    .s2 {
        margin-right: 270px;
    }
}