* {
  font-family: 'Open Sans', Arial, sans-serif;
}

body {
  background-color: #fdfdfd;
  max-width: 1460px;
  margin: 0 auto;
  height: 100%;
}

.parallax {
  background-image: url('../assets/intro.jpg');
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.navbar {
  height: 60px;
  line-height: 60px;
  background-color: #222;
  padding: 0 20px 0 100px;
  box-shadow: 0 .005em .01em 0 rgba(0,0,0,.12),0 2px 10px 0 rgba(0,0,0,.12);
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1460px;
  box-sizing: border-box;
  z-index: 3;
}

.navbar a#logo{
  text-decoration: none;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 10px;
}

.navbar img.image-logo {
  width: 50px;
  position: absolute;
  top: 5px;
  left: 30px;
}

.navbar .menu{
  display: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline;
  float: right;
}

ul li {
  display: inline;
}

ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  margin: 0 5px;
  font-size: 12px;
  font-weight: 600;
}

ul li a:hover {
  color: #a9a9a9;
  border-bottom: 2px solid #555;
  padding-bottom: 5px;
  transition: 0.2s;
  cursor: pointer;
}

ul.desktop-menu {
  display: inline-block;
}

.nav-toggle-bar {
  display: none;
}


h1.section-title {
  text-align: center;
  margin: 90px auto;
  color: #555;
  letter-spacing: 4px;
  font-size: 38px;
  text-transform: uppercase;
  border-top: 2px solid #f2f2f2;
  max-width: 768px;
  border-bottom: 2px solid #f2f2f2;
  max-width: 768px;
  padding: 20px 0 30px 0;
}

hr {
  width: 100px;
  margin: 0 auto 90px;
  border: none;
  color: #d2d2d2;
  background-color: #d2d2d2;
  height: 3px;
  margin-top: -112px;
  box-shadow: 0 4px 3px -0.9px rgba(34, 34, 34, 0.2);
}


#intro {
  position: relative;
  box-shadow: 0 .005em .01em 0 rgba(0,0,0,.12),0 2px 10px 0 rgba(0,0,0,.12);
  width: 100%;
  height: 100%;
}

/* #intro:hover h1 {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
} */

#intro h1 {
  color: #fff;
  letter-spacing: 2px;
  font-size: 14px;
  padding: 20px;
  border: 1px solid #fff;
  width: 200px;
  margin: 0 auto;
  display: block;
  position: absolute;
  border-radius: 2px;
  font-weight: 600;
  text-align: center;
  bottom: 170px;
  left: 0;
  right: 0;
  z-index: 2;
  /* transform: scale(1);
  -webkit-transform: scale(1);
  -webkit-transition: .3s ease-in-out; */
}

#intro img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.overlay {
  background-image: url('../assets/pixel.png');
  background-color: rgba(34, 34, 34, 0.2);
  position: relative;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all .5s ease;
  z-index: 2;
}

/* .overlay:hover {
  transition: all .5s ease;
  background-color: rgba(34, 34, 34, 0.3);
  background-size: 10px;
} */

#projects,
#produced,
#distribution {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.film-card {
  width: 100%;
  box-sizing: border-box;
  margin: 20px;
  flex: 0 20%;
  border-radius: 8px;
  box-shadow: 8px 14px 38px rgba(39,44,49,.06), 1px 3px 8px rgba(39,44,49,.03);
  transition: all .5s ease;
}

.film-card:hover {
  box-shadow: 8px 28px 50px rgba(39,44,49,.07), 1px 6px 12px rgba(39,44,49,.04);
  transition: all .4s ease;
  transform: translate3D(0,-1px,0) scale(1.02);
}

.film-card .poster-wrapper {
  height: 361px;
  width: 100%;
  background-color: #d2d2d2;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.film-card img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  height: 361px;
  /* object-fit: cover; */
  background-color: #d2d2d2;
  box-shadow: 0 0.005em 0.01em 0 rgba(0,0,0,.12), 0 2px 10px 0 rgba(0,0,0,.12);
}

.film-card h2 {
  color: #333;
  font-size: 14px;
}

.film-card .description {
  color: #555;
  padding: 20px;
}

.film-card .description a {
  color: #333;
  text-decoration: none;
}

.film-card .description h2 {
  font-size: 14px;
}
.film-card .description p {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
}

#distribution-description,
#about,
#contacts {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  color: #555;
  padding: 0 20px;
  max-width: 768px;
  margin: 0 auto;
}

#distribution {
  margin-top: 20px;
}

#distribution .film-card img {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}


#team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#team .member:first-child {
  border-left: 1px solid #d2d2d2;
}

#team .member {
  width: 100%;
  flex: 0 18%;
  box-shadow: 8px 14px 38px rgba(39,44,49,.06), 1px 3px 8px rgba(39,44,49,.03);
  position: relative;
  height: 300px;
  box-sizing: border-box;
  border-right: 1px solid #d2d2d2;
  box-sizing: border-box;
  border-top: 1px solid #d2d2d2;
  border-bottom: 1px solid #d2d2d2;
  background-color: #fff;
}

