body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    background-color: #0f1923;
    font-family: 'Arial', sans-serif;
    width: 100%;
}

main {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Si besoin d'un centrage vertical */
    min-height: 40vh; /* Ajuste selon ton besoin */
}

header {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-family: 'Corben', serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    header{
    font-size: 15px;
    }
}

@media (max-width: 576px) {
    header{
    font-size: 24px;
    }
}

header h1 {
    margin: 0;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center; /* Ajouté pour aligner les liens verticalement */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center; /* Alignement des liens */
    justify-content: center; /* Centrer le texte dans les liens */
    padding: 10px 15px; /* Ajouter un peu de padding pour espacer les liens */
}

.navbar-nav a{
    transition: background 0.3s, transform 0.2s;
}

.navbar-nav a:hover {
    background: rgba(255, 70, 85, 0.7);
    transform: scale(1.1);
}

nav a.active {
    font-size: 40px;
}

h1,h2{
    font-family: "Libre Baskerville", serif;
    font-weight: 400;
    font-style: normal;
}

h3 {
    position: absolute;
    top: 50px;
    left: 10px;
    color: white !important;
    padding: 10px;
    border-radius: 5px;
    z-index: 2;
    font-family: "Libre Baskerville", serif;
}


footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a2a2a;
    color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.foo footer{
    position: fixed;
}

#foot {
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

#icon {
    height: 80px;
    width: 80px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}
.row{
    width: 100%;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 350px;
    border-radius: 10px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flip-card-front {
    background: #ff4655;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-back {
    background-color: #1f2933;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.flip-card-back h1 {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .flip-card {
        max-width: 470px;
        height: 280px;
    }
    .flip-card-back h1 {
        font-size: 1.2rem;
    }
}

#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    margin-top: -50px;
    margin-bottom: -40px;
    }
 
.marg{
    margin-top: 30px;
}

table {
    border-collapse: collapse;
    width: 100%;
}

td, th {
    padding: 8px;
    text-align: left;
}

@media (max-width: 576px) {
    .table thead {
        display: none;
    }
    .table, .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }
    .table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 10px;
        background: #f8f9fa;
    }
    .table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-align: left;
    }
}