body {
    font-family: Arial, sans-serif;
    margin: 0;
  padding: 0;
  overflow-x: hidden;
  }
  
#navbar {
  background: linear-gradient(135deg, 
  #DB516D 0%,
  #DF8189 20%,
  #F28B52 60%,
  #DF8189 80%,    
  #DB516D 100%       
);
    padding-top : 20px;
    padding-bottom : 20px;
    color: white;
}

#menu {
    color: black;
    padding: 10px 20px;
    font-size: 1.1em;
    margin-left: 10%;
}

#menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#menu a:hover {
    color:#F28B52;
}

#menu #city-name {
    font-weight: normal;
    font-size: 1;
    font-weight: bold;
}

#header-form {
    display: flex;
    flex-wrap: wrap; 
    background: linear-gradient(135deg, 
     #83a1bf 0%, 
     #83a1bf 60%,    
     #e47a89 75%,    
     #FB8B52 100%    
);
    color: #662383;
    text-align: center;
    font-size: 2em;
  }

#main-header {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    box-sizing: border-box;
    background-image: url('../images/degrade.jpg');
    background-size: cover; 
    background-position: center;  
    background-repeat: no-repeat; 
    height: auto;
    color: white;
    text-align: center;
    font-size: 2em;
  }

  
  .header-right {
    width: 58%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 1%;
  }

  .header-left {
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: right;
  }

  .header-image-left {
    width: 120%;
    height: auto;
    transform: scale(1.2);
    object-fit: cover;
  }

  .image-header-right {
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
  }
  
  .header-image {
    display: flex;
    flex-wrap: nowrap;
  }

  .header-image img {
    height: auto;
    object-fit: cover;
  }
  

  
  @media (max-width: 500px) {
    .header-left {
        flex-direction: row;
        height: 300px;
    }
  }
  

#form-container {
    padding-bottom: 50px;
    padding-top: 50px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    margin-left: 15%;
    margin-right: 15%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-color: #DB516D;
    opacity: 70%;
}

@media (max-width:1200px) {
    #form-container {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        align-items: center;
    }
    #form-left h2,
#form-left p {
  margin: 0 0 20px 0; 
}
  }

#form-left {
    width: 43%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    margin-left: 3%;
    margin-right: 3%;
    color: white;
    
  }

#form-right {
    width:43%;
    display: block;
    align-items: center;
    justify-content: center;
    margin-left: 3%;
    margin-right: 3%;
    color: white;
    padding-left: 30px;
    border-left: 2px solid white;
    font-size: clamp(0.7rem, 2vw, 1.1rem);
}

#form-left, #form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}



#inscription-form {
    width:100%;
}

#form-title {
    text-align: center;
    font-size: 2em;
}

#text-container {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    padding-left: 10%;
    padding-right: 10%;
    padding-top:3%;
    padding-bottom: 3%;
    color: #DB516D;
    text-align: justify;
}

#text-container2 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    padding-left: 10%;
    padding-right: 10%;
    padding-top:0.1%;
    padding-bottom: 0.1%;
    color: white;
    background-color: #DB516D;
    text-align: center;
}

#text-container3 {
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    padding-left: 10%;
    padding-right: 10%;
    padding-top:3%;
    padding-bottom: 3%;
    background-color: white;
    color: #DB516D;
    text-align: justify;
}

#pick-city {
  background: linear-gradient(135deg, 
  #DB516D 0%,
  #DF8189 20%,
  #F28B52 60%,
  #DF8189 80%,    
  #DB516D 100%      
);
    padding: 20px;
    color: white;
    text-align: center;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

input {
    padding: 10px;
    border: 1px solid #ddd;
}

button {
    background-color:  #F28B52;
    color: white;
    cursor: pointer;
    width: 50%;
    max-width: 300px;
    border:1px solid #e47a89;
    padding : 10px;
    margin: 20px auto;
    display: block;

}


button:hover {
    background-color: rgb(255, 51, 0);
}


#city {
    color: black;
    text-align: center;
    font-size: 2em;
    color: #DB516D;
}



.footer-right {
  display: flex;
  justify-content: right; 
  align-items: center; 
  width: 100%; 
  padding-right: 10%;
}

.footer-right img {
  margin-right: 0; 
  height: auto; 
}

#footer {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    background: linear-gradient(135deg, 
    #DB516D 0%,
    #DF8189 20%,
    #F28B52 60%,
    #DF8189 80%,    
    #DB516D 100%       
);
}

.footer-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: left;
    margin-left: 10%;
    padding-top: 30px;
    padding-bottom: 30px;
    color: white;
    font-size: clamp(0.5rem, 2vw, 0.9rem);
  }


  .footer-image {
    object-fit: contain;
    display: block;
  }

  #page-title {
    text-align: center;
    padding-top: 20px;
    color: #e47a89;
    font-size: clamp(1.5rem, 2vw, 2.5rem); 
 }

  .footer-links li a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
  }
  
  .footer-links li a:hover {
    text-decoration: underline;
  }
  
  .header-image-left,
