@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
body {
  display: flex;
  flex-direction: column;
  color: beige;
  align-items: center;
  background-color: #f7b57c;
  background-image: radial-gradient(#92e6db 20%, transparent 20%),
    radial-gradient(#afffc8 20%, transparent 20%);
  background-position: 0 0, 50px 50px;
  background-size: 20px 20px;
  font-family: "Playfair Display", serif;
}
main {
  background-color: rgb(126, 70, 60);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  margin: 2em;
  gap: 5px;
}

img {
  width: 100%;
}

main p {
  margin: 5em;
}
h1 {
  font-size: 4em;
}
h2 {
  font-size: 2em;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
}

header h1,
header h2 {
  margin: 0;
}

article {
  display: flex;
  flex-direction: column;
  font-family: "Inter", sans-serif;
  line-height: 1.5rem;
  align-items: center;
  padding: 1em;
  width: 60%;
  justify-content: space-around;
}

article p {
  margin: 5px;
  padding: 1em;
}

.img-container {
  display: flex;
  gap: 10px;
  width: 90%;
  padding: 5px;
}
.img-container img {
  width: 32%;
}

.gif-container {
  display: flex;
  gap: 10px;
  width: 90%;
  padding: 5px;
}
.gif-container img {
  width: 100%;
}

#lang {
  position: absolute;
  right: 0px;
  top: 0px;
}
#lang span {
  cursor: pointer;
  user-select: none;
}
#lang span.selected {
  font-weight: bold;
}
#lang span.hover {
  text-decoration: underline;
}

a:link,
a:visited {
  color: beige;
}
