body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f5f5f5;
    /* Fallback background color */
    position: relative;
    overflow: hidden;
    /* Prevent scrolling */
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(background.jpg) no-repeat center center;
    background-size: cover;
    z-index: -2;
    /* Background image behind everything */
}

body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay to improve readability */
    z-index: -1;
    /* Overlay above background image */
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    /* Light overlay with transparency */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 600px;
    /* Increase width */
    color: #ffffff;
    /* Change font color to white */
}

.form-container h2 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    /* White font color for headings */
}

.form-container input {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 18px;
    box-sizing: border-box;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.form-container input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    /* Adjust placeholder color */
}

.form-container input:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.form-container button {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.form-container button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.form-container p {
    margin-top: 15px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.form-container a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-container a:hover {
    color: #ffd700;
    /* Golden color for hover effect */
}

@media (min-width: 768px) {
    .form-container {
        padding: 50px;
        width: 700px;
        /* Even wider for larger screens */
    }

    .form-container h2 {
        font-size: 32px;
    }
}

.menu {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.menu-button {
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.menu-button:hover {
    background-color: #0056b3;
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 600px;
    /* Matches the width of the form container */
    color: #ffffff;
}

.container h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.container p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.profile {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.profile td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
}

.profile td:first-child {
    font-weight: bold;
    width: 40%;
}

.profile td:last-child {
    text-align: left;
    color: #ffffff;
}

.menu-button {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.home {
    display: inline-block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.home:hover {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}