@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: "Poppins", sans-serif;
  background: #ece4de;
}

.navbar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 1rem;
  background: #e0d0c1;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Menus gauche et droite */
.nav-left,
.nav-right {
  display: flex;
  gap: 10rem;
  list-style: none;
  padding: 0px;
}

.nav-left {
  justify-content: center;
}

.nav-right {
  justify-content: center;
}

/* Liens */
.nav-left a,
.nav-right a {
  color: #351c19;
  text-decoration: none;
  font-weight: 500;
}

/* Logo centré */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

.login {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  margin-top: 10rem;
  background: #e0d0c1;
  padding: 2rem;
  border-radius: 5px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

h2 {
  color: #351c19;
  text-align: center;
  margin-bottom: 1.5rem;
}

input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  width: 100%;
  padding: 0.8rem;
  background: #351c19;
  color: #ece4de;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

.button-register{
    margin-top: 1rem;
    text-align: center;
}

.button-register a{
    color: #351c19;
}

#error {
  margin-top: 1rem;
  color: red;
  text-align: center;
}

/* Instagram fixé en bas à gauche */
.instagram-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
}

.instagram-fixed img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.instagram-fixed img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* Tablettes */
@media (max-width: 1024px) {
.nav-left,
.nav-right {
gap: 3rem;
}

.logo img {
height: 50px;
}
}

/* Mobiles */
@media (max-width: 768px) {
.navbar {
grid-template-columns: 1fr;
row-gap: 1rem;
text-align: center;
}

.nav-left,
.nav-right {
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}

.logo {
order: -1;
}

}