section.pricing {
  color: #fff;
  background: #007bff;
  background: linear-gradient(to right, #0062E6, #33AEFF);
}

.pricing .intro {
  margin-bottom: 30px;
}

.pricing .intro>* {
  color: inherit;
}

.pricing .card {
  color: #000;
  border: none;
  border-radius: 1rem;
  transition: all 0.2s;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}

.pricing .switcher {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.pricing .switcher span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
}

.pricing .toggle {
  position: relative;
  width: 60px;
  height: 34px;
  margin: 0 17px;
}

.pricing .toggle input {
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

.pricing .toggle .slider {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 12px;
  line-height: 1;
  background-color: #D8DEE8;
  border-radius: 39px;
  cursor: pointer;
  transition: background-color 0.25s;
}

.pricing .toggle .slider::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 26px;
  height: 26px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
  transition: 0.5s;
}

.pricing .toggle input:checked+.slider {
  background-color: #56c38a;
}

.pricing .toggle input:checked+.slider:before {
  transform: translateX(26px);
}

#yearly-savings {
  margin: 0;
  margin-left: 15px;
  padding: 5px 10px;
  font-weight: 700;
  color: #E74C3C;
  background-color: #FFF0E2;
  border-radius: 75px;
}

.pricing .price {
  margin-bottom: 30px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
}

.pricing a.btn {
  width: 100%;
  font-size: 1.2rem;
}

.pricing small {
  display: block;
  margin-top: 30px;
  font-size: 13px;
  line-height: 1;
  text-decoration: underline;
  color: #616161;
}

#monthly-price,
#yearly-price,
#hourly-price {
  margin-top: 30px;
}

.pricing a.btn-expand-features {
  display: block;
  margin-top: 15px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pricing a.btn-expand-features:hover {
  text-decoration: underline;
}

.pricing .feature-list {
  display: flex;
  flex-wrap: wrap;
}

.pricing .feature-list-more {
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in;
}

.pricing .feature-list-more.slide-down {
  max-height: 1000px;
  visibility: visible;
  opacity: 1;
}

.pricing .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(33.33% - 10px);
  margin: 7px 5px;
  padding: 10px;
  border: 2px solid #1E266D;
  border-radius: 15px;
}

.pricing .feature img {
  flex: 1;
  display: block;
  max-width: 103px;
  max-height: 103px;
  width: 25%;
  height: auto;
  margin-bottom: 10px;
}

.pricing .feature label {
  display: block;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #000;
}

@media (max-width: 991px) {

  #monthly-price,
  #yearly-price,
  #hourly-price {
    max-width: 100%;
    width: 250px;
    margin-top: 0;
    margin-bottom: 30px;
  }

  #hourly-price {
    margin-top: 0;
  }

  .pricing small {
    margin-top: 15px;
  }

}

@media (max-width: 575px) {

  .pricing .switcher {
    justify-content: center;
  }

  .pricing .feature {
    width: calc(50% - 10px);
  }

  #monthly-price,
  #yearly-price,
  #hourly-price {
    width: 100%;
  }

  .pricing a.btn {
    max-width: 300px;
  }

}

@media (max-width: 400px) {

  #yearly-savings {
    padding: 5px;
    border-radius: 5px;
  }

}