@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@300;700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');



html {
  cursor: url("../images/cursor.png"), auto;
}

body {
  overflow-x: hidden;
  font-family: Ubuntu, sans-serif;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position:bottom;
  background-attachment: fixed;
  max-width: 1000px;
  border: 1px solid black;
  margin-left: auto;
  margin-right: auto;
}

main {
  min-height: 72vh;
}

@media (max-width: 1000px) {
  body {
    border-left: none;
    border-right: none;
  }
}

header {
  border-bottom: 1px solid black;
}

nav, footer {
  border-top: 1px solid black;
}

h1 {
  font-size: 2.1em;
}

figure {
  display: inline-block;
  margin: 0;
}

figure figcaption {
  text-align: center;
  width: 100%;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}

li {
  margin-top: 0.35em;
  margin-bottom: 0.35em;
}

input[type="submit"] {
  display: block;
}



/* --- Cursor effect --- */
bubble {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  animation-name: bubble-float;
  animation-timing-function: ease-in;
  filter: drop-shadow(-5px 5px 5px rgba(0, 0, 0, 0.25));

  --min-size: 5px;
  --max-size: 30px;
  --translate-x-midrange: 0px;
  --translate-x-range: 75px;
  --translate-y-midrange: -230px;
  --translate-y-range: 135px;
  --bubble-duration-midrange: 1350ms;
  --bubble-duration-range: 250ms;
}
@keyframes bubble-float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(var(--translate-x), var(--translate-y));
  }
}



/* --- Header --- */

.banner {
  background-image: url("../images/banner.jpg");
  background-size: 1000px;
  background-position: center;
  text-align: center;
  padding: 5px;
  cursor: pointer;
}

.banner a {
  text-decoration: none;
}

.logo {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.65);
  padding: 4px 28px 4px 28px;
}

header .title, header .subtitle {
  display: block;
  font-family: Handjet, fantasy;
  text-shadow: 2px 2px 0 black;
  margin: 0;
}

header .title {
  color: #e6ecf1;
  font-size: 52px;
  letter-spacing: 0.75px;
}

header .subtitle {
  color: #d1dde7;
  font-size: 26px;
  letter-spacing: 0.15px;
}

@media (max-width: 420px) {
  header .title {
    font-size: 30px;
  }
  header .subtitle {
    font-size: 15px;
  }
}



/* --- Navigation --- */

nav {
  font-size: 1em;
  background-color: #3c3c3c;
  padding: 8px 20px 8px 20px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  line-height: 1.2em;
  display: inline;
  margin: 0 1em;
}

nav a {
  text-decoration: none;
}

nav a:link {
  color: yellow;
}

nav a:visited {
  color: yellow;
}

nav a:hover {
  text-decoration: underline;
}



/* --- Main --- */

main {
  background-color: rgb(255, 255, 255, 0.5);
  padding: 5px 20px 30px 20px;
}



/* --- Footer --- */

footer {
  background-color: #646464;
  padding: 12px 0 12px 0;
}

footer p {
  color: #d7d7d7;
  background-color: #3c3c3c;
  padding: 4px 20px 4px 20px;
  margin: 0;
}

footer a:link {
  color: #d7d7d7;
}

footer a:visited {
  color: #d7d7d7;
}