body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, rgb(176, 170, 228), #9f9fe2);
    margin: 0;
    padding: 0;
    background-image:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(../img/WhatsApp\ Image\ 2024-07-30\ at\ 22.21.28_97b1fb04.jpg);
    height: 90vh;
    background-size: cover;
    background-position: center;
}

nav {
    background: linear-gradient(to right, #494855, #9f9fe2);
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 20px rgba(122, 163, 197, 0.863);
    width: 200px;
    height: 200vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 30px;
}

nav button {
    background-color: #fff;
    border: none;
    color: #2523a0;
    padding: 10px 20px;
    margin: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    width: calc(100% - 40px);
}

nav button:hover {
    background-color: hsl(225, 67%, 77%);
    color: #fff;
}

.hidden {
    display: none;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    margin-left: 220px;
    background: linear-gradient(to right, #9c72c9, #5a7ebb);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #1f6cc5e7;
}

h2 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button[type="submit"] {
    background-color: #2c2ec4;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #1d2e8d;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    border: 1px solid hsl(214, 83%, 55%);
    padding: 10px;
    text-align: center;
}

table th {
    background-color: hsl(210, 2%, 58%);
}

button {
    background-color: hsl(238, 14%, 60%);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color:linear-gradient(to left, hsl(270, 8%, 90%), hsl(228, 3%, 31%));
}

canvas {
    margin-top: 20px;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 10px;
    }

    .container {
        margin-left: 0;
        padding: 10px;
    }
}