/* FONT */

@font-face {
    font-family: 'Roboto - Text';
    src: url('../fonts/Roboto-Regular')
}

@font-face {
    font-family: 'Titillium Web - Title';
    src: url('../fonts/TitilliumWeb-Black')
}

@page {
    size: A4;
}

/* STYLE */

:root {
    --body-bg: #1e1e1e;
    --body-color: #fff;

    --main-bg: #27292a;

    --header-height: 70px;

    --fontfamily-title: 'Titillium Web - Title', sans-serif;
    --fontfamily-texte: 'Roboto - Text', sans-serif;

    --link-survol-color: rgb(255, 120, 0);
    --play-bg: rgb(255, 120, 0);

    --separator-size: 55%;
    --separator-color: #585d5f;

    --color-shadow: #000;
}

body {
    color: #000;
}

section {
    max-width: 100vw;
    height: fit-content;

    position: relative;

    box-sizing: border-box;

    break-before: page;
    page-break-before: always;
}

section::after {
    display: none;
}

section>h1 {
    width: 100%;
    text-align: center;

    font-family: var(--fontfamily-title);
    text-transform: uppercase;

    margin: 0;

    font-size: 50px;
}

footer {
    display: none;
}


a {
    color: #000;
    text-decoration: none;
    cursor: pointer;

    border-bottom: 1px dotted var(--body-color);

    transition-property: color, border-color;
    transition-duration: 0.5s;
}

.b-shadow {
    -webkit-box-shadow: 10px 10px 15px -5px var(--color-shadow);
    -moz-box-shadow: 10px 10px 15px -5px var(--color-shadow);
    box-shadow: 10px 10px 15px -5px var(--color-shadow);
}

.t-shadow {
    text-shadow: 10px 10px 15px var(--color-shadow);
}


@media (max-width: 400px) {

    section>h1 {
        font-size: 40px;
    }

}

@media (max-width: 300px) {

    section:not(#home) {
        padding: 20px;
    }

    section>h1 {
        font-size: 30px;
    }

}

@media (max-width: 270px) {
    body {
        display: none;
    }
}


/* LOADER  */

#loader {
    display: none;
}


/* NOSCRIPT */

#noscript-warning {
    display: none;
}


/* HEADER */

header {
    display: none;
}


/* HOME */

#home {
    display: none;
}


/* GALLERY */

.gallerie {
    width: 100%;
    height: 100%;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    flex-direction: column;
}

.card {

    width: 100%;
    height: 350px;

    margin: 20px 0;

    background-color: var(--main-bg);
    border: 1px solid var(--main-bg);
    border-radius: 10px;

    display: flex;
    flex-direction: row;

    transition: all 1s;

    position: relative;

    box-sizing: border-box;
}

.card:nth-child(even) .image {
    order: 2
}

.card .image {
    height: 100%;
    max-width: 50%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

}

.image img {
    height: 100%;
    max-width: 100%;
    max-height: 500px;

    width: 100%;
    aspect-ratio: 16/9;

    object-fit: cover;
    object-position: center;

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.card:nth-child(even) .image img {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.image .play {
    display: none;
}

.card .info {
    flex: 1;

    padding: 20px;

    display: flex;
    flex-direction: column;
}

.info h3 {
    margin: 0;

    width: 100%;
    text-align: center;
    text-transform: uppercase;

    font-family: var(--fontfamily-title);
    font-size: 30px;
}

.info h4 {
    margin: 0;

    width: 100%;
    text-align: center;

    font-family: var(--fontfamily-texte);
    font-size: 20px;
}

.info h5 {
    margin: 0;

    width: 100%;
    text-align: center;

    font-family: var(--fontfamily-texte);
    font-size: 15px;
}

.info p {
    flex: 1;

    font-family: var(--fontfamily-texte);
    text-align: justify;
    line-height: 1.5;

    margin: 20px 0;

    overflow-y: auto;
}


/* PROFILE */

#profile {
    display: flex;
    flex-direction: column;
}

#idcard {
    flex: 1;

    padding: 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

#idcard .container {

    width: 80%;

    background-color: var(--main-bg);
    border: 1px solid var(--main-bg);
    border-radius: 10px;

    display: flex;

    transition: all 1s;
}

#idcard .container * {
    transition: all 1s;
}


#idcard .container>img {
    width: 400px;
    max-width: 50%;
    height: 100%;

    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

    object-fit: cover;
    object-position: center;
}

#idcard .container>.info {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 40px;

    border-collapse: collapse;
}

#idcard .info td {
    font-family: var(--fontfamily-texte);
    padding: 20px;
    box-sizing: border-box;
}

#idcard .info td:first-child {
    text-transform: uppercase;
    flex: 1;

    font-weight: 600;

}

#idcard .info td:last-child {
    padding-left: 40px;
    box-sizing: border-box;

    flex: 3;
}

#idcard .info td:last-child span {
    cursor: pointer;
}

#idcard .info tr {
    border-bottom: 2px solid var(--body-bg);

    display: flex;
}

#idcard .info tr:last-child {
    border-bottom: none;
}

@media (max-width : 1340px) {
    #idcard .info td:last-child {
        padding-left: 0;
        flex: 2;
    }
}

@media (max-width : 1220px) {
    #idcard .info td {
        flex: 1;
    }
}

@media (max-width : 1200px) {

    #idcard {
        padding: 0 40px;
    }

    #idcard .info tr {
        flex-direction: column;

        padding: 10px 20px;
    }

    #idcard .info td {
        padding: 5px 0;
    }
}

@media (max-width : 900px) {
    #idcard .container {
        width: 100%;
    }
}

@media (max-width : 680px) {
    #idcard .container {
        flex-direction: column;
    }

    #idcard .container>img {
        height: 200px;
        max-width: 200px;
        aspect-ratio: 1/1;

        margin: 0 auto;
        margin-top: 20px;

        border-radius: 50%;
        object-fit: cover;
        object-position: top center;

        padding: 10px;
        box-sizing: border-box;
    }
}

@media (max-width: 430px) {
    #idcard .container>.info {
        padding: 40px 10px;
    }

}

@media (max-width: 450px) {
    #idcard {
        padding: 0;
    }
}




/* MODAL */

#modal {
    display: none;
}