* {
  margin: 0;
  padding: 0;
  color: white;
}

html {
  font-family: "Open Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.6em;
  background: #374035;
}

html, body {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media only screen and (max-width: 865px) {
  html, body {
    width: auto;
    height: auto;
  }
}
body {
  display: flex;
  justify-content: safe center;
}

a {
  text-decoration: none;
}

p {
  font-size: 0.65rem;
}

.container {
  display: flex;
  align-items: safe center;
  justify-content: safe center;
  flex-direction: column;
}

.bio-container {
  display: flex;
  flex-direction: column;
  align-items: safe center;
  padding: 54px 40px 0 40px;
}

.bio-container > img {
  width: 250px;
  aspect-ratio: 1;
  border-radius: 125px;
  overflow: hidden;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.bio-container h1, a {
  font-weight: 400;
}

.bio-container > h1 {
  margin-top: 40px;
  font-size: 0.67em;
  text-transform: uppercase;
}

.bio-container > h2 {
  margin-top: 7px;
  font-size: 2em;
  text-transform: capitalize;
  text-align: center;
}

.bio-container a {
  font-size: 15px;
  text-transform: capitalize;
}

.bio-container > *:last-child {
  display: flex;
  margin-top: 20px;
  gap: 20px;
}

.cards-container {
  display: flex;
  align-items: safe center;
}

@media only screen and (max-width: 865px) {
  .cards-container {
    flex-direction: column;
  }
}
.card-container {
  padding: 40px 15px;
}

.cards-container > *:first-child {
  padding-left: 40px;
}

.cards-container > *:last-child {
  padding-right: 40px;
}

@media only screen and (max-width: 865px) {
  .card-container {
    padding: 15px 40px;
  }
  .cards-container > *:first-child {
    padding-top: 40px;
  }
  .cards-container > *:last-child {
    padding-bottom: 40px;
  }
}
.card {
  max-width: min(355px, 100vw - 80px);
  aspect-ratio: 11/16;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
}

/* @media only screen and (max-width: 865px) {
    .card {
        max-width: 370px;
    }
} */
.card > * {
  width: 100%;
  height: 100%;
}

img {
  height: 100%;
  position: relative;
}

.card > *:last-child {
  display: flex;
  align-items: end;
}

.card > *:last-child::before {
  position: absolute;
  content: "";
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: -1;
  opacity: 1;
  background: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0.15) 43.5%, hsl(0, 0%, 0%) 100%);
}

.card > *:last-child::after {
  position: absolute;
  content: "";
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 0%, hsla(0, 0%, 0%, 0.85) 43.5%, hsl(0, 0%, 0%) 100%);
}

.card > *:last-child > * {
  padding: 20px;
}

.card h2 {
  display: inline-block;
  text-transform: capitalize;
}

.card h2::after {
  display: block;
  width: calc(100% + 20px);
  transform: translateX(calc(-100% - 20px));
  content: "";
  height: 6px;
}

.card > *:last-child > * > *:not(h2) {
  opacity: 0;
  transition-delay: 1500ms;
}

.card > *:last-child p {
  padding: 20px 0;
}

.card a {
  padding: 15px 35px;
  border-radius: 10px;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: bold;
  vertical-align: super;
}

.card a::first-letter {
  text-transform: uppercase;
}

.card a:focus {
  outline: 2px solid white;
  outline-offset: -5px;
}

/* Animations */
.card {
  transition: transform 500ms ease-in;
}

.card:hover,
.card:focus-within {
  transform: scale(1);
}

.card > *:first-child {
  transition: transform 500ms ease-in;
}

.card:hover > *:first-child,
.card:focus-within > *:first-child {
  transform: scale(1.1);
}

.card > *:last-child {
  transition: transform 500ms ease-in;
}

.card:hover > *:last-child,
.card:focus-within > *:last-child {
  transform: translateY(-100%) !important;
}

.card > *:last-child::before,
.card > *:last-child::before {
  transition: opacity 500ms linear;
}

.card > *:last-child::after,
.notable .card > *:last-child::after {
  transition: opacity 500ms linear;
}

.card:hover > *:last-child::before,
.card:focus-within > *:last-child::before {
  opacity: 0;
}

.card:hover > *:last-child::after,
.card:focus-within > *:last-child::after {
  opacity: 1;
}

.card h2::after,
.card h2::after {
  transition: transform 500ms ease-in;
}

.card:hover h2::after,
.card:focus-within h2::after {
  transform: translateX(-20px);
  transition: transform 500ms ease-in 500ms;
}

.card > *:last-child > * > *:not(h2) {
  transition: opacity 500ms ease-in;
}

.card:hover > *:last-child > * > *:not(h2),
.card:focus-within > *:last-child > * > *:not(h2) {
  opacity: 1;
  transition: opacity 500ms ease-in 1000ms;
}

/*# sourceMappingURL=main.css.map */