*{
	font-family: Verdana, sans-serif;
	margin: 0px;
	padding: 0px;
}

html, body {
  scroll-behavior: smooth;
}

body{
  background-color: white;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/*MENU*/

nav {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 0;
    background-color: rgb(133, 131, 131);
    box-shadow: inset 0px -1px 0px gray;
    z-index: 2;
    justify-content: center;
  }
  
  .nav-icon img{
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 20px;
    border-radius: 8px;
  }
  
  .nav-icon span {
    font-family: Arial flex, sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: rgb(255, 255, 255);
  }
  
  .hamburger {
    display: none;
    margin-left: 20px;
  }
  
  .navlinks-container div,
  .navlinks-container button {
    margin: 10px 10px 10px 20px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: rgb(255, 255, 255);
    flex-direction: row;
    display: inline-block;
    position: relative;
  }

  .navlinks-container a {
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
  }
  
  .navlinks-container button {
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  nav .dropdown1,
  .dropdown3,
  .dropdown4 {
    position: relative;
  }
  
  nav .dropdown1.open,
  nav .dropdown3.open,
  nav .dropdown4.open{
    position: relative;
  }
  
  nav .dropdown1 .content,
  nav .dropdown3 .content,
  nav .dropdown4 .content{
    display: none;
  }

  nav .dropdown1 .content ul,
  nav .dropdown3 .content ul,
  nav .dropdown4 .content ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    background-color: rgb(133, 131, 131);
    width: fit-content;
    padding: 10px;
    text-align: center;
    border-radius: 10px 50px / 50px;
    border: 1px solid rgb(31, 30, 30);
    line-height: 40px;
  }
  
  nav .dropdown1 .content a:hover,
  nav .dropdown3 .content a:hover,
  nav .dropdown4 .content a:hover{
    text-decoration: underline;
  }

@media  screen and (min-width: 1255px){
  nav .dropdown1:hover .content,
  nav .dropdown3:hover .content,
  nav .dropdown4:hover .content{
    display: block;
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: transparent;
    width: 130%;
    margin-top: 0;
    padding: 0px 0px 0px 0px;
    box-sizing: border-box;
  }
}
  .navlinks-container div {
    cursor: pointer;
  }
  
  .navlinks-container button::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: #ffffff;
    transition: 70ms ease-out;
  }
  
  .navlinks-container button:hover::after {
    transform: scaleX(1);
  }
  
  @media screen and (max-width: 1255px) {
    nav {
      padding: 15px 0;
      position: relative;
    }
  
    .nav-icon {
      order: 2;
      margin: 0 auto;
      padding-right: 25px;
    }
  
    .nav-icon span {
      font-size: 22px;
    }
  
    .main-navlinks {
      order: 1;
    }
  
    .hamburger {
      width: 25px;
      height: 25px;
      cursor: pointer;
      border: none;
      display: flex;
      background-color: transparent;
      align-items: center;
      position: relative;
    }
  
    .hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: #ffffff;
      position: absolute;
      pointer-events: none;
      transition: opacity 0.3s 0.15s ease-out;
    }
  
    .hamburger span:nth-child(1),
    .hamburger span:nth-child(3) {
      transition: transform 0.3s ease-out;
    }
  
    .hamburger span:nth-child(1) {
      transform: translateY(7px);
    }
  
    .hamburger span:nth-child(1) {
      transform: translateY(7px);
    }
  
    .hamburger span:nth-child(3) {
      transform: translateY(-7px);
    }
  
    .hamburger.open span:nth-child(1) {
      transform: translate(0) rotate(135deg);
    }
  
    .hamburger.open span:nth-child(2) {
      opacity: 0;
      transition: opacity 0s ease-out;
    }
    
    .hamburger.open span:nth-child(3) {
      transform: translate(0) rotate(-135deg);
    }
  
    .navlinks-container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      position: absolute;
      background-color: rgb(133, 131, 131);
      top: 100%;
      left: 0;
      height: 100vh;
      border-right: 1px solid rgb(105, 104, 104);
      transition: transform 0.3s ease-out;
      transform: translate(-100%);
    }
  
    .open {
      transform: translate(0%);
    }
  
    .navlinks-container div {
      font-size: 12px;
      margin: 0;
    }
  
    .dropdown1,
    .dropdown2,
    .dropdown3,
    .dropdown4 {
      width: 100%;
    }
  
    nav .dropdown1 .content.open,
    nav .dropdown3 .content.open,
    nav .dropdown4 .content.open{
      width: 100%;
      flex-direction: column;
      display: flex;
    }
  
    nav .dropdown1 .content ul,
    nav .dropdown3 .content ul,
    nav .dropdown4 .content ul{
      width: 100%;
      background-color: transparent;
      flex-direction: column;
      display: flex;
      padding: 15px 0;
      line-height: 25px;
      border-radius: 0;
      border: none;
    }
  
    nav .navlinks-container div a {
      border-bottom: 0px;
    }
  
    nav .navlinks-container div.content {
      border-bottom: 1px solid black;
      border-top: 1px solid black;
    }
  }
  
  @media screen and (max-width: 500px) {
    .nav-icon span {
      font-size: 20px;
    }
  }


  /*SOUS LE MENU*/
  
  .image1{
    position: relative;
    text-align: center;
    color: rgb(255, 255, 255);
    padding-bottom: 10px;
  }
  
  .affiche1{
    background-image: url("logo/courJDA.jpg");
    background-position: center;
    background-size: 100% auto;
    width: 100%;
    height: 500px;
  }
  
  .affiche1_pastorale{
    background-image: url("logo/pastorale/pastorale.jpg");
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 600px;
  }

  .sous_image{
    width: 100%;
    height: auto;
    background-color: rgb(22, 162, 180);
    padding-bottom: 15px;
  }

  .sous_texte{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  .sous_texte img{
    height: 125px;
  }
  
  .texte1{
    font-size: 1.75em;
    font-family: Copperplate Gothic;
    font-weight: 900;
    line-height: 25px;
    padding-top: 10px;
  }

  .triangle{
    height : 0;
    width : 0;
    border-top : 125px solid rgb(22, 162, 180);
    border-right : 115px solid transparent;
    border-left : 115px solid transparent;
  }

  .premier{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    margin-top: 15px;
  }
  
  .texte2, .texte3{
    font-size: 1.5em;
    font-weight: 900;
    line-height: 30px;
    color: rgb(199, 16, 16);
    text-decoration: underline;
    margin: 0 15px 15px;
  }

  .rentree{
    display: flex;
    flex-direction: column;
    text-decoration: underline red;
    height: auto;
    border: 3px solid black;
    padding: 15px;
    border-radius: 20px;
    justify-content: center;
    width: fit-content;
  }

  .rentree p a{
    text-decoration: none;
    color: red;
  }

  .deux{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .deuxieme{
    margin: 15px;
    padding: 15px;
    border: 2px solid black;
    border-radius: 15px;
    text-align: center;
    line-height: 25px;
  }

  /*MEDIA QUERIES DEBUT PAGE ACCUEIL*/

  @media screen and (max-width: 1330px){
    .affiche1{
      background-size: 1330px auto;
    }

    .deux{
      flex-wrap: wrap;
    }
  }

  @media screen and (max-width: 1110px){
    .premier{
      flex-wrap: wrap;
    }
  }
  
  @media screen and (max-width: 850px){
    .deuxieme{
      margin: 15px;
    }
  }
  
  @media screen and (max-width: 766px){
    .affiche1{
      height: 250px;
      background-size: 800px auto;
    }
  
    .texte1{
      font-size: 1.5em;
    }
  
    .texte2, .texte3{
      font-size: 1.25em;
    }
  }
  
    @media screen and (max-width: 595px){
      .texte1{
        font-size: 1.15em;
      }

      .triangle{
        border-top : 110px solid rgb(22, 162, 180);
        border-right : 75px solid transparent;
        border-left : 75px solid transparent;
      }

      .sous_texte img{
        height: 100px;
      }
    }
  
    @media screen and (max-width: 450px){
      .rentree{
        margin: 0 15px 15px;
      }
    }

    /*SLIDER*/

    .slider {
      margin: 15px;
      width: 504px;
      height: 404px;
    }
    
    .slider-container {
      width: 504px;
      position: relative;
      margin: auto;
      height: 404px;
      overflow: hidden;
      border: 2px solid black;
      border-radius: 20px;
    }
    
    #slide-img {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      object-fit: cover;
      transition: opacity 0.4s ease-in-out;
    }
  
    #precedent, #suivant {
      font-family: Georgina, sans-serif;
      font-weight: 400;
      position: absolute;
      font-size: 50px;
      background-color: rgba(58, 58, 58, 0.692);
      color: rgba(255, 253, 253, 0.692);
      cursor: pointer;
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      height: 100%;
      padding: 0 5px;
    }
  
  
    @media screen and (min-width: 650px) {
    .slider-container:hover #precedent,.slider-container:hover #suivant {
      opacity: 1;
    }
    }
  
    #precedent {
      left: 0;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
    }
  
    #suivant {
      right: 0;
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
    }
  
    @media screen and (max-width: 650px) {
      #precedent, #suivant {
        padding: 0 15px;
      }
    }

    @media screen and (max-width: 605px) {
      
      .slider {
        width: 404px;
        height: 304px;
      }
      
      .slider-container {
        width: 404px;
        height: 304px;
      }
    }
  
    @media screen and (max-width: 410px) {
      
      .slider {
        width: 304px;
        height: 254px;
      }
      
      .slider-container {
        width: 304px;
        height: 254px;
      }
    }

    /*TROISIEME*/

    .troisieme{
      display: flex;
      flex-direction: column;
      margin: 25px 0;
      background-color: rgb(235, 234, 234);
      padding: 15px;
    }

    .texte_ecole{
      width: 75%;
      margin: auto;
    }

    /*QUATRIEME*/

    .quatrieme{
      display: flex;
      flex-direction: row;
      margin-bottom: 30px;
      justify-content: space-evenly;
      align-items: center;
    }

    .lien_utile{
      text-align: end;
      display: flex;
      flex-direction: column;
      line-height: 40px;
      width: 300px;
      margin: 0 25px;
    }

    .lieu_JDA{
      width: 350px;
      height: 350px;
      border-radius: 20px;
      border: 2px solid black;
      margin: 0 50px;
    }

    .secretariat{
      display: flex;
      flex-direction: column;
      line-height: 40px;
      width: 300px;
      margin: 0 25px;
    }

    @media screen and (max-width: 1085px){
      .quatrieme{
        flex-wrap: wrap;
      }

      .lieu_JDA{
        order: 3;
      }

      .lien_utile, .secretariat{
        text-align: center;
      }
    }

  /*Remonter en haut de la page*/

  #remonter{
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    justify-content: center;
    z-index: 4;
  }
    
  #progression-page {
    display: block;
    height: 55px;
    width: 55px;
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    font-size: 35px;
    color: #001a2e;
    justify-content: center;
  }
    
  #remonter:active{
    opacity: 0.5;
  }

  /*footer*/

  footer {
    position: static;
    flex-shrink: 0;
    width: 100%;
    background-color: rgb(22, 162, 180);
    background-size: 100% 100%;
  }

  .contenu-footer {
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    padding: 10px 0 10px;
    align-items: center;
  }

  .bloc {
    padding-top: 55px;
  }

  .footer-contact h3,
  .footer-contact p{
    color: rgb(255, 255, 255);
    font-size: 20px;
    padding-bottom: 20px;
    text-align: end;
  }

  .footer-formulaire{
    display: flex;
    text-align: center;
  }

  .footer-formulaire input{
    margin-top: 5px;
    padding: 10px;
    border: 1px solid rgb(0, 0, 0);
    outline-color: rgb(0, 0, 0);
    border-radius: 10px;
    width: 750px;
    background-color: #e4e2e2;
  }

  .footer-formulaire textarea{
    margin-top: 5px;
    padding: 10px;
    background-color: #e4e2e2;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    resize: none;
    width: 750px;
  }

  .footer-formulaire button{
    margin-top: 5px;
    padding: 10px;
    background-color: #e4e2e2;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 10px;
    width: 200px;
  }

  .footer-formulaire button:hover{
    background-color: #cccaca;
    cursor: pointer;
  }

  @media screen and (max-width: 1484px) {
    .contenu-footer {
      flex-wrap: wrap;
    }
    .bloc {
      padding-top: 0px;
    }

    .footer-contact h3,
    .footer-contact p{
      text-align: center;
    }

    .contenu-footer span {
      background: #484747;
      width: 80%;
      height: 3px;
      border-radius: 5px;
      margin-bottom: 20px;
    }
  }

  @media screen and (max-width: 790px) {
    .footer-formulaire input,
    .footer-formulaire textarea{
      width: 375px;
      padding: 10px 0 10px 5px;
    }
  }

  @media screen and (max-width: 410px) {
    .footer-formulaire input,
    .footer-formulaire textarea{
      width: 290px;
      padding: 10px 0 10px 5px;
    }
  }



  /*PAGE PASTORALE*/
  .contenu_page_pastorale{
    display: flex;
    width: 100%;
  }

  .info_pasto{
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    text-align: center;
    margin-bottom: 25px;
    height: 800px;
    overflow-y: scroll;
  }

  @media screen and (max-width: 776px) {
    .info_pasto{
      display: flex;
      flex-direction: column;
      padding-top: 20px;
      text-align: center;
      margin-bottom: 25px;
      height: auto;
    }

    .info_pasto .actus{
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  .info_pasto h2{
    margin-bottom: 15px;
  }

  .info_pasto img{
    width: 200px;
    height: 150px;
    margin: 0 10px;
    border-radius: 3px;
    border: 2px solid rgb(65, 64, 64);
    transition: all 0.1s ease-in;
  }

  .info_pasto img:hover{
    cursor: pointer;
    filter: blur(1.5px) brightness(0.75);
    transform: scale(1.01);
  }

  .actus > div{
    margin-bottom: 25px;
  }

  @media screen and (max-width: 776px) {
    .contenu_page_pastorale{
      flex-direction: column;
    }
  }
  
  .contenu_livre {
    display: flex;
    flex: 2;
    justify-content: space-evenly;
    align-items: center;
  }

  .livre {
    position: relative;
    display: flex;
    width: 500px;
    height: 750px;
    transition: transform 0.5s;
    text-align: center;
  }

  .page{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    perspective: 1500px;
  }

  .page > div {
      width: 500px;
      height: 750px;
      position: absolute;
      top: 0;
      left: 0;
      border: 3px solid rgb(141, 74, 48);
      background-color: rgb(175, 138, 37);
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.5s ease-in-out;
      transform-origin: left;
  }

  .page.flipped > div {
    transform: rotateY(-180deg);
  }

  .devant,
  .derriere {
    position: absolute;
  }

  .devant {
    z-index: 1;
    backface-visibility: hidden;
    border-radius: 20px;
  }

  .derriere {
      z-index: 0;
  }

  .page > div > img {
      width: 95%;
      height: 95%;
      border-radius: 15px;
  }

  .page > .derriere > img,
  .page > .derriere > h3 {
    transform: rotateY(180deg);
  }

  button#next-btn,
  button#prev-btn {
      border: none;
      background-color: transparent;
      cursor: pointer;
      margin: 10px;
      transition: transform 0.5s;
      font-size: 50px;
      z-index: 1;
  }

  button:focus {
      outline: none;
  }

  button:hover p {
      color: #636363;
  }


/*livre resize*/

div.livre_slide{
  width: 500px;
  height: 750px;
  border: 3px solid rgb(143, 110, 20);
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
  margin: 0 auto 25px;
  padding: 10px;
  background-color: rgb(206, 162, 40);
}
    
#page_slide,
#page_slide_2 {
  border-radius: 17px;
  position: absolute;
  width: 500px;
  height: 750px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transform-origin: top left;
}

