/* CSS Style Sheet */

/* Font face from The Braille Institute (https://brailleinstitute.org/freefont) */
@font-face {
    font-family: "Atkinson";
    font-weight: 400; /* Regular */
    src: url("/assets/Atkinson-Web-2020/Web Fonts/EOT/Atkinson-Hyperlegible-Regular-102.eot");
    src: url("/assets/Atkinson-Web-2020/Web Fonts/SVG/Atkinson-Hyperlegible-Regular-102.svg")
            format("svg"),
        url("/assets/Atkinson-Web-2020/Web Fonts/TTF/Atkinson-Hyperlegible-Regular-102.ttf")
            format("ttf"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF/Atkinson-Hyperlegible-Regular-102.woff")
            format("woff"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF2/Atkinson-Hyperlegible-Regular-102a.woff2")
            format("woff2");
}

@font-face {
    font-family: "Atkinson";
    font-weight: 300; /* Light */
    src: url("/assets/Atkinson-Web-2020/Web Fonts/EOT/Atkinson-Hyperlegible-Italic-102.eot");
    src: url("/assets/Atkinson-Web-2020/Web Fonts/SVG/Atkinson-Hyperlegible-Italic-102.svg")
            format("svg"),
        url("/assets/Atkinson-Web-2020/Web Fonts/TTF/Atkinson-Hyperlegible-Italic-102.ttf")
            format("ttf"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF/Atkinson-Hyperlegible-Italic-102.woff")
            format("woff"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF2/Atkinson-Hyperlegible-Italic-102a.woff2")
            format("woff2");
}

@font-face {
    font-family: "Atkinson";
    font-weight: 700; /* Bold */
    src: url("/assets/Atkinson-Web-2020/Web Fonts/EOT/Atkinson-Hyperlegible-Bold-102.eot");
    src: url("/assets/Atkinson-Web-2020/Web Fonts/SVG/Atkinson-Hyperlegible-Bold-102.svg")
            format("svg"),
        url("/assets/Atkinson-Web-2020/Web Fonts/TTF/Atkinson-Hyperlegible-Bold-102.ttf")
            format("ttf"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF/Atkinson-Hyperlegible-Bold-102.woff")
            format("woff"),
        url("/assets/Atkinson-Web-2020/Web Fonts/WOFF2/Atkinson-Hyperlegible-Bold-102a.woff2")
            format("woff2");
}

/* Colors */
:root {
    --grey700: #545151;
    --grey500: #8f8b8b;
    --grey200: #D9D9D9;
    --yellow: #F5E257;
    --blue: #609BEE;


    --black: #000000;
    --white: #ffffff;
}

/* Font size */
:root {
    --font-xs: 0.75rem;
    --font-s: 0.875rem;
    --font-m: 1rem;
    --font-l: 1.125rem;
    --font-xl: 1.5rem;
    --text: 1rem;
}

@media screen and (max-width: 500px) {
    :root {
        --text: 1.25rem;
    }
}

/**
 * My stylesheet
 */

/**
 * Root elements
 */

/* Colors */
:root {
    --grey700: #545151;
    --grey500: #8f8b8b;
    --grey200: #D9D9D9;

    --yellow: #F5E257;
    --blue: #609BEE;
    --salmon: #E57B9F;
    --red: #EC5540;
    --sunflower: #F7C974;
    --storm: #A6C2D0;
    --pink: #F7D6D9;
    --citric: #D6F279;

    --black: #000000;
    --white: #ffffff;
}

.red { color: var(--red) }
.blue { color: var(--blue) }
.yellow { color: var(--yellow) }
.salmon { color: var(--salmon) }
.sunflower
.citric { color: var(--citric) }


/* Font size */
:root {
    --font-xs: 0.75rem;
    --font-s: 0.875rem;
    --font-m: 1rem;
    --font-l: 1.125rem;
    --font-xl: 1.5rem;
    --text: 1rem;
}

/* A Modern CSS Reset by Piccalilli Ltd
https://piccalil.li/blog/a-modern-css-reset */

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

/* Remove the indentation */

ul, ol {
    padding-inline-start: 2ch;
}

/* Set core root defaults */
html {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Body */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: var(--font-m);
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

p {
  margin-bottom: 16px;
}

/**
* Links
*/

a {
    color: var(--black);
}
a:visited {
    color: var(--black);
}

@media (hover: hover) { /* To eliminate hover effect on mobile */
	a:hover { background-color: var(--yellow); }
  .header-title:hover { background-color: transparent; }
}

.action-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  border-bottom: 1px solid var(--black);
  text-decoration: none;
  color: var(--black);
}

.action-button span {
  margin: 0;
  margin-right: 8px;
  font-weight: 700;
}

.action-button svg {
  width: 14px;
  height: 12px;
}

.social-media-list a:hover {
    text-decoration: none;
}
.social-media-list a:hover .username {
    text-decoration: underline;
}
  
/**
* Wrapper
*/

:root {
    --mobile-width: 600px;
    --wrapper-width: 1000px;
}

.wrapper {
    max-width: var(--wrapper-width);
    width: var(--wrapper-width);
}

/* @media screen and (max-width: 800px) {
    .wrapper {
        max-width: -webkit-calc(800px - (30px));
        max-width: calc(800px - (30px));
    }
} */
  

/**
* Header
*/

header {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
  margin-bottom: 48px;
}

header a {
  text-decoration: none;
}

header .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

.header-tagline {
    font-size: var(--font-m);
    color: var(--grey500);
    margin-bottom: 16px !important;
}

header ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

header ul li {
    display: flex;
}

.header-separator {
    color: var(--grey500);
}

header ul li a {
    display: flex;
    align-items: center;
    color: var(--grey700);
}

/**
 * Welcome section
 */

/* Layout */

.experiences {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 80px;
}

.experiences .wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-column-gap: 40px;
  max-width: var(--wrapper-width);
}

@media screen and (max-width: 600px) {
  .experiences .wrapper {
      grid-template-columns: 1fr;
      grid-row-gap: 40px;
      margin-bottom: 40px;
  }
}

/* Start of welcome section */

.welcome {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
  margin-bottom: 40px;
}

.welcome .wrapper {
  max-width: var(--wrapper-width);
}

.welcome img {
    display: flex;
    width: 160px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.welcome h1 {
    font-size: clamp(28px, 9vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.welcome h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--grey500);
    margin-bottom: 24px;
}

.welcome h2 a {
    text-decoration: none;
}

.welcome p {
    font-size: 1.25rem;
    max-width: 65ch;
}

.welcome .action-button {
    width: fit-content;
}

/* End of welcome section */
/* Start of previous jobs section */

.previous-jobs h2,
.section-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--grey500);
    line-height: 1;
    margin-bottom: 24px;
}

.previous-jobs div {
    margin: 24px 0 24px;
}

.previous-jobs div:last-child {
    margin: 0;
}

.previous-jobs h3 {
    font-size: 1.25rem;
    line-height: 1;
    text-transform: capitalize;
    margin-bottom: 8px;
}

.previous-jobs p {
  color: var(--grey700);
  font-size: var(--font-m);
  line-height: 1.5;
  margin-bottom: 0;
}

.previous-jobs__role {
  font-size: var(--font-s) !important;
  color: var(--grey500) !important;
  margin-bottom: 4px !important;
}

@media screen and (max-width: 600px) {
  .previous-jobs p {
    font-size: 1.25rem;
  }
}

/* End of previous jobs section */

/**
 * Wuwana section
 */

 /* Start of Wuwana section */

.wuwana {
  display: flex;
  min-width: calc(100% + 32px);
  width: calc(100% + 32px);
  max-width: calc(100% + 32px);
  margin-left: -16px;
  overflow: scroll;
  background-color: var(--yellow);
  border-bottom: 1px solid var(--black);
  /* To hide the scroll bar */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.wuwana::-webkit-scrollbar {
  display: none;
}

.wuwana .wrapper {
  display: flex;
  padding-top: 40px;
}

.wuwana .wrapper::before,
.wuwana .wrapper::after {
  content: "";
  display: block;
  flex: 0 0 max(16px, calc(50vw - 500px));
}

.wuwana-section {
  display: flex;
  flex-direction: column;
  min-width: 400px;
  min-height: 400px;
  margin: 0 24px 24px
}

.wuwana-img img {
  border-radius: 8px;
}

.wuwana p {
  font-size: 1.25rem;
}

.wuwana-section:first-child {
  margin-left: 0;
}

.wuwana-section:last-child {
  margin-right: 0;
}

.wuwana-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.wuwana .vr {
  border-right: 1px solid var(--black);
}

.wuwana li {
  font-size: 1rem;
  margin-block-end: 16px;
}

@media screen and (max-width: 600px) {
 .wuwana-section {
      width: 80vw;
      min-width: 80vw;
      max-width: 80vw;
      margin: 0 16px 24px;
 }
}
/* End of Wuwana section */

/**
 * Start of education section
 */

.education {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.education-text img {
  max-width: 60%;
}

.education .wrapper {
  max-width: calc(100vw - 32px);
}

.education-content {
  margin-block-start: 16px;
  display: flex;
}

.education-content:last-child {
  margin-block-end: 24px;
}

.education-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.education-line img {
  max-width: 24px;
  max-height: 24px;
  margin-block-end: 16px;
  border-radius: 4px;
}

.education-line svg {
  margin-block-end: 16px;
}

.education-line .line {
  background: linear-gradient(var(--grey200), var(--grey700));
  width: 4px;
  border-radius: 4px;
  height: 100%
}

.education-text {
  margin-left: 12px;
}


.education-text h3 {
  line-height: 1.4;
  margin-bottom: 12px;
}

.education-text h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 75%;
}

.education-text h2 em {
  font-style: normal;
}

.education-text h3 em {
  font-style: normal;
  color: var(--grey500);
}

.education-content .action-button span {
  margin-right: 16px;
}

.education-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 16px;
  align-content: stretch;
  margin-bottom: 24px;
}

.education-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--grey200);
  border-radius: 8px;
  padding: 16px;
}

.education-card p {
  font-size: 20px;
}

/* .education-card p:last-child {
  margin-bottom: 0;
} */

.education-card .action-button {
  justify-content: flex-start;
  width: fit-content;
}

.education-card h3 {
  color: var(--grey700);
  font-weight: 400;
  text-transform: uppercase;
}

.education-card ul {
  margin: 0;
}

.education-instructors {
  justify-content: flex-start;
}

.education-instructors-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 40px;
}

