body {
    
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

header {
    background-color: #254061;
    color: white;
    text-align: center;
    padding: 20px 0;
    flex-shrink: 0;
}

h2 {
    margin: 0;
}

footer {
    background-color: #254061;
/*  background-color: #445364; 
    background-color: #254061;

*/
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}

.box-files {
    display: flex;
    justify-content: center;
    padding: 40px;
    flex-grow: 1;
    margin-top: 35px;
    
}

.image-container {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.image-link {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.image-link:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}


.title {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 13px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-top: 10px;
}

.mentions {
    margin-left: 10px;
}
footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
    opacity: 0.8;
}
header a {
    color: white;
    text-decoration: none;
}
header a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.header-legal {
    position: relative;
    background-color: #254061;
    color: white;
    padding: 20px;
    text-align: center;
}

.header-legal h2 {
    margin: 0;
    font-size: 24px;
}

.header-legal .back-link {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid white;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.header-legal .back-link:hover {
    background-color: white;
    color: #254061;
}

.mentions-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffffd9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    color: #333;
    line-height: 1.6;
}

.mentions-container h3 {
    color: #254061;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
    border-bottom: 2px solid #254061;
    padding-bottom: 5px;
}

.mentions-container h4 {
    color: #34587a;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 18px;
}

.mentions-container p {
    margin-bottom: 15px;
}

.mentions-container ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.mentions-container li {
    margin-bottom: 8px;
}

.mentions-container a {
    color: #254061;
    text-decoration: underline;
}

@media (max-width: 768px) {
  .box-files {
    display: block;
    padding: 20px;
  }

  .image-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .image-link {
    width: 80%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
}




