@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap");

:root {
  --background-color: #efe7e5;
}

#badpaj {
  text-align: center;
}

.responsive {
  width: 100%;
  height: auto;
}

#titre {
  color: rgb(0, 0, 188);
  text-decoration: none;
}

#titre:hover {
  text-decoration: underline;
}

nav {
  background: #1f0392;
  font-size: 25px;
  margin-top: -5%;
  width: 146%;
  margin-left: -25%;
  position: sticky;
}

nav .main_pages {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav .main_pages a {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  color: white;
}

nav a:hover {
  background: #5A5766
}

#pageprec {
  font-size: 20px;
  text-decoration: none;
}

#debutpage {
  margin-top: 8%;
}

body {
  margin: 3% 15%;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

#centred {
  text-align: center;
}

p {
  line-height: 25px;
  display: flex;
}

nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style-type: none;
  font-weight: 500;
}

nav li {
  position: relative;
  margin-left: 40px;
  font-size: 15px;
  cursor: pointer;
}

nav li span {
  position: absolute;
  top: -5px;
  right: -28px;
}

header {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-left {
  flex: 6;
  margin-right: 50px;
}

header .header-left small {
  font-weight: bold;
  display: flex;
  align-items: center;
}

header .header-left h1 {
  font-size: 50px;
  font-weight: 400;
  margin-top: 15px;
}

header .header-left .links {
  margin-top: 80px;
}

header .header-left .links a {
  text-decoration: none;
  color: inherit;
  position: relative;
  margin-right: 40px;
  font-weight: bold;
}

header .header-left .links a span {
  position: absolute;
  top: -5px;
  right: -28px;
}

header .header-right {
  flex: 5;
}

.about {
  margin-top: 150px;
}

.about .signature {
  width: 30%;
  background-color: #efe7e5;
}

.about p {
  font-size: 20px;
  line-height: 30px;
  font-weight: 300;
}

.images {
  display: flex;
  margin-top: 60px;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}

.images .image-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.images .image-card .image-left {
  margin-right: 40px;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.images .image-card .image-left img {
  height: 200px;
  width: 400px;
}

footer {
  margin-top: 100px;
}

footer p {
  font-size: 15px;
}

@media screen and (max-width: 880px) {
  .images .image-card {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 621px) {
  header {
    flex-direction: column-reverse
  }

  header .header-left {
    margin-right: 0;
  }

  header .header-right {
    margin-bottom: 40px;
  }

  header .header-right img {
    width: 250px;
  }

  .images .image-card .image-left img {
    width: 100%;
  }
}

label,
#toggle {
  display: none;
}

@media all and (max-width: 991px) {
  nav {
    height: 60px;
  }

  nav .main_pages {
    display: none;
    flex-direction: column;
    background: #7564b8;
    height: 220px;
  }

  nav .main_pages a {
    width: 50%;
  }

  label {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }

  #toggle:checked+.main_pages {
    display: flex;
  }
}

hr {
  border: none;
  border-top: 3px double #333;
  color: #333;
  overflow: visible;
  text-align: center;
  height: 5px;
}