* {
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

body {
    font-family: Montserrat, Verdana, sans-serif;
}

.month {
    padding: 13px 25px;
    width: 100%;
    background: var(--primary-color);
    text-align: center;
}

    .month ul {
        margin: 0;
        padding: 0;
    }

        .month ul li {
            color: white;
            font-size: 20px;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

    .month .prev {
        float: left;
        padding-top: 10px;
        cursor: pointer;
    }

    .month .next {
        float: right;
        padding-top: 10px;
        cursor: pointer;
    }

.weekdays {
    margin: 0;
    padding: 10px 0;
    background-color: #ddd;
}

    .weekdays li {
        display: inline-block;
        width: 13%;
        color: #666;
        text-align: center;
    }

.days {
    padding: 10px 0;
    background: #eee;
    margin: 0;
}

    .days li {
        list-style-type: none;
        display: inline-block;
        width: 13%;
        text-align: center;
        margin-bottom: 5px;
        font-size: 12px;
        color: #777;
    }

        .days li .active {
            padding: 5px;
            background: var(--primary-color);
            cursor: pointer;
            color: white !important
        }

        .days li .selected {
            background: #1861ac;
            padding: 5px;
            cursor: pointer;
            color: white !important
        }

/* Add media queries for smaller screens */
@media screen and (max-width:720px) {
    .weekdays li, .days li {
        width: 13.1%;
    }
}

@media screen and (max-width: 420px) {
    .weekdays li, .days li {
        width: 12.5%;
    }

        .days li .active {
            padding: 2px;
        }
        .days li .selected {
            padding: 2px;
        }
}

@media screen and (max-width: 290px) {
    .weekdays li, .days li {
        width: 12.2%;
    }
}
