:root {
  --blue: #125D98;
  --gradient: linear-gradient(267.07deg, #F5A962 4.15%, #FBCB9F 100%);
  --first-font: 'Quicksand', sans-serif;
  --second-font: 'Abril Fatface', cursive;
}
@media (max-width: 1023px) {
  @-webkit-keyframes topSlide {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(0, -10%, 0);
      transform: translate3d(0, -10%, 0);
    }
    100% {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  header {
    background-color: var(--blue);
    position: sticky;
    top: 0;
    z-index: 20;
    transition: 1s ease-in;
  }
  nav ul li {
    padding: 2rem 0;
    width: 10rem;
    border-bottom: 1px solid rgba(236, 236, 236, 0.45);
    text-align: center;
  }
  nav .btn {
    position: relative;
    bottom: 204px;
  }
  #hero img {
    padding-left: 4rem;
  }
  #menu-toggler {
    cursor: pointer;
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    padding: 9px;
  }
  .bar {
    background: var(--blue);
    width: 100%;
    height: 26%;
    transition: 0.3s ease-in;
  }
  .menu-active {
    overflow: hidden;
    border-top: 1px solid rgba(236, 236, 236, 0.45);
    margin: 1rem 0;
    grid-gap: 3rem;
    display: flex !important;
    /*    flex-basis: 100%;*/
    height: 100vh;
    width: 100vw;
    -webkit-animation-name: topSlide;
    animation-name: topSlide;
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
  }
  .toggle.bar:nth-child(1) {
    background-color: var(--blue);
    transform: translateY(9px) rotate(135deg);
    transition: 0.3s ease-in;
  }
  .toggle.bar:nth-child(2) {
    background-color: var(--blue);
    opacity: 0;
    transition: 0.3s ease-in;
  }
  .toggle:nth-child(3) {
    background-color: var(--blue);
    transform: translateY(-11px) rotate(-135deg);
    transition: 0.3s ease-in;
  }
  #hero .circle {
    background-position-y: 2px;
  }
}
@media (max-width: 970px) {
  #stairlifts #sec2, #stairlifts #sec3, #contact-form, #testimonials {
    background-image: none;
  }
}
@media (max-width: 920px) {
  #hero .btn {
    padding: 1rem 1rem;
  }
  #contact-form p, #ourStairlifts p, #stairlifts p {
    text-align: left;
  }
}
@media (max-width: 768px) {
  header {
    padding: 1rem 1rem;
  }
  #hero .circle {
    background-image: url(assets/large/circle.png);
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: left;
    background-size: 124%;
    background-origin: border-box;
  }
  #ourStairlifts .need .btn {
    margin-bottom: 0;
  }
  #ourStairlifts .card {
    padding: 2.5rem;
  }
}
@media (max-width: 320px) {
  nav .btn {
    bottom: 100px;
  }
}
/*FIxing breakpoints*/
@media (min-width: 769px) {
  .md-flex-row {
    flex-direction: row;
  }
  .md-block {
    display: block;
  }
  .md-d-hidden {
    display: none;
  }
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md-col-span-2 {
    grid-column: span 2/span 2;
  }
  .md-my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .d-hidden {
    display: none !important;
  }
  .sm-flex-row {
    flex-direction: row
  }
  .sm-flex-col {
    flex-direction: column;
  }
  .sm-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }