@font-face {
    font-family: 'Nitemare';
    src: url('NITEMARE.TTF') format('opentype');
    font-weight: normal;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, h2:not(td) {
    font-family: 'Nitemare', Arial, sans-serif;
    text-align: center;
    background-color: #111A26;
    color: #CEECF2;
    margin: 0;
    padding: 0;
}

.dimpx {
    width: 1080px;
    margin: 0 auto;
}

td {
    color: #111A26;
}

/* Messages de feedback */
.message-feedback {
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #28a745;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    width: fit-content;
    margin: 10px auto;
}

.message-feedback.error {
    background-color: #100f0f;
}

/* Header */
header {
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    background-color: #111A26;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: 'Nitemare', cursive;
}

header nav ul li a {
    color: #CEECF2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    color: #4E74A6;
}

/* Vidéo de fond */
.background-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 50px;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.overlay-content h1 {
    font-size: 4em;
    font-family: 'Nitemare', cursive;
    text-shadow: 3px 3px 5px #000;
}

/* Footer */
footer {
    background-color: #111A26;
    color: #CEECF2;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 2px solid #4E74A6;
}

/* Table */
table {
    width: 80%;
    max-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    margin: auto;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

/* Contact */
.contact-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: #222;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    color: #CEECF2;
}

.contact-container h1 {
    font-family: 'Nitemare', cursive;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

.contact-container p {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.9em;
    color: white;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    background-color: #111A26;
    border: 1px solid #4E74A6;
    color: #CEECF2;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
}

textarea {
    resize: none;
    height: 120px;
}

button[type="submit"] {
    background-color: #4E74A6;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
}

#achievements {
    margin: 40px;
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

#achievements h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #CEECF2;
    text-align: center;
    margin-bottom: 20px;
}

#achievements ul {
    font-size: 1.1em;
    padding-left: 20px;
    line-height: 1.6;
}

.universe-container {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

#universe-text {
    flex: 1;
    padding: 10px;
}

#universe-img img {
    max-width: 100%;
    border-radius: 12px;
    margin-left: 20px;
}

.biography-photo-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background-color: rgba(34, 34, 34, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.biography-photo-container img {
    width: auto;
    max-width: 300px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.biography-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-align: left;
    max-width: 600px;
}

h2.biography-text.special-font {
    font-size: 2rem;
    text-align: left;
    color: #CEECF2;
    background-color: #222;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 10px;
    text-shadow: 3px 3px 5px #000;
}

.swiper {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    background-color: black;
}

.swiper-button-next,
.swiper-button-prev {
    color: #CEECF2;
}

.swiper-pagination-bullet {
    background: #4E74A6;
}

.swiper-pagination-bullet-active {
    background: #CEECF2;
}

.gallery-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    width: 50%;
    margin: 40px auto;
    text-align: center;
}
.biography-photo-text-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
    background-color: rgba(34, 34, 34, 0.9);
    padding: 20px;
    border-radius: 12px;
}

.biography-photo-text-container img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.biography-photo-text-container p {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-align: left;
    max-width: 600px;
}
.carousel-container {
    position: relative;
    width: 350px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partenaire {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: transparent;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.partenaire:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.partenaire .photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #eaeaea;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.partenaire .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.partenaire .name {
    width: 200px;
    background: #d3faff;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    line-height: 1.2;
}

.partenaire .name .metier {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #555;
    margin-top: 4px;
}

.partenaire .description {
    width: 200px;
    background: #d3faff;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-align: center;
    border-radius: 20px;
    line-height: 1.4;
    margin-top: 10px;
}

.partenaire .site {
    width: 160px;
    text-align: center;
    margin-top: 10px;
    background: #007bff;
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 20px;
    transition: background 0.3s ease-in-out;
}

.partenaire .site a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.partenaire .site:hover {
    background: #0056b3;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 10;
    opacity: 0.8;
}
.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}
.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 8px;
}.carousel-indicators .dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
    cursor: pointer;
}

.carousel-indicators .dot.active {
    background-color: #555;
    transform: scale(1.2);
}
.shadow-logo {
    position: fixed;
    top: 35%;
    left: 180px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px white;
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.galerie-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

.galerie-img img {
    width: 33%;
    transition: transform 0.3s ease;
    filter: grayscale(50%);
}

.galerie-img img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
}
.sbottom-link {
    text-align: center;
    margin: 20px 0;
}
.bottom-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    width: 100%;
}

.bottom-links a {
    color: blue;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.bottom-links a:hover {
    text-decoration: none;
}
