body
{
    margin: 0;
    font-family: metropolis;
    /* background-color: rgb(0, 255, 191); */
}

/*///////////////////////////////////////////////////////////*/

#body
{
    margin: 10px 0px 10px 0px;
    display: grid;
    grid-template-columns: repeat(1, 100%);
    gap: 10px;
}

/*///////////////////////////////////////////////////////////*/

.title
{
    height: 50px;
    display : flex;
    justify-content: center;
    align-items: center;
    font-weight: lighter;
}

.title > span
{
    /* font-size: 16px; */
    font-size: clamp(16px, 5vw, 40px);
    white-space: nowrap;
}

/*///////////////////////////////////////////////////////////*/

.contact
{
    height: 40px;
}

.contact > div:nth-child(1)
{
    height: 13px;
    color: #AD222D;
    padding-left: calc(50% - 175px);
    font-weight: lighter;
}

.contact > div:nth-child(2)
{
    height: 25px;
    background-color: #AD222D;
    color: #ffffff;
    display : flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.contact > div:nth-child(2) > span
{
    color: #ffffff;
    text-decoration:none;
}

/*///////////////////////////////////////////////////////////*/

.map
{
    aspect-ratio: 2 / 1;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    color: #ffffff;
    background-color: #AD222D;
    justify-content: center;
    max-height: 500px;
}

.map > *
{
    /* height: 100%; */
    max-height: 500px;

    /* min-width: 300px; */
    /* width: 100%; */
    flex: 1 1 300px;
}

/* .map > iframe
{
    min-width: 300px;
} */

.map > div
{
    background-color: #AD222D;
    display: grid;
    grid-template-columns: repeat(1, 100%);
    /* max-height: 200px; */
    max-width: 300px;
    padding-top: 10px;
}

.map > div > div
{
    display : flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.map > div > div > span
{
    width: 80%;
}

.map > div > ul
{
    display: grid;
    gap: 5px;
    list-style-type: none;
    padding-left: 10px;
    padding-right: 10px;
}

.map > div > ul > li
{
    /* display: grid; */
    /* grid-template-columns: repeat(2, 50%); */
    /* margin-bottom: 5px; */
    display: flex;

    white-space: nowrap;
}

.map > div > ul > li > div:nth-child(2)
{
    width: 100%;
}

/* .map > div > ul > li > div:nth-child(1)
{
    float: left;
}

.map > div > ul > li > div:nth-child(2)
{
    float: right;
} */


/*///////////////////////////////////////////////////////////*/

.images_y
{
    display: grid;
    /* flex-direction: column; */
    grid-template-columns: repeat(1, 100%);
}

.images_y > div
{
    /* aspect-ratio: 2 / 1; */
    width: 100%;
    display : flex;
    height: 50vw;
    max-height: 400px;
    justify-content: center;
    background-color: #AD222D;
}

.images_y > div > *
{
    /* max-width: 50%;
    max-height: 100%; */
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.images_y > div > div
{
    color: #ffffff;
    display: flex;
    text-align: justify;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@media (min-width: 800px) {
    .images_y
    {
        gap: 150px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .images_y > div
    {
        height: 200px;
        gap: 100px;
        align-items: center;
        position: relative;
    }
    /* .images_y > div > *:nth-child(1)
    {
        transform: translate(50%,0);
    }
    .images_y > div > *:nth-child(2)
    {
        transform: translate(-50%,0);
    } */
    .images_y > div > img
    {
        height: 400px;
        width: 400px;
    }
    .images_y > div > div
    {
        width: 200px;
        height: 160px;
        padding: 20px 100px 20px 100px;
    }
}

/*///////////////////////////////////////////////////////////*/

.images_x
{
    display: flex;
    flex-wrap: nowrap; 
    width: 100%;
    
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;

    min-height: 350px;
    height: 100vw;
    max-height: 600px;
    background-color: #AD222D;
}

.images_x::-webkit-scrollbar {
    display: none;
}

.images_x > div
{
    aspect-ratio: 2 / 1;
    min-width: 175px;
    width: 50%;
    max-width: 300px;
    display : flex;
    flex-direction: column;
    flex-shrink: 0; 
}

.images_x > div > *
{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.images_x > div > div
{
    color: #ffffff;
    display: flex;
    text-align: justify;
    justify-content: center;
    align-items: center;
    background-color: #AD222D;
    padding: 20px;
    font-size: clamp(0px, 3vw, 16px);
}

/*///////////////////////////////////////////////////////////*/

.biographie
{
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;

    justify-content: center;
}

.biographie > div
{
    width: 50%;
    position: relative;
    flex: 1 1 200px;
    max-width: 300px;
}

.biographie > .photo
{
    height: 400px;
}

.biographie > .photo > img
{
    position: absolute;
    
    aspect-ratio: 3 /2 ;
    width: 90%;
    height: 90%;
    object-fit: cover;

    display: block;
    margin: 0 auto;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.biographie > .photo > div:nth-child(1)
{
    position: absolute;
    background-color: #AD222D;
    height: 40%;
    width: 40%;
}

.biographie > .photo > div:nth-child(3)
{
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    background-color: #AD222D;
    height: 25px;
    width: 100px;

    top: 90%;
    left: 100%;
    transform: translate(-100%, -100%);

    color: #ffffff;
}

.biographie > .text
{
    display: flex;
    text-align: justify;
    justify-content: center;
    align-items: center;

    line-height: 1.3;
}

@media (max-width: 459px) {
    .biographie > .photo > div:nth-child(3)
    {
        order: 1;
    }

    .biographie > .text
    {
        order: 2;
    }
}