@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --header_height: 100px;
  --seeds_blue: #233468;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-image: url("images/Landscape\ Paper\ Bg.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  /* overflow-y: hidden; */
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  min-height: 100px;
  background-color: var(--seeds_blue);
  /* background-color: #333; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  /* position: absolute; */
  z-index: 3;
}

header .logo {
  height: 100%;
  display: flex;
  align-items: center;
}

header .logo img {
  width: auto;
  height: 65%;
  margin-inline: 50px;
}

/* Mobile toggle button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-right: 20px;
}

header a {
  color: #fff;
  text-decoration: none;
  margin-inline: 20px;
  text-align: center;
  font-weight: inherit;
  transition: 0.5s;

}

header nav ul {
  list-style-type: none;
  margin-inline: 10px;
  display: flex;
  display: flex;
  flex-wrap: nowrap;
  padding-left: 0;
}

header nav {
  display: flex;
}

#pg1 {
  background-color: #e8255b;
  padding: 10px;
  border-radius: 10px;
  transition: 0.5s;
}

#pg1:hover {
  color: #e8255b;
  background-color: #fff;
}

#pg2 {
  background-color: var(--seeds_blue);
  padding: 10px;
  border-radius: 10px;
}

#pg2:hover {
  color: #4966be;
  background-color: #fff;
}

.dropdown {
  overflow: hidden;

}

.dropdown .dropbtn {
  font-size: 1rem;
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  font-weight: inherit;
  margin: 0;
  text-align: center;
  margin-inline: 10px;
  transition: 0.5s;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #4966be;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 15px;
  margin-left: 10px;
  margin-top: 5px;
}

.dropdown-content a {
  color: #233468;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  margin-right: 5%;
  background-color: #e72b60;
  line-height: 2rem;
  padding: 5px;
  border-radius: 5px;
  transition: 0.3s;
}

.menu-toggle:hover {
  background-color: white;
  color: #e72b60;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .pages {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    background-color: rgba(35, 52, 104, 0.8);
    /* var(--seeds_blue) 50% transparent */
    position: fixed;
    top: 100px;
    /* below header which is 100px tall */
    left: 0;
    right: 0;
    bottom: 0;
    transition: max-height 0.4s ease;
    z-index: 999;
    /* above everything */
  }

  .pages nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0;
    height: 60vh;
    width: 100vw;
  }

  .pages {
    display: none;
  }

  /* When active, show menu */
  .pages.active {
    display: block;
    max-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    width: 100vw;
  }

  .pages nav ul a,
  .dropdown .dropbtn {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
    border-radius: 0;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1.5rem;
  }

  #pg2 {
    background-color: transparent;
    padding: 10px;
    border-radius: 0px;
    width: 100vw;
  }


  .dropdown-content {
    position: static;
    background-color: rgba(35, 52, 104, 1);
    /* semi-transparent by default */
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
    position: absolute;
    width: 100vw;
    justify-content: center;
    justify-self: center;
    border-radius: 30px;
  }

  .dropdown-content a {
    background-color: transparent;
    color: white;
    padding: 15px 20px;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
  }

  .dropdown-content a:hover {
    background-color: white;
    color: var(--seeds_blue);
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }


  .warning_date p {
    font-size: 1rem;

  }

  .appel h2 {
    font-size: 1.5rem;
    color: #fff;
    background-color: #fdd800;
    padding: 20px 30px;
    border-radius: 20px;
    margin: 0;
  }


}

.banner {
  /* height: calc(100vh - var(--header_height)); */
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: center;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.main_banner img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;

}

.edition {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 35%;
}

.edition img {
  width: 20%;
  height: auto;
}

.phrase {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  left: 50px;
  top: 55%;
}

.phrase img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.phrase p {
  color: #fdd800;
  font-weight: bold;
}

.start {
  position: absolute;
  top: 30%;
  left: 50px;
  width: 50%;
  justify-content: space-between;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.countdown {
  width: 50%;
  color: #fff;
  background-color: #e72b60;
  padding-inline: 20px;
  border-radius: 20px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}

.motto {
  position: absolute;
  bottom: 2%;
  color: #fff;
  font-weight: bold;
}

.banner2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--seeds_blue);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 5vh;
  min-height: 70vh;
  width: 100vw;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.banner2 img {
  width: 135%;
  position: absolute;
  top: -70%;
}

