/* Flexbox */

@media (max-width: 850px) {
  nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    height: 10em;
    padding: 0;
    position: fixed;
    top: 0;
  }

  .space-around {
    margin-top: 11em;
  }

  nav ul {
    flex-direction: row;
    justify-content: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    ;
  }

  nav ul li a {
    font-size: 1.3em;
  }
}

@media (max-width: 500px) {
  nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 7em;
    padding: 0;
  }

  .space-around {
    padding-top: 0em;
  }

  nav img {
    height: 3em;
  }

  nav ul {
    flex-direction: row;
    justify-content: center;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    ;
  }

  nav ul li a {
    font-size: 1em;
    padding: 1em;
    margin: 0;
  }

  #gallery{
    margin-bottom: 5em;
  }
}



/* Über mich */

@media (max-width: 850px) {
  #Bettina {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }

  #portrait {
    width: 70%;
    height: auto;
  }


}


@media (max-width: 500px) {
  #Ausbildungen h4 {
    display: flex;
    justify-content: center;
  }
}


/* Kontakt */

@media (max-width: 850px) {
  .kontakt-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em
  }
}

.kontakt-form {
  width: 90%;
}


/* Angebot (Meine Arbeit) */

/*
@media (max-width: 850px) {
  .angebot-container {
    flex-direction: row;
    gap: 0;
  }

  .angebot-card {
    width: 10cw;
    height: 20vh;

  }

  #Angebot section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1em, 3vw, 4em);
  }

  #Angebot section img {
    width: 10em;
    height: auto;
  }
} */

@media (max-width: 900px){
.angebot-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
  margin-bottom: 0em;
}

/* Macht die dritte Card unterhalb über die ganze Breite */
.angebot-card:nth-child(3) {
  grid-column: 1 / -1;
}

.angebot-card {
  flex: none; 
  width: 100%;
  height: 20vh;
  margin-top: 0em;

}

#Angebot section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1em, 3vw, 4em);
}

#Angebot section img {
  width: 10em;
  height: auto;
}
#humanenergetik {padding-top: 3em;}
}

