
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #2c3e50, #34495e, #ffffff); 
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    background: rgba(44, 62, 80, 0.8); 
    width: 100%;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #bdc3c7;
}

section {
    width: 80%;
    background: rgba(255, 255, 255, 0.8);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h1 {
    text-align: center;
    color: #2c3e50;
}

label {
    display: block;
    margin: 0.5rem 0;
}

input, select, textarea, button {
    width: calc(100% - 22px);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus, button:focus {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

button {
    background: #2c3e50;
    color: #fff;
    cursor: pointer;
    border: none;
    width: auto;
    padding: 0.5rem 1rem;
}

button:hover {
    background: #34495e;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

thead {
    background: #2c3e50;
    color: #fff;
}

thead th {
    padding: 1rem;
    text-align: left;
}

tbody tr {
    background: #fff;
    transition: background 0.3s ease;
}

tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

tbody tr:hover {
    background: #bdc3c7;
}

tbody td {
    padding: 1rem;
    text-align: left;
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    section {
        width: 95%;
    }

    input, select, textarea, button {
        width: calc(100% - 12px);
    }
}
