[lang="fr"], [lang="en"] {
  display: none;
}

#fr:checked~* [lang="fr"] {
  display: inline;
}

#en:checked~* [lang="en"] {
  display: inline;
}

body {
  background-color: #ffc833;
  font-family: sans-serif;
}

input {
  display: none;
}

label {
  cursor: pointer;
  text-decoration: underline;
}

h1, h2 {
  text-align: center;
}

article {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

figure {
  margin: 0;
}

figure, .links {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

img {
  max-width: 100%;
}

.images span {
  display: inline-block;
  margin-bottom: 5px;
  position: relative;
}

.images span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 5px);
  background: #948a78;
  opacity: 34%;
}

.links {
  text-align: center;
}

.links img {
  margin-bottom: 5px;
}

@media all and (min-width: 768px) {
  figure, figcaption {
    margin: 0 10px 0 10px;
  }

  figure, .links {
    flex-direction: row;
  }

  figure > * {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
  }
}