.header-image-right {
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  
}

.header-image-left {
  max-width: 500px;
}

.image-header-right-1 {
  max-width: 300px;
}

.image-header-right-2 {
  padding-top: 30px;
  max-width: 550px;
  transform: scale(1.6);
  object-fit: cover;
}

.image-header-right-3 {
  padding-left: 300px;
  max-width: 200px;
  transform: scale(1.6);
  object-fit: cover;
  align-items: right;
}

@media (max-width:1200px) {

  #main-header {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .header-right {
    width: 60%;
    text-align: center;
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.image-header-right-2 {
  transform: scale(1.2);
  padding-right: 20px;
  object-fit: cover;
}

.image-header-right-3 {
  padding-left: 0;
  padding-right: 20px;
  transform: scale(1.2);
  object-fit: cover;
}
}

@media (max-width:1200px) {
  .text-header-right {
    font-size: 1.1rem;
  }
}



.text-header-right p {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  padding-top: 50px;
  font-weight: bold;
}

@media (max-width: 500px) {
  #main-header {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .image-header-right-1 {
    transform: scale(1.3);
    object-fit: cover;
  }

  .image-header-right-2 {
    transform: scale(1.1);
    object-fit: cover;
  }

  .image-header-right-3 {
    transform: scale(1.1);
    padding-left: 50px;
  }
  
  .header-right {
    width: 60%;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }



  .header-image-left {
    height: 300px;
    transform: scale(1.2);
    object-fit: contain;
  }

  .image-header-right-1 {
    max-width: 44%;
    height: auto;
  }

  .image-header-right-2 {
    max-width: 100%;
    height:auto;
  }

}

.text-video-container {
  display: flex;
  flex-direction: row; 
  justify-content: space-between;
  align-items: center; 
  background-color: white;
  color: #DB516D;
  padding-top: 3%;
  padding-bottom: 3%;
  padding-left: 5%;
  padding-right: 3%;
}

.text-content,
.video-content {
  flex: 1 1 40%;
}

.video-content video {
  width: 100%;
  max-height: 500px;
  max-width: 800px;
}

.text-content {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: #DB516D;
  max-width: 50%; 
  text-align: justify;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
}

@media (max-width: 1200px) {
  .text-content{
    text-align: center;
    padding: 0;
    max-width: 80%;
  }

  .text-content > img {
    display: none !important; 
  }

  .video-content {
    padding-top: 2%; 
    max-width: 80%; 
  }
}

.video-content {
  padding-left: 5%; 
  padding-right: 5%; 
  max-width: 50%; 
}

@media (max-width: 1200px) {
  .text-video-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
}

#city-name {
  padding-bottom: 30px;
  border-bottom:2px solid white;
}

#city-lieu {
  padding-bottom: 30px;
  border-bottom:2px solid white;
}

#city-date {
  padding-bottom: 30px;
  border-bottom:2px solid white;
}

#city-horaires {
  padding-bottom: 30px;
  border-bottom:2px solid white;
}

#city-orateurs {
  padding-bottom: 30px;
  border-bottom:2px solid white;
}

.header-image-body {
  width: 100%;
}

.image-body-container {
  display: flex;
  justify-content: center;
  gap: 200px; 
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 3%;
}

.header-image-body {
  max-width: 400px;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .image-body-container  {
  gap:20px;
}
.header-image-body  {
  max-width: 100%;
}
}

@media (max-width: 500px) {
  .image-body-container  {
  gap:25px;
}
.header-image-body  {
  max-width: 150px;
}
}

.white-text {
  color: white; 
}

.text-content img {
  display: block; 
  margin-left: auto;
  margin-right: 0; 
  max-width: 150px; 
  height: auto; 
}

#text-container4 {
  background-color: #f0f0f0; 
  padding: 20px;
  width: 70%;
  box-sizing: border-box;
  margin-left: 15%;
  margin-right: 15% !important;
  margin-bottom: 5%;
}

@media (max-width: 1200px) {
  #text-container4 {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media (max-width: 900px) {
  #text-container4 {
    font-size: 0.7rem; 
    line-height: 1.4; 
  }
}

.text-puce {
  object-fit: cover;
}

@media (max-width: 900px) {
  #form-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    box-sizing: border-box;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 10px;
  }
  #form-left, #form-right {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #form-right {
    margin-top: 20px;
    border-left: none !important;
    padding-left: 0 !important;
  }
  #booking-iframe {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
  }
}



