/*
 * QUERIES
 */

 /* big desktop */
@media screen and (min-width: 1600px) {
  .grid-container {
    max-width: 67vw;
    margin: auto;
  }
  header #logomenu {
    padding: 0 17.5vw;
  }
  #home header .headerimage1 img {
    transform: translateX(-20%);
  }
  #home header .headerimage2 img {
    transform: translateX(20%);
  }
  h2, h2 p {
    font-size: 94px;
    line-height: 110%;
  }
  #home #intro-txt h3 p {
    font-size: 30px;
}
}

/* Mirco demand 2 */
@media screen and (min-width: 1024px) and (max-width: 1480px) {

  #atelier #erfahrung .erftext .horizontalscroll:nth-child(2){
    display: block;
  }
  
  #atelier #erfahrung .erftext {
    width: 100vw;
    margin: 0;
    height: 40px;
    position: relative;
}

#atelier #erfahrung .erftext div{
  display: block;
  width: 200%;
  height: 100px;
  position: absolute;
  overflow: hidden;
  animation: scroll-left 10s linear infinite;
}

/* Animation de défilement */
#atelier #erfahrung .erftext .horizontalscroll {
  float: left;
  width: 50%;
}

/* Définir l'animation */
@keyframes scroll-left {
  0% { left: 0; }
  100% { left: -100%; }
}
}

/* Special Google maps button */
@media screen and (min-width: 1024px) and (max-width: 1207px) {
  #kontaktpage .pin {
    margin-right: 15px;
  }
  .kontakttermin a {
    font-size: 14px;
    padding: 15px 10px 12px 10px;
    letter-spacing: 1px;
  }
}

/* Mirco demand */
@media screen and (min-width: 768px) and (max-width: 1279px) {
  h2, h2 p {
    font-size: 80px;
    line-height: 110%;
  }
  #kontakt h2 p{
    font-size: 84px;
  }
  #projekte-slider .homepageslider {
    width: 110vw !important;
    transition: all .3s ease-in-out;
  }
  #atelier #erfahrung .erftext .horizontalscroll p{
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: floatText 20s infinite linear;
  }
  
  @keyframes floatText {
    to {
      transform: translateX(-105%);
    }
  }
}

  /* IPAD Portrait and Landscape */
@media screen and (min-width: 640px) and (max-width: 1023px) {
  h2, h2 p {
    font-size: 74px !important;
  }
  #home .headerimage1mobile{
    display: none !important;
  }
  #home .headerimage1{
    display: block !important;
  }
  #home header .headerimage1 img {
    transform: translateX(0);
  }
  #home header .introtiteltxt {
    margin-top: 50px !important;
    padding-bottom: 80px !important;
  }
  #kontaktpage .adresstxt, #kontaktpage .pin{
    margin-top: 0;
  }
  #kontaktpage #kontakt-intro h2 {
    margin-top: 0;
  }
}

 /* Iphone Portrait and Landscape */
 @media screen and (max-width: 1023px) {
  h2, h2 p{
    font-size: 60px;
    line-height: 110%;
   }
   h3, h3 p {
    font-size: 24px;
  }
  #burgermenu{
    display: block;
    height: 8px;
    position: relative;
    cursor: pointer;
    margin-top: 35px;
    padding: 20px;
    display: flex;
    justify-content: right;
  }
  #burgermenu div{
    position: absolute;
    height: 1px;
    width: 30px;
    background: #fff;
    transform-origin: 26% center;
    transition: all .3s ease-out;
  }
  #burgermenu div:nth-child(2){
    top: 10px;
  }
  .menucroix1{
    transform: rotate(-45deg) !important;
    transition: all .3s ease-out;
  }
  .menucroix2{
    transform: rotate(45deg) !important;
    transition: all .3s ease-out;
  }
  header{
    z-index: 3;
    padding-top: 110px;
  }
  header h1 {
    padding: 27px 50px 30px 15px;
  }
  header h1 img {
    width: 264px;
  }
  header li{
    display: block;
  }
  header .mainmenu{
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
  }
  header .mainmenuli:first-child .sub {
    width: 90vw;
  }
  header .mainmenu li:not(.sub li){
    margin-bottom: 60px;
  }
  header .mainmenuli{
    margin-left: 0;
  }
  .mainmenumobilego{
    display: block !important;
  }
  .blury{
    filter: blur(0);
    transition: all .3s ease-out;
  }
  .blurymobile{
    filter: blur(20px);
    opacity: 0.4 !important;
    transition: all .3s ease-out;
  }
  .subappear{
    pointer-events: all !important;
    opacity: 1 !important;
    position: relative !important;
    transition: all .3s ease-out;
  }
  #home .headerimage1mobile{
    display: block;
    margin-top: 10px;
  }
  #home .headerimage1{
    display: none;
  }
  #home header .headerimage2 {
    display: none !important;
  }
  #home header .introtitel{
    transform: translateX(0);
    display: block;
    margin-top: 0;
  }
  #home #intro-txt {
    padding: 75px 0;
  }
  #home .headercontainer {
    padding-bottom: 0px;
  }
  #home header .introtiteltxt {
    margin-top: 50px;
    padding-bottom: 20px;
  }
  #home header .introsub {
    margin-bottom: 20px;
    transform: translateX(30px);
  }
  #home header h2 p {
    -webkit-text-stroke: .8px #F16451;
    transform: translateX(0);
  }
  #projekte-slider .homepageslider {
    width: 200vw;
    transition: all .3s ease-in-out;
  }
  .slick-slide {
    margin: 0 15px;
  }
  #home #intro-txt h3 p {
    margin-bottom: 25px;
  }
  #home #intro-txt .leistung p {
    font-size: 18px;
  }
  #kontakt h2 p {
    -webkit-text-stroke: .8px #000;
  }
  #kontakt h2 p {
    font-size: 60px;
  }
  #atelier #atelier-intro h2 p {
    font-size: 48px;
    -webkit-text-stroke: .8px #fff;
  }
  #atelier #atelier-intro h2 {
    margin-bottom: 25px;
  }
  #atelier #erfahrung .erftext p{
    font-size: 48px;
  }
  #atelier #kunden .kundenlogo {
    padding: 0 20%;
  }
  #atelier #interview .interviewimg {
    margin-bottom: 50px;
  }

  #atelier .video-js {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1.5;
  }
  #atelier #erfahrung .erftext .horizontalscroll:nth-child(2){
    display: block;
  }
  
  #atelier #erfahrung .erftext {
    width: 200vw;
    margin: 0;
    height: 20px;
    position: relative;
}

