/* Basic Reset */
* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  margin-left: 0px;
  margin-right: 0px;
}
body {
  font-family: 'Raleway', serif;
  line-height: 1.6;
}

.page {
margin-top: 60px;
margin-right: 12%;
margin-left: 12%;
}



.prog h2{
  margin-right: 12%;
  margin-left: 12%;
}

.prog .tab-prog{
  margin-right: 5%;
  margin-left: 5%;
  text-align: center;
}

.prog .tab-prog table{
  text-align: center;
  align-items: center;
  width: 100%;
}

.partenaire {
  position: relative;
  z-index: 1;
}


.partenaire h2{
  margin-right: 12%;
  margin-left: 12%;
}

.partenaire .sponsor{
  margin-right: 12%;
  margin-left: 12%;
}

div.barre-nav {
  background-color: black;
  height: 20px;

}

div.diplonemid {
  background: url(diplonemid-culture.jpg) no-repeat center/cover;
  height: 130px; 
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}


.navbar {
  display: flex;
  gap: 10px;
  background-color: #043857; 
  height: 50px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
  font-size: 18px;
  font-weight: bold;
  font-family: Arial;
}

.navbar a:hover {
  background-color: #8bdad456;
  border-radius: 0px;
}


div.titre {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  font-size: 30px;
  margin: 0;
  background: url(virtual.png) no-repeat center/cover;
  height: 500px;
  position: relative;
}

div.titre p{
  font-size: 40px;
  font-weight: bold;
  color: white;
  font-family: Arial, sans-serif;
}

div.barre-verticale {
  width: 3px;
  height: 50px;
  background-color: white;
  margin: 0 10px; 
}

div.date-format {
  text-align: center;
  display: flex;
  justify-content: center; 
  align-items: center; 
}
  h1 {
    font-size: 70px;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
  }


  section h2{
    font-size: 35px;
    font-family: Arial, sans-serif;
    color: white;
    display: inline-block;
    background-color: #0e547cfb;
    margin-bottom: 35px;
  }

  section p{
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    font-family: 'Raleway', serif;
    text-align: justify;

  }

  .format{
      font-size: 18px;
  }

  div.deadlines {
    margin-bottom: 70px;
  }

  div.deadlines p.date{
    font-weight: bold;
    color: #ad7806;
    margin-bottom: 15px;
  }
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

div.fond-decran {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/static/conference/bib.png') no-repeat center/cover;
    min-height: calc(100vh - 280px); 
    position: relative;
}

/* Footer */
footer.register-footer {
  background-color: #27a0be ;
  color: white;
  height: 280px;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}


/* Header */
header.register-form {
  z-index: 3; 
  padding: 20px;
  background-color: #27a0be ;
}

.haut-register h1 {
  font-size: 35px;
}


/* Style du formulaire */
.formulaire {
  position: relative;
  z-index: 1; 
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  width: 60%;
}

.formulaire .register{
  height: 1100px;
}

.formulaire .abstract{
  height: 1400px;
}

.formulaire form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.formulaire label{
  font-size: 18px;
}

.formulaire input,
.formulaire button {
  padding: 10px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.formulaire button {
  background-color: #007BFF;
  color: white;
  cursor: pointer;
}

a.back-home-form{
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  font-family: Arial;
  background-color: #0a9cc0;
  color: white;
  bottom: 1px;
  left: 1px;
  border: 2px solid white;
  text-decoration: none;
}

a.back-home-form:hover{
  background-color: #78c5d8
}

div.errorlist{
  color: red;
  margin-top: 30px;
  font-size: 20px;
}

.formulaire-success{
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  width: 60%;
  height: 750px;
}

/* FORMULAIRE  FORMULAIRE FORMULAIRE FORMULAIRE FORMULAIRE FORMULAIRE FORMULAIRE FORMULAIRE */


div.separateur-section{
    height: 5px;
    background-color: #043857;
    margin-top: 10px;

}

div.separateur-debut{
  height: 5px;
  background-color: #043857;
  margin-top: 150px;
}


.themes-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 35px;
  padding: 0px;
  align-items: center;
  justify-content: center; 
  margin-bottom: 80px;
  margin-top: 45px;
}

