@charset "UTF-8";
/* Variables */
@import url("https://fonts.googleapis.com/css2? family= Parisienne & display=swap");
/* Mixins */
/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: parisienne, Arial, sans-serif;
  height: auto;
  line-height: 1.6;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
  background-color: #DFFED4;
}

/* Navigation Bar */
header {
  background: #1E8449;
  display: flex;
  align-items: center;
}

nav {
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0px;
}

nav ul {
  list-style-type: none;
}

nav ul li {
  float: left;
  width: 25%;
  text-align: center;
  position: relative;
}

nav ul::after {
  content: "";
  display: table;
  clear: both;
}

nav a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 10px 0px;
}

nav a:hover {
  color: black;
}

.sous {
  display: none;
  box-shadow: 0px 1px 2px #CCC;
  position: absolute;
  width: 100%;
}

.navbar-nav {
  margin-top: 10px;
}

nav > ul li:hover .sous {
  display: block;
}

.sous li {
  float: none;
  width: 100%;
  text-align: left;
}

.sous a {
  padding: 10px;
  border-bottom: none;
}

.sous a:hover {
  border-bottom: none;
  background-color: RGBa(200, 200, 200, 0.1);
}

.deroulant > a::after {
  content: " ▼";
  font-size: 12px;
}

/* Main Content */
.main {
  float: left;
  width: 70%;
  padding: 20px;
}

.article-horizon {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.article-horizon img {
  width: 400px;
  height: 250px;
  object-fit: cover;
}
.article-horizon p {
  font-size: 1.5rem;
  font-family: parisienne, Arial, sans-serif;
}
.article-horizon article {
  flex: 1 0 30%;
  margin: 1em;
}

/* Sidebar */
.sidebar {
  float: right;
  width: 30%;
  padding: 20px;
  background: #1E8449;
  color: #ffffff;
}
.sidebar #img-principal {
  width: 100%;
  height: auto;
}
.sidebar article {
  display: flex;
  align-items: center;
}
.sidebar article img {
  margin-right: 10px;
}

/* Footer */
footer {
  background: #1E8449;
  color: #ffffff;
  text-align: center;
  padding: 30px;
  margin-top: 30px;
}
footer ul {
  display: flex;
  align-items: center;
}
footer ul a {
  margin: 0 10px;
}
footer i {
  color: #ffffff;
  padding: 0 10px;
}

/* Style h1 and h2 */
h1 {
  color: #1E8449;
  font-size: 1.8em;
  margin-bottom: 0.5em;
  border: solid #1E8449 1px;
}

h1 p {
  font-size: 1em;
}

h2 {
  color: #DFFED4;
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.section > article > p {
  font-size: 2em;
}

/* Add some spacing between elements */
section,
article {
  margin: 50px 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Container */
  .container {
    width: 90%;
  }
  /* Main Content */
  .main {
    width: 70%;
  }
  /* Sidebar */
  .sidebar {
    width: 30%;
  }
  /* Navigation Bar */
  /* ... (adjust styles as needed) ... */
}
/* Desktop Styles */
@media (min-width: 1024px) {
  /* Container */
  .container {
    width: 80%;
  }
  /* Main Content */
  .main {
    width: 70%;
  }
  /* Sidebar */
  .sidebar {
    width: 30%;
  }
  /* Navigation Bar */
  /* ... (adjust styles as needed) ... */
}
/* Large Desktop Styles */
@media (min-width: 1440px) {
  /* Container */
  .container {
    width: 70%;
  }
  /* Main Content */
  .main {
    width: 60%;
  }
  /* Sidebar */
  .sidebar {
    width: 40%;
  }
  /* Navigation Bar */
  /* ... (adjust styles as needed) ... */
}

/*# sourceMappingURL=styles.css.map */
