/* Spacing CSS File */

/* Full screen sections; auto scroll when clicking on links, down arrow */
html,
body {
  scroll-behavior: smooth;

}

body {
  margin: 0;
  padding: 0;
}

section {
  min-height: auto;
}

/* Header (first page) Section */

header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem
}

/* Social Icons */
#social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pdf-icon {
  position: relative;
  right: 1rem;
}

#social-icons a img {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

#social-icons a:hover img {
  transform: scale(1.2);
}

/* Header Navigation Links */
.navigation_links {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  justify-content: flex-end;
}

.navigation_links a {
  transition: color 0.3s ease;
}

/* Down Arrow */
.down-arrow img {
  width: 4rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  top: 0rem;
}

.down-arrow img:hover {
  transform: translateY(5px);
}

/* Modal Container */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

/* Modal Content */
.modal-content {
  margin: 15% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 40%;
  /* max-width: 150%; */
}

/* Modal Close Button */
.modal-content .close {
  cursor: pointer;
  position: relative;
  bottom: 2rem;
  left: 1rem;
}


/* Resume links (modal) */
.resume-links a {
  display: block;
  margin: 1rem 0;
  padding: 0.75 rem;

  border-radius: 8px;
  transition: background-color 0.2s ease;
}


/* About Me Section */
#about {
  height: 130svh;
  display: flex;
  justify-content: center;
}

#about-anchor {
  position: relative;
  top: 60%;
  transform: translateY(-50%);
  /* centers it vertically */
}


.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  /* Stack on smaller screens */
  padding: 0;
  margin: 0;
}


.about-text {
  flex: 1 1 200px;
  /* Flexible width but minimum 300px */
  min-width: 1rem;
  /* Prevent shrinking too much */
  text-align: center;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-text h2 {
  margin-bottom: 0.1rem;
}

.about-content .headshot {
  width: 5em;
  border-radius: 10%;
  height: auto;
  /*Keep aspect ratio*/
  max-width: 100%;
  /*Prevent overflow*/
  display: block;
  margin: 0 auto;
  /*Center horizontally on small screens*/
}

/* Navigate to projects from about me section button */
.view-projects-btn {
  display: block;
  /* Make it take full available width for easier centering */
  margin: 2rem auto 0rem auto;
  /* Top margin 2rem, auto left/right to center horizontally */
  padding: 0.75rem 1.5rem;
  max-width: 300px;
  /* Limit max width for readability */
  width: 80%;
  text-align: center;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* Skills Section */
/*
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 5rem;
  color: #FFE1C6;
}

/* Each skill block
.languages,
.frontend,
.software {
  background: rgba(65, 123, 90, 0.85);
  border-radius: 15px;
  padding: 2rem;
  width: 280px;
  text-align: center;
}

.languages h2,
.frontend h2,
.software h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #C7F2A7;
}

.languages img,
.frontend img,
.software img {
  width: 50px;
  height: 50px;
  margin: 0 5px;
}

.languages-paragraph,
.frontend-paragraph,
.software-paragraph {
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.4;
}
*/

/* Projects Section */
.projects {
  padding: 3rem 5rem;
}

/* Individual Project Container */
.project {
  border-radius: 5rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.project-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.project-icons img {
  width: 3rem;
  height: 3rem;
}


.project-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.project-button {
  border-radius: 10px;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}


/* Project media */
.project iframe,
.project img.project-media {
  border-radius: 10px;
  margin-top: 1rem;
}

.project-media {
  transition: transform 0.3 ease;
  cursor: pointer;
}

/* Hover Effect for Project Images  */
.project-media:hover {
  transform: scale(1.05);
}

/* Enlarge Image on click (via JS toggle)  */
.project-media.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1.3);
  max-width: 90%;
  max-height: 90%;
  transform: transform 0.3s ease;
}

.attribution-footer {
  padding: 1rem 1rem;
}

.attribution-columns-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
}








/* Responsive Styles --------------------------------------------------------------------------------------------------- */
/* Base styles for smallest screens (phones) */



/* .site-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-align: center;
}

.site-description {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.navigation_links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.navigation_links a {
  color: #C7F2A7;
  text-decoration: none;
  font-size: 2rem;
  transition: color 0.3s ease;
}

#social-icons a img {
  margin-top: 1rem;
  width: 70px;
  height: 70px;
}

.project-button {
  font-size: 1rem;
  padding: 0.4rem 1rem;
}

.down-arrow img {
  width: 50px;
  margin-top: -1rem;
} */

