:root{
  --widht: 100%;
  --titleShadow: 1px 1px whitesmoke;
  --borderShadow: 2px 2px 2px grey;
  --titel: xxx-large;
  --orangeBG: rgba(230, 112, 9, 0.5);
  --orangeText: rgb(230, 112, 9);
  --greyTextShadow: 1px 1px grey;
  --imageBG: url("../img/klastor_bg.jpg")
}

.bgClass{
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  border-bottom: var(--borderShadow)
}
*{
  margin: 0;
  padding: 0;
  font-family: Karla, serif;
}
header{
  width: var(--widht);
  max-height: 95vh;
  border-bottom: var(--borderShadow)
}
#myVideo{
  width: 100%;
}
header>h1{
  position:absolute;
  color: whitesmoke;
  top: 100px;
  left: 50px;
  font-size: var(--titel);
  text-shadow: 2px 2px black;
}
nav, aside, main{
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  width: var(--widht);
  position: relative;
  background-image: var(--imageBG);
}
nav>.orangeBG{
  padding: 40px 0;
  width: 50%;
  background-color: var(--orangeBG);
  text-align: center;
}
nav>h1, aside>h1, main>h1{
  width: 50%;
  text-align: center;
  font-size: var(--titel);
  text-shadow: var(--greyTextShadow);
  color: var(--orangeText);
}


aside{
  flex-direction: row-reverse;
}
aside>.box{
 width: 50%;
 background-color: var(--orangeBG);
}
aside>.box>input{
  display: none;
}
aside>.box>.boxLBL{
  width: var(--widht);
  margin-top: 40px;
  display: flex;
  justify-content: space-around;
}
aside>.box>.boxLBL>.fa-solid{
  background-color: aliceblue;
  color: gray;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: var(--titel);
  text-align: center;
  line-height: 80px;
  cursor: pointer;
}

#bx1:checked~.boxLBL>.fa-people-group,
#bx2:checked~.boxLBL>.fa-church,
#bx3:checked~.boxLBL>.fa-cross{
   color: aliceblue;
   background-color: grey;
}
.boxTXT{
  overflow: hidden;
}
.boxTXT1,
.boxTXT2,
.boxTXT3{
  display: none;
}
.boxTXT>.boxTXT1>h1,
.boxTXT>.boxTXT2>h1,
.boxTXT>.boxTXT3>h1{
  font-size: xx-large;
}
#bx1:checked~.boxTXT>.boxTXT1,
#bx2:checked~.boxTXT>.boxTXT2,
#bx3:checked~.boxTXT>.boxTXT3{
  animation: hist 1s ease;
  display: block;
  margin: 0 20px;
}
main>input{
  display: none;
}
main>h1{
  width: 20%;
}
main>.menu{
  position: relative;
  width: 80%;
  height: 500px;
  background-color: var(--orangeBG);
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  overflow: hidden;
}
main>.menu>menu{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin: 0 50px;
  width: 60px;
  height: 400px;
}
main>.menu>menu>label{

  font-size: 28px;
  border-left: 1px solid grey;
  color: grey;
  height: 45px;
  padding-left: 20px;
  cursor: pointer;

}
main>.menu>.box{
  display: none;
}
main>.menu>.box>img{
  width: 300px;
  height: 300px;
  border-radius: 10px;
  margin: 40px;
}
main>.menu>.box>.list{
  height: 300px;
}
main>.menu>.box>.list>h4{
   display: inline-block;
   color: whitesmoke;
   border-bottom: 2px solid whitesmoke;
   font-size: 20px;
   text-align: left;
   padding-bottom: 2px;
   margin-bottom: 15px;
}
main>.menu>.box>.list>h1{
  padding-bottom: 15px;
}
#mn1:checked~.menu>.box1,
#mn2:checked~.menu>.box2,
#mn3:checked~.menu>.box3,
#mn4:checked~.menu>.box4,
#mn5:checked~.menu>.box5,
#mn6:checked~.menu>.box6,
#mn7:checked~.menu>.box7,
#mn8:checked~.menu>.box8,
#mn9:checked~.menu>.box9{
  display: flex;
  align-items: center;
  animation: hist 1s ease;
}
#mn1:checked~.menu>menu>.mn1,
#mn2:checked~.menu>menu>.mn2,
#mn3:checked~.menu>menu>.mn3,
#mn4:checked~.menu>menu>.mn4,
#mn5:checked~.menu>menu>.mn5,
#mn6:checked~.menu>menu>.mn6,
#mn7:checked~.menu>menu>.mn7,
#mn8:checked~.menu>menu>.mn8,
#mn9:checked~.menu>menu>.mn9
{
  color: black;
  border-left: 3px solid black;
  font-weight: bold;
}

footer{
  width: 100%;
  height: 400px;
  background-color: #2f2f2f;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
footer>.box1>p>.fa-solid, a>.fa-solid{
  font-size: 24px;
  margin-right: 12px;
  color: orange;
}
footer>.box1>p>a{
  color: white;
  text-decoration: none;
}

footer>.box2>p{
  color: orange;
}
footer>.box2>p>a{
  color: white;
  margin-left: 4px;
  text-decoration: none;
}
footer>.box3>iframe{
  border-radius: 6px;
}

.orange{
  text-decoration: none;
  color: orange;
}

@media only screen and (max-width: 1200px) {
  nav, aside, main{
    display: block;
  }
  nav>h1, nav>.orangeBG, aside>h1, aside>.box,  aside>.box>.boxLBL, main>h1, main>.menu{
    width: 100%;
    margin: 0 auto;
  }
  aside>.box>.boxLBL>label{
    margin-top: 20px ;
  }
}
@media only screen and (max-width: 900px){
  header>h1{
    position:absolute;
    color: whitesmoke;
    top: 10px;
    font-size: 40px;
    text-shadow: 2px 2px black;
  }
  main>.menu{
    height: auto;
  }
  main>.menu>.box{
    flex-direction: column;
  }
  main>.menu>.box>.list{
    display: block;
    height: auto;
    width: 80%;
    margin-bottom: 20px;
  }
  footer{
    height: 900px;
    flex-direction: column-reverse;
    align-items: center;
  }
}
@media only screen and (max-width: 540px){
  main>.menu>menu{
   width: 15%;
  }
  main>.menu>.box>.list{
    width: 30vw;
  }
  main>.menu>.box>img{
    width: 150px;
    height: 150px;
  }
}

@keyframes hist {
  from{ opacity: 0;
    transform: translate(-100px);
  }
  to{ opacity: 1;
  transform: translate(0);
  }
}