// banner
.banner {
  min-height: 50vh;
  padding: 100px 0 100px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.438) 0%, rgba(255, 255, 255, 0.5) 100%, transparent 100%), url('https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=2947&q=80');
  background-size: cover;
  &__p {
    color: $body-color;
    text-shadow: 1px 1px grey;
    font-weight: 400;
  }
}

.feature-card {
  border-radius: 10px;
  padding: 20px;
  transition: .2s ease;
  background-color: $white;

  &:hover {
    @extend .shadow;
  }

  i {
    font-size: 30px;
    color: $primary-color;
    display: inline-block;
  }
}

.footer-list a {
  display: block;
  padding: 5px 0;
  font-size: 16px;
  color: $text-color;
  margin: 8px 0;

  &:hover {
    color: $primary-color;
  }
}

.social-icons a {
  color: $primary-color;
  text-align: center;
  height: 35px;
  width: 35px;
  line-height: 35px;
  border: 1px solid $primary-color;
  border-radius: 50%;
  display: block;

  &:hover {
    color: $white;
    background-color: $primary-color;
  }
}

// blog post
a.post-title {
  color: $text-color-dark;
  display: block;

  &:hover {
    color: $primary-color;
  }
}

.content {

  * {
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
  }

  img {
    max-width: 100%;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 15px;
  }

  strong {
    font-weight: 600;
  }

  a {
    color: $text-color;
    border-bottom: 1px dotted $border-color;

    &:hover {
      color: $primary-color;
    }
  }

  ol,
  ul {
    padding-left: 20px;

    li {
      margin-bottom: 10px;
    }
  }

  ul {
    padding-left: 0;
    margin-bottom: 20px;
    list-style-type: none;

    li {
      padding-left: 20px;
      position: relative;

      &::before {
        position: absolute;
        content: '';
        height: 8px;
        width: 8px;
        border-radius: 50%;
        background: $primary-color;
        left: 3px;
        top: 5px;
      }
    }
  }

  table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    border: 1px solid $border-color;
  }

  table td,
  table th {
    padding: .75rem;
    vertical-align: top;
    margin-bottom: 0;
  }

  th,
  td {
    &:not(:last-of-type) {
      border-right: 1px solid $border-color;
    }
  }

  th {
    font-weight: 500;
  }

  thead {
    background: $white;
    margin-bottom: 0;

    tr {
      border-bottom: 1px solid $border-color;
    }
  }

  tbody {
    background-color: transparent;
    margin-bottom: 0;
  }

  .notices {
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
  }

  .notices p {
    padding: 10px;
    margin-bottom: 0;
  }

  .notices p::before {
    position: absolute;
    top: 2px;
    color: $white;
    font-family: "themify";
    font-weight: 900;
    content: "\e717";
    left: 10px;
  }

  .notices.note p {
    border-top: 30px solid #6ab0de;
    background: $white;
  }

  .notices.note p::after {
    content: 'Note';
    position: absolute;
    top: 2px;
    color: $white;
    left: 2rem;
  }


  .notices.tip p {
    border-top: 30px solid #78C578;
    background: $white;
  }

  .notices.tip p::after {
    content: 'Tip';
    position: absolute;
    top: 2px;
    color: $white;
    left: 2rem;
  }

  .notices.info p {
    border-top: 30px solid #F0B37E;
    background: $white;
  }

  .notices.info p::after {
    content: 'Info';
    position: absolute;
    top: 2px;
    color: $white;
    left: 2rem;
  }


  .notices.warning p {
    border-top: 30px solid #E06F6C;
    background: $white;
  }

  .notices.warning p::after {
    content: 'Warning';
    position: absolute;
    top: 2px;
    color: #fff;
    left: 2rem;
  }


  blockquote {
    font-size: 20px !important;
    color: $text-color;
    padding: 20px 40px;
    border-left: 2px solid $primary-color;
    margin: 40px 0;
    font-weight: bold;
    background: $white;

    p {
      margin-bottom: 0 !important;
    }
  }

  pre {
    display: block;
    padding: 9.5px;
    margin: 10px 0px 10px;
    white-space: pre-wrap;
  }

  code {
    margin-bottom: 0 !important;
    font-size: 100%;
  }
}


// pagination
.pagination {
  margin-top: 30px;
  justify-content: center;

  .page-item {
    .page-link {
      display: inline-block;
      width: 40px;
      height: 40px;
      line-height: 40px;
      border-radius: 5px;
      background: $light;
      text-align: center;
      padding: 0;
      margin-right: 10px;
      border: 0;
      color: $text-color;

      &:hover {
        background: $primary-color;
        color: $white;
      }

      &:focus {
        box-shadow: none;
      }
    }

    &:first-child,
    &:last-child {
      .page-link {
        border-radius: 5px;
      }
    }

    &.active {
      .page-link {
        background: $primary-color;
        color: $white;
      }
    }
  }
}

.slick-dots {
  text-align: center;
  margin-top: 20px;

  li {
    display: inline-block;
    margin: 0 5px;

    &.slick-active {
      button {
        background-color: $primary-color;
      }
    }

    button {
      height: 10px;
      width: 10px;
      border-radius: 50%;
      display: block;
      color: transparent;
      padding: 0;
      border: 1px solid $primary-color;
      background-color: transparent;
      transition: .2s ease;
    }
  }
}

// pricing table
.col-recommended {
  margin: -2rem -1.5rem;
  z-index: 1;
  @include desktop {
    margin: 0;
    margin-bottom: 40px;
  }
}

.price{
  font-size: 50px;
  color: $text-color-dark;
}

.banner {
  h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
  }
}

.section {
  animation-duration: 2.5s;
  animation-name: fadein;
  animation-iteration-count: 1;
  &-title {
    font-size: 3.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-shadow: 0 10px 20px rgba(grey, 0.3);
    animation-duration: 3s;
    animation-name: lighting;
    animation-iteration-count: infinite;
  }
  &__footer {
    animation: none;
  }
}

.sec-video {
  padding-top: 20vh;
  height: 70vh;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.438) 0%, rgba(255, 255, 255, 0.5) 100%, transparent 100%), url('https://i.imgur.com/skmbkUy.jpg');
  background-position: center;
  @media screen and(max-width: 576px) {
      padding-top: 10vh;
    }
  .container {
    animation-duration: 2.5s;
    animation-name: fadein;
    animation-iteration-count: 1;
  }
  .subtitle {
    color: white;
  }
}

.section-title.action-title {
  font-size: 2rem;
}

.img-shadow {
  box-shadow: 0 15px 25px 0 rgba(grey, 0.4);
  transition: all .3s;
}

.img-shadow:hover {
  transform: translateY(-.125em);
  box-shadow: 0 5px 10px 0 rgba(grey, 0.3);
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: translateY(20%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
  }

@keyframes lighting {
    0% {
        transform: translateY(-0.05em);
    }
    100% {
        transform: translateY(0);
    }
  }
