body {
  padding: 0px;
  margin: 0px;
  background-color: #f2f2f2;
  font-family: "Lato", sans-serif;
}

/* NAV BAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 1.875rem;
  position: fixed;
  top: 0;
  background-color: white;
  width: 97%;
}

nav > ol {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 20%;
  list-style-type: none;
  font-size: 1.1rem;
}

nav > ol > li a {
  text-decoration: none;
  color: black;
}

nav > ol > li a:hover {
  color: red;
}

#buzz a {
  color: red;
}

#burger {
  display: none;
}

/* FIN NAV BAR */
/* BANDEAU CAROUSSEL */
header {
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(
      circle,
      rgba(0, 0, 0, 0) 23%,
      rgba(0, 0, 0, 1) 69%
    ),
    url("img/cigarette-electronique-1500x500.jpeg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 31.25rem;
  width: auto;
  margin-top: 3rem;
}

header > div > div > button {
  color: white;
}

header > div > div > button:hover {
  background-color: white;
  color: black;
}

.container {
  height: 31.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.titre {
  width: 30%;
  margin: 4.5rem 0 0 15%;
}

.bandeau {
  display: flex;
  justify-content: space-between;
  margin: 0 20% 0 15%;
}

/* FIN BANDEAU CAROUSSEL */
/* CARDS */
h1 {
  text-align: center;
}

.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 0rem 5%;
}

article {
  display: flex;
  height: 300px;
  width: 570px;
  margin-bottom: 30px;
  border: 0.2rem inset;
  background-color: #ffffff;
}

article > div > p img {
  max-width: 5%;
  max-height: 5%;
}

.opacity1 {
  opacity: 1;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.opacity1:hover {
  opacity: 0.8;
}

.cardp {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0.7rem 0.7rem;
}

.carddate {
  margin-top: auto;
}

button {
  background-color: rgb(237, 23, 74);
  border-radius: 10% / 50%;
  border: 0px;
  width: 8rem;
}

article > div > h2 a:hover {
  color: red;
}

article > div > h2 a {
  text-decoration: none;
  color: black;
}

article > div button:hover {
  background-color: black;
}

article > div > button > a {
  text-decoration: none;
  color: white;
}

/* FIN CARDS */
/* LIENS */
.links {
  background-color: white;
  margin: 0px 11.5%;
  display: flex;
  border: 0.2rem inset;
  align-items: center;
}

.links > ul {
  border: 0.2rem ridge;
  width: 100%;
  height: 4rem;
  padding: 2% 0px 0px 10%;
}

.links > ul > li a {
  text-decoration: none;
  color: black;
}

.links > ul > li a:hover {
  color: red;
}

/* FIN LIENS */
footer {
  width: auto;
  background-color: #f2f2f2;
  color: grey;
  text-align: center;
  height: 5rem;
  padding-top: 1rem;
  margin-top: 1rem;
}

footer > p a {
  text-decoration: none;
  color: grey;
}

footer > p > a:hover {
  color: white;
}

/* FIN FOOTER */
/* RESPONSIVE */
@media (max-width: 1450px) {
  header {
    background-size: cover;
  }
}

@media (max-width: 1077px) {
  #burger {
    display: list-item;
  }

  #buzz,
  #links {
    display: none;
  }

  nav {
    margin: 0px;
  }
}

@media (max-width: 946px) {
  footer,
  .links {
    margin: 0px;
  }

  .titre,
  .bandeau {
    margin: 0px;
    width: 53%;
  }

  .container {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 2rem;
  }

  .logo > a > img {
    max-height: 60%;
    max-width: 60%;
  }
}

@media (max-width: 728px) {
  .links {
    flex-direction: column;
    width: 90%;
  }

  .links > ul > li {
    display: flex;
    justify-content: center;
  }

  .links > ul {
    width: 90%;
  }
}

@media (max-width: 616px) {
  article {
    display: flex;
    width: 100%;
    margin-bottom: 300px;
    border: 0.2rem inset;
    background-color: #ffffff;
    flex-direction: column;
    height: 40rem;
  }
}
/* FIN RESPONSIVE */
