@import url('https://fonts.googleapis.com/css?family=Rubik:300,300i,400,400i,500,500i,700,900&display=swap');

* {
  font-family: 'Rubik', sans-serif;
  font-size: 100%;

  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

.frame-video {
  display: none;
  position: fixed;
  z-index: 9;
  width: 50vw;
  height: 50vh
}

.frame-video:before {
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, .8);
  z-index: 0;
  width: 100vw;
  height: 100vh;
}

.frame-video video {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
}

.header-full {
  position: relative;

  height: 100vh;
  width: 100%;
}
.header-full video {
  object-fit: fill;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: -2;
}

.header-full:before {
  content: '';
  background: rgba(0, 0, 0, .3);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.header-full .brand, .header-full .menu {
  z-index: 2;
}

.header-full:after {
  content: '';
  background: rgba(233, 0, 0, 0.9);
  border-radius: 50%;
  left: calc(50% - 200px/2);
  bottom: -100px;
  position: absolute;
  width: 200px;
  height: 200px;
  z-index: 3;
}

header {
  display: flex;
  justify-content: space-around;
  padding: 25px 0;
}

.header-description {
  color: white;
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin: 12% auto 0;
  max-width: 850px; 
  z-index: 5;
}
.header-description h1 {
  font-size: 4.5rem;
  line-height: 4.6rem;
}
.header-description p {
  margin-top: 25px;
}
.header-description a {
  color: white;
  text-decoration: none;
}

.brand {
  width: 200px;
  height: 100px;
}
.brand img {
  width: 100%;
}

.title img {
  max-width: 500px;
}

.menu ul li {
  display: inline-block;
  margin: 10px;
  padding: 10px;

  text-transform: uppercase;
}
.menu .link {
  color: rgb(255, 255, 255);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.menu .link:hover {
  color: rgb(233, 0, 0);
}

article {
  max-height: 850px;
}
article p {
  line-height: 1.6rem;
  margin: 60px 0 20px;
}

.wrapper {
  height: 100vh;
  padding: 100px 0;
}

.wrapper:first-child article p {
  margin: 120px 0 0 385px;
  max-width: 800px;
}

.about-us {
  position: relative;
}

.about-us .detail{
  color: rgb(165, 165, 165);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 200;
  position: absolute;
  transform: translate(385px, 0);
}

.wrapper:nth-child(2) {
  padding: 0;
}

.projects p{
  margin-left: 160px;
  max-width: 800px;
}

.gallery{
  margin-top: 80px;
}

.container-gallery {
  max-height: 200px;
}

.gallery img {
  max-height: 210px;
  width: 320px;
}

.gallery span {
  color: rgb(165, 165, 165);  
  display: block;
  margin-top: 8px;
}

.gallery .title {
  font-size: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery .subtitle {
  font-style: italic;
}

.contact {
  padding: 50px 0 0;
}
.contact ul{
  margin: 60px auto;
}
.contact ul li{
  color: rgb(165, 165, 165);
  margin-top: 15px;
}
.contact ul li a {
  color: rgb(165, 165, 165);
  text-decoration: none;
}

.icon-instagram{
  display: inline-block;
  padding-left: 30px;
  position: relative;
  vertical-align: bottom;
}
.icon-instagram:before {
  content: url(../images/instagram-logo.svg);
  position: absolute;
  left: 0;
  top: -2px;
}

footer {
  text-align: center;
  font-size: .6rem;
  padding: 30px 0 10px;
}

footer a {
  display: inline-block;
  vertical-align: middle;
}

footer a img {
  width: 35px;
}

.slick-arrow{
  position: absolute;
  top: 110px;
  z-index: 1;
}
.slick-next.slick-arrow{
  right: 30px;
}
.slick-prev.slick-arrow{
  left: 10px;
}
.slick-dots {
  bottom: -50px;
}
.slick-dots li button:before{
  content: '';
  height: 2px;
  width: 20px;
  background: #000;
}

@media screen and (min-width:300px) and (max-width: 780px) {
  .header-description {
    font-size: 1.4rem;
    line-height: 2rem;
    margin: 50px auto 0;
  }
  .header-description h1 {
    font-size: 3.5rem;
    line-height: 3.6rem;
  }
  .header-description p {
    margin-top: 25px;
  }

  .header-full video {
    object-fit: cover;
    object-position: center;
    z-index: -2;
  }

  .header-full:after {
    left: calc(50% - 100px/2);
    bottom: -50px;
    height: 100px;
    width: 100px;
  }
  .header-full:before {
    z-index: -1;
  }
  .header-full .brand{
    z-index: 1;
  }

  .title img {
    max-width: 280px;
  }
  .menu {
    display: none;
  }
  .container {
    max-width: 90vw;
    margin: 0 auto;
  }
  header {
    display: block;
  }
  .brand {
    margin: 0 auto;
  }
  .wrapper, .wrapper:nth-child(2), .wrapper:nth-child(3){
    padding: 40px 0;
  }
  .wrapper:first-child article p {
    margin: 100px auto 0;
  }
  .about-us{
    margin-top: 50px;
  }
  .about-us .detail{
    font-size: 1.4rem;
    left: 0;
    transform: translate(calc(45vw - 270px/2), 40px);
  }
  .projects p{
    margin-left: 0;
  }
}

@media screen and (min-width: 780px) and (max-width: 1280px) {
  .container {
    max-width: 900px;
    margin: 0 auto;
  }
  .about-us .detail{
    transform: translate(calc(45vw - 200px/2), 0);
  }
}