/* Media Queries */

/* Mobile Ansicht (bis 600px) */
@media (max-width: 600px) {

  /*Hamburger Menu */

  .button-header .contact-button:hover{
    background-color: #0C41FB;
}

  .header{
    margin-left: 20px;
    margin-right: 20px;
  }

  .x {
    align-items: end;
    display: flex;
    height: 100%;
    justify-content: end;
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    top: 0%;
  }

  .ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .hamRotate.active {
    transform: rotate(45deg);
  }
  .hamRotate180.active {
    transform: rotate(180deg);
  }
  .line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:#026DEB;
    stroke-width:5.5;
    stroke-linecap:round;
  }
  .ham1 .top {
    stroke-dasharray: 40 139;
  }
  .ham1 .bottom {
    stroke-dasharray: 40 180;
  }
  .ham1.active .top {
    stroke-dashoffset: -98px;
  }
  .ham1.active .bottom {
    stroke-dashoffset: -138px;
  }

  /*Hamburger Menu done */


  .arrow-slider{
    position: fixed;
    z-index: 500;
    bottom: 5%;
    left: 74%;
    width: 64px;
  }

  .header-pages {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    display: none; /* Anfangs unsichtbar */
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background-color: #64C1FF;
    position: absolute;
    top: 140px;
    left: 7px;
    z-index: 1000;
    border-radius: 10px;
    margin-left: 20px;
    margin-right: 60px;
    width: 85%;

    padding-bottom: 20px;
    padding-top: 20px;
}

.header-list{
    display: none;
    display: flex;
    flex-direction: column;
    padding-right: 0px;
    gap: 25px
}


  .button-header {
    padding-left: 35px;
    align-self: start;
  }

    .contact-button {
      display: flex;
      width: 100%;
      text-align: left;
      padding-left: 20px;
      padding-right: 20px;

    }

    .header-pages.open {
        display: flex;
    }

    /*Footer*/

    .footer{
      background-color: #64C1FF;
      margin-left: 20px;
      margin-right: 20px;
      margin-bottom: 40px;
      border-radius: 10px;
      padding: 20px;
  
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 50px;
  }

    .social-footer{
      flex-direction: row;
      justify-content: center;
      align-items: center;
      padding-left: 0px;
      width: 100%;
    }

    .social-footer img{
      width: 64px;
    }

    .footer-ri{
      flex-wrap: wrap;
      gap: 64px;
    }

    .footer-logo{
      padding-left: 24px;
      width: 125px;
    }

    .footer-pages{
      flex-wrap: wrap;
      flex-direction: column;
      text-align: right;
      gap: 32px;
      margin-right: 0px;
    }

    .footer-pages a{
      font-size: 25px;
    }

    .copyright{
      margin-left: 20px;
      margin-right: 20px;

    }

    .copyright a{
      font-size: 25px;
  }
}

@media (min-width: 1024px) {
    .x{
        display: none;
    }
}


/* Tablet Ansicht (600px - 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {

      /*still need to be modified*/

    .x{
        display: none;
    }

    .header-pages.open {
        display: flex;
    }

}