@media screen and (max-width: 544px){
  div.livre_slide{
    width: 400px;
    height: 650px;
  }
      
  #page_slide,
  #page_slide_2 {
    width: 400px;
    height: 650px;
  }
}

@media screen and (max-width: 430px){
  div.livre_slide{
    padding: 5px;
    width: 300px;
    height: 550px;
  }
      
  #page_slide,
  #page_slide_2 {
    width: 300px;
    height: 550px;
  }
}

#page_precedente, #page_suivante {
  font-family: Georgina, sans-serif;
  font-weight: 400;
  position: absolute;
  font-size: 50px;
  background-color: rgba(58, 58, 58, 0.692);
  color: rgba(255, 253, 253, 0.692);
  cursor: pointer;
  opacity: 0;
  display: flex;
  align-items: center;
  height: 100%;
  width: 50%;
  z-index: 2;
}
 
#page_precedente {
  left: 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#page_suivante {
  right: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

div.galerie{
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto;
  gap: 15px;
  border-radius: 20px;
  justify-content: center;
  width: 75%;
}

div.galerie img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 7px;
}

.galerie img:hover{
  cursor: pointer;
  filter: blur(1.5px) brightness(0.75);
  transform: scale(1.01);
}

.galerie_grand{
  position: fixed;
  width: 100vw;
  height: 100vh;
  color: rgb(53, 52, 52);
  background-color: rgba(12, 12, 12, 0.8);
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: space-evenly;
}

