

:root {
    /*colors*/
    --custom_black: #000000;
    --custom_darkGray: #171717;
    --custom_gray: #7f7f7f;
    --custom_white: #efefef;
    --custom_lightYellow: #949494;
    /*--custom_lightYellow: #F9F4EB;*/

    --custom_red: #B53D2A;

    color-scheme: light only;
}

@font-face{
    font-family: 'Herold';
    src:  url('fonts/HeroldBold.woff2');
}

@font-face{
    font-family: 'Abordage';
    src:  url('fonts/Abordage-Regular.woff');
}

html {
    color: var(--custom_black);
    text-align: left;
    line-height: 1.7;
    font-family: 'Abordage';
    font-size: 1.3rem;
}

*:focus-visible {
    outline: 4px solid var(--custom_red);
    text-decoration: underline;
}

h1 {
    line-height: 1.2;
    font-weight: normal;
    font-family: 'Herold';
}

h2 {
    line-height: 1.2;
    font-weight: normal;
    font-family: 'Herold';
}

h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

a {
    font-size: 1rem;
}

a:link {
    text-decoration: underline;
}

a:link:visited,
a:link:active {
    text-decoration: none;
}

a:link:hover {
    text-decoration: underline;
    color: white;
    cursor: pointer;
    background: black;
}

body{
    background-color: var(--custom_lightYellow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem;
    border: 14px solid var(--custom_darkGray);
    border-radius: 10px;
    max-width: 1200px;
}

/*
    HEADER
*/

.header{
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--custom_darkGray);
}

.title{
    width: fit-content;
    color: var(--custom_lightYellow);
    background-color: var(--custom_darkGray);
    padding: 1.6rem;
    display: flex;
    color: var(--custom_white);
}

.title img{
    height: 9rem;
    margin-right: calc(2rem + 2.5vw);
    user-select: none;
    -webkit-user-drag: none;
}

.title h1{
    font-size: 5.5rem;
    line-height: normal;
    margin: 0;
}

.title h2{
    font-size: 2.7rem;
    margin: 0;
}


@media only screen and (max-width: 1200px) {

    .title{
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .title img{
        height: calc(4rem + 4.4vw);
        margin-right: calc(1rem + 1.1vw);
    }

    .title h1{
        font-size: calc(2.2rem + 2vw);
        line-height: normal;
        margin: 0;
    }
    
    .title h2{
        font-size: calc(1.1rem + 1vw);
        margin: 0;
    }

}


@media only screen and (max-width: 767px) {

    .title{
        margin-bottom: 2rem;
        padding: 1rem;
    }

    .title img{
        height: calc(4rem + 4.4vw);
        margin-right: calc(1rem + 1.1vw);
    }

    .title h1{
        font-size: calc(2.2rem + 2vw);
        line-height: normal;
        margin: 0;
    }
    
    .title h2{
        font-size: calc(1.1rem + 1vw);
        margin: 0;
    }

}

/* 
    Main
*/

#corps{
    height: 100%;
    width: 100%;
    padding: 20px;  
    display: flex;
    flex-direction: column;
    background-color: var(--custom_white);
}

div.description{  
    margin-top: 60px;
    padding: 0 60px;
}

div.programmation{
    display: flex;
    margin: 20px;
    text-align: center;
    min-width: -moz-available;
}

div.programmation>div{
    width: calc(100% / 3);
}

div.programmation summary{
    cursor: pointer;
}

div.programmation details{
    margin-bottom: 20px;
}


div.programmation h3{
    font-family: 'Herold';
    font-size: calc(1.5rem + 1vw);
}