/* ===== GENERAL ===== */

body {

    font-family: Arial, sans-serif;

    background:
    linear-gradient(to right, #d8e2dc, #a3b18a);

    margin: 0;

    padding: 20px;

    color: #2f3e2f;

    transition:
    background 0.3s ease,
    color 0.3s ease;
}


/* ===== TITLE ===== */

h1 {

    text-align: center;

    color: #344e41;

    margin-bottom: 20px;

    font-size: 36px;
}


/* ===== MENU ===== */

#menu {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    justify-content: center;

    margin-bottom: 20px;
}

#menu button {

    width: 230px;

    padding: 12px;

    border: none;

    border-radius: 10px;

    background: #6b8f71;

    color: white;

    font-size: 15px;

    cursor: pointer;

    transition: 0.3s;

    box-shadow:
    0 4px 8px rgba(0,0,0,0.2);
}

#menu button:hover {

    background: #557c55;

    transform: scale(1.05);
}


/* ===== ACTIVITY CARDS ===== */

.activity {

    display: none;

    background: white;

    border-radius: 15px;

    padding: 20px;

    margin: 20px auto;

    max-width: 650px;

    box-shadow:
    0 6px 15px rgba(0,0,0,0.2);

    animation: fadeIn 0.5s ease;
}

.activity h2 {

    color: #557c55;

    margin-bottom: 15px;
}


/* ===== INPUTS ===== */

input[type="text"],
input[type="number"] {

    width: 95%;

    padding: 10px;

    margin: 8px 0;

    border: 2px solid #ccd5ae;

    border-radius: 8px;

    outline: none;

    font-size: 15px;

    transition: 0.3s;
}

input:focus {

    border-color: #6b8f71;

    box-shadow:
    0 0 8px rgba(107, 143, 113, 0.5);
}


/* ===== BUTTONS ===== */

button {

    padding: 10px 15px;

    border: none;

    border-radius: 8px;

    background: #6b8f71;

    color: white;

    font-size: 14px;

    cursor: pointer;

    transition: 0.3s;

    margin-top: 8px;
}

button:hover {

    background: #557c55;

    transform: translateY(-2px);
}


/* ===== PARAGRAPHS ===== */

p {

    font-size: 16px;
}


/* ===== LISTS ===== */

ul {

    list-style: none;

    padding: 0;
}

ul li {

    background: #edf2e7;

    margin: 8px 0;

    padding: 10px;

    border-radius: 8px;

    transition: 0.3s;
}

ul li:hover {

    background: #d8e2dc;
}


/* ===== REMOVE BUTTON ===== */

ul li button {

    background: crimson;

    margin-left: 10px;
}

ul li button:hover {

    background: darkred;
}


/* ===== IMAGE ===== */

img {

    border-radius: 12px;

    margin-top: 10px;

    box-shadow:
    0 4px 10px rgba(0,0,0,0.2);
}


/* ===== GRADE RESULT ===== */

#gradeResult {

    background: #edf2e7;

    padding: 15px;

    border-radius: 10px;

    margin-top: 15px;

    border-left: 5px solid #6b8f71;
}

#gradeResult p {

    margin: 5px 0;

    font-weight: bold;
}


/* ===== ANIMATION ===== */

@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(15px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

    #menu {

        flex-direction: column;

        align-items: center;
    }

    #menu button {

        width: 90%;
    }

    .activity {

        width: 90%;
    }
}