@import url('https://fonts.googleapis.com/css?family=Dosis');

body {
  background-color: rgba(0,0,0,0.9);
}

header {
  position: relative;
  min-height: 100vh;
  background-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 90%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.05) 400px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  h1 {
    position: relative;
    z-index: 2;
    font-family: "Dosis",sans-serif;
    color: rgba(255,255,255,1);
    text-transform: uppercase;
    font-size: 5rem;
  }
}

.header-canvas {
  position: absolute;
  z-index: 1;
  top: 0; bottom: 0;
  left: 0; right: 0;
  overflow: hidden;
}

h1 {
  color: white;
  font-family: "Dosis";
}

.bar {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  background: rgba(0,0,0,1);
  transition: 0.25s;
  cursor: pointer;
  &:before, &:after {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    transform: translateX(-50%) rotateZ(15deg);
    content: "";
    display: block;
    background: rgba(0,0,0,1);
    width: 500px;
    height: 3rem;
    transition: 0.25s;
  }
  &:after {
    width: 1000px;
    height: 4rem;
    bottom: -1rem;
    background: rgba(0,0,0,0.25);
  }
  &:hover {
    background: rgba(255,255,255,1);
    &:before {
      background: rgba(255,255,255,1);
    }
    &:after {
      background: rgba(255,255,255,0.25);
    }
  }
}

.toggle {
  position: relative;
  z-index: 2;
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 0 0 auto;
  transition: 0.25s;
  &:before, &:after, span {
    position: absolute;
    left: 50%;
    display: block;
    width: 2rem;
    height: 2px;
    background: rgba(255,255,255,1);
    transition: 0.25s;
  }
  span {
    text-indent: -999px;
    overflow: hidden;
    top: calc(1.5rem - 1px);
    transform: translateX(-50%) rotateZ(0deg);
    opacity: 1;
  }
  &:before, &:after {
    content: "";
  }
  &:before {
    top: 0.75rem;
    transform: translateX(-50%) rotateZ(0deg);
  }
  &:after {
    bottom: 0.75rem;
    transform: translateX(-50%) rotateZ(0deg);
  }
  &.open {
    span {
      opacity: 0;
    }
    &:before {
      top: calc(1.5rem - 1px);
      transform: translateX(-50%) rotateZ(-225deg);
    }
    &:after {
      bottom: calc(1.5rem - 1px);
      transform: translateX(-50%) rotateZ(225deg);
    }
  }
  .bar:hover & {
    &:before, &:after, span {
      background:#6BD38C;
    }
  }
}
  
.menu {
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 100%;
  font-family: "Dosis", sans-serif;
  text-transform: uppercase;
  transition: 0.25s;
  &.open {
    left: 0;
  }
  ul {
    position: absolute;
    width: 90%;
    height: 100%;
    max-width: 400px;
    top: 0;
    bottom: 0;
    right: 0;
    max-width: 400px;
    margin: 0 0 0 auto;
    padding: 4rem 2rem 1rem;
    background: #6BD38C;
    color: white;
  }
  a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    color: rgba(255,255,255,1);
    text-decoration: none;
    font-size: 2rem;
    transition: 0.25s;
    &:hover {
      background: #6BD38C;
      color: white;
    }
  }
}

/* test */

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.testimonial{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3d5a80;
  color: #3d5a80;

  &-slide{
      padding:40px 20px;
  }
  &_box{   

      &-top{
          background-color: #e0fbfc;
          padding: 30px;
          border-radius: 15px;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;
          text-align: center;
          box-shadow: 5px 5px 20px rgba(152, 193, 217, 0.493);
      }
      &-icon{
          padding: 10px 0;
          i{
              font-size: 25px;
              color: #14213d;
          }
      }
      &-text{
          padding: 10px 0;
          p{
              color: #293241;
              font-size: 14px;
              line-height: 20px;
              margin-bottom: 0;
          }
      }
      &-img{
          padding: 20px 0 10px;
          display: flex;
          justify-content: center;
          img{
              width: 70px;
              height: 70px;
              border-radius: 50px;
              border: 2px solid #e5e5e5;
          }
      }
      &-name{
          padding-top: 10px;
          h4{
              font-size: 20px;
              line-height: 25px;
              color: #293241;
              margin-bottom: 0;
          }
      }
      &-job{
          p{
              color: #293241;
              font-size: 14px;
              text-transform: uppercase;
              letter-spacing: 3px;
              line-height: 20px;
              font-weight: 300;
              margin-bottom: 0;
          }
      }
  }
}