/* Identity by HTML5 UP (html5up.net), CCA 3.0 licensed. */
:root {
  color-scheme: light;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: #414f57;
  font-size: 14pt;
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 2;
  background-color: #87d9d0;
  background-image:
    url("images/overlay.png"),
    linear-gradient(60deg, rgb(159 174 230 / 75%) 5%, rgb(118 233 214 / 75%)),
    url("../../images/bg.jpg");
  background-position:
    top left,
    center,
    bottom center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-size:
    100px 100px,
    cover,
    cover;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration-color: rgb(255 255 255 / 50%);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentcolor;
}

a:focus-visible {
  outline: 3px solid #1f6f78;
  outline-offset: 4px;
}

#wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: 1.5em;
}

#wrapper::before {
  content: "";
  display: block;
}

#main {
  position: relative;
  width: 27em;
  max-width: 100%;
  padding: 4.5em 3em 3em;
  text-align: center;
  background: #fff;
  border-radius: 4px;
  animation: card-in 600ms ease-out both;
}

.avatar {
  position: relative;
  display: block;
  margin-bottom: 1.5em;
}

.avatar::before,
.avatar::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 6.5em);
  height: 1px;
  background: #c8cccf;
}

.avatar::before {
  left: 0;
}

.avatar::after {
  right: 0;
}

.avatar img {
  position: relative;
  z-index: 1;
  display: block;
  width: 256px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5em #fff;
}

h1 {
  margin: 0 0 0.525em;
  color: #313f47;
  font-size: 1.85em;
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

#main header p {
  margin: 0 0 1.5em;
  font-size: 1em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin: -0.675em 0 0;
  padding: 0.675em 0 1.25em;
  list-style: none;
}

.social-links a {
  display: grid;
  width: 3.75em;
  height: 3.75em;
  place-items: center;
  color: #c8cccf;
  transition:
    /* color 180ms ease,
    border-color 180ms ease, */
    transform 180ms ease;
}

.social-links a:hover {
  /* color: #1f6f78;
  border-color: #1f6f78; */
  transform: translateY(-2px);
}

.social-links svg {
  width: 2em;
  height: 2em;
  fill: #000;
  transition: fill 180ms ease;
  /* stroke: currentcolor;
  stroke-width: 0.7;
  stroke-linejoin: round; */
}

.social-links a:hover svg {
  fill: #ff7496;
  /* color: #1f6f78;
  border-color: #1f6f78; */
  /* transform: translateY(-2px); */
}

#footer {
  align-self: stretch;
  padding-top: 1.3em;
  color: rgb(255 255 255 / 75%);
  font-size: 1em;
  letter-spacing: 0.2em;
  text-align: center;
  text-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  text-transform: uppercase;
}

#footer p {
  margin: 0;
  font-size: 0.8em;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

@media (max-width: 1680px) {
  body {
    font-size: 11pt;
  }
}

@media (max-width: 480px) {
  #wrapper {
    padding: 1em;
  }
  #main {
    padding: 4em 2em 2.5em;
  }
  .avatar img {
    width: 180px;
  }
  .avatar::before,
  .avatar::after {
    width: calc(50% - 6em);
  }
  .social-links {
    gap: 0.65em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
