html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;

}

section {
    min-height: 100%;
}

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

li {
    list-style: none;
}

h1, h2, h3 a {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
    padding-top: 20px;
}

h2 {
    color: gray;
}

h3 {
    font-size: 40px;
    padding-top: 8%;
    margin-bottom: 5px;
}

h4, p {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', serif;
    color: 494949;
}

hr {
    width: 30px;
    height: 3px;
    background: black;
    border: 0;
}

 #logo, li, img .button , .fa-bars{ transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}
.fa-bars {display: none;}


/* HEADER **************************/


header{
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) ;
    z-index: 1;
}

#logo{
    width: 100px;
    float: left;
    margin: 10px 0 0 50px;
}

#logo:hover {
    opacity: 0.5;
}

#logo img{
    width: 100%;
}

header nav {
    float: right;
    margin: 10px 50px 0 0 ;
}

header nav ul li {
    float: left;
    margin-left: 25px;
}

header nav ul li a {
    font-size: 16px;
}

header nav ul li:hover {
    padding-top: 5px;
}

  /* Menü standardmäßig versteckt */
  #dropdownMenu {
    display: none;
    background-color: whitesmoke;
    position: absolute;
    top: 50px;
    right: 10px;
    width: 100px;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 1000;
  }

   /* Abstand zwischen Menü-Links 
        #dropdownMenu a {
            display: block;
            padding: 10px 0;
            text-decoration: none;
            color: #000;
        }
    */

  /* Hamburger-Bild verstecken, außer bei max-width 480px */
  #hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    margin: 10px;
    display: none;
    position: absolute;
    top: 0px;
    right: 10px;

  }

/* Home **************************/

#home {
    background: url("landing.jpg");
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#home h1 {
    margin: 240px auto 0 auto;
    font-size: 110px;
}

#home h2 {
    margin: 0 auto 0 auto;
    font-size: 25px;
}

#home img {
 width: 32px;
 margin-top: 150px;
 opacity: 0,7;
}

#home img:hover {
    opacity: 1;
}

/* About **************************/

#about
{
    background-color: whitesmoke;
}

#about img {
    width: 240px;
    border-radius: 60px;
}

#about img:hover {
    transform: scale(1.0);

}

#about h4 {
    font-size: 25px;
}

#about p {
    width: 700px;
    margin: 0 auto 0 auto;
}

/* Work **************************/

#work {
    background-color: whitesmoke;
}

 .gallery {
    padding-top: 30px;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-auto-rows: auto;
      gap: 20px;
    }

    .item {
      align-self: start;
      background-color: white;
      padding: 10px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      text-align: center;
    }
     .item img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .item h3 {
      margin-top: 10px;
      font-size: 1rem;
      color: #333;
    }


/* Partner **************************/

#partner {
    background-color: whitesmoke;
}

#pictures {
    width: 900px;
    margin: 0 auto 0 auto;
}

#pictures ul {
    padding: 0;
}

#pictures ul li {
    width: 33,3%;
    float: left;
    margin-bottom: 20px;
    padding: 10px;
    
}

#pictures img {
    width: 280px;
    height: 170px;
    border-radius: 5px;
  
}

#pictures img:hover {
    transform: scale(1.2);

    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

/* Socials **************************/

#socials {
    background-color: white;
}

#channels {
    width: 980px;
    margin: 0 auto 0 auto;
}

#channels ul {
    padding: 0;
}

#channels ul li {
    width: 33.3%;
    float: left;
    margin-bottom: 20px;
    
}

#channels img {
    width: 280px;
    height: 170px;
    border-radius: 5px;
}

#channels img:hover {
    transform: scale(1.2);

    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}


/* Contact **************************/



/* Footer **************************/

footer {
    width: 100%;
    height: 70px;
    background-color: whitesmoke;
}

footer p {
    font-size: 12px;
    color: black;
    padding-top: 30px;
}

/* Impressum **************************/

#Impressum {
    background-color: whitesmoke;
    padding-top: 100px;
    font-size: larger ;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
}

/* Datenschutz **************************/

#Datenschutz {
    background-color: whitesmoke;
    padding-top: 100px;
    font-size:medium ;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
}




/* Media Queries **************************/

/* Tablet **************************/

@media screen and (max-width: 1024px) {
    header {
        height: auto;
    }

    #logo {
        width: 100px;
        margin-top: 5px;
    }

    header nav {
        margin-top: 0;
    }

    header nav ul li {
        font-size: 12px;
    }

    #home h1 {
        font-size: 90px;
        margin-top: 200px;
    }

    #home h2 {
        font-size: 22px;
    }

    h3 {
        padding-top: 12%;
    }

    #about p {
        width: 80%;
    }


    #pictures {
        width: auto;
    }
    
    #pictures ul li {
       width: 100%; 
       float: none;
    }

    #pictures ul li:last-child {
        padding-bottom: 20%;
    }

    #pictures img {
      width: 55%;
      height: auto;  
    }
    
  #channels {
        width: auto;
    }
    
    #channels ul li {
       width: 100%; 
       float: none;
    }

    #channels ul li:last-child {
        padding-bottom: 20%;
    }

    #channels img {
      width: 55%;
      height: auto;  
    }
    form input, form textarea {
        width: 60%;
    }

    .button {
        width: 62%;
    }

     @media (max-width: 1024px) {
      .gallery {
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        height: auto;
      }
}



/* Mobiles **************************/

@media screen and (max-width: 480px) {

    #logo {
        width: 90px;
        margin-left: 30px;
    }

    header nav {
        margin: 0;
        float: none;
    }

    .fa-bars{
        font-size: 30px;
        display: inline-block;
        width: 100%;
        cursor: pointer;
        text-align: right;
        float: right;
        margin: -40px 30px 0 0;
    }
    

    .fa-bars:hover {
        opacity: 0,5;
    }

    header nav ul {
        height: 0;
        overflow:hidden;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    header nav ul.open {
        height: auto;
    }

    header nav ul li {
        width: 100%;
        padding: 5px 0;
        margin: 0;
        font-size: 11px;
        border-top: 1px solid black;
    }

    header nav ul li:hover {
        background-color: gray;
    }

    #home h1 {
        font-size: 60px;
        margin-top: 200px;
    }

    #home h2 {
        width: 70%;
        height: auto;
    }


    #projects img {
        width: 60%;
        height: auto;
    }
	
  #channels img {
        width: 60%;
        height: auto;
    }
    form input, form textarea {
        width: 70%;
    }

     @media (max-width: 480px) {
      .gallery {
        grid-template-columns: 1fr;
        width: 70%;
        height: auto;
      }

    }
     @media (max-width: 480px) {
    #hamburger {
      display: block;
    }
}