.education-instructor {
  display: flex;
  justify-content: center;
  text-decoration: none;
  margin-block-end: 16px;
}

.education-instructor:hover {
  background-color: var(--white)
}

.education-instructor:last-child {
  margin-block-end: 0;
}

.education-instructor img {
  max-width: 80px;
  max-height: 80px;
  margin-inline-end: 16px;
  border-radius: 8px;
}

.education-instructor h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  margin-block-end: 8px;
}

.education-instructor p {
  font-size: 1rem;
  line-height: 1;
  color: var(--grey500);
}

.education-awards p {
  color: var(--grey500);
  margin-bottom: 16px;
  line-height: 1.2;
}

.education-awards p em {
  color: var(--black);
  text-transform: uppercase;
  font-style: normal;
}

.education-awards p:last-child {
  margin-bottom: 0;
}

.education-highlights {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.education-highlights h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--grey700);
}

.education-capsule {
  background-color: var(--white);
  display: flex;
  align-items: flex-start;
  width: fit-content;
  text-decoration: none;
  margin-bottom: 16px;
}

.education-capsule:hover {
  background-color: var(--white);
}

.education-capsule img {
  border-radius: 50%;
  max-width: 48px;
  max-height: 48px;
  margin-right: 12px;
}

.education-capsule p {
  margin: 0;
  margin-right: 4px;
  color: var(--black);
  font-weight: 500;
  line-height: 1.25;
  font-size: 1rem;
}

