*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Baskervville", serif; 
  font-weight: 400; 
  font-style: normal;
  cursor: url(img/cursor.png), auto;
}
a {
  cursor: url(img/pointer.png), pointer;
}

body {
  background-color: #000;
}

/* Text Style Global */
p {
  font-size: 18px;
  color: #fff;
}
.left{
  text-align: left;
}
.center{
  text-align: center;
  filter: brightness(50%);
}
h1 {
  color: #fff;
  background: none;
  font-size: 100px;
  text-align: center;
}
h2 {
  color: #fff;
  background: none;
  font-size: 60px;
  text-align: center;
  margin: 60px;
}
h3{ color: #fff;
  background: none;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
}
h4{ 
  color: #fff;
  background: none;
  font-size: 23.4px;
  font-weight: bold;
  text-align: center;
}
h5{ color: #000;
  background: none;
  font-size: 23.4px;
  text-align: center;
  text-transform: uppercase;
}


/*header*/
header nav{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
header nav li {
  position: relative;
  list-style: none;
}
header nav li a{
  position: relative;
  text-decoration: none;
  margin: 0px 15px;
  padding: 10px;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 300;
}
header.sticky{
  padding: 5px 100px;
  background: rgb(16, 20, 27);
}
header.sticky nav li a{
  color: #fff;
  font-weight: 400;
}
@media screen and (max-width: 850px) {
header.sticky .logo{
  color: #000;
}
}
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px;
  z-index: 3;
  transition: 0.5s ease-in-out;
  background-color:  rgba(16, 20, 27, 0.4); 
}
header .logo{
  position: relative;
  color: #fff;
  font-weight: 700;
  height: 50px;
  width: auto;
  margin: 0;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 30px;
  letter-spacing: 2px;
  transition: 0.6s ease-in-out;
}
@media screen and (max-width: 850px) {
  header .logo{display: none;}  
}

header.sticky .houses-dropdown-content a{
  background-color: rgb(16, 20, 27);
}
header.sticky .houses-dropdown-content a:hover {
  background-color: rgb(16, 20, 27);
  cursor: url(img/pointer.png), pointer;
}

/*Navigation*/
.nav-hover {
  transition: 0.5s ease;
margin: 0px 10px 0px 10px; 
}
.nav-hover:hover {filter: brightness(70%);/* margin: 0px 10px 0px 10px; */}
.houses-dropdown {
  position: relative;
  display: inline-block;
  transition: 0.5s ease;
}
.houses-dropdown-content {
  display: none;
  /* position: absolute; */
  /* min-width: 160px; */
  z-index: 1;
  /* display: flex; */
}
.houses-dropdown-content a {
  color: #fff;
  padding: 0px 16px;
  text-decoration: none;
  display: block;
  background-color:  rgba(16, 20, 27, 0.4);
}
.houses-dropdown-content a:hover {
  background-color:  rgba(16, 20, 27, 0.4); 
}
.houses-dropdown:hover .houses-dropdown-content {
  display: flex;
  flex-direction: column;
}
.houses-dropdown:hover {
  filter: brightness(70%);
  cursor: url(img/pointer.png), pointer;
}