.banner2 p {
  font-weight: bold;
  font-size: 3rem;
}

hr {

  margin-top: 5vh;
  border: solid #ff0c49 1px;
  width: 90vw;
}

.savoir_plus {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.savoir_plus button {
  padding: 20px 30px;
  border: none;
  margin-inline: 30px;
  margin-bottom: 2vh;
  border-radius: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: bold;
}

#infos_seeds {
  background-color: #8bc861;
  transition: 0.3s;
  border: #8bc861 solid;
}

#infos_seeds:hover {
  color: #8bc861;
  background-color: #fff;

}

#pourquoi {
  background-color: #e72b60;
  transition: 0.3s;
  border: #e72b60 solid;
}

#pourquoi:hover {
  color: #e72b60;
  background-color: #fff;
}



/* Popup overlay */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* Hidden by default */
.hidden {
  display: none;
}

/* Popup content box */
.popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  position: relative;
  color: var(--seeds_blue);
  display: flex;
}

/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  font-weight: bold;
  background-color: #e72b60;
  color: #fff;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  border-radius: 50%;
  padding: 5px;
}

/* .popup-logo {
  max-width: 120px;
  margin-bottom: 20px;
} */

.application {
  display: flex;
  justify-content: center;
  margin-top: 10vh;
  margin-bottom: 10vh;
  z-index: 3;
  position: relative;
}

.application button {
  /* width: 400px; */
  padding: 30px 60px;
  border: none;
  /* margin-inline: 30px; */
  border-radius: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 2rem;
  font-weight: bold;
  background-color: #00b2dc;
  transition: 0.5s;
  border: #00b2dc solid;
  z-index: 2;
}

.application button:hover {
  background-color: #fff;
  color: #00b2dc;
}

.left-leaves,
.right-leaves {
  position: absolute;
  top: 50%;
  pointer-events: none;
  z-index: 1;
}

.left-leaves {
  left: 1vh;
}

.right-leaves {
  right: calc(0px + 2vh);
}

.left-leaves img,
.right-leaves img {
  position: absolute;
  transition: transform 0.3s ease;
}

#rl,
#ol,
#yl,
#gl,
#rr,
#or,
#yr,
#gr {
  transform-origin: bottom center;
  width: 1vh;
  transition: transform 0.5s ease;

}

.application {
  transform: scale(1.5);
  transition: 0.5s ease;
}

.application:hover #rl {
  transform: scale(6) rotate(-36deg);
}

.application:hover #ol {
  transform: scale(6) rotate(-72deg);
}

.application:hover #yl {
  transform: scale(6) rotate(-108deg);
}

.application:hover #gl {
  transform: scale(6) rotate(-144deg);
}

.application:hover #rr {
  transform: scale(6) rotate(36deg);
}

.application:hover #or {
  transform: scale(6) rotate(72deg);
}

.application:hover #yr {
  transform: scale(6) rotate(108deg);
}

.application:hover #gr {
  transform: scale(6) rotate(144deg);
}

.phase_section {
  margin-top: 5vh;
}

.phase_section p {
  font-size: 2rem;
  color: white;
  background-color: var(--seeds_blue);
  padding: 20px 40px;
  border-radius: 20px;
  font-weight: bold;
}

.phases {
  width: 80vw;
  justify-self: center;
  position: relative;
  margin-top: 2vh;
}

.phase_card {
  border: 5px solid #fdd800;
  width: 300px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1.5rem;
  background-color: #fff;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
  margin: 30px;
}



.phase_card .title {
  font-weight: bolder;
  font-size: 1.7rem;
}

#p1 {
  color: #e72b60;
}

.phase_card .web {
  color: #fdd800;
  font-weight: bold;
  background-color: #e72b60;
  width: 70%;
  display: flex;
  justify-content: center;
  padding: 10px 5px;
  border-radius: 20px;
}

.phase_card .web p {
  margin: 0;
}

#p2 {
  color: #00b2dc;
}

.roses_trust_logo {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.roses_trust_logo img {
  width: 150px;
}

#p3 {
  color: #8bc861;
}

.phase_card .description {
  color: #233468;
}

.phase1 {
  display: flex;
  align-items: center;
}

