/* GLOBAL / BASELINE STYLES */
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent-1: #5f5aa2;
  --primary-1: #312b77;
  --background-neutral: #1c1c1c;
  --text: hsl(0, 0%, 100%);
  --nav: #3f4045;
}

@media(min-width: 1400px) {
  body {
    padding: 0 5%;
  }

  #about-contact-cta button,
  #backBtn,
  #landing-email-btn {
    width: 200px;
    height: 60px;
    font-size: 20px;
    border-radius: 30px;
  }
}

body {
  font-family: "Red Hat Display", Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif, sans-serif;
  background-color: var(--background-neutral);
  color: var(--text-1);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
}

.subtext {
  color: grey;
  text-align: center;
}

/* GLOBAL HEADER (NAV CONTAINER) STYLE */
header {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* GO BACK BUTTON */
#backBtn {
  position: fixed;
  bottom: 10%;
  width: 135px;
  height: 45px;
  background: var(--primary-1);
  color: var(--text);
  border-radius: 20px;
  border: none;
  display: flex;
  font-family: "Red Hat Display";
  font-size: 16px;
  justify-content: center;
  align-items: center;

}

/* EMAIL ME BUTTON GENERAL STYLES */
.cta-btn-accent {
  width: 135px;
  height: 45px;
  background: var(--primary-1);
  color: var(--text);
  border-radius: 20px;
  border: none;
  display: flex;
  font-family: "Red Hat Display";
  justify-content: center;
  align-items: center;
}

.cta-btn-accent img {
  margin-right: 10px;
  max-width: 26px;
  max-height: 26px;
}

/* GLOBAL LINK STLYE */
a {
  text-decoration: none;
  color: var(--text);
}

/* NAVIGATION */
nav {
  margin-top: 50px;
  align-items: center;
  display: flex;
  width: 340px;
  height: 50px;
  background-color: var(--nav);
  border-radius: 36px;
  flex-shrink: 0;
  font-size: 16px;
  position: relative;
  justify-content: center;
}

nav .nav-links {
  width: 300px;
  height: 35px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

nav .nav-links li {
  list-style: none;
  width: 70px;
}

/* NAV DROPDOWN MENU */
#dd-content {
  display: none;
}

.navDropDown {
  border-radius: 26px 26px 0 0;
}

#dd-content.dropdown-active {
  /* TODO: add animation to help it look fluid. ease-in-out or something */
  font-size: 16px;
  font-family: "Red Hat Display";
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 50px;
  left: 0;
  right: 0;
  background-color: var(--nav);
  width: 100%;
  z-index: 1;
  gap: 40px;
  padding: 30px 0;
  border-radius: 0 0 36px 36px;
  transition: 0.75s, ease-in-out;

  .dropdown-item {
    border-style: none;
    background: none;
    color: var(--text);
    font-size: 16px;
    font-family: "Red Hat Display";
  }

  a {
    color: var(--text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
}

/* NOTE: email me buttin in dropdown menu */
.cta-btn-accent-dropdown {
  width: 135px;
  height: 45px;
  background: var(--primary-1);
  color: var(--text);
  border-radius: 20px;
  border: none;
  display: flex;
  font-family: "Red Hat Display";
  font-size: 16px;
  justify-content: center;
  align-items: center;
}

.cta-btn-accent-dropdown img {
  margin-right: 10px;
  max-width: 26px;
  max-height: 26px;
}

.active {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-1);
  max-width: 70px;
  height: 34px;
  padding: 7px;
  border-radius: 36px;
}

/* ARTICLE CONTENT */
.article-content {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 300px;
  align-items: center;
  justify-content: center;
  line-height: 150%;
  h1,
  h2,
  h3,
  p {
  color: var(--text);
  }

  .intro-section {
    margin-top: 50px;
  }

  section {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    margin-bottom: 50px;
  }

  .general-list {
    display: flex;
    flex-direction: column;
    gap: .5em;
    .general-list-items {
      padding-left: 1em;
      list-style: inside;
      color: var(--text);
    }
  }
}

/* NOTE: maybe this stays a template for each note, maybe not */
/* .article-content #TOC-section { */
/*   border-top: 2px solid var(--text); */
/*   border-bottom: 2px solid var(--text); */
/* } */




/* PROJECT CARD (MOBILE) */
.project-card {
  max-width: 350px;
  height: 265px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-card img {
  width: 300px;
  height: 240px;
  border-radius: 20px;
}

.project-card .card-content {
  position: absolute;
}

.project-card .card-content h2 {
  color: #fff;
  font-family: "Red Hat Display";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* LANDING PAGE */
#landing-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#landing-hero h1 {
  color: var(--primary-1);
  text-align: center;
  /* leading-trim: both;
  text-edge: cap; */
  font-family: "Red Hat Display";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 3.84px;
  margin-top: 10vh;
}

#landing-hero span {
  color: var(--accent-1);
}

#landing-hero p {
  margin-top: 45px;
  margin-bottom: 60px;
  text-align: center;
  font-family: "Red Hat Display";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

#hero-logo-background {
  display: none;
}

#landing-email-btn {
  margin-bottom: 210px;
}

/* .projects n { */
/*   display: flex; */
/*   align-items: center; */
/*   justify-content: center; */
/*   margin-bottom: 75px; */
/* } */

