body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #ebebeb;
  background: linear-gradient(
    166deg,
    hsl(227, 20%, 20%) 0%,
    hsl(227, 10%, 10%) 100%
  );
  background-repeat: no-repeat;
  background-size: 800%;
  animation: gradient 20s ease infinite;
  background-attachment: fixed;
  overflow: hidden;
  user-select: none;
}

label {
  width: 3rem;
  height: 1.5rem;
  vertical-align: middle;
  background: #ebebeb;
  border-radius: 200px;
  box-shadow: inset 0px -5px 15px rgba(166, 166, 166, 0.4);
  cursor: pointer;
  transition: 0.3s;
}
label:after {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  background: hsl(227, 80%, 80%);
  border-radius: 180px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
#darkmode-toggle {
  width: 0;
  height: 0;
  visibility: hidden;
}
#darkmode-toggle:checked + label:after {
  transform: translateX(100%);
  background: hsl(227, 30%, 30%);
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  input[type="range"] {
    width: 10rem;
    height: 1rem;
    overflow: hidden;
    -webkit-appearance: none;
    background-color: #767676;
    border-radius: 5rem;
  }

  input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    -webkit-appearance: none;
    color: hsl(227, 31%, 24%);
    border-radius: 5rem;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 10px;
    -webkit-appearance: none;
    height: 10px;
    background: #ffffff;
    border-radius: 5rem;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing h2 {
  font-weight: 400;
}

.marketing .col-lg-4 p {
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.featurette-divider {
  margin: 5rem 0;
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

.slideFade {
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.BarslideIn {
  animation: slideMe 1.5s ease-in-out;
}

@keyframes slideMe {
  0% {
    transform: translateY(-100px);
  }

  100% {
    transform: translateY(-49px);
  }
}

img {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 20px;
  width: 144px;
  height: 144px;
  transition: transform .1s;
}

@media only screen and (max-width: 600px) {
  img {
    width: 400px;
    height: 400px;
  }
}

@media only screen and (min-width: 600px) {
  img {
    width: 300px;
    height: 300px;
  }
}

@media only screen and (min-width: 768px) {
  img {
    width: 200px;
    height: 200px;
  }
}

@media only screen and (min-width: 992px) {
  img {
    width: 144px;
    height: 144px;
  }
}

img:hover {
  transform: scale(1.1);
}

.setMargintoTen {
  margin-top: 100px;
}

.cards {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation: out 0.5s ease-in-out;
  border-radius: 20px;
}

.cards:hover {
  animation: in 0.5s ease-in-out;
  scale: 0.9;
  display: inline-block;
  perspective: 1800px;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform: rotateX(11deg) rotateY(16.5deg);
}
