body {
    font-family: "Quicksand", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
     min-height: 100vh;
     background: #fff;
  }
  .container {
    width: 300px;
    padding: 0 10px;
    background: #B4BED9;
    height: 400px;
    border: 1px solid rgb(242, 239, 239);
    border-radius: 20px;
    padding: 40px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    position: relative;
    transition: background .5s ease-in-out;
  }
  
  .title {
    position: absolute;
    top: 10%;
    font-size: 28px;
    font-weight: 800;
  }
  .subtitle {
    position: absolute;
    top: 11%;
    font-size: 10px;
    font-weight: 100;
  }
  input[type="range"] {
    position: absolute;
    top: 85%;
    -webkit-appearance: none;
    appearance: none;
    width: 80%;
    background: #e5e5e5;
    height: 2px;
    border-radius: 5px;
    outline: none;
    box-shadow: #f2d2bd;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    padding: 5px;
    height: 5px;
    width: 5px;
    border: 5px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    background: #4c4c4c;
  }
  
  /* FIREFOX */
  input[type="range"]::-moz-range-thumb {
    padding: 5px;
    height: 5px;
    width: 5px;
    border: 5px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    background: #4c4c4c;
  }
  
  img {
    position: absolute;
    top: 40%;
    height: 150px;
    width: 150px;
    outline: none;
    animation: dance 1s infinite;
  }
  .rating {
    position: absolute;
    top: 65%;
    text-align: center;
    font-size: 20px;
    font-weight: 100;
    width: 150px;
  }
  
  @keyframes dance {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  