html {
    box-sizing: border-box;
    height: 100%;
    font-family: Georgia ;
}

body {
    display: flex;
    flex-direction: column;
    background-color: cornsilk;
}


#login {
    display: flex;
    justify-content: center;
}

h1 {
    text-align: center;
}

#container {
    /*border: 1px solid black;*/
    padding: 10px;
    min-width: 25em;
}

#loginForm {
    display: flex;
    flex-direction: column;
}

#loginForm label, button {
    margin-top: 15px;
}

#loginForm * {
    padding: 5px;
}

.center {
    text-align: center;
}

/*footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 15vh;
    background-color: lightblue;
    padding: 1rem 0;
}*/

footer img {
    margin-left: 10vw;
    width: 300px;
    padding: 0.5rem 2rem;
    background: white;
    border-radius: 3rem;
}

/*##############################################################*/
#calendar {
    width: 60%;
    height: 600px;
    margin-top: 50px;
    margin-bottom: 200px;
    margin-left: 20%;
}

#month {
    width: border-box;
    height: 120px;
    color: white;
    background-color: lightblue;
    font-size: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#month h1 {
    font-size: 50px;
}

#month i {
    font-size: 25px;
    cursor: pointer;
    padding: 0 15px;
}

#month p {
    font-size: 50px;
}

.weekdays {
    width: 100%;
    height: 40px;
    color: white;
    background-color: black;
    display: flex;
    align-items: center;
}

.weekdays div {
    width: calc(100% / 7);
    background-color: #B9A281;
    height: 100%;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.days {
    width: 100%;
    height: 480px;
    padding: 2px;
    display: flex;
    flex-wrap: wrap;
    background-color: whitesmoke;
}

.days div {
    font-size: 15px;
    width: calc(100% / 7);
    height: calc(100% / 6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.days div:hover {
    outline: 2px solid #B9A281;
    cursor: pointer;

}

.prev-date,
.next-date {
    opacity: 0.3;
}

.today {
    background-color: lightblue;
}

.holiday {
    background-color: Salmon;
}

.weekend {
    background-color: lightgrey;
}

#body-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-in-out;
}
.dialog{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    color: black;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-in-out;
}

#body-overlay.sichtbar, .dialog.sichtbar {
    opacity: 1;
    pointer-events: auto;
}

#loslegen-dialog{
    width: 25%;
}

.dialog-schliessen-button{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 32px;
    line-height: 32px;
    text-decoration: none;
    color: dimgrey;
}


.icon-button {
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 20px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #333333;
    background: #ffffff;
    border: none;
    outline: none;
    border-radius: 50%;
}

.icon-button:hover {
    cursor: pointer;
}

.icon-button:active {
    background: #cccccc;
}

.icon-button__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: red;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* Add a lightgray background color to the top navigation */
.topnav {
    background-color: lightgrey;
    overflow: hidden;
    height: 90px;
}

/* Style the links inside the navigation bar */
.topnav a {
    height: 100%;
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 22px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}


/* Right-aligned section inside the top navigation */
.topnav-right {
    float: right;
}