/* DESKTOP MEDIA QUERY (LANDING PAGE) */
@media (min-width: 1400px) {
  #desktop-landing-hero-top-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  /* #landing-hero {} */

  #landing-hero h1 {
    max-width: 812px;
    font-size: 128px;
    line-height: 110%;
  }

  #landing-hero p {
    text-align: center;
    font-family: "Red Hat Display";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 800px;
  }

  #hero-logo-background {
    width: 300px;
    height: 300px;
    margin-top: 195px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--accent-1);
    border-radius: 50%;
  }

  #hero-logo {
    width: 250px;
    z-index: 1;
    margin-top: 40px;
  }
}

/* FOOTER */
footer {
  margin-top: 75px;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
  color: var(--text);
}

/* ABOUT PAGE */
#about-body {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-1);
  color: var(--text);
}

#about-content p {
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  max-width: 310px;
}

.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 70px;
}

.about-hero-text-img {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-hero-text-img h1 {
  position: absolute;
  max-width: 185px;
  text-shadow: 2px 2px 4px #000000;
  top: 45%;
  left: 15%;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.about-hero-text-img img {
  margin-top: 80px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
}

.about-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 75px;
}

#skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  gap: 20px;
  margin-bottom: 70px;
}

#skills-grid img {
  width: 90px;
  height: 90px;
  background: var(--primary-1);
  padding: 20px;
  border-radius: 20px;
}

#about-contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#about-contact-cta h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
}

@media (min-width: 1400px) {

  /* Headshot */
  .about-hero-text-img {
    display: flex;
    justify-content: center;

    img {
      position: relative;
      left: 0%;
      width: 500px;
      height: 500px;
    }

    h1 {
      position: absolute;
      font-size: 70px;
      max-width: 320px;
      top: 35%;
      left: 10%;
    }
  }

  #about-hero-top-desktop {
    display: flex;
    align-items: center;
    gap: 100px;
    margin-bottom: 100px;

    p {
      max-width: 500px;
      font-size: 24px;
    }
  }

  #skills-grid {
    grid-template-columns: repeat(6, 1fr);
    column-gap: 40px;
    gap: 40px;
  }

  #skills-grid img {
    width: 110px;
    height: 110px;
    padding: 25px;
  }

  .about-skills {
    display: flex;
    flex-direction: column;
    align-items: center;

    #skills-text {
      font-size: 24px;
      max-width: 800px;
      margin-bottom: 50px;
      text-align: center;
    }
  }

  #about-contact-cta {
    margin-bottom: 100px;

    h2 {
      font-size: 56px;
      max-width: 700px;
      margin-bottom: 50px;
    }
  }

}

/* NOTES PAGE */
#notes-content {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

#notes-content p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 270px;
}

#first-note {
  margin-top: 60px;
}

.notes-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.notes-hero h4 {
  margin-top: 10vh;
  text-align: center;
}

.notes-hero p {
  margin-top: 10px;
}

.notes-card {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 350px;
  position: relative;
  margin-bottom: 50px;
}

.notes-card img {
  border-radius: 30px;
  width: 300px;
  height: 240px;
}

.notes-card h2 {
  text-align: center;
  position: absolute;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  width: 250px;
  line-height: normal;
  background: rgba(0, 0, 0, 0.5);
}

/* DESKTOP MEDIA QUERY (NOTES PAGE) */
@media (min-width: 1400px) {
  #notes-content h4 {
    max-width: 500px;
    font-size: 24px;
  }

  #notes-content p {
    font-size: 20px;
    max-width: 450px;
  }
}

/* FIGMA NOTE PAGE */
#figma-note-h1 {
  margin: 60px 0 40px 0;
  color: #FFF;
  font-family: "Red Hat Display";
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

#TOC-section {
  border-top: 2px solid var(--text);
  border-right: none;
  border-bottom: 2px solid var(--text);
  border-left: none;
  width: 100%;
  justify-content: left;
  padding: 30px 0;

  ul {
    list-style: none;
  }

  li {
    list-style: none;
  }
}

.TOC-button {
  background: none;
  color: var(--text);
  font-family: "Red Hat Display";
  display: inline-flex;
  font-weight: 500;
  border: none;
  gap: 10px;
  font-size: 16px;
}

.TOC-content-hidden {
  display: none;
}

.TOC-content-visible {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding-left: 0;
}

.TOC-content-visible ul {
  gap: 10px;
}

#figma-note-main {
  h2 {
    margin-bottom: 20px;
  }

  img {
    margin: 15px 0;
    max-width: 300px;
  }

  p {
    margin: 10px 0;
  }
}

/* MEDIA QUERY (FIGMA NOTE PAGE) */
@media (min-width: 1400px) {

  #figma-note-main {
    max-width: 800px;
  }

  #figma-hero-section{
    align-items: left;
    justify-content: left;
  }
  
  #figma-note-h1 {
    font-size: 64px;
    max-width: 800px;
  }

  #TOC-section {
    ul {
      display: flex;
      gap: 40px;
    }
  }

  #figma-note-main {
    img {
      max-width: 600px;
    }
  }
}


/* TEMPLATE OF SELECTED NOTE PAGE */
/* NOTE: this may need to be deleted depending on how the notes are implemented */
#selected-note-content {
  display: flex;
  flex-direction: column;
  color: var(--text);
  padding: 0 10%;
  text-align: left;
}

#selected-note-content p {
  display: flex;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 310px;
}

#selected-note-content h1 {
  margin-top: 60px;
}

#selected-note-content h2 {
  max-width: 200px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 40px;
}

#selected-note-content img {
  max-width: 375px;
}
