:root {
  --white: white;
  --black: black;
}

.box {
  z-index: 2;
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.text {
  z-index: 5;
  text-align: center;
  margin: auto 0 40px;
  font-family: Exo, sans-serif;
  font-size: 3vw;
  line-height: 45px;
  position: relative;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: auto;
}

.text.h3 {
  z-index: 1;
}

.wrapper {
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.video {
  z-index: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.canvas {
  z-index: 2;
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  position: absolute;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

.nav {
  z-index: 10;
  justify-content: center;
  align-items: center;
  margin-left: 30px;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  position: fixed;
  top: 0%;
  bottom: auto;
  left: auto;
  right: auto;
}

.navlink {
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 16px;
  text-decoration: none;
}

.navlink:hover, .navlink.w--current {
  font-weight: 700;
}

.content {
  position: absolute;
  top: 60px;
  bottom: auto;
  right: 60px;
}

.content-h {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 26px;
  line-height: 120%;
}

.header {
  color: #fff;
  text-transform: uppercase;
  background-image: url('../images/alexander-ant-zkPPE8m81fo-unsplash-2.jpg');
  background-position: 50%;
  background-size: cover;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.overlay {
  z-index: 3;
  margin: auto auto 40px 40px;
  font-size: 12vw;
  line-height: 100%;
  position: absolute;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: auto;
}

.main {
  height: 100vh;
}

.body {
  overflow: hidden;
}

.div-block {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 75vw;
  display: flex;
}

.image {
  max-width: 50%;
}

.text-subline {
  z-index: 1;
  text-align: center;
  margin: auto 0 40px;
  font-family: Exo, sans-serif;
  font-size: 2vw;
  font-weight: 500;
  line-height: 30px;
  position: relative;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: auto;
}

@media screen and (min-width: 1280px) {
  .text.h3 {
    line-height: 55px;
  }

  .body {
    min-height: 500px;
  }

  .text-subline {
    line-height: 35px;
  }
}

@media screen and (max-width: 991px) {
  .text.h3 {
    font-size: 4vw;
  }

  .canvas {
    justify-content: space-between;
    align-items: flex-start;
  }

  .header {
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    display: flex;
  }

  .div-block {
    justify-content: space-between;
    align-items: center;
  }

  .text-subline {
    font-size: 3vw;
  }
}

@media screen and (max-width: 767px) {
  .box {
    display: none;
  }

  .text {
    text-align: center;
    margin-left: auto;
    left: 25%;
  }

  .text.h3 {
    margin-left: 0;
    left: auto;
  }

  .canvas {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
  }

  .nav {
    width: 100vw;
    margin-left: auto;
  }

  .header {
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    width: 100vw;
    min-width: 100%;
    height: auto;
    min-height: 100svh;
    padding-top: 40px;
  }

  .overlay {
    text-align: center;
    margin-left: auto;
    bottom: auto;
    left: auto;
  }

  .div-block {
    text-align: center;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    max-width: 80vw;
  }

  .text-subline {
    text-align: center;
    margin-left: 0;
    left: auto;
  }
}

@media screen and (max-width: 479px) {
  .text.h3 {
    font-size: 5vw;
    line-height: 30px;
  }

  .nav {
    flex-direction: column;
  }

  .navlink {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .header {
    padding-top: 60px;
  }

  .main {
    position: relative;
  }

  .div-block {
    max-width: 95vw;
  }

  .text-subline {
    font-size: 4vw;
    line-height: 20px;
  }
}


