@import url("component/header.css");
@import url("component/gallery.css");

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



html,body{
    height: 100%;

}

body{
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  line-height: 1.7;
  perspective-origin: 0% 50%;
  perspective: 800px;
  background-image: url(caroline.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.menu-activea{
  display: none;
}

.projekteBild{
  width: 100%;
  height: 100%;
  padding-right: 10px;
}

.projektBeschreibung{
  padding-top: 10px;
  display: flex;
  width: 100%;
}





@media all and (min-width: 768px) {
  .news-container {
    display: grid;
  
  
    
    margin-top: 30px;
  }

  h1.hundertwasser{
    background-image:linear-gradient(90deg,red,yellow,blue,green,red,pink,yellow,green,orange,blue,red,yellow,blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .news {
    border: 1px solid;
  }
  
  .news__content {
    padding: 20px;
  }
  
  
  
  .kurs-container {
    display: grid;
    margin-top: 30px;
    display: unset;
  }
  
  
  
  .kurs__content {
    padding: 20px;
  }

  section h1{
    font-weight: 800;
    font-size: 2em;
    color: white;
    letter-spacing: 10px;
}

  main section{
    margin: auto;
    padding: 1em 4em;
    overflow: auto;
    max-width: 1050px;

}

  html,body{
    height: 100%;
}

  nav, main{
    transition: transform 150ms ease-out;
}

nav{
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16em;
    background-color: rgb(185, 185, 185);
    transform: translateX(-16em);
}

nav.menu-active{
    transform: translateX(0);
}

.menu-activea{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav.menu.hover{
    transform: translateX(-15em);
}

nav h1{
    z-index: 100;
    display: block;
    position: absolute;
    top:50%;
    right: 0;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    text-align: center;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    transform: translateX(100%) translateY(-50%);
    padding-left: 1em;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-right: 1em;
    font-size: 0.75em;
}

nav h1:hover{
    border: solid white;
    color: white;
    background: black;
}



nav li{
    text-decoration: none;
    display: inline-block;
    text-align: left;
    padding: 0 1em;
    width: 100%;
    height: 60px;
    color: white;
    line-height: 60px;
    /*background-color: #353441;*/
    transition: all 0.5s ease-in;
    padding-left: 60px;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

/*nav li:nth-of-type(2n){
    background-color: #3F5E5A;
}*/

nav li:hover{
    background: rgba(0,0,0,.5);
    color: white;
}

}

@media all and (max-width: 768px) {

  section h1{
    font-weight: 400;
    font-size: 1.5em;
    color: white;
  
}

  main section{
    margin: auto;
    margin-top: 20%;
    padding-left: 5px;
    padding-right: 5px;
}



  .news-container {
    display: grid;
    display: unset;
  }
  
  .news {
    border: 1px solid;
  }
  
  .news__content {
    padding: 20px;
  }


  
  .kurs-container {
    display: grid;
    display: unset;
  }
  
  
  .projekteBild{
    margin-left: 25%;
    width: 50%;
    height: 100%;
    padding-right: 10px;
  }

  .projekteH1{
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
  }

  .hundertwasser{
    text-align: center;
    font-weight: bold;
    font-size: 2.5rem;
    background-image:linear-gradient(90deg,red,yellow,blue,green,red,pink,yellow,green,orange,blue,red,yellow,blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .projektBeschreibung{
    display: contents;
    width: 1005;
  }


  
  .kurs__content {
    padding: 20px;
  }
}


main{
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    overflow: auto;
    background-color: #A79883;
    transform-origin: 0% 50%;
    background-size: cover;
    border-right: 10px solid white; 
    border-left: 10px solid white; 
    border-bottom: 10px solid white; 
    border-top: 10px solid white; 
}

main:after{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, transparent, rgba(33,33,45,.5));
    visibility: hidden;
    opacity: 0;
    transition: opacity 150ms ease-out, visibility 0s 150ms;
}

main.menu-active{
    border-radius: 0.001px;
    transform: translateX(16em) rotateY(45deg);
}

main.menu-active:after{
    opacity: 1;
    transition: opacity 150ms ease-out, visibility 0s;
}

main.menu-hover{
    border-radius: 0.001px;
    transform: translateX(.2em) rotateY(1deg);
}

section h2{
  font-weight: 400;
  font-size: 2em;
  color: white;
}


section h3{
  font-weight: 200;
  font-size: 1.5em;
  color: white;
}

section p{
    display: inline-block;
    margin: 16px 0;
    color: white;
    letter-spacing: 1px;
    text-align: justify;
    hyphens: auto;
}


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


.logo{
    height: 100%;
    width: 100%;
    max-width: 250px;
    min-width: 150px;
}


.logodiv{
   display: flex;
   justify-content: center;
    height: auto;
    width: 100%;
}



.perfundo__image{
    width: 800px; 
    padding-top: 56.25%; 
    background-image: url(css/image/KIMA/097.JPG);
}


  
  .btn {
    text-decoration: none;
    color: inherit;
    border: 1px solid;
    padding: 10px;
    display: inline-block;
    
    transition: all .3s ease-in-out;
  }
  
  .btn:hover {
    background-color: black;
    color: white;
  }


  nav{
    z-index: 100;
  }

nav ul{

  margin: 0;
  padding: 0;
  }


nav li{
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 45px;
  line-height: 60px;
  transition: all 0.5s ease-in;
  border-bottom: 1px solid rgba(0,0,0,.05);
  }


.burger__label{
  color: black;
  }

.desktopmenu{
  text-align: left;
  }


.text{
  position: relative;
  }

.bilder{
  border-block-end: solid;
  border-block-end-color:rgb(80, 78, 72);
  margin-top: 20px;
}

main.projekteSection{
  width: max-content;
  display: contents;
}

#lB img{
  height: 65px;
  border: 3px solid white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  margin: 40px 20px 20px 0px;
}

