*, *:before, *:after {
  box-sizing: border-box;
}


html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #141414;
  text-align: center;
  scroll-behavior: smooth;
}

.landingpage {
  height: 100%;
}

/* FONTS & STYLING **************************/

h2,
h3,
h4,
h5,
p,
a {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  color: #eeeeee;
}

h2 {
  margin: 50px 0px 0px 0px;
  font-size: 36px;
}

h1 {
  font-family: "Courgette", serif;
  font-display: optional;
  color: #eeeeee;
  font-size: 80px;
  margin: -10px 0px 10px 0px;
}

@media only screen and (max-width: 620px) {
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 24px;
  }
}


@media only screen and (max-width: 400px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 18px;
  }
}


h3 {
  text-transform: uppercase;
  margin-top: 100px;
  font-size: 1.5em;
}

h5 {
  color: #ff6811;
  font-size: 1.2em;
}

p {
  font-size: 1.2em;
  text-align: center;
}

.highlight {
  color: #ff6811;
}

hr {
  width: 50px;
  background-color: #ff6811;
  margin-top: -10px;
  height: 3px;
  border: 1px solid #ff6811;
}

a {
  text-decoration: none;
}

a:hover {
  color: #ff6811;
}

li {
  list-style: none;
}

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

header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #141414;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

header nav {

}

header nav ul {
  float: right;
  margin-right: 30px;
  padding-left: 0px;
}

header nav ul li {
  list-style: none;
  display: inline-block;
  line-height: 60px;
  margin: -15px 5px;
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -o-transition: all 200ms;
}

header nav li a {
  font-size: 16px;
  border-radius: 3px;
}

a.active,header nav li:hover {
  padding: 5px 0;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 100ms;
  -webkit-transition: all 100ms;
  -moz-transition: all 100ms;
  -o-transition: all 100ms;
}

#logo {
  position: absolute;
  top: 10%;
  left: 0;
  padding: 0 0px;
  
  transition: all 200ms;
}


#logo img {
  width:270px;
  padding: 10px 15px;
} 


#logo:hover {
  opacity: 0.8;
}

.checkbtn {
  color: #eeeeee;
  font-size: 1.5rem;
  cursor: pointer;
  float: right;
  line-height: 60px;
  margin-right: 30px;
  display: none;
}

.checkbtn:hover {
  color:#ff6811;
  transition: 0.2s;
}

#check {
  display: none;
}

/* --- Responsive Menu --- */

@media only screen and (max-width: 620px) {
  .checkbtn {
    display: block;
  }

  header nav ul {
    position: fixed;
    width: 100%;
    height: 170px;
    background-color: #141414;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0.9;
    top: -60%;
    left: 0;
    margin: 0;
    text-align: center;
    transition: all 400ms;
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -o-transition: all 400ms;
  }

  header nav ul li {
    display: block;
    margin: 20px 0px;
    line-height: 30px;
    
  }
  header nav ul li a {
    font-size: 1rem;
  }

  #check:checked ~ ul {
    top: 50px;
  }
}


/* LANDING PAGE w. SLIDESHOW ****************************/

.landingpage div {
  height: 100%;
}

.landingpage {
  min-height: 100%;
}

.landingpage h1 {
  position: absolute;
  margin: 35vh auto;
  width: 100%;
  z-index: 2;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}
.landingpage h2 {
  position: absolute;
  margin: 30vh auto;
  width: 100%;
  z-index: 2;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

#Caption {
  margin: 60vh auto;
  color: #ff6811;
}

.slideshow-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  margin: 0;
  text-align: center;
}

.mySlides {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 1500ms opacity ease-in-out;
  -webkit-transition: 1500ms opacity ease-in-out;
  -moz-transition: 1500ms opacity ease-in-out;
  -o-transition: 1500ms opacity ease-in-out;
  transition-delay: 1000ms;
}

.mySlides[data-active="true"] {
  opacity: 1;
  z-index: 1;
  transition: 1500ms opacity ease-in-out;
  -webkit-transition: 1500ms opacity ease-in-out;
  -moz-transition: 1500ms opacity ease-in-out;
  -o-transition: 1500ms opacity ease-in-out;
  transition-delay: 0ms;
}


.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PORTFOLIO ****************************/

#portfolio {
  background-color: #de6520;
  padding-top: 1px;
  min-height: 70vh;
}

#portfolio hr {
  background-color: #141414;
  border-color: #141414;
}

#portfolio li {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  color: #eeeeee;
}

#portfolio li:hover {
  color: #000000;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0 auto 0 auto;
  margin-bottom: 20px;
  justify-content: center;
  padding: 0;
}

.filter-buttons ul {
  margin: 0;
  padding: 0;}

.filter-buttons li {
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  padding-bottom: 0;
}

.filter-buttons li a: hover {
  color: #000000;
}

#portfolio .active {
  border-bottom: 2px solid #000000;
}


#project-gallery {
  max-width: 1140px;
  margin: 0 auto 0 auto;
  display: flex;
  flex: 0 0 100%;
