/* Import custom fonts */
@import url("https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap");

figcaption {
  font-size: 15px;
  color: #fffad9;
  font-style: italic;
  text-align: center;
  padding: 20px 0 0 0;
  line-height: 1.2;
}

body {
  cursor: url("https://files.catbox.moe/ox3frd.png"), auto;
  animation: cursor 0.25s linear infinite;
  background-color: black;
  color: white;
  font-family: "Libre Caslon Text", serif;
  background-image: url(https://files.catbox.moe/35ith6.webp);
}
@keyframes cursor {
  0% {
    cursor: url(https://files.catbox.moe/ox3frd.png), auto;
  }
  100% {
    cursor: url(https://files.catbox.moe/7hw89m.png), auto;
  }
}
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  background-color: #000;
  color: #fffad9;
  font-family: Caudex, serif;
  font-weight: 700;
  font-size: 3em;
  font-style: normal;
  margin: 0.5em 0;
}

h2 {
  text-align: center;
}

h3 {
  background-color: #000;
  color: #fffad9;
  font-family: Caudex, serif;
  font-weight: 700;
  font-size: 1.75em;
  font-style: normal;
  margin: 0.75em 0;
}

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

a:hover {
  color: #fff;
  text-decoration: underline;
}

.column {
  float: left;
}

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: space-evenly;
}

#navbar li {
  padding-top: 10px;
}

#navbar li a {
  color: #fff;
  font-weight: 800;
}

#navbar li a:hover {
  color: #fffad9;
  text-decoration: underline;
}

.element {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

#title,
#navbar,
#main,
#badges,
#contact,
#footer,
#gbook {
  border-radius: 20px;
  background-color: #000;
  border: solid #fff;
  margin-top: 10px;
  padding: 20px;
}

#title {
  padding-bottom: 0.5em;
  text-align: center;
}

#navbar {
  padding-top: 10px;
}

#main {
  display: flex;
  text-align: left;
  line-height: 2;
}

#sketch {
  width: 20%;
  display: block;
  margin: 0 auto;
  border: 2px solid #fff;
}

#badges {
  text-align: center;
  padding: 10px 20px;
}

#contact {
  text-align: left;
  padding-bottom: 20px;
}

#mailgif {
  float: right;
  width: 90px;
  height: 90px;
}

#mailgif2 {
  display: block;
  margin: 10px auto;
  width: 107px;
  height: 35px;
}

#footer {
  text-align: center;
  color: #fffad9;
  padding: 10px 20px;
}

#gbook {
  text-align: center;
  height: 1500px;
  width: 99.5%;
}

@media (max-width: 850px) {
  .element {
    max-width: 100%;
  }

  #mailgif {
    display: none;
  }

  #sketch {
    width: 50%;
  }

  #gbook {
    width: 98.7%;
  }
}