.galerie_grand img{
  width: 80%;
  border-radius: 5px;
}

.prev_photo,
.next_photo{
  position: absolute;
  background-color: transparent;
  border: none;
  cursor: pointer;
  height: 100%;
  width: 50%;
}

.prev_photo{
  left: 0;
}

.next_photo{
  right: 0;
}

.close_photo{
  position: absolute;
  font-size: xxx-large;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  right: 40px;
  top: 20px;
  transition: transform 0.1s ease;
}


.close_photo:hover{
  transform: scale(1.05);
}
/*PAGE TARIFS*/


.choix {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.choix button{
  font-size: 1.5em;
  padding: 10px;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 15px;
  cursor: pointer;
}

.choix button:hover{
  background-color: rgb(226, 225, 225);
}

/*tableau*/

div.tab_container1,
div.tab_container2,
div.tab_container3{
  width: 90%;
  margin: 20px auto;
  overflow-x: scroll;
  flex-shrink: 0;
}

table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  letter-spacing: 1px;
  margin: auto;
  text-align: center;
}

thead{
  background-color: rgb(31, 56, 100);
  color: aliceblue;
  border: 1.5px solid gray;
}

tbody{
  background-color: rgb(245, 244, 244);
  color: rgb(23, 24, 24);
  border: 1.5px solid rgb(43, 42, 42);
}

