*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

header {
  color: #ecf0f1;
  text-align: center;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header h1 {
  font-size: 2rem;
  margin: 0;
}

body {
  align-items: center;
  background: #050505;
  color: #dedede;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  justify-content: center;
  margin: 0;
}

.elevation {
  box-shadow: 0 3px 1px -2px rgba(255, 255, 255, 0.2), 0 2px 2px 0 rgba(255, 255, 255, 0.14),
    0 1px 5px 0 rgba(255, 255, 255, 0.12);
}

.card {
  background: #121212;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
}

.review-textarea {
  background-color: #1e1e1e;
  color: #dedede;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.sentiment-result {
  margin-top: 20px;
}

.result-label {
  font-size: 18px;
  color: #dedede;
}

.result-value {
  font-size: 20px;
  font-weight: bold;
  color: #00b894;
}

footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
}

footer a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.8;
}

/* .sentiment-container {
    margin-top: 20px;
    height: 20px;
    width: 100%;
    background-color: #ecf0f1;
    border-radius: 10px;
} */

/* .result-scale {
    height: 100%;
    width: 0%;  \/* Default width is 0% *\/
    border-radius: 10px;
    transition: width 0.3s ease, background-color 0.3s ease;
} */

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

.sentiment-result {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

#sad-icon, #happy-icon {
    font-size: 2rem;
    margin: auto 20px;
    transition: opacity 0.3s ease;
}

#sentiment-container {
    height: 20px;
    width: 100%;
    background-color: #ecf0f1;
    border-radius: 10px;
}

.result-scale {
    height: 100%;
    width: 0%;  /* Default width is 0% */
    border-radius: 10px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

  footer {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  }

  footer a {
  color: white;
  font-size: 16px;
  text-decoration: none;
  }

  footer i {
  font-size: 20px;
  }

  footer a:hover {
  opacity: 0.8;
  }