body {
    background-color: #F6F6F6;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    margin: 0;
}

li {
    margin: 10px;
}

.li-active {
    background-color: rgba(212, 59, 0, 0.25) !important;
}

a {
    color: #D43B00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #AA0412 !important;
}

img, video {
    border-radius: 15px;
}

.titre {
    text-align: center;
    padding: 20px 0 10px;
}

.titre h2 {
    font-size: 2em;
    font-weight: 600;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.titre h2::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 4px;
    background-color: #D43B00;
}

.liste-lien {
    list-style-type: none;
    padding: 0;
}

.liste-lien a::after {
    content: " 🔗";
}

.card-lien {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.card-lien li {
    width: 150px;
    background-color: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.table-scroll {
    overflow-x: auto;
    max-width: 100%;
}

.table-template table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.table-template th, .table-template td {
    padding: 12px 16px;
    vertical-align: top;
    text-align: left;
}

.table-template tr:not(:last-child) th,
.table-template tr:not(:last-child) td {
    border-bottom: 1px solid #DDDDDD;
}

.table-template th {
    width: 40px;
    font-size: 1.2em;
}

.table-template p {
    margin: 8px 0 0;
    font-size: 0.9em;
    color: #555555;
}

.div-carnet {
    padding: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.div-box-carnet {
    display: flex;
}

.div-carnet .div-box-carnet:nth-child(odd) {
    justify-content: right;
}

.box-carnet {
    display: block;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    height: 130px;
    width: 160px;
    text-align: center;
}

.box-carnet h3 {
    color: black;
}

/* Allow videos to sit next to each other when space permits */
.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.video-responsive {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9;
    display: inline-block;
    vertical-align: top;
    margin: 0 10px 20px;
}

.video-responsive iframe {
    border: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grid-portfolio > div {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.grid-portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-portfolio > div {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.grid-portfolio .overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

blockquote {
    text-align: justify;
    margin: 0;
}

blockquote::before {
    content: "❝ ";
}

blockquote::after {
    content: " ❞";
}
