/* Responsive Styles */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    nav {
        margin-left: 2%;
        margin-right: 2%;
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: space-around;
    }

    #activity-toggle-btn {
        display: inline-block; /* Show the button in the nav */
        margin-left: 1rem; /* Add some space */
    }

    .card-container {
        width: 100%;
        margin-left: 2%;
        margin-right: 2%;
        height: auto;
    }

    .firstline-card-container,
    .secondline-cards,
    .thirdline-cards {
        flex-direction: column;
        align-items: center;
    }

    .card-container-1,
    .card-container-2,
    .card-container-3 {
        width: 90%;
        margin-bottom: 1rem;
    }

    .card-container-4 {
        width: 90%;
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .activity-log {
        display: none; /* Hide activity log on smaller screens for better layout */
    }

    .activity-log.show {
        display: block;
        width: 95%;
        margin: 1rem auto;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .twenty-three {
        padding-left: 0;
    }

    .card-container-2 p {
        font-size: 0.9rem;
    }

    .fix {
        font-size: 1.1rem;
    }

    .debug {
        font-size: 0.9rem;
    }
}