.overlap{
  margin-top: -200px;
  z-index: -1;
  position: relative;
}
footer {
  min-height: 400px;
  padding-top: 50px;
  position: relative;
  background-color: $secondary;
  @media (max-width: 992.98px) {
    padding-bottom: 70px;
  }
  .logo {
    margin-bottom: 20px;
       width: 250px;
    padding-top: 150px;
  }
  .icon {
  }
  p {
    @include paragraph(15px, $pr, rgba($color: $white, $alpha: 1));
    margin-bottom: 2px;
    @media (max-width: 992.98px) {
      text-align: left;
    }
  }
  h5 {
    @include paragraph(30px, $gr, rgba($color: $white, $alpha: 1));
    border-left: 5px solid $primary;
    margin-left: -52px;
    padding-left: 45px;
    @media (max-width: 992.98px) {
      margin-top: 30px;
      margin-left: 0px;
      padding-left: 0px;
      border-left: 0px;
    }
  }
  .fborder{
    border-left: 1px solid rgba($color: $white, $alpha: 0.2);
    padding-left: 50px;
    padding-top: 150px;
    padding-bottom: 100px;
    margin-bottom: 40px;
    @media (max-width: 992.98px) {
      border-left: 0px;
      padding-left: 0px;
      padding-top: 0px;
      padding-bottom: 0px;
      margin-bottom: 10px;
    }
  }
  ul {
    margin: 0;
    padding: 0;
    margin-top: 20px;
    @media (max-width: 992.98px) {
      margin-top: 0px;
    }
    li {
      line-height: 1.8;
      a {
        margin-bottom: 0;
        text-decoration: none;
        @include paragraph(14px, $pr, rgba($color: $white, $alpha: 1));
        &:hover {
          color: $primary;
        }
      }
    }
  }
  .c-flex{
    // justify-content: center;
    @media (max-width: 992.98px) {
      justify-content: start;
    }
  }
  .d-flex {
    margin-top: 20px;
    @media (max-width: 992.98px) {
      margin-top: 0px;
    }
    a {
      i,svg {
        margin-right: 10px;
        @include paragraph(22px, $ob, rgba($color: $white, $alpha: 1));
        @include animation1;
        &:hover {
          color: $primary;
        }
      }
    }
    .location {
      width: 20%;
      @media (max-width: 992.98px) {
        width: 10%;
      }
      img {
        padding-right: 10px;
        width: 50px;
      }
    }
    .detail {
      width: 80%;
      h6 {
        @include paragraph(15px, $pr, rgba($color: $white, $alpha: 1));
        @media (max-width: 992.98px) {
          margin-top: 0px;
        }
      }
      a {
        margin-bottom: 0;
        text-decoration: none;
        @include paragraph(16px, $pr, rgba($color: $white, $alpha: 1));
        &:hover {
          color: $primary;
        }
      }
    }
  }
  .copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid rgba($color: $white, $alpha: 0.2);
    p {
      text-align: center;
      margin-bottom: 0px;
      padding: 10px 0px;
      @include paragraph(14px, $pr, rgba($color: $white, $alpha: 1));
    }
  }
}
// go to  top
.top {
  #return-to-top {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background: $primary;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    border-radius: 35px;
    // display: none;
    transition: all 0.3s ease;
    @media (max-width: 575.98px) {
      right: 0px;
      transform: scale(0.7);
    }
  }
  #return-to-top i {
    position: relative;
    left: 3px;
    top: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -8px;
    margin-left: -5px;
    font-size: 19px;
    color: $white;
    transition: all 0.3s ease;
  }
  // #return-to-top:hover {
  //   background: rgba(0, 0, 0, 0.9);
  // }
  #return-to-top:hover i {
    color: $white;
    top: 10px;
  }
}
#mySidenav a {
  position: absolute;
  position: fixed;
  left: -35px;
  transition: 0.3s;
  padding: 15px;
  width: 50px;
  text-decoration: none;
  font-size: 20px;
  color: $white;
  border-radius: 0 5px 5px 0;
  z-index: 9;
}

#mySidenav a:hover {
  left: 0;
}

#fb {
  top: 340px;
  background-color: $primary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#twt {
  top: 400px;
  background-color: $secondary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#ins {
  top: 460px;
  background-color: $primary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#in {
  top: 520px;
  background-color: $secondary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#email {
  top: 580px;
  background-color: $primary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
#popup {
  top: 640px;
  background-color: $secondary;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