#team .member .info {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 15px;
}

#team .member .info span {
  display: block;
  width: 100%;
  text-align: left;
  color: #333;
  font-weight: 300;
  line-height: 20px;
}

#team .member .info span.name {
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

#team .member .info span.role {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  color: #8F989F;
}

#team .member .info span.mail {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  color: #8F989F;
}

#contacts {
  text-align: center;
  margin-bottom: 80px;
}

#contacts img.contacts-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

#contacts .social-networks a {
  text-decoration: none;
}

#contacts .social-networks a img {
  width: 30px;
  height: 30px;
  padding: 10px;
}

#contacts .social-networks a img:hover {
  transition: all .4s ease;
  transform: translate3D(0,-1px,0) scale(1.1);
}

#footer {
  line-height: 60px;
  height: 60px;
  width: 100%;
  text-align: center;
  background-color: #222;
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
  position: relative;
}

.arrow-container {
	 display: block;
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 bottom: 0;
	 left: 50%;
	 transform: translate(-50%, -50%) rotateZ(0deg);
}
 .arrow-container:hover {
	 cursor: pointer;
}
 .arrow-container:hover .arrow {
	 top: 50%;
}
 .arrow-container:hover .arrow:before {
	 transform: translate(-50%, -50%) rotateZ(-30deg);
}
 .arrow-container:hover .arrow:after {
	 transform: translate(-50%, -50%) rotateZ(30deg);
}
 .arrow {
	 position: absolute;
	 left: 50%;
	 transition: all 0.4s ease;
}
 .arrow:before, .arrow:after {
	 transition: all 0.4s ease;
	 content: '';
	 display: block;
	 position: absolute;
	 transform-origin: bottom right;
	 background: #fff;
	 width: 4px;
	 height: 50px;
	 border-radius: 10px;
	 transform: translate(-50%, -50%) rotateZ(-45deg);
}
 .arrow:after {
	 transform-origin: bottom left;
	 transform: translate(-50%, -50%) rotateZ(45deg);
}
 .arrow:nth-child(1) {
	 opacity: 0.3;
	 top: 35%;
}
 .arrow:nth-child(2) {
	 opacity: 0.6;
	 top: 55%;
}
 .arrow:nth-child(3) {
	 opacity: 0.9;
	 top: 75%;
}

#slide-out {
  background: #222;
  position: absolute;
  top: 60px;
  width: 100vw;
  transform: translateX(-100%);
  display: none;
}

.nav-icon {
  margin: 10px;
  width: 30px;
}

.nav-icon:after,
.nav-icon:before,
.nav-icon div {
  background-color: #fff;
  border-radius: 3px;
  content: '';
  display: block;
  height: 5px;
  margin: 7px 0;
  transition: all .2s ease-in-out;
}

.nav-icon.open:before {
  transform: translateY(12px) rotate(135deg);
}

.nav-icon.open:after {
  transform: translateY(-12px) rotate(-135deg);
}

.nav-icon.open div {
  transform: scale(0);
}

@media (min-width: 845px) {
  #projects .film-card {
    flex: 0 23%;
  }
}

@media (max-width: 845px) {
  .parallax {
    background-attachment: unset;
    background-image: url('../assets/tv.jpg');
  }

  #slide-out {
    display: block;
  }

  .navbar {
    height: 60px;
    text-align: center;
    padding: 0;
  }

  .navbar img.image-logo {
    left: 20px;
  }

  .navbar a#logo {
    display: none;
  }

  .navbar ul {
    line-height: 30px;
    float: none;
  }

  ul.desktop-menu {
    display: none;
  }

  .navbar .menu {
    display: block;
    float: right;
    margin-right: 10px;
  }

  .navbar .menu:hover {
    cursor: pointer;
  }

  .film-card {
    flex: 0 40%;
  }

  #intro {
    height: calc(100vh);
  }

  #team .member {
    flex: 0 100%;
    margin: 10px;
    height: 170px;
  }
}

@media (max-width: 468px) {

  #intro {
    height: calc(100vh);
  }

  #intro h1 {
    width: 240px;
  }

  .film-card {
    flex: 0 100%;
  }


  .film-card img {
    height: auto;
  }

  .film-card .poster-wrapper {
    min-height: 200px;
    height: auto;
  }

  #footer {
    height: auto;
    line-height: 30px;
    padding: 20px;
    box-sizing: border-box;
  }
}

#projects-start {
  width: 100%;
  display: inline-block;
  height: 30px;
}

#produced-start,
#distribution-start,
#about-start,
#team-start,
#contacts-start {
  width: 100%;
  display: inline-block;
  height: 30px;
}
