*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Kalam", cursive;
  color: #fffbef;
}

body {
  background-color: #372f2e;
  margin: 0 20px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.box_shadow {
  box-shadow: 0px 1px 0px 0px #00000040;
}

.text_shadow {
  text-shadow: 0px 1px 0px 0px #00000040;
}

.wrapper {
  flex: 1 0 auto;
}

.title h1,
.title h2 {
  text-align: center;
  font-weight: 400;
}

.title h1 {
  margin-top: 100px;
  font-size: clamp(48px, 64px, 5vw);
}

.title h2 {
  font-size: 20px;
}

.link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

.link .link_input,
.link .link_shorted {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
  width: 100%;
  max-width: 600px;
}

.link .link_input input,
.link .link_shorted input {
  padding: 10px;
  background-color: #ffe3ce;
  border: none;
  border-radius: 8px;
  outline: none;
  color: #453b3a;
  margin-top: 5px;
  height: 40px;
}

.link button {
  background-color: #9dd2b4;
  color: #fffbef;
  border-radius: 8px;
  border: none;
  padding: 8px clamp(35px, 50px, 50px);
  font-size: 20px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  align-self: flex-end;
  margin-top: 20px;
}

.link button:hover {
  background-color: #8bb89e;
}

.link .link_shorted {
  display: none;
  position: relative;
}

.link .link_shorted .link_shorted--options {
  position: absolute;
  right: 10px;
  top: calc(50% + 5px);
}

.link .link_shorted .link_shorted--options svg:nth-child(1),
.link .link_shorted .link_shorted--options svg:nth-child(2) {
  cursor: pointer;
}

.link .link_shorted .link_shorted--options svg:nth-child(1):hover,
.link .link_shorted .link_shorted--options svg:nth-child(2):hover {
  fill: #8bb89e;
}

.link .link_shorted .link_shorted--options svg:nth-child(3) {
  cursor: pointer;
}

.link .link_shorted .link_shorted--options svg:nth-child(3):hover {
  fill: #fca4ae;
}

.link .QRCode {
  display: none;
  margin: 20px auto;
  border: 5px solid #25201f;
  border-radius: 8px;
}

.link .active-QRCode {
  display: block;
}

.link .link_shorted--active {
  display: flex;
}

footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  padding-bottom: 20px;
}

footer p,
footer a {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

footer p {
  padding: 5px;
}
