html {
  background-color: #FBF5EF ;
  font-family: Trebuchet MS;
  width: auto;
}

a {
  text-decoration: none;
  color: black;
}

body {
  padding: 2%;
  display: grid;
  grid-template-columns: 80% 20%;
  z-index: 1;
}

header {
  display: grid;
  grid-template-rows: 70% 30%;
  grid-row-gap:0;
  top: 0;
  left: 0;
  right: 0;
  position:fixed;
  height:175px;
  background-image: url(/Bilder/schule.jpg);
  background-repeat: no-repeat;
  background-size: 120%;
  background-position: center;
  border: 2px solid black;
  border-radius: 20px;
  margin: 0;
  margin: 0.2% 0.2% 0 0.2%;
  font-size: 200%;
  text-align: center;
  z-index: 2;
  size: 100%;
}

h1 {
  color: white;
  text-shadow: 0.09em 0.09em black;
}

h2 {
  font-size: 200%;
}

h4 {
  font-size: 120%;
}

footer {
  margin-top: 14px;
  border-top: 2px solid black;
  font-size: 95%;
}

summary {
  cursor: pointer;
  size: 100%;
}

details[open] summary ~ * {
  animation: sweep 1s ease-in-out;
}

@keyframes sweep {
  0%    {opacity: 0; margin-left: -10px}
  100%  {opacity: 1; margin-left: 0px}
}

/**********************
End der allgemeinen Formatierung (ab hier iD´s und class alphabetisch geordnet)
***********************/

#anmeldung {
  display: grid;
  grid-template-columns: 33% 33% 33%;
}

#anmeldungstyle {
  background-color: #F0F0F8;
  border: solid black 2px;
  padding: 3%;
}

.bildfenster3 {
  display: grid;
  grid-template-columns: 33% 33% 33%;
  align-self: center;
  grid-gap: 4px;
}

.bildfenster2 {
  display: grid;
  grid-template-columns: 50% 50%;
  align-self: center;
  grid-gap: 4px;
}

.blog {
  font-size: 105%;
  text-align: justify;
  line-height: 150%;
  border-bottom: dashed black 4px;
  margin-bottom: 5%;
}

#button {
  background-color: transparent;
  border:none;
  cursor: pointer;
}

#checkboxantrag {
  grid-column-start: 1;
  grid-column-end: 4;
  line-height: 100%;
}

#ddm {
  width: 90%;
}

.div {
  margin-top: 14px;
  border-top: 2px solid black;
}

#downloads {
  list-style-type: none;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  padding:0;
}

.downdok {
  margin-top: 10%;
}

#drucker {
  width: 2.5%;
}

#f2 {
  display: grid;
  grid-template-columns: 100%;
  justify-content: left;
  align-self: start;
}

#f2n {
  justify-content: left;
  align-self: start;
}

#formschu {
  display: grid;
  grid-template-columns: 50% 50%;

}







.galerie {
display: grid;
grid-template-columns: 33% 33% 33%;
border-radius:10px;
padding-left: 5%;
justify-content: center;
}

.galerie img {
background:#ffffff;
width: 80%;
margin: 3% ;
padding:1.5% 1.5% 7% 1.5%;
opacity:0.8;
-moz-box-shadow: 0 0 5px 2px #ccc;
-webkit-box-shadow: 0 0 5px 2px #ccc;
box-shadow: 0 0 5px 2px #ccc;
transform: rotate(-4deg);
transition: all 0.4s ease-out;
}

.galerie img:nth-child(2n) {
transform: rotate(2deg);
}

.galerie img:hover {
opacity:1;
padding:0;
position:relative;
z-index:1;
-moz-box-shadow: 2px 2px 2px #888;
-webkit-box-shadow: 2px 2px 2px #888;
box-shadow: 2px 2px 2px #888;
transform: rotate(0deg) scale(2);
}

#gsb {
  margin: 0;
  align-self: center;
}

#haupt {
  margin-top: 200px;
}

#infos {
  font-size: 120%;
}

.kolbild {
  width: 50%;
}

.koltxt {
  display: grid;
  grid-template-columns: 33% 33% 34%;
  grid-column-gap: 2%;
  line-height: 150%;
}

.kollegen {
  border: solid black 2px;
  border-radius: 2em;
  background-color: #ffc1bc;
  padding: 2%;
  margin: .5%;
  font-size: 120%;
}

.krank {
  display: grid;
}

#krank {
  display: grid;
  grid-template-columns: 47% 47%;
  grid-gap: 2%;
  margin-top: 5%;
  margin-bottom: 5%;
}

.kranklehrer {
  display: grid;
  grid-template-rows: 80% 20%;
  place-self: center;
  justify-self: center;
}

.krankimg {
  width:50%;
  justify-self: center;
}

.ktext {
  justify-self: center;
}

#krankmeldung {
  text-align: justify;
  line-height: 150%;
  border: solid black 2px;
  border-radius: 20px;
  padding: 1.5%;
  background-color: #ffc1bc;
}

#kollegium {
  display: grid;
  grid-template-columns: 50% 50%;
  list-style-type: none;
  vertical-align: middle;
}

#leitbild {
  width: 30%;
  float: right;
  padding-left: 2%;
}