/* body {
  background: linear-gradient(to bottom,
      #0B2B83 0vh,
      #0B2B83 100vh,
      #417B5A 100vh,
      #417B5A 210vh,
      #F7C1BB 210vh,
      #F7C1BB 650vh);
} */



/* .headshot {
  width: 150px;
}

.intro-paragraph {
  max-width: 100%;
  margin-top: -1rem;
  font-size: 1rem;
}

.view-projects-btn {
  display: inline-block;
  margin-top: .5rem;
  padding: 0.75rem 1.5rem;
  background-color: #F7C1BB;
  color: #011936;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #011936;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
} */


/* Covers most phone sizes --------------------------------------------------------------------------------------------- */

/*
If needed, tweak spacing or stacking on smaller screens:

css
Copy code
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content .intro-paragraph {
    font-size: 1rem;
    padding: 0 1rem;
  }
}
*/
/* 
@media (min-width: 381px) {
  .site-title {
    font-size: 3.5rem;
  }

  .site-description {
    font-size: 1.7rem;
  }

  .navigation_links a {
    font-size: 2rem;
  }

  #social-icons a img {
    margin-top: 3.5rem;
    width: 80px;
    height: 80px;
  }

  .down-arrow img {
    margin-top: 0rem;
  }

  .headshot {
    width: 200px;
  }


  section {
    min-height: auto;
  }

  header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem
  }
} */

/* For smaller screen tablets ------------------------------------------------------------------------------------------ */
/* @media (min-width: 601px) {
  .site-title {
    font-size: 4.8rem;
  }

  .site-description {
    font-size: 2.3rem;
  }

  .down-arrow img {
    margin-top: 2rem;
  }

  .navigation_links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .navigation_links a {
    color: #C7F2A7;
    text-decoration: none;
    font-size: 2.5rem;
    transition: color 0.3s ease;
  }

  #social-icons a img {
    margin-top: 1rem;
    width: 90px;
    height: 90px;
  }



  section {
    min-height: auto;
  }

  header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem
  }


  .headshot {
    width: 250px;
  }

  .intro-paragraph {
    max-width: 100%;
    margin-top: -1rem;
    font-size: 1.5rem;
  }

  .view-projects-btn {
    display: inline-block;
    margin-top: .5rem;
    padding: 0.75rem 1.5rem;
    background-color: #F7C1BB;
    color: #011936;
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid #011936;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }


  .project-button {
    font-size: 1.3rem;
  }

} */

/* Larger tablets and small laptops -----------------------------------------------------------------------------------*/
/* @media (min-width: 781px) {
  .site-title {
    font-size: 5rem;
  }

  .site-description {
    font-size: 2.3rem;
  }

  .down-arrow img {
    margin-top: 2rem;
  }

  .navigation_links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .navigation_links a {
    color: #C7F2A7;
    text-decoration: none;
    font-size: 2.5rem;
    transition: color 0.3s ease;
  }

  #social-icons a img {
    margin-top: 1rem;
    width: 100px;
    height: 100px;
  }



  section {
    min-height: auto;
  }

  header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem
  }


  .headshot {
    width: 250px;
  }

  .intro-paragraph {
    max-width: 100%;
    margin-top: -1rem;
    font-size: 1.5rem;
  }

  .view-projects-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #F7C1BB;
    color: #011936;
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid #011936;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .project p {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: left;
  }

  .project h3 {
    font-size: 2rem;
  }

  .project-button {
    font-size: 1.5rem;
  }

} */

/*Desktops and large laptops ------------------------------------------------------------------------------------------ */
/* @media (min-width: 901px) {
  .site-title {
    font-size: 6rem;
  }

  .site-description {
    font-size: 2.8rem;
  }

  .down-arrow img {
    margin-top: 2rem;
    width: 80px;
  }

  .navigation_links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .navigation_links a {
    color: #C7F2A7;
    text-decoration: none;
    font-size: 3.5rem;
    transition: color 0.3s ease;
  }

  #social-icons a img {
    margin-top: 1rem;
    width: 120px;
    height: 120px;
  }


  section {
    min-height: auto;
  }

  header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem
  }


  .headshot {
    width: 300px;
  }

  .intro-paragraph {
    max-width: 100%;
    margin-top: -1rem;
    font-size: 1.5rem;
  }

  .view-projects-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: #F7C1BB;
    color: #011936;
    font-size: 2rem;
    text-decoration: none;
    border: 2px solid #011936;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }



  .project p {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: left;
  }

  .project h3 {
    font-size: 3rem;
  }

  .project-button {
    font-size: 2rem;
  }
} */


/* Nest Hub-like resolutions ------------------------------------------------------------------------------------------- */
/* @media (max-width: 1280px) and (max-height: 800px) {} */