@font-face {
  font-family: Averia;
  src: url(./assets/Averia_Serif_Libre/AveriaSerifLibre-Regular.ttf);
  weight: regular;
}

@font-face {
  font-family: Averia;
  src: url(./assets/Averia_Serif_Libre/AveriaSerifLibre-Bold.ttf);
  weight: bold;
}

@font-face {
  font-family: Averia;
  src: url(./assets/Averia_Serif_Libre/AveriaSerifLibre-Light.ttf);
  weight: light;
}

@font-face {
  font-family: Work-Sans;
  src: url(./assets/Work_Sans_Lite/WorkSans-Light.ttf);
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: Work-Sans;
  src: url(./assets/Work_Sans_Lite/WorkSans-Regular.ttf);
  font-weight: 500;
  font-style: normal;
}

body {
  font-family: Work-Sans;
  margin: 0;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

@media (width > 800px) {
  body {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }
}

.logo-area {
  color: rgb(223, 195, 151);
  background-color: #800000;
  display: grid;
  place-items: center;
  padding: 3rem;
}

.logo {
  --size: 375px;
  max-width: 100%;
  width: var(--size);
  height: var(--size);
}
.content-wrapper {
  padding: 2rem;
  background-color: rgb(223, 195, 151);
  color: rgb(85, 54, 31);
  display: grid;
  place-items: center;
}
.content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name-display {
  font-family: Averia;
  font-weight: bold;
  color: #800000;
  font-size: 2.5rem;
  margin: 0;
  text-align: center;
}

.sub-heading {
  font-weight: 300;
  font-size: 1.35rem;
  display: flex;
  text-transform: uppercase;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem 0.5rem;
  justify-content: center;
}

@media (width >= 500px) {
  .sub-heading {
    flex-direction: row;
    gap: 1.1rem;
  }
}

.contact {
  font-weight: 500;
  margin-top: 2rem;
  text-align: center;
  font-size: 1.25rem;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  border-radius: 999px;
  color: rgb(129, 92, 70);
}

.copy-button {
  background-color: transparent;
  border: none;
  display: grid;
  place-items: center;
  translate: 0 -2px;
  cursor: pointer;
  position: relative;
  color: inherit;
}

.copy-button-success-message {
  display: none;
}

.lucide {
  width: 1rem;
}
.lucide-copy {
  display: inline;
}

.lucide-copy-check {
  display: none;
}

.copy-button.success {
  .lucide-copy {
    display: none;
  }

  .lucide-copy-check {
    display: inline;
    color: #800000;
  }

  .lucide-copy-check::after {
    content: "copied";
    position: absolute;
    bottom: -10px;
  }

  .copy-button-success-message {
    display: inline;
    color: #800000;
    position: absolute;
    right: -40px;
    animation: fade-in-out 1.1s forwards;
  }
}

@keyframes fade-in-out {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

a,
a:visited {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
}
