/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/raleway-v36-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/raleway-v36-latin-500.woff2") format("woff2");
}
/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/inter-v19-latin-regular.woff2") format("woff2");
}
/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/inter-v19-latin-500.woff2") format("woff2");
}
/* inter-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/inter-v19-latin-700.woff2") format("woff2");
}
/* 
------------------------------------------------------------------Reasoning------------------------------------------------------------------
Open to change. I picked out primary color as I wanted a blueish main color (website, coolor, calls it blue green).

Website then randomly shows you color that all fit will together (with less variations are you 'lock-in' more than one color.
It also doesn't suggest what should be used as primary or secondary or anything.

I really like the 'purple' as the secondary color but I could see it being used as an accent.
I then locked in a 'smoky black' which i think would be an easy choice for text but maybe Im not too imaginative with text colors haha.
Locked in 'French Grey' as either accent or background, good contrast as a lighter blue to my primary blue
Leaving 'Old Rose' as either remaining accent or background.

This variable approach is also nice because I can set up multiple different palettes and just 
uncomment selection I want to see and compare and contrast the 'feel' to another selection
*/
/*
-------------------------------------------------------------Alternative Palettes--------------------------------------------------------------
Example, this could be a second different palette selection to compare to the above.
I will keep the primary color the same but
*/
/* #region General Styles
*/
html, body {
  max-width: 100%;
}

html {
  background-color: #C1CAD6;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: #0F0A0A;
  position: relative;
  width: 100%;
}

a {
  color: #C17767;
  font-family: "Raleway";
}
a:visited {
  color: #C17767;
}
a:hover, a:focus {
  color: #C17767;
}
a:focus {
  outline: 1px solid #2266B4;
}

figure {
  text-align: center;
}

