body {
    text-align: center;
}

header {
    /*font-family: cursive;*/
    margin: 1em auto;
    max-width: 42em;
}

header h1 {
    background: url("media/logo.png") left no-repeat;
    background-size: 66px 66px;
    /*height: 66px;
    line-height: 66px;*/
    min-height: 66px;
    line-height: 66px;
    padding: auto 0 auto 20px;
}

nav {
    /*margin: auto;*/
}

nav ul {
    display: flex;
    gap: 1em;
    list-style: none;
    margin: 1em auto;
    max-width: 42em;
    padding: 0;
}

nav li {
    border: 0.2em solid #fff;
    border-radius: 2em;
    flex: 1;
    font-weight: bold;
}

nav li.page-courante {
    border: 0.2em solid #000;
    border-radius: 2em;
}

@media(hover: hover) and (pointer: fine) {
    nav li:not([class='page-courante']):hover {
        border-color: #00f;
    }
}

nav li a {
    color: #00f;
    display: block;
    text-decoration: none;
}

a:visited {
    color: #00f;
}

section#bio {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 auto 1em auto;
    /*max-height: 44em;*/
    max-width: 42em;
    padding: 1em;
    text-align: justify;
}

section#bio p {
    flex: 1 1 50%;
    margin: 0;
}

section#bio br {
    content: "";
    display: block;
    margin: 0.25em 0;
}

section#bio em {
    text-decoration: underline;
}

section#bio img {
    border-radius: 1em;
    flex: 1 1 50%;
    height: 0%;
    width: 100%;
}

blockquote {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-style: italic;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: center;
}

section.morceau {
    border: 0.2em solid #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 0em;
    margin: 0 auto 1em auto;
    max-height: 68em;
    max-width: 42em;
    padding: 1em;
    text-align: justify;
}

section.portrait {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    font-weight: bold;
    text-align: left;
}

section hgroup {
    padding-bottom: 0.5em;
}

section.morceau hgroup p.auteur {
    text-align: right;
}
section.portrait div {
    flex: 1 1 auto%;
}

section.portrait img {
    border-radius: 1em;
    max-height: 20em;
    max-width: 13em;
}

section.infos {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: center;
}

/*section.morceau2 {
    border: 0.2em solid #000;
    border-radius: 2em;
    display: grid;
    grid-gap: 0;
    grid-template-columns: calc(65%) calc(35%);
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: justify;
}

section.morceau2 hgroup {
    grid-area: 1 / 1 / span 1 / span 2;
}

section.morceau2 hgroup p+p {
    text-align: right;
}

section.morceau2 img {
    border-radius: 1em;
    grid-area: 2 / 2 / span 1 / span 1;
    max-height: 20em;
}

section.morceau2 p {
    grid-area: 2 / 1 / span 1 / span 1;
}

section.morceau2 audio {
    grid-area: 3 / 1 / span 1 / span 2;
    max-height: 2em;
}

section.morceau2 hgroup * {
    margin: 0;
}

section.morceau2 hgroup p {
    font-size: 1.5em;
    font-style: italic;
}*/

section.morceau hgroup * {
    margin: 0;
}

section.morceau hgroup p {
    font-size: 1.5em;
    font-style: italic;
}

/*section.morceau.pessoa {
    background-image: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.5)), url("media/fernando-pessoa.jpg");
    background-position: center right 1em;
    background-repeat: no-repeat;
    background-size: auto 300px;
}*/

/*section.morceau.camoes {
    background-image: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.5)), url("media/luis-de-camoes.jpg");
    background-position: center right 1em;
    background-repeat: no-repeat;
    background-size: auto 300px;
}*/

audio, video {
    border-radius: 2em;
}

form {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: justify;
}

body.admin form {
    border-style: solid;
    display: block;
    line-height: 2em;
    max-height: none;
}

body.admin form.presentation {
    border-color: #f00;
}

body.admin form img,
body.admin form audio,
body.admin form video {
    max-height: 100px;
}

body.admin input[type='submit'] {
    margin-right: 3em;
}

body.admin input[value='Supprimer'] {
    color: #f00;
}

div.resultat {
    border: 0.2em solid #f44;
    border-radius: 2em;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: justify;
}

input[type='radio'] {
    accent-color: #000;
}

input[type='radio']:not(:checked) + label +br + span {
    display: none;
}

input[type='submit'] {
    font-size: 2em;
}

label {
    font-weight: bold;
}

section#envoi-courriel {
    border: 0.2em dotted #000;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-weight: bold;
    margin: 0 auto 1em auto;
    max-height: 44em;
    max-width: 42em;
    padding: 1em;
    text-align: center;
}

section#envoi-courriel.erreur {
    color: #f00;
}

footer {
    margin-bottom: 5em;
}

footer a {
    margin-right: 1em;
}

a.facebook {
    background: url("media/icone-facebook.png") no-repeat left;
    background-size: 16px auto;
    padding: 0 0 0 20px;
}

a.youtube {
    background: url("media/icone-youtube.png") no-repeat left;
    background-size: 16px auto;
    padding: 0 0 0 20px;
}