* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: figtree, sans-serif;
  color: rgb(82, 82, 82);
  line-height: 1.618;
  margin: 15px;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Lien et image du logo */
.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  width: 75px;
  height: auto;
}

.container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  margin-top: 20px;
}

.box {
  text-align: center;
  border: 1px solid rgb(229, 229, 229);
  border-radius: 10px;

  padding: 15px;
  width: 100%;
  max-width: 380px;
  height: 200px;
}

.box:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1),
    -2px -2px 5px rgba(255, 255, 255, 0.1);
}

.box h1 {
  font-size: 1.5em;
  margin-bottom: 10px;
}
.value {
  font-size: 2em;
  font-weight: bold;
  color: black;
}

.spacer {
  height: 15px;
}

.grid-title {
  text-align: center;
  padding: 20px;
}

.grid-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-item {
  display: flex;
  align-items: center;
  border: 1px solid rgb(229, 229, 229);
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;

  padding: 15px;
}

.grid-item:hover {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1),
    -2px -2px 5px rgba(255, 255, 255, 0.1);
}

.grid-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  margin-right: 40px;
  margin-left: 20px;
}

.grid-item p {
  flex: 1;
}

.grid-item small {
  color: grey;
  font-size: 0.7em;
}

/* Animation du texte */
#btcValue,
#pizzaCount {
  font-size: 1.5em;
  transition: color 0.5s ease, transform 0.3s ease;
}

.update-animation {
  animation: scaleUp 0.5s ease;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Footer styling */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: #fff;
  text-decoration: underline;
}

.btc-donation {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 120px;
  height: 120px;
  margin-top: 10px;
}
