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

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Styles du Calculateur de 1RM */
#1rm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: center;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}


.form-group input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn {
  background-color: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  display: block;
  margin: 10px auto; /* Center the button */
}

.btn:hover {
  background-color: #45a049;
}

.result-container {
  display: none;
  text-align: center;
  margin-top: 2rem;
  color: green;
}

#result{
  font-size: xx-large;
}

/* Styles de l'Article */
article {
  margin-bottom: 2rem;
}

article h1,
article h2 {
  margin-bottom: 1rem;
}

article p {
  margin-bottom: 1rem;
}

article ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

article table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

article table th,
article table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

article table th {
  background-color: #f2f2f2;
}

/* Styles Responsives */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  #1rm-form {
    gap: 0.75rem;
  }

  .form-group input {
    font-size: 0.875rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  article h1 {
    font-size: 1.75rem;
  }

  article h2 {
    font-size: 1.5rem;
  }

  article p,
  article ul,
  article table {
    font-size: 0.875rem;
  }
}