* {
    margin: 0;
    padding: 0;
    font-family: "Lucida Console", "Courier New", monospace;
}

body {
    display: grid;
    grid-template-columns: 50% 50%;
    background-image: url('water.png');
    min-height: 100vh;
    padding: 0 10px;
    align-items: center;
}

h1 {
    grid-column: 1 / span 1;
    grid-row: 1 / span 1;
    color: white;
}

.calendar-container {
    color: white;
    background: #00c8ff;
    width: 320px;                
    border-style: solid;
    border-width: 10px;
    border-color: #9feaff;
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
}

.calendar-container header {
    display: flex;
    align-items: center;
    padding: 15px 20px 8px;     
    justify-content: space-between;
}

header .calendar-navigation {
    display: flex;
}

header .calendar-navigation span {
    height: 30px;              
    width: 30px;
    margin: 0 2px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
    user-select: none;
    font-size: 1.4rem;          
}

.calendar-navigation span:last-child {
    margin-right: -8px;
}

header .calendar-navigation span:hover {
    background: #295fdc;
}

header .calendar-current-date {
    font-weight: 500;
    font-size: 1.2rem;        
}

.calendar-body {
    padding: 10px;     
}

.calendar-body ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
}

.calendar-body .calendar-dates {
    margin-bottom: 10px;    
    width: 100%;
}

.calendar-body li {
    width: calc(100% / 7);
    height: 30px;               
    line-height: 30px;          
    font-size: 0.9rem;          
    margin-top: 20px;           
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.calendar-body .calendar-weekdays li {
    cursor: default;
    font-weight: 500;
    font-size: 0.85rem;         
}

.calendar-dates li.inactive {
    cursor: default;
    opacity: 0.0;
}

.calendar-dates li.active {
    color: #fff;
}

.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 30px;             
    height: 30px;
    transform: translate(-50%, -50%);
}

.calendar-dates li.active::before {
    background: #6964ff;
}

.calendar-dates li:not(.active):not(.highlight):hover::before {
    background: #42d6ff;
}

.calendar-dates li.highlight {
    background: #2ce3ff;          
    position: relative;
    z-index: 10;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: calc(100% / 7);
}

.calendar-dates li.log-highlight {
    background:rgb(56, 222, 255);
    position: relative;
    z-index: 10;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: calc(100% / 7);
}

.log-container {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
    background: #f7ffe7;
    background-image: url('paper.jpg');
    width: 320px;                
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    color: black !important;
    padding: 20px;
    margin-top: -50%;
}