@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=JetBrains+Mono:wght@200;700&display=swap');

:root {
  --secondary-color: #0d0e0b;
  --white: #fff;
  --wine: #552841;
  --background-color: var(--white);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #0d0e0b;
    --secondary-color: var(--white);
  }
}

body {
  background-color: var(--background-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-size: 11px;
}

.container {
  animation: filterGray 1s forwards 1s;
  filter: grayscale(100%);
  padding: 0 2em;
}

#page-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5em;
  line-height: 1.5em;
}

#page-title > .text-name {
  padding: 3px 6px;
  background-size: 200% 100%;
  background-image: linear-gradient(to right, var(--background-color) 50%, var(--secondary-color) 50%);
  animation: backgroundName 1s forwards;
}

.avatar {
  width: 25vh;
  margin: 1em auto;
}

.img-circle {
  border-radius: 100%;
}

.card-main, .card-info {
  font-size: 1.5em;
}

.card-info {
  font-family: 'Anonymous Pro', monospace;
  margin: 10px auto;
  line-height: 1.4em;
}

.icon-ruby {
  width: 14px;
}

.text-ruby {
  color: #c52928;
  font-weight: 700;
}

.text-no-decoration {
  text-decoration: none;
}

.text-center {
  text-align: center;
}

.no-select {
    user-select: none;
}

.link-lewagon {
  background-color: #ffe0e1;
  color: rgb(253, 16, 21);
  padding: .1em .4em;
  /* transition: background-color .5s ease-out; */
  /* vertical-align: middle; */
}

/* .link-lewagon:hover {
  background-color: rgba(253, 16, 21, 1);
} */

.btn-email {
  background-color: var(--wine);
  color: var(--white);
  padding: .4em;
  font-size: 1.5em;
  margin-top: .5em;
  display: inline-block;
  transition: opacity ease-in 1s;
  opacity: .6;
  /* animation: moveButton 2s forwards; */
}

.btn-email:hover {
  opacity: 1;
}

.text-emoji {
  display: none;
}

@media (min-width: 1024px) {

  body {
    padding: 0;
    font-size: 15px;
  }

  /* .text-emoji {
    display: inline;
  } */

  .btn-email {
    font-size: inherit;
  }

}

@media (orientation: landscape)
      and (max-device-height: 600px) {
  img {
    display: none;
  }
}

@keyframes filterGray {
  to {
    filter: grayscale(10%)
  }
}

@keyframes moveButton {
  0% {
    transform: scale(.8)
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1)
  }
}

@keyframes backgroundName {
  from {
    color: var(--secondary-color);
  }
  to {
    background-position: -100% 0;
    color: var(--background-color)
  }
}
