* {
  margin: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Cause', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  color: #2e2e2e;
}

#navigation-bar {
  background: linear-gradient(to right,  #521414, #9d2b38, #E68873, #9d2b38);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.change-language {
  display: none;
}

#navigation-bar h1 {
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  font-size: 35px;
  flex: 2;
  color: white;
}

.change-language {
  display: none;
}

.nav-head {
  display: flex;
  align-items: end;
  padding-right: 10px;
  padding-bottom: 10px;
}

#navigation-bar ul {
  background-color: #3B3739;
  display: flex;  
  flex: 1;
}

#navigation-bar ul li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style-type: none;
  height: 50px;
  color: white;
}

#navigation-bar ul li a {
  text-decoration: none;
  font-size: 16px;
  color: bisque;
  cursor: pointer;
  font-weight: 700;
}

#navigation-bar ul li a:hover {
  color: #ddbdbb;
  
}

#navigation-bar ul li a:focus {
  color: #c39c99;
}

#navigation-bar ul li a:visited {
  color: #CFC4C9;
}

main {
  flex: 5;
  padding: 10px;
  display: flex;
  background-color: #f0e2e1;
}

#main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
}

.qui-sommes-nous {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.qui-sommes-nous h1 {
  margin-top: 10px;
  font-size: 40px;
}

.qui-sommes-nous p {
  font-size: 19px;
}

.qui-sommes-nous h1, .qui-sommes-nous p {
  margin-bottom: 10px;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  gap: 10px;
}

.about-bubbles h2 {
  text-align: center;
}

.bubbles {
  display: flex;
  gap: 25px;
}

.about-bubbles {
  background-color: #F2C7BD;
  border: 1px solid black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  width: 50%;
  padding: 20px;
  margin-top: 10px;
  position: relative;
  text-align: initial;
}

.about-education, .about-workout {
  position: absolute;
  bottom: -40px;
  right: -30px;
  max-width: 100px;
  height: auto;
  transform: rotate(30deg);
}

.about-art {
  position: absolute;
  width: 100px;
  bottom: -40px;
  right: -30px;
  max-width: 100px;
  height: auto;
}

.mission {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  align-items: center;
  flex: 1;
  font-size: 19px;
  line-height: 1.5;
}

.mission h2 {
   font-size: 40px;
}

.public-cible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.public-cible h2 {
   font-size: 40px;
}

.public-cible ul {
  border: 1px solid black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  width: 60%;
  height: 200px;
  gap: 15px;
  padding-top: 20px;
  padding-bottom: 10px;
  position: relative;
  font-size: 20px;
}

#students-pic {
  width: 200px;
  position: absolute;
  bottom: -20px;
  right: -100px;
}

.ending-message {
  border: 1px solid black;
  padding: 20px;
  text-align: center;
  width: 80%;
  position: relative;
  margin-top: 30px;
  font-size: 20px;
  border-radius: 20px;
  background-color:#F2C7BD;
}

.top-star, .bottom-star {
  width: 100px; 
  position: absolute;
}

.top-star {
  top: -40px;
  left: -50px;
  transform: rotate(-30deg);
}

.bottom-star {
  bottom: -45px;
  right: -40px;
  transform: rotate(30deg);
}

.kids {
  width: 60%;
}

.premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
  margin-bottom: 20px;
}

.premium h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.premium ul {
  border: 1px solid black;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 20px;
  padding-right: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.discuter {
  display: flex;
  gap: 5px;
  align-items: center;
}

#speech-bubble {
  width: 75px;
  height: 50px;
}

footer {
  padding: 10px;
  padding-top: 30px;
  padding-left: 20px;
  background-color: #9d2b38;
  flex: 0.5;
  color: white;
  font-size: 18px;
  line-height: 1.5;
}

footer h4 {
  font-size: 25px;
  margin-bottom: 10px;
}

footer p {
  margin-bottom: 5px;
  
  font-weight: 700;
}

footer p a {
  text-decoration: none;
  color: white;
}

footer p a:hover {
  color: lightpink;
}

footer p a:visited {
  color: lightsalmon;
}



@media screen and (width <= 500px) {
  #students-pic {
    right: -80px;
  }
  
  .bottom-star {
    right: -30px;
  }
}


@media screen and (width <= 400px) {
  #students-pic {
    width: 120px;
    right: -40px;
  }
  
  .bottom-star {
    width: 75px;
    right: -30px;
    bottom: -30px;
  }
  
  .top-star {
    width: 75px;
    top: -30px;
    left: -40px;
  }
}

@media screen and (width <= 550px) {
  .kids {
    width: 80%;
  }
  
  .premium h2 {
    text-align: center;
  }
}

@media screen and (width <= 600px) {
  #navigation-bar ul {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  
  #navigation-bar h1 {
    text-align: center;
  }
}

@media screen and (width <= 950px) {
  .about-bubbles {
    width: 80%;
    text-align: center;
    padding: 40px;
    margin-bottom: 15px;
  }
  
  .bubbles {
    flex-direction: column;
    align-items: center;
  }
  
  .public-cible h2 {
    text-align: center;
  }
}