@font-face {
    font-family: "Apfel Grotesk";
      src:   
      url("fonts/ApfelGrotezk-Regular.woff2");   
  }


  /* BODY */

  body {
    font-family: Apfel Grotesk;
    /*font-size: 32px;*/
    line-height: 1.5;
    background: #010101;
    color: #ffffff;
    margin-top:100px;
    padding: 20px;
  
  }

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




  /* HEADER */

  header {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*margin-left:15px;
    margin-right:15px;*/
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#0000009e;

    padding-right:30px;
    padding-left:30px;
      
    z-index: 2;
    box-sizing:border-box;
    border-bottom: solid 1px #ffffff;
    }

  
  header div img {
    width: 160px;
  }
  
  header a.icon {
    display:none;
  }


  header nav a {
    transition: opacity 0.5s ease;
    margin-left:40px;
    font-size: 20px;
    font-weight: 200;
  }

  
  header nav a:hover {
    border-bottom: solid 1px rgb(255, 255, 255);
    padding-bottom: 3px;
  }  

  .selected {
    border-bottom: solid 1px rgb(255, 255, 255);
    padding-bottom: 3px;
  }




/* FOOTER */

footer {

  /*position: fixed;
  bottom:0;
  left:0;*/
  width: 100%;
  
  padding: 5px 40px 5px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  background-color:#0000009e;
        
  z-index: 2;
  box-sizing:border-box;
  border-top: solid 1px #000;
  margin-top:30px;
  
} 
  
footer nav a{

  width: 16px;
  margin-left:10px;
  margin-right:10px;
  display: inline-block;
}
  
footer nav a img {
  width:16px;
}


/* CONTAINER HOME */


section.container  {

  display: flex;
  align-items:baseline;
  justify-content: space-between;
  /*grid-template-columns: 5fr 2fr;
  grid-template-areas:"img content";*/
  margin-bottom: 4em;
  box-sizing:border-box;

  /*padding-bottom:20px;*/
  border-bottom: solid 2px rgb(255, 255, 255);

}


section.container .photo {
  position: relative;


  /*padding:30px;*/
  padding-bottom:15px;
  width:60%;
  text-align:center;
  
}

/*.photo .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s; 

  box-sizing:border-box;
  border-radius: 15px;
}

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


section.container .photo img {

  object-fit: cover;
  width: 100%;
  max-height: 100%;

  border-radius: 15px;

  transition: transform .3s ease-in-out;
}

.photo img:hover {
  transform: rotate(-3deg);
}


/*section.container .text-overlay {

  position: absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);

  text-align:center;
  color:#ffffff;
}*/

.title-home {
  width:25%;
}

.title-home h2 {
  font-size:19px;
  font-weight:400;
  float:left;
  text-align:left;

  padding-left:10px;
  margin-bottom:-7px;
}

.subtitle-home {
  width:25%;
}

.subtitle-home h3 {
  font-size:15px;
  font-weight:200;
  float:right;
  text-align:right;

  padding-right:10px;
  margin-bottom:-7px;
}


/* CONTAINER PROJECT */


section.container-project  {

  display: flex;
  align-items:top;
  justify-content: space-between;
  /*grid-template-columns: 5fr 2fr;
  grid-template-areas:"img content";*/
  margin-bottom: 1em;
  box-sizing:border-box;

  /*padding-bottom:20px;*/
  border-bottom: solid 2px rgb(255, 255, 255);

}


.container-project .gallery {
  position: relative;


  /*padding:30px;*/
  width:100%;
  margin: 15px 15px 15px 15px;
  text-align:center;

  margin-bottom:60px;
  
  
}

.container-project .gallery .photo {
  padding-right:15px;
}
  


.container-project .gallery .photo img {

  object-fit: cover;
  width: 100%;
  max-height: 100%;

  border-radius: 15px;
  margin-bottom:20px;

  /*transition: transform .3s ease-in-out;*/
}

.gallery .photo img:hover {
  transform: rotate(0deg);
}


.project-text {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 80px;

  margin-bottom:80px;
  padding-right:10px;

  width : 39%;
  height:100%;
  float:right;
}

.project-text h1 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 3px;
}

.project-text h4 {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 30px;
}

.project-text p {
  font-size: 14px;
  font-weight: 400;

  padding: bottom 5px;
}




/* CONTACT FORM */


form {

  width: 47%;
  box-sizing: border-box;
  margin-right:auto;
  margin-left:auto;
  margin-top:-30px;
  margin-bottom:-50px;
}

 /* Style inputs with type="text", select elements and textareas */
 input[type=text], select, textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ffffff; /* Gray border */
  border-radius: 20px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
  font-style: oblique;
  color:#000000;

}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color:#ffffff;
  border: 1px solid #ffffff;
  color: rgb(0, 0, 0);
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 160px;
  
}

/* When moving the mouse over the submit button, add a purple color */
input[type=submit]:hover {
  background-color:#7c7c7c;
}

/* Add a background color and some padding around the form */
.container_contact {
  margin-top: 60px;
  margin-bottom: 1em;
  display:block;

  border-bottom: solid 2px rgb(255, 255, 255);

}

h5{
  font-size: 32px;
  font-weight: 400;
  padding-bottom: 3px;
  text-align:center;

  margin-top:20px;
  margin-bottom:0;
}



/* ABOUT PARAGRAPH */

