@media only screen and (max-width: 600px) {
    .content {
        margin: 24px;
        min-width: 0;
        width: calc(100vw - 48px - 32px);

        padding: 16px;
    }

    header {
        flex-direction: row;
        justify-content: space-between;

        margin-bottom: 48px;
    }

    header::before {
        content: "";
    }

    header nav {
        display: none;
    }

    header nav.active {
        position: absolute;
        top: 40px;
        left: 0;
        z-index: 5;

        display: block;

        width: 100%;

        background: var(--white);
        box-shadow: 1px 1px 4px gray;
    }

    header nav.active ul {
        flex-direction: column;
        gap: 0;
    }

    header nav.active ul li a {
        display: block;
        padding: 16px;
    }

    header nav.active ul li a:hover {
        background: var(--light-gray);
    }

    header #burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        width: 20px;
        height: 20px;
    }

    header #burger-menu span {
        width: 100%;
        min-height: 16%;

        background: var(--black);

        border-radius: 5%;
    }

    header h1 {
        font-size: 20px;
    }

    h1 {
        font-size: 24px;
    }

    p, a, span, th, td {
        font-size: 12px;
    }

    section {
        margin: 0 8px;
    }

    #calendar-details {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 8;

        width: calc(100vw - 64px);
        height: calc(100vh - 64px);

        padding: 32px;
        margin: 0;

        background: rgba(0, 0, 0, 0.2);
        /*background: var(--white);*/
    }

    .details-wrapper {
        position: relative;

        width: calc(100% - 64px);

        padding: 32px;

        background: var(--white);
    }

    #events-sidebar .event-item:last-child {
        margin-bottom: 0;
    }

    #calendar-details .details-close {
        top: 16px;
        right: 16px;
    }

    .fc-header-toolbar h2.fc-toolbar-title {
        font-size: 16px;
    }

    .fc .fc-toolbar .fc-button {
        padding: 2px 6px;
        font-size: 12px;
        line-height: 1.2;
    }

    .fc .fc-toolbar .fc-button .fc-icon {
        font-size: 14px;
    }
}
