body, html {
  height: 100%;
}

body {
  background-color: #E8AD5A;
  text-align: center;
  color: black;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size:16px;
  margin:0; /*enfernt Abstand bei Navigationsbar*/
}

/*Navigation Bar*/
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #653d16;
  position: fixed;
  top: 0;
  width: 100%;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover:not(.active) {
  background-color: #111;
}

.active {
  background-color: #f0b905;
}



/*Schild*/
div.schild {
  margin:auto; /*zentrieren*/
}

/*Blackboard Desktopversion*/
div.blackboard {
  background-image: url("../images/blackboard_desktop.jpeg");
  margin: auto; /*zentrieren*/
  height: 1000px;
  width: 1024px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*Sticky Notes*/

.blackboard {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  align-content: flex-start;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px; /*Abstand Sticky Notes zu Blackboard*/
}

.flex-container > div {
  background-image: url("../images/postit_gelb.png");
  background-position: center;
  height: 150px;
  width: 150px;
  margin: 40px; /*Abstand rund um Stickynote*/
  padding: 20px; /*Abstand Text zum Stickynote-Rand*/
}

.flex-container > div > h2{
  font-size: 18px;
  padding-top: 20px;
}

.flex-container > div > p{
  font-size: 14px;
}

.flex-container > div:nth-child(even) {
  background-image: url("../images/postit_gruen.png");
}



/* Hintergrund vom Modal Fenster */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-image: url("../images/postit_gelb.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  height: 400px;
  width: 400px;
}

.modal-content > div {
  padding-left: 30px; /*Abstand Text zum Stickynote-Rand*/
  padding-top: 70px;
  padding-right: 10px;
  text-align: left;
  line-height: 1.5;
}

/* The Close Button */
.close {
  color: black;
  float: right;
  padding: 20px 55px;
  font-size: 40px;
  font-weight: bold;
}

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

/*Mobileversion*/
@media only screen and (max-width: 1024px) {

  /*Blackboard Mobileversion*/
  div.blackboard {
    background-image: url("../images/blackboard_mobile.jpeg");
    margin: auto; /*zentrieren*/
    width: 750px;
    height: 1500px;
  }

  img {
    width: 100%;
    height: auto;
  }

}


@media only screen and (max-width: 750px) {

  img {
    width: 100%;
    height: auto;
  }

  div.blackboard {
    width: 100vw;

  }
