@import url('../portfolioStyles/fontcss.css');


/* Start styling here */

.project-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.landing-section {
  padding-top: 20vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  font-size: 4.5rem;
  line-height: 120%;
}

.fishbone-container {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.sectionDivider {
    background-color: #737170;
    height: 0.5px;
    opacity: 100%;
    width: auto;
}

.project-txt-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.img-txt-head {
  font-size: 2.25rem;
}

.project-tag-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
}

.project-tag {
  font-size: 1.25rem;
  padding: .5rem .75rem;
  background-color: #212224;
  border-radius: .5rem;
}

.project-seperation {
  margin-top: 6rem;
}

.two-project-section {
  display: flex;
  gap: 4rem;
}

.three-project-section {
  display: flex;
  gap: 1rem;
}

.breakpoint {
  display: block;
}

.breakpoint-2 {
  display: none;
}

.inspo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.inspo-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.inspo-site-container {
  display: flex;
  gap: 1rem;
}

.inspo-site {
  padding: 2rem;
  background-color: #212224;
  border-radius: .5rem;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inspo-site img {
  overflow: none;
  aspect-ratio: 2.5/1;
}

.inspo-site-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.inspo-site-text h3 a:hover {
  text-decoration: none;
}

.inspo-site-text p {
  font-size: 1rem;
}










/* Pre-Footer */

.label {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.arrowBottomLeft {
  height: 1.5rem;
  width: auto;
  padding-bottom: .15rem;
  padding-left: 0.875rem;
}

.media-link {
  list-style: none;

  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.link {
  padding: 1rem;
  background-color: #212326;
  border-radius: .5rem;  
  color: #EFEAE4;

  text-decoration: none;
  display: block;
}

.link:hover {
  background-color: #EFEAE4;
  color: #131416;
  transition: background-color 0.3s ease-out;
}

.connection-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pre-footer {
  display: flex;
  flex-direction: column;
  gap: 7.5rem;
}

.poro-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.poro {
  width: 17.5%;
  height: auto;
  transform: translateY(-50%);
}

/* Image link focus (keyboard accessible) */
.img-link:focus {
  outline: 3px solid #007bff;
  outline-offset: -3px;
}

/* Responsive tweak for small screens */
@media (max-width: 480px) {
  .grid {
    gap: 10px;
  }
  .meta {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* NavBar typographic settings */
.logo {
    font-family: 'Hydrophilia Iced', monospace;
    font-size: 2.5rem;
    color: var(--og-EFEAE4, #EFEAE4);
    margin-right: auto;
    text-decoration: none;
}

/* Navigation Bar Typographic Styles */
header nav a {
color: var(--og-EFEAE4, #EFEAE4);
font-family: 'Halyard Display', sans-serif;
font-size: 1.25rem;
font-style: light;
font-weight: 200;
line-height: normal;
text-decoration: none;
}

/* NavBar typographic settings */
.logo {
    font-family: 'Hydrophilia Iced', monospace;
    font-size: 2.5rem;
    color: var(--og-EFEAE4, #EFEAE4);
    margin-right: auto;
    text-decoration: none;
}

/* Navigation Bar Typographic Styles */
header nav a {
color: var(--og-EFEAE4, #EFEAE4);
font-family: 'Halyard Display', sans-serif;
font-size: 1.25rem;
font-style: light;
font-weight: 200;
line-height: normal;
text-decoration: none;
}

/* Navigation Link AutoLayout */
.nav-links ul {
    display: flex;
align-items: center;
justify-content: flex-end;
gap: .5rem;
list-style: none;
}

.nav-links a {
    padding: .75rem 1.5rem;
}

.nav-links a:hover {
    transition: background-color 0.3s ease-out;
    background-color: #2e3035c9;
    border-radius: 4px;
    display: flex;
}

/* This alligns the nav bar with the logo */
.fixedContainer header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.75rem;
    padding-bottom: 1rem;
    max-width: none;
}

/* This seperates nav bar from page */
.divider {
  width: 100%;
  height: .5px;
  opacity: 50%;
  background-color: #EFEAE4;
}

/* No fucking clue how I made this work, but it does;*/
.navContainer {
    padding: 0 0px;
    width: 100%;
}

.fixedContainer {
    z-index: 15;
    position: fixed;
    width: 100%;
    background-color: #131416;
}

/* Setting height for animation */
body {
    --nav-height: 100px;
    padding-top : var(--nav-height);
}

/* Navigation Bar Scroll Animation */
.nav--hidden {
    transform: translateY(calc(-1 * var(--nav-height)));
    transition: transform 0.5s ease-in-out;
}

.nav--revealed {
    transform: translateY(calc(1 * var(0)));
    transition: transform 0.3s ease-out;
}

/* Reset some default styles */
body, h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

em {
  font-style: normal;
}

figure {
  margin: 0;
  padding: 0;
}

blockquote {
  margin: 0;
  padding: 0;
  font-style: normal; /* removes italic */
  border: none;       /* removes any default border */
  background: none;   /* removes any default background */
}

/* Base styles */
body {
    width: auto;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #EFEAE4;
    background-color: #131416;
    zoom: 80%;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}



/* Footer */

.siteInfo {
  font-family: 'Halyard Display', sans-serif;
    font-weight: 100;
    font-style: lighter;
    font-display: swap;

  margin-inline: auto;
  display: flex;
  justify-content: space-between;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    font-size: 1.25rem;
}

/* scroll indicator */
.scrollIndicator {
  width: 2rem;
  height: 3.5rem;
  background-color: transparent;
  border: #EFEAE4 1px solid;
  border-radius: 2rem; /* optional: rounded corners */
  margin-right: 1.5rem;
  margin-left: auto;
  margin-bottom: .25rem; 
   display: flex;
  align-items: center;    /* vertical centering */
  justify-content: center;/* horizontal centering */
  flex-shrink: 0;
}

.scrollIndicator-inner {
  width: 0.3rem;
  height: 0.4rem;
  background: #EFEAE4;
  animation: scroll-square-down 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes scroll-square-down {
  0% {
    transform: translateY(-.75rem);
    opacity: 1;
  }

  10.7% { /* 150ms fade-in (150/1400 = ~10.7%) */
    opacity: 1;
  }

  85.7% { /* 1200ms movement (1200/1400 = ~85.7%) */
    transform: translateY(.75rem);
    opacity: 0;
  }

  100% {
    transform: translateY(-.75rem); /* moves square down slightly */
    opacity: 0;
  }
}

/* Base class — always on the element */
.fadeinup {
  opacity: 0;
  transform: translate3d(0, 20px, 0); /* start slightly below */
}

/* Keyframes for the animation */
@keyframes fadeInUpCustom {
  0% {
    opacity: 0;
    transform: translate3d(0, 2rem, 0);
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transform: scale(1);
  }
}

/* Animation trigger class — added by JS */
.animateUp {
  animation-name: fadeInUpCustom;
  animation-duration: 1s;
  animation-fill-mode: forwards; /* keeps final state after animation */
}

@media (max-width: 1024px) {

  .breakpoint {
    display: none;
  }

  .scrollIndicator {
    display: none;
  }

.project-txt-container {
  gap: 1rem;
}

.img-txt-head {
  font-size: 2rem;
}

.project-tag-container {
  gap: .5rem;
}

.project-tag {
  font-size: 1.25rem;
}

.project-seperation {
  margin-top: 4rem;
}

.two-project-section {
  gap: 2rem;
}

.three-project-section {
  gap: 1rem;
}
}


@media (max-width: 780px) {
  .breakpoint-2 {
    display: block;
  }

  .logo {
    display: none;
  }

  .nav-links {
    flex: 1;
  }

  .nav-links ul {
  justify-content: space-between;
  }

  .siteInfo {
    font-size: 1rem;
  }

  .column-and-image {
    flex-direction: column;
    gap: 1rem;
  }

  .project-txt-container {
    gap: 1rem;
  }

  .img-txt-head {
    font-size: 2rem;
  }

  .project-tag-container {
    gap: .5rem;
  }

  .project-tag {
    font-size: 1.25rem;
  }

  .project-seperation {
    margin-top: 4rem;
  }

  .two-project-section {
    gap: 2rem;
  }

  .three-project-section {
    gap: 1rem;
  }
}

@media (max-width: 540px) {

  .page-header {
    font-size: 4rem;
  }

  .project-txt-container {
    gap: 1rem;
  }

  .img-txt-head {
    font-size: 2rem;
  }

  .project-tag-container {
    gap: .5rem;
  }

  .project-tag {
    font-size: 1.25rem;
  }

  .project-seperation {
    margin-top: 4rem;
  }

  .two-project-section {
    gap: 2rem;
    flex-direction: column;    
  }

  .three-project-section {
    gap: 1rem;
    flex-direction: column;
  }

  .inspo-site-container {
    flex-direction: column;
  }

  .nav-links a {
    padding: .25rem 1rem;
  }

  .siteInfo {
    flex-direction: column;
  }

  .scrollIndicator {
    margin-right: 0;
    width: 1.5rem;
    height: 3rem;
  }

  .point-flexbox, .project-info, .introHeading, .grid-2x2, .center-content {
    position: relative;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start !important;
  }

  .learnings {
    flex-direction: column;
  }

  .learnHead {
    position: relative;
    top: 0;
  }  

  .center-content {
    margin: 0rem 0%;
  }  

  .three-image-row {
    flex-direction: column;
  }

  .learnHead {
    position: relative;
    top: 0;
  }

  .quote {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .quote-content blockquote {
    width: 100%;
    font-size: 2.25rem;
  }

  .author {
    font-size: 1.75rem !important;
  }  

  .quote-container {
    gap: 3rem;
  }

  .wide-point {
    margin-left: 0;
    margin-right: 0;
  }    

  .box-and-image {
    flex-direction: column;
    gap: 1rem;
  }

  .tags {
    display: none;
  }

  .poro {
    display: none;
  }
}

@media (max-width: 425px) {

  .page-header {
    font-size: 3rem;
  }  

  .vine-title img {
    display: none;
  }

  .aspect-ratio-web {
    display: none;
  }
}