/*Allgemein*/
.about {
  background: #000;
  padding: 100px;
  padding-bottom: 0;
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-box{
  text-align: center;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}
.zitat{
  font-style: italic;
}
.no-underline {
  text-decoration: none;
  transition: 0.5s, ease;
}
.no-underline:hover {
  filter:brightness(70%);
  cursor: url(img/pointer.png), pointer;
}

/*Home*/
.home .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Hogwarts.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner p {
  color: #fff;
  background: none;
  font-size: 50px;
  text-align: center;
  margin: 10px;
}
.flag {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

/*Houses*/
.houses .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Houses.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.houses .four-houses-list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 40px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.four-houses-list .box{
  width: 275px;
  min-height: auto;
  margin: 0px 10px 0px 10px;
  background: #000;
}
.four-houses-list .box img{
  width: 100%;
  
  justify-content: center;
}
.btn-box{
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 10px;
}
.btn{
  position: relative;
  display: inline-block;
  padding: 10px 10px;
  margin-top: 20px;
  background: #fff;
  text-decoration: none;
  color: #000;
  border-radius: 0px;
  transition: 0.5s;
  text-align: center;
}
/* Button mit der Pseudoklasse "hover */
.btn:hover {
 filter: brightness(70%);
  text-decoration: none;
  color: #000;
  border-radius: 0px;
  transition: 0.5s ease;
  cursor: url(img/pointer.png), pointer;
}
.hover-image {
  transition: 0.5s ease;
  margin: 0px 10px 0px 10px; 
}
.hover-image:hover {
  filter: brightness(70%);
  margin: 0px 10px 0px 10px; 
  cursor: url(img/pointer.png), pointer;
}
.gryffindor .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Gryffindor.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hufflepuff .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Hufflepuff.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ravenclaw .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Ravenclaw.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slytherin .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Slytherin.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fellow{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin-top: 40px;
}
.fellow-section {
  padding: 100px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.fellow-box{
  text-align: center;
  width: 75%;
}
.fellow-image{
  width:100%;
  height:auto;
  margin-top: 0;
  overflow: hidden;
  object-fit: cover;
}

/*Lessons*/
.lessons .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Unterricht.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.listing-left h2 {
  text-align: left;
}
.lessons .classes{
  display: flex;
  margin-top: 40px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.classes .box{
  width: 800px;
  min-height: 250px;
  margin: 0px 10px 0px 10px;
  background: #000;
}
.dropdown-content-classes {
  display: none;
  margin-top: 5px;
  margin-bottom: 10px;
}
.dropdown-classes {
  cursor: pointer;
  font-weight: normal;
  transition: 0.5s;
  text-align: center;
}
.dropdown-classes:hover{
  filter: brightness(70%);
  cursor: url(img/pointer.png), pointer;
}
.dropdown-classes.active {
  font-size: 25px;
  text-transform: uppercase;
  transition: 0.5s;
  font-weight: normal;
  color: #5e5e5e;
  margin-top: 10px;
  text-align: left;
}

/*Facts*/
.facts .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Facts.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.facts-content {
  display:flex;
  flex-direction: column;
  margin: 20px 0;
}
.facts-content .about-box {
  display: flex; 
  flex-direction: column;
  align-items: center; 
  margin-bottom: 20px;
  gap: 20px;
  padding: 10px;
}
.facts-content .about-box img {
  flex: 1; 
  height: auto;
  max-height: 100%;
  max-width: 50%;
  object-fit: cover;
}
.facts-content .about-box .text-box {
  flex: 1;
  display: flex;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
}
.facts-content .about-box .text-box h2 {
  text-align: center; 
}
.facts-content .about-box .text-box p {
  text-align: left; 
  margin-top: 10px;
  line-height: 1.6;
  font-size: 16px;
  color: #fff;
}
.title {
  text-align: center;
  margin-bottom: 10px;
}
.content {
  display: flex;
  align-items: center;
  gap: 20px;
}
/*Gallery*/
.gallery .banner{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url("img/Galerie.png");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery-section {
  padding: 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.gallery-content{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
  margin-top: 40px;
}
@media screen and (max-width: 1000px) {
  .gallery-content{
    grid-template-columns: 1fr 1fr;
  }}
@media screen and (max-width: 650px) {
    .gallery-content{
      grid-template-columns: 1fr;
    } 
}

.gallery-box{
  text-align: center;
  width: 75%;
}
.gallery-image{
  width:100%;
  height:auto;
  margin-top: 0;
  overflow: hidden;
  object-fit: cover;
}

/*Footer*/
footer {
  background-color: rgb(16, 20, 27);
  padding: 15px 0px;
  margin-top: 40px;
}
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
  padding: 20px 0 0 0;
}
.social ul {
  display: flex;
}
.social ul li {
  list-style: none;
}
.social ul li a {
  text-decoration: none;
  margin: 0 30px;
}

.social img {
  max-height: 30px;
  transition: 0.5s ease;
  margin: 0px 10px 0px 10px; 
}

.social img:hover {
  filter: brightness(70%);
  margin: 0px 10px 0px 10px; 
  cursor: url(img/pointer.png), pointer;
}
.copyright {
  color: #fff;
  text-align: center;
 
}
.copyright a {
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
}
.copyright a:hover {
  filter: brightness(70%);
  cursor: url(img/pointer.png), pointer;
}
.copyright:hover {
  cursor: url(img/pointer.png), pointer;
}

@media (max-width: 992px) {
  .toggle {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .toggle:before {
    content: "";
    position: absolute;
    top: 4px;
    width: 100%;
    height: 3px;
    background: #fff;
    z-index: 1;
    box-shadow: 0 10px 0 #fff;
    transition: 0.5s ease;
  }
  .toggle:after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 100%;
    height: 3px;
    background: #fff;
    z-index: 1;
    transition: 0.5s ease;
  }

  header,
  header.sticky {
    padding: 5px 50px;
    background: #000;
  }
  header nav {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: auto;
    background: #000;
    visibility: hidden;
    opacity: 0;
  }
  header.active nav {
    visibility: visible;
    opacity: 1;
    display: block;
    padding-top: 50px;
  }
  header.active nav li a {
    display: inline-block;
    margin: 10px 0;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
  }

  header ul {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: auto;
    background: #000;
    visibility: hidden;
    opacity: 0;
  }
  header.active ul {
    visibility: visible;
    opacity: 1;
    display: block;
    padding-top: 50px;
  }
  header.active ul li a {
    display: inline-block;
    margin: 10px 0;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
  }
  header .logo,
  header ul li a {
    color: #fff;
  }
  .banner {
    background-position: center;
  }
  .banner h1 {
    font-size: 60px;
    padding: 0 50px;
  }
  .banner p {
    font-size: 30px;
    margin: 0;
  }
  h2 {
    font-size: 40px;
    margin: 0;
  }
  .flag {
    width: 150px;
    height:auto;
    text-align: center;
    position: relative;
  }
  .about {
    padding-left: 2px;
    padding-right: 2px;
  }
  .fellow {
    grid-template-columns: 1fr;
  }
  .facts .facts-content img {
    display: none;
  }
}

@media (max-width: 410px) {
  .banner h1{
    font-size: 30px;
  }
  .banner p{
    font-size: 20px;
  }
}
/* Link zu Impressum und Datenschutz (myis.ch) */
.rechtliches {
  text-align: center;
  margin: 10px 0 5px;
  font-size: 14px;
}
.rechtliches a {
  color: rgb(170, 170, 170);
  text-decoration: none;
}
.rechtliches a:hover {
  color: white;
  text-decoration: underline;
}
