/* ==========================================================================
   Frederico Afonso – Lurdes
   Static rebuild of the original WordPress/Elementor page.
   Values mirror the computed styles of the original, including breakpoints
   (mobile ≤ 767px, desktop ≥ 768px, tablet ≤ 1024px).
   ========================================================================== */

/* Fonts ------------------------------------------------------------------- */
/* Same font files the WordPress site served (Google Fonts, self-hosted). */

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/raleway-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/raleway-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/roboto-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/roboto-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base -------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* The body font is never shown, but its size drives every `em` spacing below
   (and the line boxes around the images), so it matches the original theme. */
body {
  margin: 0;
  background-color: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.227), 1.125rem);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

a {
  text-decoration: none;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 2em 2em 0;
  background: url("../img/background.jpg") top center / cover repeat;
}

.hero__inner {
  position: relative;
  display: flex;
  max-width: 1140px;
  margin-inline: auto;
}

.hero__portrait,
.hero__content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.hero__portrait > *,
.hero__content > * {
  width: 100%;
}

/* Left column: silhouette sits on the bottom edge. */
.hero__portrait {
  align-content: flex-end;
  align-items: flex-end;
}

.hero__silhouette {
  text-align: center;
}

.hero__silhouette img,
.hero__name img {
  display: inline-block;
  vertical-align: middle;
}

.hero__silhouette img {
  width: 100%;
}

/* Right column: content vertically centred. */
.hero__content {
  align-content: center;
  align-items: center;
  padding: 2em;
}

.hero__name {
  margin: 0 0 20px;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: start;
}

.hero__name img {
  width: 90%;
}

.hero__bio {
  margin: 0 0 20px;
  color: #ee7770;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.hero__bio p {
  margin: 1em 0;
}

.hero__bio p:last-child {
  margin-bottom: 2em;
}

.hero__social {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__social li {
  margin: 0 15px 0 0;
}

.hero__social a {
  display: inline-block;
  font-size: 50px;
}

.hero__social img {
  display: block;
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.hero__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: #ee7770;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-align: end;
}

.hero__credit p {
  margin: 1em 0;
}

.hero__credit a {
  color: inherit;
}

/* Breakpoints ------------------------------------------------------------- */

@media (min-width: 768px) {
  .hero {
    height: 100vh;
  }

  .hero__inner {
    height: 100%;
  }

  .hero__portrait {
    width: 38.152%;
  }

  .hero__content {
    width: 61.848%;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 0;
  }

  .hero__silhouette {
    padding: 2em 3em 0;
  }

  .hero__content {
    padding: 2em 1em 1em;
  }

  .hero__social li {
    margin: 10px 10px 40px 0;
  }

  .hero__social li:first-child {
    margin-left: 10px;
  }

  .hero__credit {
    font-size: 10px;
    text-align: center;
  }
}