.phase2 {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.phase3 {
  display: flex;
  align-items: center;
}

.phase_logo {
  width: 15%;
  display: flex;
  align-items: center;
}

.phase1 .phase_logo img,
.phase2 .phase_logo img,
.phase3 .phase_logo img {
  width: 100%;

}

.phase-arrows {
  position: absolute;
  top: 160px;
  /* adjust as needed */
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.arrow1 {
  width: 15vw;
  align-self: flex-end;
}

.arrow2 {
  width: 15vw;
  align-self: flex-end;
}

.arrow12 {
  display: none;
}

.arrow22 {
  display: none;
}

.cette_annee {
  margin-top: 30px;
  width: 80vw;
  justify-self: center;
  display: flex;
  justify-content: space-around;
}

.cette_annee .phase_logo {
  margin-inline: 20px;
  width: 30%;
}

.description2 p {
  margin-inline: 20px;
  font-size: 1.5rem;
  color: #3a7711
}

.warning_date {
  font-size: 2rem;
  font-weight: bold;
  color: var(--seeds_blue);
}

.date_limite {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date_limite .date h2 {
  font-size: 2rem;
  color: #fff;
  background-color: #233468;
  padding: 20px 30px;
  border-radius: 20px;
}

.limite {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  color: #233468;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.countdown2 {
  width: 40%;
  color: #fff;
  background-color: #e72b60;
  padding-inline: 20px;
  border-radius: 20px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}


.jury {
  width: 80vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}

.jury_title {
  background-color: #8bc861;
  color: #fff;
  text-align: center;
  padding: 5px 40px;
  border-radius: 20px;
}

.jury_title p {
  font-size: 1.5rem;
  font-weight: bold;
}

.jury_space {
  display: flex;
  width: 100%;
  justify-content: center;
}

.jury_identity {
  display: flex;
  margin-top: 80px;
  margin-inline: 2%;
}

.jury_card {
  width: 100%;
  height: 300px;
  background-color: #233468;
  padding: 30px;
  border-radius: 30px;
}

.jury_image {
  object-fit: cover;
}

.jury_name {
  color: #fff;
}


footer {
  background-color: var(--seeds_blue);
  min-height: 50vh;
  width: 100vw;
  margin-top: 70px;
}

.footer_color {
  height: 2vh;
  display: flex;
}

.footer_color .blue {
  width: 25vw;
  height: 100%;
  background-color: #00b2dc;
}

.footer_color .red {
  width: 25vw;
  height: 100%;
  background-color: #e72b60;
}

.footer_color .green {
  width: 25vw;
  height: 100%;
  background-color: #8bc861;
}

.footer_color .yellow {
  width: 25vw;
  height: 100%;
  background-color: #fdd800;
}

.footer_contents {
  display: flex;
  margin-top: 30px;
  width: 80vw;
  justify-content: space-between;
  justify-self: center;
}

.footer_contacts a,
.footer_links a {
  color: white;
  text-decoration: none;

}

.footer_contacts .phone,
.footer_contacts .email,
.footer_contacts .facebook {
  display: flex;
  align-items: center;
}

.footer_contacts .facebook svg {
  fill: white;
  width: 1.5rem;
  margin-right: 1rem;
}

.footer_contacts .email i,
.footer_contacts .phone i {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  justify-self: center;
}

.footer_links {
  display: flex;
  flex-direction: column;
  align-items: end;

}

.footer_links a {
  margin-bottom: 12px;
}

@media (max-width: 768px) {

  html {
    overflow-x: hidden;
  }

  .banner {
    /* height: calc(100vh - var(--header_height)); */
    height: 100vh;
    width: 100vw;
    position: relative;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    /* z-index: 2; */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner .main_banner {
    display: flex;
    justify-content: right;
  }

  .banner .main_banner img {
    z-index: -1;
    width: auto;
    object-fit: fill;
    transform: translateX(-15%);
  }

  .edition {
    width: 100%;

  }

  .edition img {
    width: 50%;
    height: auto;
    position: static;
  }

  .phrase {
    width: 80vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    bottom: 0%;

  }

  .phrase img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: static;
    justify-self: center;
  }

  .phrase p {
    color: #fdd800;
    font-weight: bold;
    text-align: center;
  }

  .start {
    position: absolute;
    top: 5%;
    left: 15%;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
  }

  .start p {
    font-size: 1.2rem;
    text-align: center;
  }

  .countdown {
    width: 80%;
    color: #fff;
    background-color: #e72b60;
    padding-inline: 20px;
    border-radius: 20px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
  }

  .motto {
    position: absolute;
    bottom: 2%;
    color: #fff;
    font-weight: bold;
  }


  .banner2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--seeds_blue);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 5vh;
    min-height: 40vh;
    width: 100vw;
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .banner2 img {
    width: 135%;
    position: absolute;
    top: -10%;
  }

  .banner2 p {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
  }

  hr {

    margin-top: 5vh;
    border: solid #ff0c49 1px;
    width: 90vw;
  }

  .savoir_plus {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .savoir_plus button {
    padding: 20px 30px;
    border: none;
    margin-inline: 30px;
    margin-bottom: 2vh;
    border-radius: 20px;
    color: #fff;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: bold;
  }

  #infos_seeds {
    background-color: #8bc861;
    transition: 0.3s;
    border: #8bc861 solid;
  }

  #infos_seeds:hover {
    color: #8bc861;
    background-color: #fff;

  }

  .popup-content {
    width: 300px;
    max-width: 60vw;
  }

  .application button {
    /* width: 400px; */
    padding: 20px 40px;
    border: none;
    /* margin-inline: 30px; */
    border-radius: 20px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    background-color: #00b2dc;
    transition: 0.5s;
    border: #00b2dc solid;
    z-index: 2;
  }

  .application:hover #rl {
    transform: scale(2.5) rotate(-36deg);
  }

  .application:hover #ol {
    transform: scale(2.5) rotate(-72deg);
  }

  .application:hover #yl {
    transform: scale(2.5) rotate(-108deg);
  }

  .application:hover #gl {
    transform: scale(2.5) rotate(-144deg);
  }

  .application:hover #rr {
    transform: scale(2.5) rotate(36deg);
  }

  .application:hover #or {
    transform: scale(2.5) rotate(72deg);
  }

  .application:hover #yr {
    transform: scale(2.5) rotate(108deg);
  }

  .application:hover #gr {
    transform: scale(2.5) rotate(144deg);
  }

  .left-leaves,
  .right-leaves {
    position: absolute;
    top: 30%;
    pointer-events: none;
    z-index: 1;
  }

  .phase_section p {
    font-size: 1.5rem;
    color: white;
    background-color: var(--seeds_blue);
    padding: 20px 40px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
  }

  .phase_logo {
    width: 30%;
  }

  .phase1,
  .phase2,
  .phase3 {
    flex-direction: column;
  }

  .arrow1 {
    display: none;
  }

  .arrow2 {
    display: none;
  }

  .arrow12,
  .arrow22 {
    display: block;
    width: 40vw;
    align-self: center;
    margin-bottom: 3rem;
  }

  .cette_annee {
    flex-direction: column;
    align-items: center;
  }

  .cette_annee .description2 p {
    text-align: center;
  }

  .countdown2 {
    width: 80%;
  }

  .limite {
    width: 100%;
  }

  footer {
    background-color: var(--seeds_blue);
    min-height: 50vh;
    width: 100vw;
    margin-top: 70px;
  }

  .footer_contents {
    display: flex;
    margin-top: 30px;
    width: 80vw;
    justify-content: space-between;
    justify-self: center;
  }

  .footer_contacts a,
  .footer_links a {
    color: white;
    text-decoration: none;

  }

  .footer_contacts .phone,
  .footer_contacts .email,
  .footer_contacts .facebook {
    display: flex;
    align-items: center;
  }

  .footer_contacts .phone p,
  .footer_contacts .email p,
  .footer_contacts .facebook a {
    font-size: .7rem;
  }

  .footer_contacts .facebook svg {
    fill: white;
    width: 1.5rem;
    margin-right: 1rem;
  }

  .footer_contacts .email i,
  .footer_contacts .phone i {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    justify-self: center;
  }

  .footer_links {
    display: flex;
    flex-direction: column;
    align-items: end;

  }

  .footer_links a {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }


  .footer_links a {
    text-align: right;
  }

  .footer_links #pg1 {
    width: 40%;
    text-align: center;
  }

}