@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;1,100;1,400&display=swap");
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  min-width: 350px;
  min-height: max(350px, 100vh);
  min-height: max(350px, 100dvh);
  box-sizing: border-box;
  font-family: "lato", Helvetica, sans-serif;
  background-color: var(--white);
  color: var(--dark-blue);
}
@media (max-width: 56.25em) {
  body {
    gap: 1.5625rem;
  }
}

main {
  position: relative;
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
@media (max-width: 56.25em) {
  main {
    gap: inherit;
  }
}

select {
  background-color: inherit;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/lato-light-iArSMxs.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-regular-CzNc_Ij.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-bold-5CmM-eX.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
}

h1 {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.09375rem;
  text-align: center;
}

h2 {
  text-transform: uppercase;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
  text-align: center;
  cursor: pointer;
}

i {
  font-style: normal;
  color: var(--dark-grey);
  font-size: 0.625rem;
}

p {
  margin: 0;
  font-weight: 300;
}

:root {
  --dark-blue: hsl(216, 48%, 14%);
  --medium-blue: hsl(221, 10%, 38%);
  --light-blue: hsl(216, 48%, 58%);
  --light-grey: hsl(0, 0%, 94%);
  --medium-grey: hsl(0, 0%, 70%);
  --dark-grey: hsl(0, 0%, 54%);
  --white: hsl(0, 0%, 100%);
  --light-red: hsl(0, 100%, 94%);
  --medium-red: hsl(0, 67%, 59%);
  --dark-red: hsl(0, 56%, 39%);
  --light-yellow: hsl(48, 100%, 94%);
  --medium-yellow: hsl(48, 100%, 70%);
  --dark-yellow: hsl(48deg 81% 48%);
  --light-green: hsl(120, 100%, 94%);
  --medium-green: hsl(120, 48%, 58%);
  --dark-green: hsl(120, 56%, 44%);
}

.person-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3.125rem;
}
@media (max-width: 56.25em) {
  .person-actions {
    margin: 0.625rem 0;
  }
}
.person-actions__image {
  box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
  border-radius: 50%;
  transition: all 150ms;
  width: 2.5rem;
  height: 2.5rem;
}
.person-actions__image--rotate {
  transform: rotate(270deg);
}
.person-actions__image:hover {
  filter: invert(1);
  scale: 1.2;
}

.person-content {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 56.25em) {
  .person-content {
    width: 100%;
    padding-right: 0;
  }
}
.person-content__description {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 3.125rem 0;
  width: 90%;
}
@media (max-width: 56.25em) {
  .person-content__description {
    flex-direction: column;
  }
}

.person-description {
  width: min(90%, 60ch);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3.125rem;
}
@media (max-width: 56.25em) {
  .person-description {
    width: 80%;
  }
}
.person-description__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  letter-spacing: 0.125rem;
  font-size: 1.5625rem;
}
@media (max-width: 56.25em) {
  .person-description__header {
    width: 90%;
    justify-content: center;
  }
}
.person-description__header-name {
  color: var(--medium-grey);
}
.person-description__header-year {
  color: var(--medium-grey);
}
.person-description__header--darker {
  margin-left: 0.1875rem;
  color: var(--dark-blue);
  text-transform: uppercase;
}
.person-description__biography {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  text-indent: 10%;
  text-align: justify;
  letter-spacing: 0.03125rem;
  width: 100%;
}
.person-description__biography-title {
  text-indent: 0;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  text-align: left;
}
.person-description__biography p {
  width: 100%;
}

