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

body {
  background-color: black;
  color: #7CBC55;
}

body.light-mode {
  background-color: #7CBC55;
  color: black;
}

body.light-mode .headline {
  color: black;
}

body.light-mode .headline a {
  color: #000000;
}

body.light-mode .headline a:hover {
  color: #8343aa;
}


body.light-mode #theme-toggle {
  border-color: black;
  color: black;
  background-color: #7CBC55;
}

body.light-mode #theme-toggle:hover {
  background-color: black;
  color: white;
}

body.light-mode .nav_item a {
    color: black;
}

.headline {
  font-size: 6.1rem;
  font-family: 'Lora', serif;
  font-weight: 70; 
  font-style: italic;
  margin-top: 0;
  margin-left: 50px;
  margin-right: 50px;
  line-height: 1.15;
  margin-bottom: -50px;
  letter-spacing: -5px;
  color: #7CBC55;
}

.headline a {
  display: inline-block;
  color: #7CBC55;
  text-decoration: none;
  transition: color 0.25s ease;
}

.headline a:hover {
  color: #8343aa;         
  transform: rotateX(180deg);
  mix-blend-mode: exclusion;
}

body.light-mode .headline a:hover {      
  color: #8343aa;         
  mix-blend-mode: luminosity;  
  transform: rotateX(180deg);
}

#hover-image {
  position: fixed;
  width: 300px;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
  mix-blend-mode: exclusion; 
}

#theme-toggle {
  position: static;
  right: 180px;
  background: none;
  border: 0;
  font-family: 'Lora', serif;
  font-style: italic;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2000;
}
#theme-toggle img {
  width: 22px;
  height: 22px;
  filter: brightness(1) invert(0.2);
}

body.light-mode #theme-toggle img {
  filter: invert(1);
}

#theme-toggle:hover {
  background-color: transparent;
}

body.light-mode #theme-toggle:hover {
  background-color: transparent; 
  color: inherit;
}


.nav_item {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
  display: flex;            
  align-items: center;    
  gap: 10px;            
}

.nav_item a {
  position: relative;         
  text-decoration: none;          
  font-family: 'Lora', serif;
  color: #7CBC55;
  mix-blend-mode: exclusion;
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav_item a:hover {
  color: #8343aa;
  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%;                  
}
@media (max-width:1474px){
  .headline {
  font-size: 6em;
  margin-right: 100px;
}
.nav_item a {
  font-size: 1.6vw;
}
}

@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){
  .headline {
  font-size: 9vw;
  margin-top: 20px;
  margin-left: 25px;
  margin-right: 25px;
  line-height: 1.2;
  letter-spacing: -3px;
  width: 90vw;
}
.nav_item {
  right: 30px;    
  z-index: 1000;  
}
.nav_item a {
  font-size: 3vw;
}

}