@font-face {
    font-family: Poppins;
    src: url(Poppins-Regular.ttf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
    background-color: #fff;
}
body {
    width: 90%;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: auto;
}

.impressum_seite {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 20vh;
}

.logo {
    float: left;
}

#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: grey;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 100%;
  opacity: 50%;
}

#backToTopBtn.sichtbar_btn {
    display: block;
}

#backToTopBtn:hover {
  background-color: #777;
  opacity: 80%;
}

a {
    text-decoration: none;
    color: #000;
}

.navigation, navigation:hover {
    float: right;
    color: #000;
    width: 10%;
    margin-top: 2%;
    margin-bottom: auto;
    margin-left: 2%;
    box-sizing: border-box;
    border-radius: 4%;
    text-align: center;
}

.navigation:hover, .navigation:hover a {
    background: grey;
    color:white;
    border-radius: 30px;
}

.impressum, .impressum:hover {
    color: #000;
    width: 10%;
    margin-top: 2%;
    margin-bottom: auto;
    box-sizing: border-box;
    border-radius: 4%;
    text-align: center;
}

.impressum:hover:hover, .impressum:hover a {
    background: grey;
    color:white;
    border-radius: 30px;
}

.navigation:last-child {
    margin-right: 0;
}

.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
  }
  
  .hamburger .line {
    width: 36px;
    height: 4px;
    background-color: grey;
    margin: 7px 0;
  }
  
  .menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
  }
  
  .menu li {
    margin-right: 15px;
  }
  
.logo {
    position: relative;
    width: 100px;
}

ul,
li {
    list-style: none;
}

#profilbild {
    margin-bottom: 10vh;
    rotate: -5deg;
}

#amar {
    border-radius: 10%;
}

.hyperlink a {
  text-decoration: none;
  color: black;
}

#name{
    margin-left: 15vh;
    grid-area: name;
    text-align: center;
    margin-bottom: 10vh;
}

.seite1 {
    display: flex;
    height: 100vh;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
}

.seite2 {
    display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
    padding-top: 20vh;
    margin-bottom: 10vh;
    height: 90vh;
}

.feuerwehr {
    grid-column: 3/4;
    grid-row: 1/3;
    align-self: center;
    justify-self: center;
    max-width: 300px;
}

.seite3 {
    height: auto;
    padding-top: 20vh;
    margin-bottom: 10vh;
}

.seite4 {
  display: flex;
  gap: 50px; /* Abstand zwischen den Posts */
  justify-content: center; /* zentriert die Posts */
  flex-wrap: wrap; /* sorgt dafür, dass sie bei kleineren Bildschirmen umbrechen */
}
.instagram-media {
  max-width: 100%;
  width: 100%;
  flex: 1 1 300px; /* macht sie responsive mit Mindestbreite */
}

#Projekte_Headline {
    padding-left: 20vh;
    padding-top: 15vh;
}

.production{
    width: auto;
    grid-column: 2/3;
    grid-row: 1/4;
    align-self: center;
    justify-self: center;
}

#bildarbeit {
    max-width: 400px;
}

#superiocity {
    padding-top: 4vh;
}

.projekte_grid {
    display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
        ;
    justify-content: center;
}

.projekt_bild {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.projekt_text {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.projekte_anordnung {
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.projekt_name {
    font-weight: 600;
}

.general, .fachlich {
    border: #000;
    border-radius: 25px;
    width: 25vw;
    padding-right: 5vw;
    padding-bottom: 10vh;
}

.knowledge, .about_me {
    border: #000;
    border-radius: 25px;
    width: 25vw;
    padding-left: 5vw;
    padding-top: 10vh;
}

.fuss {
    height: auto;
    display: flex;
    flex-direction: row;
    padding-top: 3vh;
    justify-content: center;
    padding-bottom: 3vh;
}


@media screen and (max-width: 950px) {
    .seite2 {
        height: auto;
        display: flex;
        width: 80%;
        flex-direction: column;
        margin-left: 10%;
        margin-right: 10%;
        padding-top: 5vh;
    }

    .feuerwehr {
        width: 70vw; /*81 vw*/
        padding-bottom: 5vh;
    }

    .general {
        width: 80vw;
        padding-right: 0vw;
        padding-bottom: 5vh;
        padding-top: 0vh;
    }
    
    .knowledge {
        width: 80vw;
        padding-left: 0vw;
        padding-bottom: 5vh;
        padding-top: 0vh;
    }
    
    .fachlich {
        width: 80vw;
        padding-right: 0vw;
        padding-bottom: 5vh;
        padding-top: 0vh;
    }
    
    .about_me {
        width: 80vw;
        padding-left: 0vw;
        padding-bottom: 5vh;
        padding-top: 0vh;
    }

    .fuss {
        height: auto;
        display: flex;
        flex-direction: row;
        padding-top: 3vh;
        justify-content: center;
        padding-bottom: 3vh;
    }

    .impressum{
        width: auto;
    }
}

@media screen and (max-width: 750px) {
    body {
        width: 90%;
    }
    
    .navigation, navigation:hover {
        float: none;
        color: #000;
        width: fit-content;
        margin: 2%;
        padding-left: 70vw;
        padding-top: 2vh;
        box-sizing: border-box;
        border-radius: 4%;
        text-align: center;
    }
    
    .navigation:hover, .navigation:hover a {
        background: none;
        color:  #000;
        border-radius: 30px;
    }
    
    .navigation:last-child {
        margin-right: 2%;
    }

    .hamburger {
        display: block;
      }
    
      .menu {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 998;
        padding: 10px;
        animation-duration: 0.3s;
        animation-timing-function: ease-in-out;
      }
    
      .menu.open {
        display: block;
        color: #fff;
        animation-name: slideIn;
      }
    
      .menu.open li {
        margin-right: 15px;
      }
    
      .menu.closed {
        display: none;
        animation-name: slideOut;
      }
    
      @keyframes slideIn {
        from {
          opacity: 0;
          transform: translateY(-10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
    
      @keyframes slideOut {
        from {
          opacity: 1;
          transform: translateY(0);
        }
        to {
          opacity: 0;
          transform: translateY(-10px);
        }
      }

    .projekte_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    }

    .logo {
        width: 18vw;
        margin-top: 1vh;
    }

    .seite1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0%;
        height: 100vh;
        padding-top: 0vh;
    }

    #name {
        margin-bottom: 35%;
        margin-left: 0;
    }

    .seite3 {
        padding-top: 0vh;
    }

    #Projekte_Headline {
        display: flex;
        padding-left: 0vw;
        align-items: center;
        justify-content: center;
        padding-top: 5vh;
    }

    .production {
        width: 70vw;
        padding-top: 5vh;
        padding-bottom: 5vh;
    }

    .projekte_anordnung {
        height: auto;
        display: flex;
        width: 80%;
        flex-direction: column;
        margin-left: 10%;
        margin-right: 10%;
        padding-top: 5vh;
    }

    .projekt_bild {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
}

@media screen and (max-width: 750px) {
    #backToTopBtn {
        bottom: 20px;
        right: 20px;
    }
    
    body {
        overflow: auto;
    }

    .seite3 {
        height: auto;
        padding-top: 20vh;
        margin-bottom: 10vh;
    }

    #bildarbeit {
        max-width: 300px;
    }

    .fuss {
        position: relative;
        width: auto;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        padding-top: 3vh;
        padding-bottom: 3vh;
    }

    .impressum {
        width: auto;
    }
}