@font-face {
  font-family: "W95font";
  src:
    url("./fonts/w95font.woff2") format("woff2"),
    url("./fonts/w95font.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "W95font";
  src:
    url("./fonts/w95font-bold.woff2") format("woff2"),
    url("./fonts/w95font-bold.woff") format("woff");
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "W95font", Arial, sans-serif;
}

body {
  color: white;
  font-size: 14px;
  background: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background {
  position: fixed;
  inset: -20px;
  background: url("./images/cherry.jpg") center/cover no-repeat;
  filter: blur(10px) brightness(0.65);
  z-index: -1;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: #222;
  z-index: 100;
  display: flex;
  align-items: center;
}

header .left {
  margin: 10px;
}

header h1 {
  font-size: 22px;
}

.logo {
  height: 25px;
  margin-left: auto;
  margin-right: 10px;
}

section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.solid {
  background: #584444;
}

.share-section {
  min-height: 100vh;
}

.card {
  width: min(450px, 90%);
  padding: 25px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: left;
}

.card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 15px;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  margin-bottom: 15px;
}

button {
  width: 100%;
  padding: 10px 25px;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  background: #ffebeb;
  color: #222;
  border: none;
  border-radius: 6px;
}

button:hover {
  background: white;
}

#error {
  margin-top: 15px;
  color: #ff8888;
}

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

a:hover {
  text-decoration: underline;
}

a.external::after {
  content: "";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.15em;
  background: url("./images/link.svg") no-repeat center;
  background-size: contain;
}
