body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.head-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.presentation {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    text-indent: 40px;
}

.presentation h2 {
	text-indent: 0px;
}


.header {
    background-image: url('images/horizon.jpg');
    background-size: cover;
    color: white;
    align-items: center;
    padding: 1rem 0;
}

.header .head-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    padding: 70px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.header-content h1 {
    text-align: center;
    flex: 1;
    text-shadow: 1px 2px 6px black;
    font-weight: bold;
}

.header-content .logo-left {
	width: 20%;
    height: auto;
}

.header-content .logo-right {
    width: 17%;
    height: auto;
}

/* Section lien de nav (haut) */

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

/* Section lien de nav (bas) */

.hero {
    color: #494949;
    text-align: center;
    padding: 5rem 1rem;
}

.hero h2 {
    font-size: 2.5rem;
}

.footer {
    text-align: center;
    background: #003060;
    color: white;
    padding: 1rem 0;
}

.link {
    color: #494949;
    text-decoration: none;
    font-weight: bold;
    text-decoration: underline;
}

.list {
	margin-left: 15%;
}


/* Section profil (se trouve dans les versions précédentes) (haut) */

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Pour éviter que le contenu touche les bords sur les écrans étroits */
}


/* Section profil (se trouve dans les versions précédentes) (bas) */

/* Section Briefing (haut) */

.brief {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: black;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    text-align: center;
    border: 2px solid #004080;
}

.hbrief {
    text-align: left;
    margin: 0px;
}

.video-container {
	position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 20px auto;
    }

.video-container iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.descbrief {
    text-align: left;
    margin: 0px;
    font-size: 12px;
}

/* Section Briefing (bas) */

/* Section Actualité (haut) */

.actu {
    display: block;
    padding: 20px;
    border: 2px solid black;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.actu-image img{
    object-fit: cover
}

.actu-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.actu-date {
	text-align: left;
    font-size: 10px;
    display: flex;
}

.actu-image{
    height: auto;
    margin-bottom: 5px;
    border-radius: 10px;
    max-height: 400px;
    max-width: 90%;
}

.actu-texte{
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: justify;
    text-indent: 40px;
    margin-right: 8%;
    margin-left: 8%;
}

/* Section Actualité (bas) */

/* Section Menu Latéral (haut) */

.menu-button {
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: -2%;
}

body.menu-opened {
    margin-left: 225px;
    transition: margin-left 0.3s;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0; /* Caché à gauche */
    width: 200px;
    height: 100%;
    background: #1f4e87;
    color: white;
    overflow: auto;
    transition: 0.3s;
    padding: 1rem;
    display: none;
}

.side-menu.open {
    display: block;
}

.side-menu .close-button {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    text-align: right;
    display: block;
    margin-bottom: 1rem;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu ul li {
    margin: 1rem 0;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.side-menu ul li a:hover {
    color: #ffdd57;
}



/* Section Menu Latéral (bas) */

/* Section Presentation sponsor (haut) */

.sponsor-card {
    display: block;
    padding: 20px;
    border: 2px solid black;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.sponsor-logo {
    width: 40%;
    height: auto;
    margin-bottom: 5px;
}

.sponsor-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.sponsor-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.sponsor-card-pack {
    display: grid;
    padding: 20px;
    /*border: 2px solid black;*/
    /*border-radius: 15px;*/
    background-color: #f5f5f5;
    background-size: center;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    text-align: center;
    margin-bottom: 20px;
}

.sponsor-pack {
    width: 80%;
    height: auto;
    margin-left: 10%;
    border-radius: 10px;
    margin-bottom: 30px;

}

.bouton {
  align-items: center;
  appearance: button;
  background-color: #1f4e87;
  border-radius: 8px;
  border-style: none;
  box-shadow: rgba(255, 255, 255, 0.26) 0 1px 2px inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  flex-direction: row;
  flex-shrink: 0;
  font-family: "RM Neue",sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  padding: 10px 21px;
  text-align: center;
  text-transform: none;
  transition: color .13s ease-in-out,background .13s ease-in-out,opacity .13s ease-in-out,box-shadow .13s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.bouton:active {
  background-color: #1f4e87;
}

.bouton:hover {
  background-color: #1f4e87
}

/* Section presentation sponsor (bas) */

/* Section presentation école (haut)*/

.participation-card {
    display: block;
    padding: 20px;
    border: 2px solid black;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.hist-image{
    height: auto;
    margin-bottom: 5px;
    border-radius: 10px;
    max-height: 400px;
    max-width: 90%;
}

/* Section popup (haut) */

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

.popup-content {
	background-image: url('images/boat.jpg');
	background-size: cover;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	position: relative;
	text-align: center;
	font-size: 20px;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.popup-img {
	width: 300px;
	height: auto;
	border-radius: 8px;
}

.close-btn:hover {
	color: red;
}

#popup.hidden {
	display: none;
}

/* Section popup (haut) */