header
{
    max-width: 860px;
    background-color: #e58a28;
    color: white;
}

#header_text
{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 8px 10px 10px 10px;
}

h1
{
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 10px;
}

main
{
    width: 100%;
    max-width: 1200px;
    padding: 20px 8px 90px 8px;
    background-color: white;
}

.bio_img
{
    width: 100%;
    max-width: 250px;
    margin: auto;
    margin-bottom: 8px;
}

.bio_text
{
    margin-top: 15px;
}

.bio_text_simple
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.bio_nom
{
    font-weight: bold;
    font-style: italic;
}

.paragraphe, .bio, .bio_inverse
{
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

main a
{
    color: rgb(57, 126, 190);
    font-weight: bold;
}

main a:hover
{
    cursor: pointer;
    text-decoration: underline;
}

#inscription
{
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    background-color: #fdeab0;
    border-radius: 8px;
    padding: 30px 20px;
}
#plaquette
{
    margin-bottom: 30px;
}
.button_container
{
    display: flex;
    justify-content: center;
}
.button
{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    width: 120px;
    height: 50px;
    border-radius: 8px;
    background-color:  #e58a28;
    margin-top: 20px;
}
.button:hover
{
    text-decoration: none;
    background-color: #e53a28;
}

@media(min-width:523px)
{
    header
    {
        display: flex;
    }

    #header_text
    {
        justify-content: center;
    }

    h1
    {
        line-height: 1.7em;
    }
}

@media(min-width:860px)
{
    header
    {
        margin: auto;
    }

    h1
    {
        font-size: 2em;
        line-height: 1.8em;
    }

    main
    {
        max-width: 95%;
        margin: 10px auto 10px auto;
    }

    .bio, .bio_inverse
    {
        display: flex;
    }

    .bio_inverse
    {
        flex-direction: row-reverse;
    }

    .bio_img
    {
        margin: unset;
        height: fit-content;
    }

    .bio .bio_img
    {
        margin-right: 20px;
    }

    .bio_inverse .bio_img
    {
        margin-left: 20px;
    }

    #inscription
    {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    #inscription > div
    {
        width: 50%;
        height: 100%;
    }
    #plaquette
    {
        margin-bottom: unset;
    }
}

@media(min-width:1200px)
{
    main
    {
        max-width: 1200px;
        margin-top: 25px;
        margin-bottom: 50px;
    }
}

/* events */

.date
{
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 40px;
    margin-top: 30px;
}
.event_container
{
    max-width: 1100px;
    margin: 5px auto 15px auto;
}
.event
{
    display: flex;
    max-width: 800px;
    min-height: 80px;
    padding: 10px;
    border-radius: 5px;
    color: white;
}

.event_start_time
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    font-weight: bold;
}
.event_description
{
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}
.event_title
{
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.repetition
{
    background-color: #4773b9;
}
.concours
{
    background-color: #ca4238;
}
.repetition_concert
{
    background-color: #2a9554;
}
.concert
{
    background-color: green;
}

/* footer */

footer
{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70px;
    background-color: white;
    color: #9d9999;
    border-top: 1px solid #d7d7d7;
    padding: 10px;
}

#return, #credits
{
    display: flex;
    align-items: center;
    height: 100%;
}

#return > a
{
    display: flex;
}

#return > a:hover
{
    text-decoration: underline;
}

#return img
{
    width: 35px;
    height: auto;
    margin-right: 10px;
}

@media(min-width: 860px)
{
    footer
    {
        flex-direction: row;
        justify-content: space-between;
        border-top: none;
        padding: 10px 25px;
    }
}