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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  /* background: url("background1.jpg") no-repeat; */
  background-size: cover;
  background-position: center;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  background: rgba(86, 230, 81, 0.788);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(126, 79, 235, 0.4),
      transparent);
  transition: 0.5s;
}

.header:hover::before {
  left: 100%;
}

.logo {
  color: #080808;
  font-size: 25px;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
}

.navbar a {
  color: #161515;
  font-size: 18px;
  text-decoration: none;
  margin-left: 35px;
  transition: 0.5s;

}




.navbar a:hover {
  color: #f00;
}

#menu-icon {
  font-size: 36px;
  color: #02020f;
  display: none;
}

h1 {
  margin: 100px 0 0 0;
  padding: 20px;
  color: #161515;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}



.galerie_mimosa {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.galerie_coquelicot {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.item {
  background-color: #4CAF50;
  margin: 5px;
  padding: 5px;
  display: flex;

}

img {
  width: 400px;
}


/* BREAKPOINTS */
@media (max-width: 990px) {
  .header {
    padding: 1.25rem 4%;
  }

}

p {
  padding: 40px;
}

@media (max-width: 850px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: solid 1px rgb(102, 101, 101);

    background: rgba(162, 177, 168, 0.945);

    z-index: 99;
    display: none;

  }

  .navbar.active {
    display: block;
  }


  .navbar a {
    display: block;
    margin: 1.5rem 0;
    font-weight: bold;
  }

  .nav-bg.active {
    display: block;
  }

  img {
    width: 300px;
  }

}