@import url('https://fonts.googleapis.com/css2?family=Boldonse&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  color: #fff;
}

main {
  flex: 1;
  padding: 40px;
}

h1 {
  font-family: "Boldonse", system-ui;
}

footer {
  background: #111;
  border-top: 1px solid #222;
  padding: 16px;
  text-align: center;
  align-items: center;
  width: 100%;;
  justify-content: center;
  gap: 32px;
  display: flex;
}

a {
  color: #aaa;
  text-decoration: none;
  font-family: "Boldonse", system-ui;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

a:hover {
  color: #fff;
}

/* Buttons */
button {
  position: relative;
  padding: 13px 20px;
  margin: 20px;
  font-size: 15px;
  font-weight: bold;
  font-family: "Boldonse", system-ui;
  transition: .3s ease;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  color: #fff;
}

/* up-fill button */
.up {
  position: relative;
  border: 5px solid #fff;
  z-index: 1;
}

.up:hover {
  color: #0a0a0a;
}

.up:before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #fff;
  transition: height .3s ease;
}

.up:hover:before {
  height: 100%;
}

/* down-fill button */
.down {
  position: relative;
  border: 5px solid #fff;
  z-index: 1;
}

.down:hover {
  color: #0a0a0a;
}

.down:before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #fff;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  transition: height .3s ease;
}

.down:hover:before {
  height: 100%;
}

@media only screen and (max-width: 600px) {
  button {
    font-size: 10px;
  }
}
