/* =========================
   LOG
   ========================= */

.log {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}


/* =========================
   HEADER
   ========================= */

.log-header {
    text-align: center;
    margin-bottom: 50px;
}

.log-header h1 {
    margin: 0 0 15px 0;
    font-size: 2rem;
    font-weight: normal;
}

.log-header nav {
    font-size: 0.95rem;
}

.log-header nav a {
    color: #000;
    text-decoration: underline;
}

.log-header nav a:hover {
    text-decoration: none;
}


/* =========================
   CALENDAR
   ========================= */

.calendar-section {
    width: 100%;
    margin-bottom: 50px;
}

.calendar-section h2 {
    margin: 0 0 25px 0;
    text-align: center;
    font-size: 1.4rem;
    font-weight: normal;
}


/* Calendar grid */

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    border-top: 1px solid #000;
    border-left: 1px solid #000;
}


/* Days of the week */

.weekday {
    padding: 10px;
    text-align: center;

    font-size: 0.85rem;

    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}


/* Individual days */

.calendar-day {
    min-height: 110px;
    padding: 10px;

    border-right: 1px solid #000;
    border-bottom: 1px solid #000;

    text-align: left;

    color: #000;
    text-decoration: none;
}

.calendar-day.has-post {
    background-color: #eee;
    color: #999;
    text-decoration: none;
}

.calendar-day.has-post:hover {
    background-color: #e4e2e2;
}


ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Date links */

.calendar-day .date {
    display: block;
    margin-bottom: 8px;

    color: #000;
    font-size: 1rem;
}


.calenday-day img{
    size: 50px;
}

/* Events */

.events {
    margin: 0;
    padding-left: 15px;

    font-size: 0.8rem;
    line-height: 1.4;
}

.events li {
    margin-bottom: 4px;
}


/* =========================
   FOOTER
   ========================= */

.log footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .log {
        padding: 25px 10px;
    }

    .calendar-day {
        min-height: 85px;
        padding: 6px;
    }

    .weekday {
        padding: 6px 2px;
        font-size: 0.7rem;
    }

    .calendar-day .date {
        font-size: 0.9rem;
    }

    .events {
        padding-left: 12px;
        font-size: 0.7rem;
    }

}