@keyframes fade {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

body {
    font-family: Helvetica;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    background-color: black;

    padding-top: 140px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

header {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    /* flexbox is a modern css layout mode that gives us
    much more power over how elemnts are positioned */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}





header h2 {
    flex: auto;
}

header h2 img {
    max-width: 250px;
    display:block;
   
  }





header nav a {
    margin-left: 20px; 
    transition: border 0.3s ease-in;
    border-bottom: solid 2px rgba(0, 0, 0, 0);
    padding-bottom: 3px;
}

header nav a:hover {
    border-color: #555;
}

header nav a.selected {
    border-bottom: solid 2px #ffffff;
    padding-bottom: 3px;
}

.photos {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.photo {
    /* inline block gives us the best of both inline and block elements 
    allowing us to stack them side by side and also align our elemnts
     vertically in the row */
    /* display: inline-block; */
    width: 300px;
    margin: 10px;
    /* we can use vertical align to align or rows to bottom/middle/top */
    /* vertical-allign: top; */

    /* by using position relative on the parent photo element, our overlay
     will be positioned in relation to it  */
    position: relative;
}

.photo img {
    transition: filter 0.6s;
}

.photo:hover img {
    filter: grayscale(100%);
}

.overlay {
    /* by using absolute position we can position things in relation to the
     page or other parent elements */
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);

    opacity: 0;

    transition: opacity 0.6s;
    z-index: 2;
}

.photo:hover .overlay {
    opacity: 1;
}



.photo h2 {
    position: relative;
    left: -10px;
    top: -20px;
    font-size: 32px;
    line-height: 1.2;
}


.small {
    width: 220px;
}

.large {
    width: 400px;
}

.tiny {
    width: 140px;
}

footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}



footer nav a {
    margin-left: 20px; 
}


.list a img {
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    /* this will tell the browser to ignore any default mouse
    interactions on this img element */
    pointer-events: none;

    transition: opacity 0.6s;
}

.list {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-size: 64px;
    line-height: 1.2;
    margin-top: 120px;
}

.list a:after {
    content: '//'
}

.list a:last-child:after {
    content: '';
}

.list a:hover img {
    opacity: 1;
}



/* ------------------------------------- */



section.section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    overflow: hidden;
}

section div {
    width: 350px;
}


/* Breite der Eingabefelder (div hire) ======================*/
div div {
    width: 100%;
}




section div.content {
    margin: 0 0 0 60px;
}

h1 {
    font-size: 48px;
    line-height; 1.2;
}

p {
    margin: 20px 0 20px 0;
}

a.button {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 10px 15px 10px 15px;
    border-radius: 3px;
}





div.slides {
    /* Height of the original picture */
    height: 475px;
    position: relative;
}

div.slides img {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s, box-shadow 0.5s;

}

div.slides img:first-child {
    z-index: 1;
}

div.slides:hover img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.teasers {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}


.fade-tall {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    display: block;
}




small {
    color: pink;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 18px;
    text-align: center;
    font-size: 80%;
}


/* remove default form styles */
input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border: none; }

input[type=text]:focus,
input[type=email]:focus {
  outline: none;
  border-bottom: 1px solid white; }

input[type=text],
input[type=email],
textarea {
  display: block;
  width: 100%;
  margin: 40px auto;
  color: white;
  background-color: black;
  font-family: Helvetica;
  padding-bottom: 20px;
  border-bottom: 1px solid #3D3D3D;
  transition: 0.2s; }

input[type=text]:hover,
input[type=email]:hover {
  border-bottom: 1px solid white; }

form {
  text-align: left; }
  form div {
    margin-top: 60px; }
  form .form-small {
    color: #525252;
    font-size: 12px;
    line-height: 18px;
    max-width: 550px;
    margin-bottom: 60px; }


label,
.label {
  display: block;
  color: white;
  font-size: 18px; 
}

.label {
  margin-bottom: 0px; 
}


textarea {
    border: 1px solid #3D3D3D;
    padding: 24px 30px 30px 30px;
    resize: none;
    box-sizing: border-box;
    margin-top: 20px;
    height: 260px;
    line-height: 26px; }
  
  textarea:focus {
    border: 1px solid white;
    outline: none; }
  
  select {
    width: 100%;
    height: 70px;
    padding-left: 30px;
    background-color: black;
    color: grey;
    font-family: Helvetica;
    border: 1px solid #3D3D3D;
    border-radius: 0px;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: 0.2s; }
  
  select:focus {
    outline: none; }
  
  select:hover {
    background-color: #131313; }
  
  input[type=submit] {
    width: 100%;
    background-color: black;
    color: white;
    padding: 30px;
    font-family: Helvetica;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border: 1px solid white;
    transition: 0.2s;
    margin-top: 40px; }
  
  input[type=submit]:hover {
    color: black;
    background-color: white;
    cursor: pointer; }

#hire {
    max-width: 800px;
    cursor: auto;
    padding-top: 200px;
    margin-top: 0px;

    text-align: center;
    display: block;
    }
    #hire h3 {
      max-width: 600px;
      margin: 30px auto; }
    #hire .email {
      margin-top: 100px;
      
     }
      #hire .email p {
        margin-top: 5px;
        margin-bottom: 0px; 
    }

.email {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}




/* FUN THINGS ================= */

.hire-left,
.hire-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  padding: 40px;
  border-bottom: none;
  color: gray;
   }

.hire-left {
  left: 0px;
  transform: rotate(270deg); }

.hire-right {
  right: 0px;
  transform: rotate(90deg); }

.hire-left:hover,
.hire-right:hover {
  border-bottom: none;
  color: white;
  transition: 0.4s;
}



.progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: white;
  }