.person-family {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (max-width: 56.25em) {
  .person-family {
    width: 80%;
  }
}
.person-family__title {
  text-align: center;
  color: var(--medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.3125rem;
}
.person-family__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(50vh, 50vw);
  aspect-ratio: 1/1;
  margin: 3.125rem;
  border-radius: 50%;
  border: solid 2px var(--medium-grey);
  position: relative;
}
.person-family__wrapper:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 2px var(--medium-grey) dashed;
  z-index: -1;
}
@media (max-width: 56.25em) {
  .person-family__wrapper {
    width: 100%;
  }
}
.person-family__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 9.375rem;
}
@media (max-width: 56.25em) {
  .person-family__portrait {
    width: 3.125rem;
    height: 3.125rem;
  }
}
.person-family__portrait--godfather {
  position: absolute;
  translate: -50% -50%;
}
.person-family__portrait--godchild {
  position: absolute;
  translate: -50% 50%;
}
.person-family__portrait--personal {
  transition: width 0.5s ease-in-out;
  border-radius: 50%;
  object-fit: cover;
  width: 9.375rem;
  aspect-ratio: 1/1;
  box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
}
.person-family__portrait--personal:hover {
  width: 70%;
}
.person-family__portrait-image {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  border: solid 0.5px var(--medium-grey);
  opacity: 1;
  transition: opacity 0.5s;
}
.person-family__portrait-name {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s;
  font-size: 1.25rem;
  text-align: center;
  text-transform: capitalize;
  color: var(--dark-blue);
  z-index: 10;
}
.person-family__portrait:hover {
  z-index: 10;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.person-family__portrait:hover .person-family__portrait-name {
  opacity: 1;
}
.person-family__portrait:hover .person-family__portrait-image {
  opacity: 0.1;
}

.person-link {
  height: min(300px, 40%);
  position: absolute;
  bottom: 0;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
@media (max-width: 81.25em) {
  .person-link {
    border-top: solid 3px var(--dark-blue);
    padding-bottom: 2rem;
    width: 90%;
    justify-content: space-around;
    position: relative;
    flex-direction: row;
    right: 0;
  }
}
.person-link__image {
  aspect-ratio: 1/1;
  object-fit: contain;
}
.person-link__wrapper {
  transition: all 150ms;
  box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
  height: 1.5rem;
  width: 1.5rem;
  padding: 0.5rem;
  background-color: var(--dark-blue);
  border-radius: 50%;
}
@media (max-width: 81.25em) {
  .person-link__wrapper {
    translate: 0 -50%;
  }
}
.person-link__wrapper:hover {
  filter: invert(1);
  scale: 1.2;
}
.person-link::before {
  content: "";
  z-index: -1;
  position: absolute;
  height: 100%;
  width: 2px;
  border-left: solid 5px var(--dark-blue);
}
@media (max-width: 81.25em) {
  .person-link::before {
    content: None;
  }
}

.popup {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 13vh;
  left: 1.25rem;
  z-index: 10;
  transform: translateX(-140%);
  padding: 0.625rem;
  gap: 0.625rem;
  border-radius: 0.3125rem;
  transition: translate 0.8s ease-in-out;
}
.popup--error {
  background: var(--light-red);
  border: var(--dark-red) 5px solid;
  border-width: 0 0 5px 0;
}
.popup--success {
  background: var(--light-green);
  border: var(--dark-green) 0px solid;
  border-width: 0 0 0 5px;
}
.popup--visible {
  left: 1.25rem;
  translate: 140% 0;
}
@media (max-width: 43.75em) {
  .popup--visible {
    translate: 0 100%;
  }
}
.popup__close-button {
  width: 1.25rem;
  height: 1.25rem;
}
.popup__close-button:hover {
  cursor: pointer;
}
@media (max-width: 43.75em) {
  .popup {
    transform: translateY(-100%);
    top: 0;
    left: 10%;
    right: 10%;
    border-width: 0 0 5px 0;
    flex-direction: column;
    border-radius: 0 0 1.25rem 1.25rem;
  }
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.625rem 2.1875rem;
  width: 100%;
  min-height: 5rem;
  padding: 0 3.125rem;
  box-sizing: border-box;
}
.header__title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.header__logo {
  height: 3.125rem;
  aspect-ratio: 1/1;
}
.header__login {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: inherit;
  flex-wrap: wrap;
  margin-left: auto;
}
.header__login > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 6.25rem;
}
.header__login-picture {
  border-radius: 50%;
  height: 3.125rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 3px solid transparent;
  box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
  transition: scale 0.15s ease-in-out;
}
.header__login-picture:active {
  scale: 0.95;
}
.header__login-link {
  height: 100%;
  color: var(--dark-grey);
  transition: color 0.3s ease;
}
.header__login-link:hover {
  color: var(--dark-blue);
}
@media (max-width: 51.875em) {
  .header__login {
    justify-content: space-evenly;
    width: 90%;
    margin: 0;
  }
}
@media (max-width: 51.875em) {
  .header {
    box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
    justify-content: center;
    padding: 1.25rem 0;
  }
}

/*# sourceMappingURL=person.output.css.map */