.box-about {
  display:flex;
  justify-content:right;
  
  
  box-sizing: border-box;
  width : 100%;
  max-height: 100%;
  margin-top:20px;

  border-bottom: solid 2px rgb(255, 255, 255);
}

.text-about {

  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 140px;

  width:42%;
  margin-top:100px;
  margin-bottom:170px;
  padding-right:50px;

}

.text-about h5 {
  font-size:30px;
  text-align:left;
}

.text-about p {
  font-size:15px;
}


/* HAMBURGER MENU */




 /* TABLETS */
 @media (max-width: 900px) {



    /* CONTAINER HOME */


section.container  {

  display: grid;
  /*grid-template-columns: 5fr 2fr;
  grid-template-areas:"img content";*/
  margin-bottom: 30px;
  box-sizing:border-box;

  /*padding-bottom:20px;*/
  border-bottom: solid 2px rgb(255, 255, 255);

}


section.container .photo {
  position: relative;

  margin-bottom:-15px;

  width:100%;
  text-align:center;
}

section.container .photo img {

  object-fit: cover;
  width: 100%;
  max-height: 100%;

  border-radius: 15px;

  transition: transform .3s ease-in-out;
}

.photo img:hover {
  transform: rotate(0deg);
}


.title-home {
  display:flex;
  width:100%;
  justify-content:center;
}

.title-home h2 {
  font-size:20px;
  font-weight:400;
  text-align:center;

  margin-bottom:20px;
}

.subtitle-home {
  display:flex;
  width:100%;
  justify-content:center;
}

.subtitle-home h3 {
  font-size:16px;
  font-weight:200;
  padding-right:0;
  font-style:oblique;
  text-align:center;

  margin-bottom:30px;
}



/* CONTAINER PROJECT */



section.container-project  {

  display: grid;
  
  
  box-sizing:border-box;

  /*padding-bottom:20px;*/
  border-bottom: solid 2px rgb(255, 255, 255);

}


.container-project .gallery {
  position: relative;


  /*padding:30px;*/
  width:100%;
  margin: 15px 15px 15px 15px;
  text-align:center;

  margin-bottom:60px;
  
  
}

.container-project .gallery .photo {
  padding-right:15px;
}
  


.container-project .gallery .photo img {

  object-fit: cover;
  width: 100%;
  max-height: 100%;

  margin-bottom:20px;

  /*transition: transform .3s ease-in-out;*/
}

.gallery .photo img:hover {
  transform: rotate(0deg);
}


.project-text {

  margin-bottom:80px;
  padding-right:0px;

  margin-top:-40px;

  width :80%;
  height:100%;
  margin-right:auto;
  margin-left:auto;

  text-align:center;
}

.project-text h1 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 3px;
}

.project-text h4 {
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 30px;
}

.project-text p {
  font-size: 14px;
  font-weight: 400;

  padding: bottom 5px;
}




  /* CONTACT FORM */


  form {

   width: 70%;
    box-sizing: border-box;
    margin-right:auto;
    margin-left:auto;
    margin-top:-30px;
    margin-bottom:-50px;
  }


/*TEXT ABOUT*/

.text-about {


  width:60%;
  margin-top:100px;
  margin-bottom:170px;
  padding-right:50px;

}





 }


 /* PHONES */
 @media only screen and (max-width: 600px) {


   /* BODY */

   body {
    font-family: Apfel Grotesk;
    /*font-size: 32px;*/
    line-height: 1.5;
    background: #010101;
    color: #ffffff;
    margin-top:100px;
    padding: 10px;
  
  }

  

  /* HAMBURGER MENU 600px max */

  /* Hide the links inside the navigation menu (except for logo/home) */
  
  header {
    background-color:#000000;
  }

  header #workabout {
    display: none;
  }

  header nav {
    position:fixed;
    top:80px;
    right:10px;
    display:grid;

    background-color:#ffffff;
    border-radius:15px;
  }

  /* Style navigation menu links */
  header nav a {
   color: rgb(0, 0, 0);
    margin: 14px 14px;

    font-size: 17px;
    display: block;
  }

  header nav a:hover {
    border-bottom: none;
  }  

  .selected {
    border-bottom: solid 1px rgb(0, 0, 0);
    padding-bottom: 1px;
  }


  /* Style the hamburger menu */
  header a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;

    margin-right: 25px;
    margin-top: 25px;
  
  }


/* FOOTER */

footer {

  
  padding: 5px 5px 5px 5px;
  
  margin-top:15px;
  
} 
  
footer nav a{

  width: 16px;
  margin-left:10px;
  margin-right:10px;
  display: inline-block;
}
  
footer nav a img {
  width:16px;
}

footer p {
  font-size:14px;
}


/* CONTAINER HOME*/

section.container .photo {

  margin-bottom:-25px;

}





/* ABOUT */


.box-about {
  display:flex;
  justify-content:center;
  
  
  box-sizing: border-box;
  width : 100%;
  max-height: 100%;
  margin-top:20px;

  border-bottom: solid 2px rgb(255, 255, 255);
}

.text-about {

  width:95%;
  margin-top:100px;
  margin-bottom:170px;
  padding-right:0px;

}

.text-about h5 {
  font-size:20px;
  text-align:left;
}

.text-about p {
  font-size:15px;
  text-align:left;
}



/* CONTACT FORM */


form {

  width: 90%;
  box-sizing: border-box;
  margin-right:auto;
  margin-left:auto;
  margin-top:-30px;
  margin-bottom:-50px;
}

h5{
  font-size: 26px;
}



 }