
.container {
    background-color: transparent;
    width: 90%;
    max-width: 740px;
    margin: 0 auto;
}

#calendar {
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.header {
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header #month {
    font-size: 1.5em;
    font-weight: 600;
}

.header button {
    background-color: #c2ca20;
    color: #1a1a1a;
    font-weight: bold;
    font-size:medium;
}

.weekdays {
    background-color: #2f3640;
    display: flex;
    justify-content: space-around;    
}

.weekdays div {
    text-align: center;
}

.day {
    width: 14.28%;
    height: 3em;
    padding: 0 1%;
    box-sizing: border-box;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0px 0px 3px #cbd4c2;
    color: white;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media only screen and (min-width: 600px) {
    .day {height:5em;}
}
@media only screen and (min-width: 992px) {
    .day {height: 6em;}
}

.holiday {
    background-color: rgb(5, 32, 5);
    color: #3d3d3d;
    overflow: hidden;
    font-size: calc(1vw+1vh);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event {
    background-color: palegreen;
    color: #3d3d3d;
    overflow: hidden;
    font-size: calc(1vw+1vh);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*#modal {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, .8);
}*/

#viewEvent {
    display: none;
    width: fit-content;
    background-color: #fff;
    padding: 25px;
    position: absolute;
    z-index: 20;
    color: #1a1a1a;
    top: 33%;
    left: 33%;
}

#viewEvent button {
    background-color: #2f3640;
}