* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #E7E7E7;
    padding: 100px 10px 10px;
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

header img {
    height: 36px;
    margin-right: 16px;
}

header h1 {
    font-size: 40px;
    font-weight: bold;
}

.container {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

form {
    display: flex;
    max-width: 640px;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 56px;
}

form button {
    background-color: #009432;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    padding: 8px;
}

form input {
    font-size: 24px;
    background-color: white;
    border: none;
    border-bottom: 2px solid black;
    padding: 8px;
}

#activity-grade {
    width: 15%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

table {
    width: 100%;
}

table th {
    border-bottom: 2px solid black;
    padding: 16px;
    font-size: 24px;
    font-weight: bold;
}

table td {
    text-align: center;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table td img {
    height: 30px;
}

.result {
    padding: 8px;
    font-weight: bold;
    color: white;
    background-color: black;
    border-radius: 3px;
}

.passed {
    background-color: #009432;
}

.failed {
    background-color: red;
}

@media (max-width: 768px) {
    header {
        justify-content: center;
        align-items: center;
    }

    header h1 {
        font-size: 32px;
        margin-top: 8px;
    }

    form {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    form input, form button {
        font-size: 20px;
        width: 100%;
    }

    #activity-grade {
        width: 100%;
    }

    table th, table td {
        font-size: 20px;
        padding: 12px;
    }

    table td img {
        height: 24px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }

    form input, form button {
        font-size: 18px;
        padding: 6px;
    }

    table th, table td {
        font-size: 16px;
        padding: 8px;
    }

    table td img {
        height: 20px;
    }
}
