@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

body {
    background-color: #9D8376;
    color: #000000;
    font-family: 'Lora', serif;
}

.poster {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 30vh;
    margin: 25px;
    padding-top: 0;
    column-gap: 15px;;
    mix-blend-mode: darken;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 500;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  mix-blend-mode: darken;
}

.poster-caption {
  margin-top: 460px; /* spacing under poster grid */
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  position: fixed;
}

.text1 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.square {
    width: 10px;
    height: 10px;
    background-color: #000000;
    margin-right: 10px;
    display: inline-block;
}

.nav_item {
  position: fixed;     
  top: 20px;         
  right: 30px;    
  z-index: 1000;  
}

.nav_item a {
  position: relative;         
  text-decoration: none;          
  color: black;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav_item a:hover {
  color: #8d7468;
  transform: scale(1.1);
  mix-blend-mode: screen;
}

.nav_item a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;                      
  transform: translateY(-50%);   
  height: 1.5px;                     
  background-color: currentColor; 
  width: 0;                     
  transition: width 0.4s ease;     
}

.nav_item a:hover::after {
  width: 100%;                  
}

h3 {
    font-size: 2vw;
    font-family: 'Lora', serif;
    font-weight: lighter; 
}

.text-content {
  position: relative;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  line-height: 1.6;
  font-size: 1.1vw;
  z-index: 10;
  padding-top: 100vh;
}

.hover-texts {
  position: fixed;
  top: 15px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* allow hovering on images */
  z-index: 1000;
  color: rgb(0, 0, 0); /* all texts same color */
}

.hover-texts h1, .hover-texts h2, .hover-texts h3 {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.text-left{ 
    position: fixed; 
    left: 30px; 
}

.text-left h1 { 
    font-size: 6vw; 
    margin: 0 0 -20px 0; 
    font-weight: 500; 
}
.text-left h2 { 
    font-size: 6vw; 
    margin: 16vh 0 -20px 0; 
    font-weight: 500; 
}
.text-left h3 { 
    font-size: 3.5vw; 
    margin: 20px 0 0 0;
    font-weight: 500;
}
.headline-row { margin-top: 20px; }
.coords-right { position: fixed; top: 50%; right: 30px; font-size: 2.8vw; }
.hover-caption { 
    position: fixed; 
    top: 35%; 
    right: 30px; 
    font-size: 3vw; 
    font-weight: lighter;
}
.bottom-left { 
    position: fixed; 
    bottom: 8%; 
    left: 30px; 
    font-size: 6vw; 
    margin: 0;
    font-weight: 500;
    line-height: 1;
}

.fixed-bottom-text {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0; /* make sure flexbox spans full width */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-left: 30px;  /* space from left */
  padding-right: 30px; /* add more space from right */
  font-size: 0.9rem;
  z-index: 999;
  pointer-events: none;
}

/* show all texts */
.hover-texts.show h1,
.hover-texts.show h2,
.hover-texts.show h3 {
  opacity: 1;
}

@media (max-width:1400px){
.nav_item a {
  font-size: 1.5rem;
}
.headline {
width: 85vw;
}
}

@media (max-width:1050px){
.nav_item a {
  font-size: 1.5rem;
}
}

@media (max-width:768px){
.nav_item {
  right: 30px;    
  z-index: 1000;  
}
.nav_item a {
  font-size: 3vw;
}

}