* {
  box-sizing: content-box;
}

html {
  height: 100%;
}

body {
  font-weight: 500;
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  width: 80vw;
  max-width: 900px;
  margin: auto;
  height: 100%;
}

a {
  color: black;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }

  a {
    color: white;
  }
}

#name {
  white-space: nowrap;
}

img {
  height: 100%;
  width: 100%;
  max-width: 600px;
}

header {
  text-align: center;
}

main {
  flex: 1 0 auto;
}

footer {
  display: inline-block;
  text-align: right;
  padding-bottom: 0.5rem;
  flex-shrink: 0;
}

#year {
  display: inline;
}

#wife {
  position: relative;
}

#wife:hover::after {
  font-size: 2rem;
  font-style: normal;
  content: "🥰";
  position: absolute;
  top: -3rem;
  left: 0;
}

nav {
  padding: 0.5rem 0rem 0.5rem 0rem;
}

nav ul {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.image-container img {
  display: block;
  margin: auto;
  padding-top: 0.5rem;
}