@media (max-width: 1200px) {

  .video-content {

    width: 80% !important;
    max-width: 100vw;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-content video {
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100% !important;
    max-width: 90vw;
    height: auto !important;
    min-width: 0;
    display: block;
    margin: 0 auto;
  }
}





@media (max-width: 900px) {

  #form-left {
    font-size: 0.95rem;
    text-align: center;
    padding: 10px 0;
  }
  #city-info h2 {
    font-size: 1.1rem;
    margin: 8px 0 0 0;
    text-align: center;
    letter-spacing: 0.5px;
  }
  #city-info p {
    font-size: 0.95rem;
    margin: 0 0 6px 0;
    text-align: center;
  }
  #city-name {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 0;
    text-align: center;
    padding-bottom: 10px;
  }
  #form-left h2 + p {
    margin-bottom: 4px;
  }
  #form-left h2 {
    margin-bottom: 2px;
  }
  #form-left p {
    margin-top: 0;
    margin-bottom: 6px;
  }
  #form-left #city-info > * {
    margin-top: 0;
    margin-bottom: 6px;
  }

  #city-lieu {
    padding-bottom: 10px;
    font-size: 1.4rem;
  }

  #city-date {
    padding-bottom: 10px;
  }

  #city-horaires {
    padding-bottom: 10px;
  }
 
  #city-orateurs {
    padding-bottom: 10px;
  }
}

.city-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-info-row h2,
.city-info-row p {
  margin: 0;
  padding: 0;
  display: inline;
  font-size: 1rem;
  font-weight: normal;
}

#city-name {
  font-size: 1.5rem !important;
}




.video-content {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  width: 100%; 
}

.video-content video {
  width: 100%; 
  max-width: 800px; 
  height: auto; 
}

.video-caption {
  margin-top: 10px; 
  margin-left: 85%;
  font-size: 8px;
  color: gray;
  text-align: center; 
}

@media (max-width: 1200px) {
  .video-caption {
    margin-left: 0; 
    text-align: center;
  }
}

@media (max-width: 900px) {
  .video-caption {
    margin-top: 0px;
  }
}

@media (max-width: 1600px) {
  .video-caption {
    font-size: 7px;
    padding-top: -30px;
  }
}

.video {
  object-fit: cover;
}

@media (max-width: 3000px) and (min-width: 900px) {
  .video-content video {
    width: 100%; 
    max-width: none; 
    margin: 0;
    padding: 0; 

  }

  .video-content {
    padding: 0;
  }
}

.text-content {
  margin-right: 20px; 
}

.video-content {
  margin-left: 20px; 
}

@media (max-width: 1200px) {
  .video-content {
    margin-left: 0; 
  }
}

@media (max-width: 900px) {
  #map {
    pointer-events: none; 
  }
}

.leaflet-popup-content a {
  color: #007bff; 
  text-decoration: underline;
  cursor: pointer; 
}

.leaflet-popup-content-wrapper {
  pointer-events: auto; 
}

@media (max-width: 1200px) {
  .footer-image {
    max-width: 200px; 
  }
}

@media (max-width: 900px) {
  .footer-image {
    max-width: 150px;
  }
}

@media (max-width: 900px) {
  #text-container2 p {
    display: flex;
    flex-direction: column; 
    text-align: center; 
  }

  #text-container2 span.white-text:first-child {
    white-space: nowrap; 
  }

  #text-container2 span.white-text:last-child {
    margin-top: 10px; 
  }
}

@media (max-width: 1200px) {
  #form-container #logo-incyte {
    display: none; 
  }
}

.input {
  margin-bottom: 20px; 
}

label {
  margin-bottom: 20px;
}

#form-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

#form-left, #form-right {
  flex: 1 1 350px;
  min-width: 300px;
}

#mailto-message {
  display: none;
  width: 100%;
  max-width: 500px;
  margin: 2em auto 0 auto;
  color: #333;
  background: #f3f3f3;
  padding: 1em 2em;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  order: 3;
}

#mailto-message #copy-mailto {
  display: inline-block;
  margin: 1em auto 0 auto;
  float: none;
}

body {
            background-color: white;
            color: grey;
            font-family: 'Montserrat', Arial, sans-serif;
            margin: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .container-404 {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-bottom: 50px;
        }
        .container-404 img {
            max-width: 180px;
            margin-bottom: 30px;
        }
        .container-404 h1 {
            font-size: 4em;
            color: #DB516D;
            margin-bottom: 10px;
        }
        .container-404 p {
            font-size: 1.3em;
            margin-bottom: 30px;
        }
        .container-404 a {
            background: #DB516D;
            color: #fff;
            padding: 12px 32px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.2s;
        }
        .container-404 a:hover {
            background: #68a17c;
        }
        footer {
            background: #fff;
            color: #204131;
            padding: 20px 0;
            text-align: center;
        }
        .footer-image {
            height: 60px;
            vertical-align: middle;
        }
