body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #700a0ae8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 1.5em;
    color: white;
}

#form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    margin-bottom: 20px;
}

#form-container input,
#form-container textarea,
#form-container button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#form-container button {
    background-color: #2d790ff1;
    color: white;
    border: none;
    cursor: pointer;
}

#form-container button:hover {
    background-color: #2d790ff1;
}

table {
    width: 90%;
    max-width: 900px;
    border-collapse: collapse;
    margin: 10px 0;
    background-color: #fff;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
    font-size: 0.9em;
}

th {
    background-color: #2d790ff1;
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.2em;
    }

    #form-container {
        width: 95%;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        display: none;
    }

    tr {
        margin-bottom: 10px;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }
}
