.calendar-container{
    display: flex;
    flex-direction:row;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: center;
    align-content: center;
}

.date-container{
    width: 13.5%;
    box-sizing: border-box;
    padding-top: 13.5%;
    position: relative;
    border: 1px solid gray;
    user-select: none;
    cursor: pointer;
}

.date-container:hover{
    z-index: 1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.date{
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0; 
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
}

.date-event{
    position: absolute;
    width:100%;
    top:0px;
    padding:2px;
    left:0px;
    overflow: hidden;
    color:black;
    text-align: center;
    display: -webkit-box;
    font-size: 0.75em;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.date-tithi{
    position: absolute;
    left:0px;
    bottom:0px;
    padding-left:2px;
    font-size: 0.75em;
}

.calendar-birthday-icon-container{
    position:absolute;
    top:50%;
    right:0%;
    transform: translate(-50%,-50%);
    text-shadow: 2px 2px 2px #aaa;
    font-size: 0.8em;
}

.calendar-group-icon-container{
    position:absolute;
    top:50%;
    left:0%;
    transform: translate(50%,-50%);
    text-shadow: 2px 2px 2px #aaa;
    font-size: 0.8em;
}

.date-ad{
    position: absolute;
    bottom: 1%;
    right: 5%;
    font-size: 0.75em;
}

.day-container{
    width: 13.5%;
    box-sizing: border-box;
    padding-top: 8%; 
    position: relative; 
    border: 1px solid #444;
}

.day{
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0; 
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;  
}

@media screen and (min-width:1300px){
    .day{ font-size:1em;}
    .date{ font-size: 2.5em;}

}

@media screen and (max-width:700px){
    .day{ font-size: 0.8em;}
    .date{font-size:1.3em;}
    .calendar-birthday-icon-container{
        font-size: 0.5em; 
        top:3px; 
        transform: translate(-50%, 0%);
    }
    .calendar-group-icon-container{
        font-size: 0.5em; 
        top:3px; 
        transform: translate(50%, 0%);
    }
    .date-event{display:none;}
    .date-tithi{display: none;}
}