/* Styles for the Demo Wrapper */
html {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
.cf:before,
.cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
}
body {
  margin: 0;
  background-color: #e6e9ed;
  font-family: "Lato", sans-serif;
}
header {
  background-color: #254d86;
}
header h1,
header a {
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
}
header h1 {
  float: left;
  margin: 0;
}
header a {
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
  float: right;
  background-color: #1a365e;
}
header a:hover {
  background-color: #1f4272;
}
.demo-content {
  max-width: 600px;
  margin-top: 90px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 90px;
}

img#adventCal {
	  border-radius: 10px;
}

/* Styles for the Advent Calendar */
ul#adventDoors {
	position: relative;
	list-style: none;
	padding: 0;
	margin: 0;
}
#adventDoors li {
	position: absolute;
}
#adventDoors li a {
	color: #254d87;
	width: 100%;
	height: 100%;
	font-size: 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-decoration: none;
	border: 3px #254d87 solid;
	border-left: dashed;
	border-radius: 10px;
}
#adventDoors li a:not(.disabled):hover {
	color: #254d87;
	background-color: transparent;
	background-color: rgba(255,255,255,0.55);
}
#adventDoors li a.disabled {
	border-color: #254d87;
	background-color: rgba(196,254,171,0.15);
	color: #254d87;
	cursor: default;
}
#adventDoors li a.disabled:hover {
  border-color: #254d87;
  background-color: #254d87;
  color: #ffffff;
  cursor: default;
}

/* Styles für das Modal */
.modal {
    display: none; /* Standardmäßig nicht sichtbar */
    position: fixed;
    z-index: 1; /* Sitzt auf der Seite */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Hintergrund dimmen #e5eac6 ?*/
    padding-top: 60px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    background-color: #f7f7f7; /* Helle Hintergrundfarbe */
    border: 4px solid #254d86;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    color: #333;
}

#modalMessage {
    font-size: 18px;
    font-family: "Lato", sans-serif;
}


.modal.show {
    opacity: 1;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

h2 {
    color: #254d86; /* Titelfarbe */
    font-size: 24px;
    font-family: "Lato", sans-serif;
}

button {
    background-color: #254d86;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    background-color: #1f4272;
}