.browser.browser-calendar {
    margin-top: 40px;
}
@media (min-width: 700px) {
    .browser.browser-calendar {
        display: flex;
        flex-direction: column;
        width: 665px;
    }
}
@media (min-width: 800px) {
    .browser.browser-calendar {
        display: flex;
        flex-direction: column;
        width: 800px;
    }
}

.browser-calendar h2#month-title{
    margin: 0 auto;
    background: var(--butter-yellow);
    border-radius: 50px;
    width: max-content;
    padding: 0 15px;
    border: 2px solid var(--dark-gray);
    box-shadow: 4px 4px 0px 0px var(--dark-gray);
    color: var(--dark-gray);
}
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    max-width: 100%;
    padding: 20px;
}
.month-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px 0 10px;
}
.calendar-button {
    min-width: 40px;
}
.month-info .hidden {
    display: none;
}
.day-header, .day {
    font-size: 0.9em;
    line-height: auto;
    color: var(--dark-gray);
}
@media (min-width: 700px) {
    .day-header, .day {
        border: 2px solid var(--dark-gray);
    }
}
.day {
    border-radius: 3px;
    margin: auto;
    padding: 0 4px;
}
@media (min-width: 700px) {
    .day {
        margin: unset;
        padding: unset;
        border-radius: 6px;
        min-height: 50px;
    }
}

.day-header {
    text-align: center;
    font-weight: bold;
    border-radius: 50px;
}
@media (min-width: 700px) {
    .day-header {
        background: rgb(234, 230, 240);
        padding: 0 10px;
    }
}
.day-number {
    font-weight: 500;
    min-width: 1.125rem;
}
  @media (min-width: 700px) {
    .day-number {
        font-weight: bold;
    }
}
.vacation-day {
    background-color: #E0D8C8; 
  }
.event {
    font-size: 0.8em;
    line-height: 1.25em;
    /* background-color: #d0eaff; */
    padding: 2px 4px;
    border-radius: 3px;
}

/* Highlight event days */
.event-day.theme0 {
    background-color: #D6CEBF;
    border: 1px solid var(--dark-gray);
}
@media (min-width: 700px) {
    .event-day.theme0 {
        color: var(--dark-gray);
        background-color: #D6CEBF;
        border-width: 2px;
    }
}
.event-day.theme1 {
    background-color: var(--dark-purple);
    border: 1px solid var(--dark-gray);
    color: white;
}
@media (min-width: 700px) {
    .event-day.theme1 {
        color: var(--dark-gray);
        background-color: var(--butter-yellow);
        border-width: 2px;
    }
}
.event-day.theme2 {
    background-color: var(--lilac500);
    border: 1px solid var(--dark-gray);
}
@media (min-width: 700px) {
    .event-day.theme2 {
        color: var(--dark-gray);
        background-color: var(--butter-yellow);
        border-width: 2px;
    }
}
.event-day.theme3 {
    background-color: var(--lime-green);
    border: 1px solid var(--dark-gray);
}
@media (min-width: 700px) {
    .event-day.theme3 {
        color: var(--dark-gray);
        background-color: var(--butter-yellow);
        border-width: 2px;
    }
}
.event-day.theme31 {
    background-color: var(--bright-orange);
    border: 1px solid var(--dark-gray);
}
@media (min-width: 700px) {
    .event-day.theme31 {
        color: var(--dark-gray);
        background-color: var(--bright-orange);
        border-width: 2px;
    }
}

.desktop-events {
    display: block;
}
.calendar-separator {
    margin: 0 20px;
    border-top: 1px solid var(--dark-gray);
}
@media (min-width: 700px) {
    .calendar-separator {
        display: none;
    }
}
.events-summary {
    text-align: left;
    padding: 20px;
}
.event-item {
    margin-bottom: 8px;
}
.event-day-label {
    font-weight: bold;
    margin-right: 5px;
}
@media (max-width: 699px) {
    .desktop-events {
        display: none;
    }
    .events-summary {
        display: block;
    }
}
@media (min-width: 700px) {
    .events-summary {
        display: none;
    }
}

/* end schedule */



/* General button reset */
#prev-month, #next-month {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 18px;
    position: relative;
    width: 40px;
    height: 40px;
}

/* Left arrow */
#prev-month::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 3px solid black;
    border-left: 3px solid black;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 2px;
}
  
/* Right arrow */
#next-month::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 3px solid var(--dark-gray);
    border-right: 3px solid var(--dark-gray);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 2px;
}
  
/* Hover effect */
#prev-month:hover::before,
#next-month:hover::before {
    border-color: var(--middle-gray);
}