@font-face {
  font-family: 'FS Industrie';
  src: url('/fonts/FS-Industrie-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'FS Industrie', Arial, Helvetica, sans-serif;
  font-display: swap;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  position: relative;
  color: #333333;
  overflow-x: hidden;
}

@keyframes attention-bounce {
    0%, 45%, 90%, 100% {transform: translateY(0); }
    30% {transform: translateY(-4vh); }
    60% {transform: translateY(-2vh); }
}




/* HEADER */
header {
  display: flex;
  padding: 60px 0;
}

.header-container {
  width: 1200px;
  margin: 0px auto;      
  padding: 20px 0;
  display: flex;   
  align-items: center; 
  justify-content: space-between;   
  height: 24px;
} 


/* LOGO */
.logo {
  font-size: 24px;
  text-decoration: none;
  color: #111111;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;  
}

.logo:hover {
  background-color: #F8CA00;
}


/* MENU TOGGLE */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 24px;                  
  height: 24px; 
  display: flex;
  color: #666;
  padding: 0; 
  margin: 0; 
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1px;
}

.menu-icon {
  display: block;
}
.close-icon {
  display: none;
}

.menu-toggle.active .menu-icon {
  display: none;
}
.menu-toggle.active .close-icon {
  display: block;
}

.menu-toggle svg:hover {
  transform: scale(1.1);
  color: #F8CA00;
}

.menu-toggle svg:active {
  transform: scale(0.5);
  color: #F8CA00;
}


/* HEADER TRANSITIONS */
header {
  transition: all 0.5s ease;
}

.header-container {
  transition: all 0.2s ease;
}

.logo {
  transition: letter-spacing 0.1s ease;  
}

.menu-toggle svg {
  transition: transform 0.15s ease;
}




/* MAIN */
main {
  flex: 1;                        
  display: flex;    
  position: relative;              
  justify-content: center;        
  align-items: center;    
  min-height: calc(100vh - 184px);
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: start;
  align-items: center;
  width: 1200px;    
  height: 100%; 
}


/* INTRO */
.minimal-intro {
  position: absolute;
  left: 175px;
  top: -105px;
  text-align: left;
  --intro-font-weight: normal;
  --intro-tagline-color: #333;
  --intro-details-color: #666;
  /* opacity: 0.8; */
}

.intro-separator {
  position: absolute;
  left: -8px;
  top: -3px;
  width: 1px;
  height: 28px;
  background: #333333;
}

.intro-tagline {
  font-size: 12px;
  font-weight: var(--intro-font-weight);
  color: var(--intro-tagline-color);
  letter-spacing: 1px;
  margin: 0;
}

.intro-details {
  font-size: 11px;
  font-weight: var(--intro-font-weight);
  color: var(--intro-details-color);
  letter-spacing: 1px;
  margin: 2px 0 0 0;
}

.minimal-intro:hover {
  /* opacity: 1; */
  --intro-tagline-color: #111;
  --intro-details-color: #444;
}


/* BASIC TEXT */
.basic-text {
  position: absolute;
  top: 30%;
  width: 80%;
  text-align: center;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.5;
}


/* MEDIA GALLERY */
.media-container {  
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 90%;
  height: 80%;
}

.media-element {
  display: flex;
  object-fit: cover;
  height: 100%;
  max-width: 100%;
}


/* MEDIA DESCRIPTION */
.media-description {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 25px;
  text-align: left;
  color: #333333;
  font-size: 12px;
  line-height: 15px;
}

.project-name {
  font-weight: 600;  
  font-size: 1.1em;
}

/* .project-desc {
} */

.project-year {
  font-style: italic;
  margin-top: -10px;
}



/* SEE PROJECT BUTTON */
.full-project {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  bottom: 2vh;
  right: 0;
  width: 28px;                  
  height: 28px; 
  display: flex;
  color: #999;
  padding: 0; 
  margin: 0; 

  animation: attention-bounce 1.2s ease 1s 1; 
}

.full-project svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1px;

}

.full-project svg:hover {
  transform: scale(1.1);
  color: #F8CA00;
}

.full-project svg:active {
  transform: scale(0.5);
}



/* NAV ARROWS */
.nav-arrow {
  z-index: 9;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  top: 40%;
  transform: translateY(-50%); 
  width: 40px; 
  height: 40px;
  padding: 0; 
  margin: 0; 
}

.nav-arrow svg {
  width: 16px;
  height: 32px;
  transform: scale(1, 1.2);
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1px;
}

.nav-arrow:hover svg {
  color: #F8CA00;
  transform: scale(1, 1.25);
  stroke-width: 15px;
}

.nav-arrow:active svg {
  transform: scale(0.8, 0.5);
}

.prev-arrow {
  left: -12px;
}
.next-arrow {
  right: -12px;
}



/* MENU */
.nav-menu {
  z-index: 10;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #FFFFFF;
  width: 100%;
  height: 0%;
  top: 0;
}

#navMenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#navMenu li {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(-50px);
}

#navMenu a {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #333333; 
  font-size: 20px;
}

#navMenu span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  width: 60px;
  background-color: transparent;
}

.nav-menu.active {
  height: 100%;
}

.nav-menu.active #navMenu li {
  opacity: 1;
}

#navMenu span:hover {
  transform: scale(1.1);
  color: #F8CA00;
  font-weight: 600;
}

#navMenu span:active {
  transform: scale(0.5);
}



/* MAIN TRANSITIONS */
main {
  transition: all 0.5s ease;
}

.main-container {
  transition: width 0.2s ease;
}

.minimal-intro {
  transition: left 0.5s ease, top 0.5s ease;
}

.minimal-intro:hover {
  transition: all 0.15s ease;
}

.media-container, .media-element, .media-description {
  transition: all 0.3s ease;
}

.full-project svg {
  transition: all 0.15s ease;
}

.nav-arrow svg {
  transition: transform 0.15s ease;
}

.nav-menu {
  transition: height 1s ease;
}

#navMenu li {
  transition: opacity 0.4s ease;
}

#navMenu span {
  transition: transform 0.15s ease, color 0.1s ease;
}




/* FOOTER */
footer {
  display: flex;  
  justify-content: center;        
  align-items: center;    
  overflow: hidden;
  width: 100%;
  background-color: #F8CA00;
}

.footer-links {
  display: flex;
  justify-content: center;
  width: 1000px;
  gap: 15%;
  padding: 50px;
  overflow: show;
}

.footer-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  color: #111111;
  background-color: #F8CA00;                        
  border: 2px solid #111111;
  border-radius: 10%;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-icon:hover {
  transform: scale(0.95);
  border-radius: 50%;    
  background-color: #FFFFFF;                        
}

.footer-icon:active {
  transform: scale(0.5);
  color: #FFFFFF;
  background-color: #FFFFFF;
}

/* FOOTER TRANSITIONS */
.footer-links {
  transition: gap 0.2s ease;
}

.footer-icon {
  transition: transform 0.1s ease, border-radius 0.35s ease;
}





/* LARGE TABLETS/SMALL LAPTOPS */
@media (max-width: 1200px) {
  .header-container {
    width: 95%;
  }
  
  .main-container {
    width: 95%; 
  }

  .media-container {
    width: 90%;
  }
}

/* LARGE PORTRAIT SCREENS */
@media (min-height: 1000px){
  .media-element {
    object-fit: contain;
  }
}

/* MOBILE PORTRAIT */
@media (max-width: 650px) {
  header {
    padding: 10px 0;
  }

  .logo {
    letter-spacing: 0px;
  }
  
  main {
    min-height: calc(100vh - 78px);
  }

  .media-container {
    transform: translate(0, 2vh);
  }

  .media-element {
    object-fit: contain;
  }

  .media-description {
    transform: translate(0, 4vh);
  }

  .minimal-intro {
    left: 0px;
    top: -25px;
  }

  .intro-separator {
    width: 0px;
  }

  .media-container {
    width: 100%;
  }

  .nav-arrow {
    height: 80%;
    width: 60px;
    top: 44%;
  }

  .nav-arrow:hover {
    opacity: 1;
  }

  .prev-arrow {
    left: -15px;
  }

  .next-arrow {
    right: -15px;
  }

  .footer-links {
    gap: 5%;
  }
}

/* MOBILE LANDSCAPE */
@media (max-height: 650px) and (orientation: landscape) {
  
  header {
    padding: 10px 0;
  }

  .header-container {
    transform: translate(0, -5px);
  }

  .minimal-intro {
    top: -60px;
  }

  .intro-separator {
    top: 0px;
  }

  .menu-toggle {
    border: none;
    font-size: 32px;
  }

  main {
    min-height: calc(100vh - 84px);
  }

  .main-container {
    flex-direction: row;
  }

  .media-container {
    position: relative;
    align-self: start;
    justify-content: left;
    height: 90%;
    width: 70%;
  }

  .full-project {
    position: absolute;
    bottom: 60%;
    animation: none;
  }

  .media-description {
    position: absolute;
    align-self: start;
    text-align: right;
    width: 28% !important;
    right: 0;
    top: -10px;
  }

  .nav-arrow {
    top: 85.5%;
  }

  .prev-arrow {
    left: auto;
    right: 30px;
  }
  
  .next-arrow {
    right: -12px;
  }

  #navMenu li {
    transform: translate(0px);
  }

  #navMenu span {
    padding: 2%;   
  }
}





/* DEBUG */
/* header, .header-container {
  background-color: rgba(0, 0, 255, 0.1); 
} */

/* main, .main-container, .media-container, .media-description {  
  background-color: rgba(255, 0, 0, 0.1); 
}   */

/* #navMenu, #navMenu li, #navMenu a {
  background-color: rgba(255, 0, 0, 0.1);
} */
