
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('Font.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 200px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 15px 0;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #ff4b2b;
}

.main-content {
  margin-left: 220px;
  padding: 40px;
  padding-top: 25vh;
  max-width: 900px;
}

/* Boutique */
.intro {
  font-size: 16px;
  background-color: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 10px;
  line-height: 1.6;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  margin: 0 auto 60px auto;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.tile {
  background-color: rgba(0, 0, 0, 0.7);
  width: 260px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: transform 0.3s, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}

.tile img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tile .content {
  padding: 15px;
}

.tile h3 {
  margin-top: 0;
  color: #ff4b2b;
}

.tile p {
  font-size: 14px;
  line-height: 1.5;
}

.tile .price {
  font-weight: bold;
  margin: 10px 0;
}

.tile .buy-button {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ff4b2b;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.tile .buy-button:hover {
  background-color: #e63e1d;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Formulaires */
form {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  margin-top: 30px;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

input[type="text"], textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 10px;
  background-color: #2e2e2e;
  color: white;
  resize: vertical;
}

input[type="submit"] {
  margin-top: 20px;
  background-color: #ff4b2b;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

input[type="submit"]:hover {
  background-color: #ff1f00;
}
.sidebar-fish {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 10px;
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.menu-haut, .menu-bas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-menu, .btn-deconnexion {
  background-color: #2e2e2e;
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-menu:hover, .btn-deconnexion:hover {
  background-color: #ff4b2b;
}

/* Login box */
.login-box {
  max-width: 360px;
  margin: 10vh auto;
  padding: 2rem;
  background: rgba(0,0,0,0.7);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.login-form h2 {
  color: #42A5F5;
  text-align: center;
  margin-bottom: 1.5rem;
}
.login-form .form-group {
  margin-bottom: 1rem;
}
.login-form label {
  color: #fff;
  margin-bottom: 0.5rem;
  display: block;
}
.login-form input {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.btn-blue {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: #42A5F5;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .3s;
}
.btn-blue:hover {
  background-color: #218ae2;
}