
/*reset.css*/

/* Utiliser border-box partout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Supprimer uniquement la marge extérieure de la page */
body {
  min-height: 100vh;
  margin: 0;
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
}

/* Empêcher les médias de dépasser leur conteneur */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Utiliser la même police que le reste de la page */
button,
input,
textarea,
select {
  font: inherit;
}

/* Autoriser seulement le redimensionnement vertical */
textarea {
  resize: vertical;
}


/*end reset.css*/

#main {
    width: 80%;
    margin-inline: auto;
    margin-top: min(5%, 2rem);
    padding: 1rem;
    background-color: #EEEEEE;
}

#title {
    text-align: center;
}

#title + p {
    text-align: center;
}

#img-div {
    padding: .5rem 1rem;
    background-color: white;
}

#image {
    height: auto;
    display: block;
    margin-inline: auto;
}

#img-caption {
    margin: 1em auto;
    text-align: center
}

#tribute-info {
   padding: 2rem;
}

#tribute-info > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
}

#tribute-info h2 {
    text-align: center;
    margin-bottom: 2rem;
}

#tribute-info li {
    width: 70%;
    flex: auto;
}

#tribute-info li:last-of-type {
    list-style: none;
    font-style: italic;

}

.prime-minister {
    display: block;
    margin-top: 1em;
}

p:has(#tribute-link ) {
    margin-top: 2rem;
    font-weight: 600;
    font-size: 1.2rem;
}

#tribute-link {
    display: block;
    color: #3a5261;
    text-align: center;
}