flex-wrap: wrap;
padding: 0 0 50px 0;
}

#project-gallery .portfolio-item {
flex: 0 0 25%;
max-width: 25%;
position: relative;
padding: 6px;
}


.film_tiles {
  width: 100%;  
  position: relative;
  width: 100%;
  display: block;
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -o-transition: all 200ms;
}


.portfolio-item label {
  width: 92%;
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 15px;;
  color: #eeeeee;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
  text-align: center;
  padding: 2px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  opacity:0;
}


.film_tiles:hover {
  transform: scale(1.03);
  box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover label {
  opacity:1;
  transition: all 500ms;
  -webkit-transition: all 500ms;
  -moz-transition: all 500ms;
  -o-transition: all 500ms;
}

/* Responsive Design ------ */



@media only screen and (max-width: 950px) {
  #project-gallery .portfolio-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    position: relative;
    padding: 6px;
    }
}

@media only screen and (max-width: 700px) {
  #project-gallery .portfolio-item {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    padding: 5px;
    }

}

@media only screen and (max-width: 450px) {
  #project-gallery .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    padding: 0px 0px 5px 0px;
    }


}

@media (hover: none) {
  /* behaviour for touch browsers */
  .portfolio-item label {
    opacity:1;
  }
}

/* ABOUT ME ****************************/

#about {
  height: auto;
  padding-top: 1px;
}

.bio-box {
  width: 70%;
  margin: 60px auto 0 auto;
  display: flex;
  justify-content: space-between;
}

#bio-text {
  width: 65%;
}

#bio-text p {
  text-align: left;
  margin: 0 auto 0 auto;
}

#bio-pic {
  width: 32%;
}

#bio-pic img {
  margin-bottom: 25px;
}

.skills-box {
  width: 70%;
  margin: 30px auto 0 auto;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

.skills-item {
  width: 30%;
  min-width: 250px;
  background-color: #de6520;
  margin: 10px 10px;
}

.skills-item h5 {
  color: #000000;
  font-weight: 600;
}

.skills-item p {
  text-align: left;
  margin-left: 15px;
  margin-right: 10px;
}

/* Responsive Design ------ */


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

  .bio-box {
    width: 80vw;
    margin: 10px auto 0 auto;
    display: block;
    text-align: center;
    align-content: center;
    justify-content: center;
  }

  #bio-pic {
    width: 255px;
    margin: 60px auto 0 auto;;
    align-content: center;
  }
  #bio-text {
    width: 100%;
    margin:
  }
  }


/* FOOTER ****************************/
footer {
  height: 50px;
  background-color: #de6520;
  color: #eeeeee;
  text-align: center;
}

footer p {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 15px;
}

/* FILM DETAIL SITE ****************************/

.filmdetail {     // section
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding-top: -1px;
  display:block;
  align-items: left;
}

.filmdetail h3 {
  margin: 50px 0 0px 0;
}

hr {
  margin: 5px auto 15px auto;
}


.flexcontainer {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  max-width: 1200px;
  min-height: 70vh;
  margin: 0 auto 0 auto;
  justify-content: space-evenly;
  padding: 15px 30px 0 30px;
}

.main-content-left {
  flex: 0 0 65%;
  max-width: 65%;
  padding: 0 30px 0 0;
  margin: 0;
}

/* Youtube & Vimeo */

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
  margin-bottom: 30px;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 30px;
}


.title-picture {
  width: 100%;
  height: auto;
  margin: 0 auto 50 px auto;
}

.film-text {
  width: 100%;
  padding: 0;
  margin: 0;
}

.film-text p {
  font-size: 1rem;
  text-align: left;
}

.film-text a {
  border-bottom: #ff6811 dotted 2px;
}

.picture-row {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 0;
}

.picture-row img {
  width: 47%;
}

.sidebar-right {
  width: 240px;
  padding: 0;
  margin: 0;
  background-color: #141414;
}

.gallery-thumbnails {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  max-width: 240px;
  margin: 0 auto 2px auto;
  padding: 5px 0 0 3px;

  border: 2px solid #de6520;
}

.gallery-thumbnails .film_tiles {
  width: 70px;
  height: 70px;
  object-fit: cover;
  margin:  0 3px 5px 3px;
  padding: 0;
  opacity: 0.5;
}

.gallery-thumbnails .film_tiles:hover {
  opacity: 1;
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -o-transition: all 200ms;
}

.gallery-thumbnails .film_tiles img {
  object-fit: cover;
  margin: 0;
  padding: 0;
}

.flexcontainer .portfolio-item label {
  opacity:0;
}

/* RESPONSIVE DESIGN ------ */

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

  .flexcontainer {
    display: flex;
    padding: 15px 0 0 0;
  }
  .main-content-left {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0 0 0;
    margin: 0;
  }

  .main-content-left p {
    padding: 0 20px 0 20px;
  }

  h3 {
    font-size: 1rem;
    margin: 65px 0 0 0;
  }
  hr {
    margin: 0 auto 0 auto;
    height: 2px;
  }

  }
