﻿@import url("https://fonts.googleapis.com/css?family=Questrial&display=swap");

body {
    font-family: "Questrial", sans-serif;
}

.calendar {
    display: inline-grid;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 40px 30px -20px rgba(0, 0, 0, 0.3);
}

.calendar .month {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 20px;
        margin-bottom: 20px;
        font-weight: 300;
}

.calendar .month .year {
            font-weight: 600;
            margin-left: 10px;
}

.calendar .month .nav {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            color: #0a3d62;
            width: 50px;
            height: 50px;
            border-radius: 50px;
            transition-duration: 0.2s;
            position: relative;
}

.calendar .month .nav:hover {
                background: #eee;
            }

.calendar .days {
        display: grid;
        justify-content: center;
        align-items: center;
        grid-template-columns: repeat(7, 1fr);
        color: #999;
        font-weight: 600;
        margin-bottom: 15px;
}

.calendar .days span {
            width: 60px;
            justify-self: center;
            align-self: center;
            text-align: center;
        }

.calendar .dates {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

.calendar .dates button {
            cursor: pointer;
            outline: 0;
            border: 0;
            background: transparent;
            font-family: "Montserrat", sans-serif;
            font-size: 16px;
            justify-self: center;
            align-self: center;
            width: 60px;
            height: 60px;
            border-radius: 60px;
            margin: 2px;
            transition-duration: 0.2s;
}

.calendar .dates button.today {
    box-shadow: inset 0px 0px 0px 2px #0a3d62;
}

.calendar .dates button:hover {
    background: #eee;
}

.calendar .dates button:focus {
    background: #0a3d62;
    color: #fff;
    font-weight: 600;
}

.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}