#atelier #erfahrung .erftext div{
  display: block;
  width: 200%;
  height: 100px;
  position: absolute;
  animation: scroll-left 10s linear infinite;
}

/* Animation de défilement */
#atelier #erfahrung .erftext .horizontalscroll {
  float: left;
  width: 50%;
  font-size: 36px;
  line-height: 55px;
}

/* Définir l'animation */
@keyframes scroll-left {
  0% { left: 0; }
  100% { left: -100%; }
}
  #projekt #projekt-intro .grid-container{
    max-width: 100vw;
    margin: 0;
  }
  #projekt #projekt-gallerie .projekt-gall-3 {
    aspect-ratio: 4/3 !important;
  }
  #projekt header h1 {
    padding: 27px 50px 25px 0;
  }
  #projekt .projekttitel p {
    margin: 40px 0 25px 0;
  }
  #projekt #projekt-infos .projekttext p, #projekt #projekt-infos .projekttextsup p {
    font-size: 18px;
  }
  #projekt #projekt-infos .mehr {
    font-size: 15px;
  }
  #projekt #projekt-infos .mehr .plus {
    margin-top: -2px;
  }
  #projekt .projektsubtitel p {
    font-size: 36px;
    line-height: 125%;
  }
  #projekt #projekt-infos .mehr {
    padding: 15px 0 30px 0;
  }
  #projekt #projekt-infos .projektdetails {
    margin: 25px 0 40px 0;
  }
  #projekt #kontakt .kontaktimg {
    display: none;
  }
  #projekt #kontakt h2 p{
    font-size: 50px;
   }
  #kontaktpage #kontakt-intro h2 p, #kontaktpage #adresse h2 p{
    font-size: 48px;
  }
  #kontaktpage .adresstxt, #kontaktpage .pin{
    margin-top: 60px;
  }
  #kontaktpage .pin {
    margin-right: 10px;
  }
  .kontakttermin a {
    font-size: 14px;
    padding: 12px;
    letter-spacing: 1px;
  }
  footer #copyright div {
    left: 7vw;
  }
  footer .socials {
    position: absolute;
    right: 0;
    bottom: 9px;
  }
  footer .adresse, footer .communications{
    margin-top: 30px;
  }
  #footerspace{
    height: 530px;
   }
   footer #copyright p {
    font-size: 13px;
  }
 }

 @media screen and (max-width: 680px) {
  #atelier #erfahrung .erftext {
    width: 300vw;
  }
 }

  /* Small Iphone Portrait and Landscape  */
  @media screen and (max-width: 515px) {
    h2, h2 p {
      font-size: 53px;
      line-height: 110%;
    }
    footer #copyright p {
      font-size: 12px;
    }
  }

  @media screen and (max-width: 440px) {
    #atelier #erfahrung .erftext {
      width: 390vw;
    }
   }

  @media screen and (max-width: 320px) {
    #atelier #erfahrung .erftext {
      width: 420vw;
    }
   }

