* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: "Comic Sans MS", cursive, sans-serif;
    background-color: #eee;
    color: #111;
  }
  h1 {
    text-align: center;
    margin: 1.25rem 0 0.25rem 0;
  }
  .chart-container {
    position: relative;
    width: 45vw;
    height: 22.5vw;
    margin: auto;
  }
  
  .poll {
    background-color: #fff;
    color: #333;
    width: 30vw;
    margin: 1.75rem auto 1rem auto;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
  }
  .poll-heading {
    padding: 1rem;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, transparent, #333, transparent) 1;
  }
  .poll-body {
    padding: 1rem;
  }
  .poll-body ul {
    list-style-type: none;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
  }
  .poll-body li label {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }
  .poll-body li label:hover {
    background-color: #eee;
  }
  .poll-body li:first-child label {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;  
  }
  .poll-body li:last-child label {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;  
  }
  .poll-body li label input[type="radio"] {
    margin-right: 0.5rem;
  }
  .poll-body li label input[type="radio"]:checked + span {
    font-weight: bold;
  }
  .poll-footer {
    padding-bottom: 1rem;
    text-align: center;
  }
  .poll-footer button {
    background-color: #777;
    color: #fff;
    padding: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    outline: none;
    width: 7rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  .poll-footer button:hover {
    background-color: #333;
  }
  .poll-footer button:active {
    background-color: #111;
  }
  
  @media(max-width: 1200px) {
    .chart-container {
      width: 65vw;
      height: 32.5vw;
    }
    .poll {
      width: 50%;
    }
  }
  @media(max-width: 992px) {
    .chart-container {
      width: 75vw;
      height: 37.5vw;
    }
    .poll {
      width: 60%;
    }
  }
  @media(max-width:767px) {
    html {
      font-size: 14px;
    }
    h1 {
      font-size: 1.75rem;
    }
    .chart-container {
      width: 95vw;
      height: 47.5vw;
    }
    .poll {
      width: 80%;
    }
  }








  body {
    background-color: #f3f5f7;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }
  
  .card {
    background-color: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    position: relative;
    top:140px;
    left:180px;
    right: 200px;
    height:150px;
    width:350px;
    transform: translate(-50%, -50%);
    max-width: 300px;
    height: 375px;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .card .about {
    height: 225px;
    padding: 20px;
    box-sizing: border-box;
  }
  
  
  .card .about h3,
  .card .about .lead {
    font-weight: 300;
    margin: 0;
  }
  
  .card .about h3 {
    font-size: 24px;
  }
  
  .card .about .lead {
    color: #aaa;
  }
  
  .card .info {
    float: left;
    padding: 10px 30px 10px 0;
  }
  
  .card .info p {
    font-size: 11px;
    color: #aaa;
    font-weight: 300;
  }
  
  .legends {
    padding-top: 20px;
    overflow: hidden;
  }
  
  .legend {
    display: block;
    width: 8px;
    height: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 50%;
  }
  
  .legend--this {
    background-color: #5555FF;
  }
  
  .legend--prev {
    background-color: #FF55B8;
  }
  
  .axis {
    position: absolute;
    color: #fff;
    z-index: 1;
    text-transform: uppercase;
    display: flex;
    width: 100%;
    bottom: 0;
  }
  
  .axis .tick {
    flex: 1;
    position: relative;
    overflow: hidden;
    opacity: 0.2;
    font-size: 11px;
    text-align: center;
    line-height: 40px;
    padding-top: 150px;
  }
  
  .axis .tick:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .axis .tick .value {
    transform: translateY(-40px);
    transition: 0.3s transform;
    position: absolute;
    top: 20px;
    color: #444;
    border-radius: 2px;
    width: 100%;
    line-height: 20px;
  }
  
  .axis .tick:hover .value.value--this {
    transform: translateY(0);
    display: block;
  }
  
  .value.value--this {
    color: #5555FF;
    font-weight: bold;
  }
  
  