.labelid {
  line-height: 250%;
}

.labelid1 {
    border-bottom: solid black 2px;
}

.labelid2 {
    border-bottom: solid black 1px;
}

#logo {
  padding: 10% 30%;
  width:33%;
}

#migr {
  grid-column-start: 2;
  grid-column-end: 4;
}

.mobnav {
  list-style-type: none;
  border: solid black 2px;
  border-radius: 10px;
  background-color: cornflowerblue;
  height: 40px;
  scroll-behavior: smooth;
}

#mobnav {
  margin: 0;
}

#navneu {
  display: grid;
  grid-column-gap: 0.2%;
  grid-template-columns: 13% 12% 13% 13% 22% 10% 13.5%;
  margin: 0;
  align-self: end;
}

.navneu {
  list-style-type: none;
  border: solid black 2px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-left: 0;
  margin-right: 0;
  background-color: #D8D8D8;
}

.navneu:hover {
  .zweitereihe {display: block;
  }
}

.p0 {
  font-size: 130%;
}

.p1 {
  text-align: justify;
  line-height: 1.7;
  font-size: 110%;
}

#personal {
  width: 100%;
}

#Profil {
  font-size: 100%;
}

#rand {
  margin-top: 10%;
  border-top: 2px dotted grey;
  padding: 5% 0%;
  line-height: 50%;
}

#randzeile {
  border-left: 2px dotted grey;
  border-right: 2px dotted grey;
  padding: 5%;
}

#senden {
  border: solid black 1px;
  border-radius: 5px;
  background-color: lightgreen;
  font-size: 16px;
}

#sl::before {
  content: "Frau Bedranowsky";
}

.sum1 {
  display: grid;
  grid-template-columns: 100%;
  background-image: linear-gradient(to right, #BBCA43 10%, #ECF6CE 95% );
  padding: 1%;
  margin-bottom: 1%;
  border-left: solid black 4px;
  width: 68vw;
}

.sumin {
  text-align: justify;
  line-height: 1.5;
}

.summary1 {
  padding: 1em;
  cursor: pointer;
  padding-right: 4em;
  font-weight: 700;
}

.summary2 {
  padding: 0.5em;
  padding-left: 2em;
  cursor: pointer;
  font-weight: 700;
}

#underline {
  grid-column: 1/4;
}

#verzeichnis {
  display: grid;
  font-size: 100%;
  line-height: 400%;
  list-style-type: none;
  padding: 0%;
  }

#weiterleitung {
  width: 80%;
  display: grid;
  align-self: center;
  opacity: 100%;
}

#weiterleitunghg {
  background-image: media/schule1.jpg;
  opacity: 65%;
  size:100%;
  display: grid;
  grid-template-columns: 100%;
}


.zweitereihe {
  visibility: hidden;
}

/****************

Ende der iD´s und class Befehle ab hier "@media" Befehle

****************/




@media (min-width: 1224px) {
  #mobnav {
    display: none;
  }
  .mobnav2 {
    visibility: hidden;
  }
}

@media (max-width: 1224px) {
  #navneu {
    display: none;
  }
  .navneu {
    display: none;
  }
}

@media (max-width: 1224px) {
  body {
    display: grid;
    grid-template-columns: 100%;
    justify-content: center;
  }

  header {
    height: 100px;
  }

  h1 {
    font-size: 120%;
  }

	#downloads {
  display: grid;
  grid-template-columns: 33% 33% 33%;
	}

  #f2 {
    margin: 5%;
    margin-top: 0;
  }

  #haupt {
    margin-top: 130px;
  }

  #mobnav {
    width: 200px;
    text-align: center;
  }

  #mobnav2 {
    border: solid black 2px;
    background-color: cornflowerblue;
    border-radius: 10px;
    padding: 1%;

  }

  #navneu {
    display: none;
  }

  #hü {
    padding-left: 35%;
    font-size: 150%;
  }

  #pdfprog {
    grid-column-start: 1;
    grid-column-end: 4;
  }

  #randzeile {
    display: none;
  }

  .div {
    display: none;
  }

  .mobnav2 {
    visibility: visible;
    style: underline;
    color: white;
  }
}

@media (max-width: 800px) {

  #downloads {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  #galerie {
    display: grid;
    grid-template-columns: 50% 50%;
  }

  #krank {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 4%;
    margin-bottom: 20%;
    align-items: center;
    justify-content:center;
  }

  #pdfprog {
    grid-column-start: 1;
    grid-column-end: 3;
  }

  .bildfenster3 {
    display: grid;
    grid-template-columns: 50% 50%;
    align-self: center;
    grid-gap: 4px;
  }

  .koltxt {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 0;
    line-height: 120%;
  }
}

@media (max-width: 440px) {

  h1 {
    font-size: 100%;
  }

  #downloads {
    display: grid;
    grid-template-columns: 100%;
  }

  #galerie {
    display: grid;
    grid-template-columns: 100%;
  }

  #pdfprog {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .bildfenster3 {
    display: grid;
    grid-template-columns: 100%;
    align-self: center;
    grid-gap: 0px;
  }
  .bildfenster2 {
    display: grid;
    grid-template-columns: 100%;
    align-self: center;
    grid-gap: 0px;
  }
}