tr, th, td{
  border: 2px solid rgb(43, 42, 42);
  padding: 10px 10px;
}

p.regime{
  color: rgb(31, 56, 100);
  font-weight: bold;
  margin: auto;
  text-align: center;
  padding: 0 15px 30px;
}

div.bottom{
  height: 75px;
  flex-shrink: 0;
}


/*PAGE ECO-ECOLE*/

div.info_eco{
  margin: 25px auto 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 60%;
}

div.info_eco p.info{
  font-weight: 600;
  margin-bottom: 15px;
}

div.info_eco p.info a{
  color: rgb(52, 197, 16);
}

div.container_video{
  text-align: center;
  display: flex;
  flex-wrap: wrap;
}

div.video{
  margin: auto;
  text-align: center;
  margin-top: 25px;
}

div.video iframe{
  width: 560px;
  height: 315px;
  border-radius: 15px;
  border: 2px solid rgb(41, 100, 27);
  box-shadow: 1px 3px 10px rgb(116, 145, 89);
  margin: 0 15px;
}

div.video h3{
  margin-bottom: 10px;
  color: rgb(41, 153, 12);
  text-decoration: underline;
}

@media screen and (max-width: 610px) {
  div.video iframe{
    width: 450px;
    height: 255px;
  }

  div.info_eco{
    max-width: 80%;
  }
}

