body {
    background-color: white;
    color: black;
    padding-block: 1em;
    padding-inline: 10%;
    margin-inline: auto;

    font-family: Helvetica,Arial,sans-serif;
    font-size: 20pt;
    max-width: 1500px;
}

.logo  {
    width: 20em;
}

.logo-small img {
    width: 12em;
}

p {
    text-align: justify;
}

figure.quote blockquote {
    margin-inline: 0;
    font-size: smaller;
    font-style: italic;
}

figure.quote figcaption {
    font-weight: 600;
    font-size: smaller;
}



a img { border: none;}

a {
    text-decoration: none;
    color: black;
}

a:visited {
    color: black;
}

nav {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-inline-start: 20%;
    margin-inline-end: 20%;
}

nav {
    margin-inline-start: 5%;
    margin-inline-end: 5%;
}



nav a {
    padding-block-start: 53px;

    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    background-size: 4em;

    flex: 0 0 6em;
    
    display: flex;
    flex-direction: column;
    justify-content: center;

    height: 4em;
}

nav a div {
    text-align: center;
    width: 100%;
}

nav a:nth-child(even),
nav a:nth-child(odd):hover,
nav a:nth-child(odd):active
{
    background-image: url(images/icones/vague-0.svg);
}

nav a:nth-child(odd),
nav a:nth-child(even):hover,
nav a:nth-child(even):active
{
    background-image: url(images/icones/vague-1.svg);
}


.presentation
{
    padding-block-start: 80px;
    width: 80%;
    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    text-align: center;
}

.credits
{
    font-style: italic;
    font-size: 90%;
}

.back {
    display: block;
    margin: 3em auto;
    margin-block-end: 5em;
    width: fit-content;
    background-image: url(images/icones/fleche.svg);
    background-repeat: no-repeat;
    background-size: 4em 4em ;
    padding-block-start: 3em;
    padding-inline-start: 3em;
    font-size:  70%;
}

section.spectacle {
    display: flex;
    flex-direction: row;
    gap: 2em;
}

section.spectacle .affiche {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
}

section.spectacle .affiche figcaption {
    margin-block-start: 0.5em;
    font-size: 80%;
}

.liens {
    flex: 1 1 auto;
    width: 20%;

    display: flex;
    flex-direction: column;
    gap: 1em;
}


.liens a {
    display: block;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 2.5em;
    padding-block-start: 2.5em;
    text-align: center;
    font-size: 90%;
}

.liens.row {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 2em
}

.liens .voir {
    background-image: url(images/icones/voir.svg);
}
.liens .ecouter {
    background-image: url(images/icones/ecouter.svg);
}
.liens .lire {
    background-image: url(images/icones/lire.svg);
}

.liens .no-icon {
    padding-block-start: 0;
}

.liens .qr {
    width: 100%;
}

figure.carousel {
    background-color: black;
    display: flex;
    flex-direction: column;
    padding: 1em;
}
figure.carousel div {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    align-items: center;
}
figure.carousel figcaption {
    color: white;
    margin-block-start: 1em;
    align-self: flex-end;
    font-size: 80%;
}

.images {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin: 3em auto;
    align-items: center;
}

.email {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email img{
    width: 3em;

}
.screen {
    display: flex;
    flex-basis: 0;
    padding: 1em;
    background-color: black;
    gap: 2em;
    justify-content: stretch;
}
.screen > picture {
  max-width: 50%;
  height: auto;
  align-self: center;
}

.screen > picture img {
    width: 100%;
}

.screen >  img {
  max-width: 50%;
  height: auto;
  align-self: center;
}

.screen > div {
    color:  white;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: 1.5em;
}

.screen > div div {
    text-align: center;
}

.screen .credits
{
    margin-block-start: auto;
    justify-self: stretch;

}
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: space-evenly;
    align-items: center;
}

.logos img {
    max-width: 6em;
    height: auto;
}

img.affiche {
    display: block;
    max-width: 20em;
    margin-inline: auto; 
}

img.affiche.large {
    display: block;
    max-width: 100%;
    margin-inline: auto; 
    margin-block-start: 2em;
    margin-block-end: 2em;
}

img.logo.transmissions {
    display: block;
    margin-left: -1%;
    max-width: 12em;
}

a.link {
    text-decoration: dashed underline;
}
a.link:hover {
    text-decoration: underline;
}

@media (width <= 1250px) {
    body{
        padding-inline: 1.5em;
        font-size: 30pt;
        margin: 0;
    }
    section.spectacle {
        flex-direction: column;
    }

    section.spectacle figure.affiche {
        margin: 0 auto;
        width: 80%;

    }

    section.spectacle .liens{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        
        width: auto;
    }

    section.spectacle .liens a {
        max-width: 7em;
    }

    section.spectacle .liens a img  {
        margin: 0;
    }

    .screen {
        flex-direction: column;
        gap: 0em;
    }
    .screen > picture {
        max-width: 100%;
    }

    .screen > picture img {
        width: 100%;
    }

    .screen > img {
        max-width: 100%;
    }

    .screen > div {
        row-gap: 0.5em
    }

    img.affiche {
        width: 100%;
    }

    
    img.logo.transmissions {
        margin-left: -1%;
        max-width: 80%;
        min-width: 8em;
    }

}
