* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1a1a2e;
  color: white;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3px;
}
.containerPage {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 2%;
  margin-top: 2%;
  max-width: 90%;
}

#Img {
  max-width: 200px;
}
.card {
  max-width: 100%;
  margin: 10px;
  padding: 10px;
  background-color: white;
}
.back-button {
  position: relative;
  padding: 10px 20px;
  margin: 10px;
  align-self: flex-start;
}

.back-button a {
  background-color: #31315c;
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.back-button a:hover {
  background-color: #4e4e8d;
}

#loginConnect {
  background-color: #31315c;
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

#loginConnect:hover {
  background-color: #4e4e8d;
}

.pageBody {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  gap: 20px;
}

.pageCard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
  gap: 20px;
  width: 100%;
}

/* Gauge card */
.gauge-card {
  color: aquamarine;
  text-decoration: none;
  background: #111;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  padding: 20px;
}

.gauge-card:hover {
  transform: scale(1.05);
}

.gauge-image {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.gauge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.gauge-container {
  width: 80%;
  height: 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  transform: rotate(0deg);
}

.gauge-circle-bg {
  fill: none;
  stroke: #333;
  stroke-width: 7;
}

.gauge-circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-in-out;
}

.gauge-label {
  font-size: 18px;
  text-align: center;
}

.gauge-value {
  font-size: 24px;
  font-weight: bold;
}

.navbar {
  width: 100%;
  background: #111;
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 20px;
}

footer {
  margin-top: 20px;
}

.footer {
  width: 100%;
  height: auto;
  padding: 20px;
  background: #212529;
  text-align: center;
  margin-top: auto;
}
/* Zoom sur les icones du footer */
.col a i {
  font-size: 22px;
  transition: transform 0.3s ease-in-out;
}
/* 130 % */
.col a i:hover {
  transform: scale(1.3);
}

#f {
  min-height: 80vh;
  padding: 70px;
  background-image: url("../src/test.png");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-top: 1em;
}

/* Responsive */
@media (min-width: 1024px) {
  .pageCard {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .pageCard {
    grid-template-columns: repeat(1, 1fr);
  }
  #f {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
    background-image: url("../src/img2.png");
  }
}