@media screen and (max-width: 490px) {
  div.video iframe{
    width: 400px;
    height: 220px;
  }
}

@media screen and (max-width: 420px) {
  div.video iframe{
    width: 290px;
    height: 165px;
    margin: 0;
  }

  div.info_eco{
    max-width: 95%;
  }
}


/*PAGE ORIENTATION*/

div.spe{
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: large;
  margin-top: 15px;
}

div.spe div{
  display: flex;
  flex-direction: column;
}

div.spe div label{
  margin-bottom: 10px;
  text-decoration: underline;
}

div.spe div .spe1,
div.spe div .spe2,
div.spe div .spe3{
  border-radius: 15px;
  border: 1px solid rgb(0, 0, 0);
  padding: 5px;
}

div.charger{
  margin: 15px auto 0;
}

div.charger button{
  border: 1px solid rgb(0, 0, 0);
  border-radius: 15px;
  padding: 5px;
  font-size: large;
}

div.organigramme.open{
  display: flex;
  justify-content: space-evenly;
  margin-top: 15px;
}

div.organigramme.open div{
  display: flex;
  flex-wrap: wrap;
  width: 200px;
  height: 100px;
  background-color: rgb(151, 235, 126);
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: large;
  border: 1px solid rgb(83, 196, 55);
}
