html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
  overflow-y: auto;  
    font-family: 'Lexend', sans-serif;
   background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 40%, #c1c1c1 100%);
  background-color: #c1c1c1;
  background-attachment: fixed;
    text-align: center;
  }

  @font-face {
    font-family: 'Lexend';
    src: url('rush/polices/lexend.woff2') format('woff2'),
         url('rush/polices/lexend.woff') format('woff'),
         url('rush/polices/lexend.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
  }

  area { cursor: pointer; }

 #layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: visible;  
}
	


.header {
  flex: 0 0 auto;
  padding-bottom: 10px;  
  margin-top: 60px;       
  text-align: center;     
  z-index: 10;
}
	
	.logo {
    max-width: 300px;
    display: block;
		 margin: 0 auto;  
  }



.menu-zone {
  flex: 0 0 auto;        
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible;
  margin-top: 7vh;     
  margin-bottom: 7vh;   
}

.menu-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
}


#textMenu {
  flex: 0 0 auto;
  padding: 5px 0 5px;      
	padding-top: 0;      
  padding-bottom: 3vh;   
  margin-top: -5px;   
  margin-left: auto;
  margin-right: auto;
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  max-width: 1200px;
  z-index: 20;
  position: relative;
}
  #textMenu a {
    padding: 6px 12px;
    border-radius: 6px;
    background: #444;
    color: white;
    text-decoration: none;
    font-family: 'Lexend', sans-serif;
    font-size: 0.9rem;
    transition: background .2s;
  }
  #textMenu a:hover {
    background: #007BFF;
  }

  .soustitre {
    font-family: 'Lexend', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #444;
    margin: 4px auto 4px;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    background: #e0e0e0;
  }
  .soustitre2 {
    font-family: 'Lexend', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin: 0;
  }


  .menu-bg {
    display: block;
    width: 100%;
    height: auto;
    transition: filter .3s ease;
  }

  .menu-wrapper.hovered .menu-bg {
    filter: grayscale(1) blur(2px);
  }

  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    pointer-events: none;
    width: 100%;
    height: auto;
  }


  #filmTitle {
    position: absolute;
    padding: 6px 14px;
    background: rgba(50,50,50,0.85);
    color: white;
    font-size: 1rem;
    font-family: 'Lexend', sans-serif;
    border-radius: 6px;
    white-space: nowrap;
    display: none;
    transform: translate(-50%, -100%);
    pointer-events: none;
    z-index: 30;
  }


 
  #videoOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  #videoOverlay video {
    width: min(90%, 1200px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  }

  #closeBtn {
    position: absolute;
    top: 5vh;
    right: 5vw;
    font-size: 4rem;
    font-weight: bold;
    color: #FF7072;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
  }
  #closeBtn:hover { color: #FF0000; }