footer {
  background-color: #2266B4;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
footer .footer-container {
  width: 100%;
  height: 50vh;
  padding-top: 20vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway";
}

header {
  background-color: #2266B4;
  box-sizing: border-box;
  border-bottom: 8px ridge #2266B4;
  box-shadow: 0 1px 3px 0px #7B287D;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-wrap: nowrap;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  /* 
  Consider scrolling down hides nav
  */
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
header nav a:focus {
  outline: 1px solid #7B287D;
}

p {
  text-align: center;
}

.accent-font {
  font-family: "Raleway", "Inter", sans-serif;
}

.accent-font-bold {
  font-family: "Raleway", "Inter", sans-serif;
  font-weight: 500;
}

.center {
  text-align: center;
}

.colors-secondary {
  color: #C17767;
}

.container {
  margin: auto;
  position: relative;
  width: 100%;
}

.hero-img {
  filter: opacity(0.5);
  min-width: 100vw;
}

.hero-inner {
  position: relative;
}

.hero-text {
  font-weight: 500;
  position: absolute;
}

.inactive-link {
  text-decoration: line-through;
  opacity: 0.6;
}

.name {
  color: #7B287D;
}

.title {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.typewriter span {
  font-family: monospace;
  overflow: hidden;
  margin-inline: auto;
  white-space: nowrap;
  border-right: 1px solid;
  display: inline-block;
  animation: typing 4s steps(13) forwards, blink 2s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 13ch;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* #region All Media Queries
*/
/* #region Mobile Section
*/
@media screen and (min-width: 0em) {
  figcaption {
    margin: 2rem 0 5rem 0;
    font-size: 1.4rem;
  }
  figure p {
    margin-top: 3rem;
  }
  footer > * {
    margin: 5px;
  }
  header {
    height: 60px;
    font-size: 0.9rem;
    padding: 4px 16px 0px 16px;
    gap: 2rem;
  }
  nav {
    gap: 1.5rem;
  }
  p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  section article {
    margin-bottom: 25rem;
  }
  #about {
    padding: 5rem 0rem;
  }
  #about h1 {
    margin-bottom: 4rem;
    font-size: 2rem;
  }
  #contact {
    margin-top: 20rem;
  }
  #hero {
    text-align: center;
  }
  #hero img {
    max-width: 270px;
  }
  #hero .hero-img {
    box-shadow: 1rem 0.2rem 1rem rgba(0, 0, 0, 0.3);
    border-radius: 0 0 7% 2%;
  }
  #projects {
    padding-top: 5rem;
  }
  #projects h1 {
    margin-bottom: 5rem;
    font-size: 4rem;
  }
  #projects h2 {
    margin-bottom: 5rem;
    font-size: 2.8rem;
  }
  .about-me-container {
    padding: 1px;
  }
  .about-me-container p {
    margin-top: 3rem;
  }
  .container {
    max-width: 450px;
    padding: 0 10px;
  }
  .container p {
    padding: 0 15px;
    margin-bottom: 10px;
  }
  .hero-text {
    font-size: 1.75rem;
    top: 0.75rem;
    left: 1rem;
    right: 1rem;
  }
  .hero-text h2 {
    text-wrap: nowrap;
  }
  .home-icon-container svg {
    width: 96px;
    height: 64px;
    color: #C17767;
  }
  .github-icon {
    max-width: 32px;
  }
  .incremental-list {
    list-style-type: disc;
    font-size: 1.2rem;
    margin-left: 4rem;
  }
  .incremental-list .incremental-list-item {
    margin-top: 3rem;
    margin-bottom: 1rem;
  }
  .job-title {
    font-size: 1.5rem;
  }
  .name {
    font-size: 3rem;
  }
  .upcoming-projects-title span {
    display: block;
  }
  .upcoming-projects-title span:last-child {
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }
  .website-screenshot {
    max-width: 250px;
    box-shadow: 1rem 0.2rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0 0 7% 1%;
  }
}
@media screen and (min-width: 25em) {
  html {
    font-size: 18px;
  }
  header {
    margin: 0 auto;
    font-size: 1em;
  }
  .container {
    max-width: 500px;
  }
  .website-screenshot {
    max-width: 380px;
  }
}
@media screen and (min-width: 30em) {
  html {
    font-size: 19;
  }
  html nav {
    font-size: 1.2rem;
  }
  header {
    height: 90px;
    padding: 4px 24px 0px 24px;
  }
  p {
    font-size: 1.2rem;
    line-height: 1.75;
  }
  #about {
    padding-top: 6rem;
  }
  #projects {
    padding-top: 6rem;
  }
  .hero-text {
    font-size: 2rem;
    padding-top: 1rem;
  }
}
@media screen and (min-width: 38em) {
  html {
    font-size: 20px;
  }
  html nav {
    font-size: 1.5rem;
  }
  figcaption {
    font-size: 2rem;
  }
  header {
    height: 100px;
  }
  header nav {
    gap: 2rem;
  }
  p {
    font-size: 1.2rem;
    line-height: 2;
  }
  .container {
    max-width: 660px;
  }
  .hero-text {
    font-size: 2.5rem;
  }
  .website-screenshot {
    max-width: 550px;
  }
}
@media screen and (min-width: 44em) {
  .hero-text {
    padding-top: 2rem;
  }
}
/* #region Tablet Section
*/
@media screen and (min-width: 48em) {
  html {
    font-size: 24px;
  }
  header {
    padding: 1rem;
  }
  #hero .hero-img {
    width: 100%;
    min-width: 100px;
    max-width: 900px;
    height: auto;
  }
}
@media screen and (min-width: 58em) {
  #hero {
    margin-bottom: 10rem;
    box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.2), -0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10% 10%;
  }
  #hero .hero-img {
    box-shadow: 1rem 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
    border-radius: 0 0 7% 7%;
  }
  #hero .hero-inner {
    box-shadow: 0.4rem 0.1rem 0.5rem rgba(0, 0, 0, 0.15), -0.4rem 0.1rem 0.5rem rgba(0, 0, 0, 0.15);
    border-radius: 0 0 2% 2%;
  }
}
@media screen and (min-width: 64em) {
  html {
    font-size: 26px;
  }
  p {
    text-align: left;
  }
  .container {
    max-width: 900px;
  }
  .website-screenshot {
    max-width: 800px;
  }
}
/* #region Desktop Section
*/
@media screen and (min-width: 1300px) {
  html {
    font-size: 28px;
  }
  .container {
    max-width: 60vw;
  }
  .website-screenshot {
    max-width: 1080px;
  }
}
