/* style.css */
body {
    font-family: "Made Infinity", Arial, sans-serif; /* Applique la police de caractères */
    background-color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

@font-face { /* Crée une police */
    font-family: "Made Infinity";
    src: url("../fonts/made_infinity/MADEINFINITYPersonalUse-Light.otf");
}

main {
    flex-grow: 1;
    background-color: #f4f4f4;
}

.bloc {
    background-color: #fff; /* Fond blanc */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Légère ombre pour le contenu */
    margin: 20px auto; /* Centrer le contenu horizontalement */
    max-width: 800px; /* Limite la largeur */
}

.bloc h3 {
    font-size: 24px;
    color: #333;
    margin-top: 0;
}

.bloc p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.bloc a {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}
  
.bloc > *::selection {
    color: #f4f4f4;
    background: #222;
}

.bloc > * > *::selection {
    color: #f4f4f4;
    background: #222;
}

.bloc > * > * > *::selection {
    color: #f4f4f4;
    background: #222;
}

.images { /* Contient les petites images */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.images > img {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    object-fit: contain;
    transition: 0.5s ease-in-out;
}

.images > img:hover {
    transform: rotate(-10deg);
}

.images > img::selection {
    color: rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
}

.images > a > img {
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 5px;
    transition: 0.5s ease-in-out;
}

.images > a > img:hover {
    transform: rotate(-10deg);
}

.images > a > img::selection {
    color: rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
}

.overview-image {
    width: calc( 100% - 80px );
    object-fit: contain;
    border-radius: 5px;
    margin: 5px 40px;
    transition: 0.5s ease-in-out;
    filter: none;
}

.overview-image:hover {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
}

.image-with-caption-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.image-with-caption-container img {
    width: calc( 100% - 80px );
    object-fit: contain;
    border-radius: 5px;
}

.caption {
    line-height: 1px;
}

.bloc > hr {
    margin: 50px 0;
}