body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.container {
    text-align: center;
    padding: 30px;
}

button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #03a9f4;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 20px 0;
}

.gauges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gauge {
    width: 200px;
}

.gauge-bar {
    position: relative;
    height: 30px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.gauge-bar::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    animation: none;
    transition: width 0.5s ease-in-out;
}

.gauge-bar span {
    position: relative;
    z-index: 2;
}

.infos {
    margin-top: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2 {
    color: #03a9f4;
}

.gauge-bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: var(--value, 0%);
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  transition: width 0.8s ease;
  border-radius: 10px;
}

button:hover {
  background-color: #0288d1;
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.gauge:hover {
    box-shadow: 0 0 15px #00c6ff50;
    border-radius: 20px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .gauges {
    flex-direction: column;
    align-items: center;
  }
  .gauge {
    width: 90%;
  }
}
