@view-transition {
  navigation: auto;
}

@font-face {
  font-family: 'Google Sans Flex';
  src: url("GoogleSansFlex.woff2") format('woff2');
}

body {
  background-color: moccasin;
  font-family: 'Google Sans Flex', sans-serif;
  color: #504945;
  padding: 10px;
}

h1 {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: auto;
  line-height: 1;
  margin: 0;
  margin-top: 30px;
}

h2 {
  font-size: 20px;
  color: #b16286;
  margin-top: auto;
}

h3 {
  margin-bottom: auto;
}

hr {
  border-color: grey;
  border-radius: 1px;
}

a {
  color: #076678;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

img {
  width: 300px;
  margin-bottom: 20px;
  text-align: center;
  transition: transform .7s ease-in-out;
  margin-top: 30px;
}

img:hover {
  transform: rotate(360deg);
}

code {
  border-radius: 6px;
  background-color: #f0c6c6;
  font-weight: bold;
  padding: 2px;
}

blockquote {
  font-style: italic;
  border-left: 5px solid #b16286;
  background-color: #fcebcc;
  border-radius: 10px;
  padding: 6px;
  padding-left: 12px;
  margin-left: auto;
  margin-right: auto;
}

details {
  background-color: #fcebcc;
  padding: 3px;
  border-radius: 6px;
  border: 2px solid #504945;
}

details > summary {
  background-color: #f0c6c6;
  padding: 4px;
  border-radius: 6px;
  border: 2px solid #504945;
  font-weight: bold;
  font-style: italic;
  cursor: pointer;
}

.topnav {
  background-color: #504945;
  display: flex;
  overflow: hidden;
  border-radius: 10px;
}

.topnav a {
  flex: 1;
  color: #f9f5d7;
  padding: 14px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.topnav a:hover {
  background-color: #5c524c;
}

.topnav a.active {
  background-color: #f0c6c6;
  color: inherit;
}

.topnav a.active:hover {
  background-color: #ebc1c1;
}

.main-content {
  max-width: 900px;
  width: 100%;
  margin: auto;
}

.splash {
  text-align: center;
}

.splash h1 {
  font-size: 100px;
  text-shadow: 4px 4px #a5a0a0;
}

.splash h2 {
  font-size: 60px;
  text-shadow: 3px 3px #f0c6c6;
}

.splash img {
  width: 350px;
  transition-property: none;
  margin: 0;
}

@media screen and (max-width: 800px) {
  .splash img {
    width: 210px;
  }

  .splash h1 {
    font-size: 60px;
    text-shadow: 2px 2px #a5a0a0;
  }

  .splash h2 {
    font-size: 25px;
    text-shadow: 1px 1px #f0c6c6;
  }
}

.button {
  background-color: #b16286;
  border-radius: 25px;
  margin: auto;
  width: 200px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.button a {
  display: flex;
  justify-content: center;
  color: white;
  padding: 14px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 25px;
}

.button a:hover {
  background-color: #9c5977;
}