.theme-select {
    display: none;
}

.calendar-events {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.calendar-events p {
    margin-bottom: 0;
    color: hsla(0, 0%, 12%, 1);
    font-weight: 400;
    line-height: 1;
    font-size: 24px;
}

.calendar-events__item {
    height: 300px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid hsla(0, 0%, 77%, 1);
    transition: all 0.1s;
    word-wrap: break-word;

    flex: none;
    max-width: none;
    width: 100%;

    @media (min-width: 640px) {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    @media (min-width: 900px) {
        flex: 0 0 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
    }

    @media (min-width: 1200px) {
        flex: 0 0 calc(25% - 8px);
        max-width: calc(25% - 8px);
    }
}

.calendar-events__top p:nth-child(1) {
    font-weight: 700;
    margin-bottom: 3px;

    @media (max-width: 639px) {
        font-size: 30px;
    }

    @media (max-width: 430px) {
        font-size: 34px;
        margin-bottom: 1px;
    }
}

.calendar-events__bottom p:nth-child(1) {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;

    @media (max-width: 639px) {
        font-size: 18px;
    }

    @media (max-width: 430px) {
        font-size: 18px;
    }
}

.calendar-events__top p:nth-child(2) {
    font-size: 14px;
}

.calendar-events__bottom p:nth-child(2) {
    font-size: 10px;
    color: hsla(0, 0%, 62%, 1);
    margin-bottom: 20px;

    @media (max-width: 430px) {
        font-size: 14px;
    }
}

.calendar-events__bottom a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 100%;
    background-color: hsla(0, 0%, 20%, 1);
    color: hsla(0, 0%, 100%, 1);
    transition: all 0.7s;
}

.calendar-events__bottom a:hover {
    color: hsla(0, 0%, 100%, 1);
    background-color: hsla(0, 0%, 15%, 1);
}