.theme-box {
  font-weight: bold;
  padding: 5px;
  color: #ffffff;
  font-size: 25px;
  font-family: 'Raleway', serif;
  text-align: center;
  border-radius: 0px;
  height: 90px;
  box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.1);
}

.theme1 {
  background-color: #07626e;
}

.theme2 {
  background-color: #0b7daa;
}

.theme3 {
  background-color: #254946;
}

.theme4 {
  background-color: #0e547cfb;
}



.theme {
  font-weight: bold;
  font-size: 14px;
}

a.clic {
  padding: 5px;
  background-color: #1382c2;
  color: white;
  font-size: 24px;
  margin-bottom: 80px
}

a.clic:hover{
  background-color: #64bef1;
}


/*##########################################ORGANIZERS##########################################*/
.box-organizer{
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.organizer-box {
  width: 40%;
  border-radius: 0px;
  color: white;
  margin-bottom: 80px;
}

div.name {
  margin-bottom: 10px;
  text-align: center;
  background-color: #ad7806; 
}

div.name  {
  text-align: center;
  font-weight: bold;
  font-size: 20px;

}

div.name a{
  font-weight: bold;
  text-decoration: none;
  color: white;
  font-size: 20px;
}

div.name a:hover{
  color: #f0db97;
}

.institute {

  color: black;
  padding: 20px;
}

.institute p.org {
    font-size: 20px;
    text-align: left;
}

.image-organizer img {
  width: 200px;
  height: 250px;
  object-fit: cover;
}

.image-organizer{
  text-align: center;
}

/*##########################################SPONSORS##########################################*/
.sponsor {
  margin-top: 40px;
  margin-bottom: 80px;
  display:flex;
}

.sponsor li {
  margin-bottom: 20px;
  width:22%;
  text-align: left;
}

.sponsor ul {
  display: flex;
  gap: 40px; 
  flex-wrap: wrap;
  list-style: none; 
  padding: 0; 
  margin: 0; 
  width:auto;
  justify-content: center;

}

.sponsor a{
  font-size: 18px;
  text-align: left;
  color: black;
  font-weight: bold;
  text-decoration: none;
}

.sponsor a:hover{
  color: #1382c2;
}
/**/
footer {
  background-color: #043857;
  height: 420px;
}
div.contact p.footer-contact{
  font-size: 40px;
  color: #ad7806;
  font-weight: bold;
 }

.contact {
  padding-top: 30px; 
  margin-left: 80px;

}


.contact a{
  font-size: 20px;
  padding: 0;
  text-decoration: none;
  color: white;
  font-weight: bold;
}


.copyright{
  color: white;
  margin-top: 38px;
  font-size: 12px;
  bottom: 0;
  text-align: center;
}

.design {
  margin-right:80px;
  align-self: flex-end; 
  text-align: right; 
}

.design a{
  font-size: 20px;
  padding: 0;
  color: white;
  font-weight: bold;
}


div.design p.footer-design{
  font-size: 40px;
  color: #ad7806;
  font-weight: bold;
 }

.footer-container {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    position: relative;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    .table-tableau {
        overflow-x: auto;
        width: 100%;
    }
    table {
        width: auto; 
        min-width: 600px; 
      }

    h1 {
      font-size: 30px;
      text-align: center;
      margin-top: 10px;
    }


    div.barre-verticale{
      height: 30px;
    }

    div.titre p{
      font-size: 18px;
    }

    div.theme-box {
      font-size: 15px;
      height: 120px;
    }



    .navbar {
      display: none; 
      flex-direction: column;
      width: 100%;
      background-color: #043857;
      position: relative; 
      height: auto;
      padding: 0 10 0 0;
  }

  .navbar.active {
      display: inline-block; 
  }

  .navbar a {
      display: block; 
      background-color: #043857; 
      color: white;
      padding: 12px;
      text-align: left;
      border-bottom: 1px solid white;
      width: 100%;
  }

  /* Bouton de menu */
  .menu-toggle {
      display: block;
      background-color: #043857;
      color: white;
      border: none;
      font-size: 24px;
      cursor: pointer;
      width: 100%;
      padding: 10px;
      text-align: left;
      position: relative; 
  }

  section h2{
    font-size: 25px;
    margin-bottom: 35px;
  }

  section p{
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
  }

  .format{
      font-size: 12px;
  }

  a.clic {
    font-size: 15px;
  }
  div.separateur-debut{
    margin-top: 75px;
  }

  .box-organizer{
    display: block;
    padding-bottom: 20px;
  }


  .organizer-box {
    width: 90%;
    text-align: left;
    margin-bottom: 20px;
  }

  .image-organizer img {
    width: 180px;
    height: 210px;
  }

  .institute {
    padding-top: 0;}

  .sponsor {
    display: block;
    margin-top: 0;
  }

.sponsor li {
  margin-bottom: 20px;
  text-align: left;
  width:auto;
}

.sponsor ul {
  display: block;
  gap: 30px;
  margin-bottom: 20px;

}

.sponsor a{
  font-size: 16px;
  text-align: left;
}

  a.clic {
    font-size: 15px;
    margin-bottom: 40px
  }

  a.clic:hover{
    background-color: #64bef1;
  }

  .formulaire p{
    font-size: 12px;
  }

  .formulaire label{
    font-size: 15px;
  }

  .formulaire input,
  .formulaire button {
    font-size: 15px;
  }

  .formulaire {
    width: 90%;
  }

  .theme-box {
    padding: 20px;
    font-size: 20px;
  }


  div.contact p.footer-contact{
    font-size: 30px;
   }

  .contact {
    padding-top: 30px; 
    margin-left: 40px;

  }

  .contact a{
    font-size: 15px;
  }

  div.design p.footer-design{
    font-size: 30px;
   }

  .design {
    margin-right: 40px;

  }

  .design a{
    font-size: 15px;
  }

  .copyright{
      margin-top:58px;
  }

  .partenaire .sponsor{
    margin-left: 12%;
    margin-right: 12%;
  }

  div.name p {
    font-size: 15px;
  }

  div.name a{
    font-size: 15px;
  }

  .institute p.org{
      font-size: 15px;
      text-align: left;
  }
}


/* Pour les grands écrans de 768px à 1300px */
@media (min-width: 768px) and (max-width: 1300px) {
  .navbar {
    display: none; 
    flex-direction: column;
    width: 100%;
    background-color: #043857;
    position: relative; 
    height: auto;
    padding: 0 10 0 0;
}

.navbar.active {
    display: inline-block; 
}

.navbar a {
    display: block; 
    background-color: #043857; 
    color: white;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid white;
    width: 100%;
}

/* Bouton de menu */
.menu-toggle {
    display: block;
    background-color: #043857;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 100%;
    padding: 10px;
    text-align: left;
    position: relative; 
}

div.theme-box {
  font-size: 20px;
  height: 90px;
}

.institute {
  padding-top: 0;}

.sponsor {
  margin-top: 0;
  display: flex ;
}


.sponsor a{
  font-size: 16px;
}

.sponsor li {
  width:20%;
}

.sponsor ul {
  display: flex;
  gap: 20px;
}

div.name {
  font-size: 18px;
}

.organizer-box {
  width: 70%;
  text-align: left;
  margin-bottom: 20px;
}

.image-organizer img {
  width: 180px;
  height: 210px;
}

.institute {
  padding-top: 0;}


.formulaire {
  width: 80%;
}

.partenaire .sponsor {
  margin-left: 12%;
  margin-right: 12%;
}


}

@media (min-width: 1300px) {

  .menu-toggle {
      display: none;
  }

  .navbar {
      display: flex;
      flex-direction: row;
  }
}