.education-capsule p span {
  color: var(--grey700);
}

@media screen and (max-width: 600px) {
  .education-text img {
    max-width: 100%;
  }

  .education-text {
    max-width: 100%;
  }
  .education-text h2 {
    font-size: 28px;
    font-weight: 500;
    max-width: 100%;
    margin-bottom: 16px;
    max-width: 100%;
  }
  .education-text h3 {
    font-size: 1.25rem;
    max-width: 100%;
  }
  .education-cards {
    flex-direction: column;
  }

  .education-highlights h3 {
    font-size: 1.5rem;
  }

  .education-capsule img {
    max-width: 40px;
    max-height: 40px;
  }
}


/**
 * Footer
 */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% + 32px); /* negate the 16px left/right body padding */
  margin-top: 64px;
  overflow: hidden;
  margin-left: -16px;
  margin-right: -16px;
  padding-bottom: 0;
  position: relative;
}

footer .wrapper {
  padding-top: 40px;
  max-width: var(--wrapper-width);
  width: calc(100% - 32px); /* keep inner content aligned */
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
}

.footer-content p {
  color: var(--black);
  font-size: var(--font-m);
  margin: 0;
}

.footer-content p a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-content p a:hover {
  text-decoration: underline;
}

footer ul li a:hover {
  color: var(--black);
  background-color: transparent;
}

.footer-giant-text {
  font-size: 26vw;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--grey200);
  line-height: 0.75;
  white-space: nowrap;
  user-select: none;
  margin-top: 24px;
  margin-bottom: 24px;
  width: 100%;
  text-align: center;
  letter-spacing: -0.05em;
  display: flex;
  justify-content: center;
}

/* Utilities */
.gradient-juno { background: linear-gradient(#EA593E, #0C4890); }
.gradient-wuwana { background: linear-gradient(#0C4890, var(--yellow)); }
.gradient-spacer { background: linear-gradient(var(--yellow), #77182E); height: 80px; }
.gradient-concordia { background: linear-gradient(#77182E, #77182E); }
.text-deusto { color: #0C4890 !important; }
.text-concordia { color: #77182E !important; }
.mt-auto { margin-top: auto; }