body {
  background-color: GreenYellow;
  background-attachment: fixed;
  background-size: 100% 100%;
  font-family: 'Changa One';
  text-align: center;
  margin-top: 0em;
  padding-top: 0px;
}

.header h1 {
    font-size: 7vw !important;
    line-height: 1;
    margin: 0 !important;
    cursor: pointer; 
    transition: transform 0.4s, color 0s; 
}

.header a {
    color: hotpink !important;
    text-decoration-line: none !important;
    cursor: pointer; 
}

.header h1:hover {
    transform: scale(1.08); 
     
}
.header {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  font-family: 'Climate Crisis';
  color: hotpink;
  background: GreenYellow;
  text-align: left;
  padding-top: 10px;
  margin-top: 0px;
  padding-left: 0.5em;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-links {
  display: flex;            
  gap: 20px;                
  margin: 0 !important;
}

.nav-links p, .nav-links a {
  margin: 0;                
  cursor: pointer;  
  transition: transform 0.4s, color 0s;        
}

.nav-links p:hover, .nav-links a:hover {
  /*color: palevioletred !important;*/
  transform: scale(1.07);      
}

a {
    color: green;
    transition: transform 0.4s;
}

a:hover{
    transform: scale(1.05); 
}

.header img{
    height: 4vw; 
    position: absolute; 
    top: 10px; 
    right: 10px;
    transition: transform 0.4s,
}

.header img:hover{
  animation: spin 1s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 130px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  
}

.dropdown-content {
  display: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: black;
  text-decoration: none;
  display: block;
  padding: 12px 16px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #adff2f73;
}



 
.gif-hover
{
    transition: transform 0.9s, rotate 0.9s; 

}
.gif-hover:hover{
   transform: scale(1.10); 
    rotate: 5deg;

}


/* --- Banner Content Colors & Fonts --- */
.banner_content {
  background-color: GreenYellow;
  color: PaleVioletRed !important;
  font-family: "Changa One", sans-serif !important;
  text-align: left;
}

.banner_content h1 {
  font-size: 70px;
  line-height: 60px;
  color: PaleVioletRed;
}


.button {
  display: inline-block;
  border-radius: 10px;
  background: transparent;
  border: 2px solid PaleVioletRed;
  text-decoration: none;
  color: PaleVioletRed;
  padding: 7px 10px;
  cursor: pointer;
  transition: transform 0.4s, background-color 0s;
}

.button:hover
{
    background: hotpink;
    border: 2px solid hotpink;
    color: greenyellow;
    transform: scale(1.03);
}

.page-title{
    margin-top: 1em;
    text-align: center; 
    font-size: 5vw;
    color: palevioletred;
}

.round-container{
  border-radius: 25px;
  width: 90%;
  transition: transform 0.4s, rotate 0.4s, box-shadow 0.4s;
  margin-top: 2em;
  margin-bottom: 2em;
  background-color: gray;
}

.round-container.active{
  transform: scale(1.05); 
}

.round-container h1{
  font-size: 3vw;
  transition: transform 0.4s;
}
.round-container h1:hover{
  transform: scale(1.07); 
}
.round-container {
  font-size: 1.5vw;
}

.img-wrap {
  display: inline-block;
}

/* ONLY image scales */
.img-wrap img {
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.img-wrap:hover img {
  transform: scale(1.3);
}

.round-container h1{
  font-size: 5vw;
}
#paterm h1{
  font-size: 3vw;
}



#paterm{
    padding-top: 10px;
    background-color: black;
    color: green;
    
    font-family: "VT323", monospace;
}
#paterm h1{
    font-family: extrablur;
}

#potochop{
    background-color: #2437af;
    color: white;
    font-family: "VT323", monospace;
}

#ME{
    font-family: "VT323", monospace;
    background-color: #222034; /**/
    color: white;
}




@media (max-width: 768px) {
  .header {
    /* Switches from side-by-side to stacked vertically */
    flex-direction: column; 
    align-items: flex-start; /* Aligns everything neatly to the left */
    gap: 10px;               /* Shrinks the gap between title and links */
    padding: 10px 15px;
  }

  .header h1 {
    /* Shrinks 'Erï' so your long surname doesn't cut off on mobile */
    font-size: 45px !important; 
    line-height: 1;
  }

  .nav-links {
    flex-wrap: wrap; 
    gap: 15px;
  }

  .nav-links p {
    /* Links will also scale down slightly on smaller screens */
    font-size: 3.5vw; 
  }
}

@media (max-width: 991px) {
  .home_banner_area .banner_inner .banner_content h1 {
    font-size: 45px !important; /* Shrinks the text down so it doesn't spill out */
    line-height: 45px;
    margin-bottom: 15px;
  }
}

/* --- Fixes the Banner Name for Phones (Ultra Responsive) --- */
@media (max-width: 576px) {
  .home_banner_area .banner_inner .banner_content h1 {
    /* Uses viewport width (vw) so the letters shrink automatically with the phone screen */
    font-size: 10vw !important; 
    line-height: 1.1;
    margin-bottom: 15px;
  }
  
  .home_banner_area .banner_inner .banner_content h3 {
    font-size: 28px;
  }

  .home_banner_area .banner_inner .banner_content h5 {
    font-size: 18px;
  }

  button {
  padding: 2px 5px;
  font-size: 10px;
  }

.header img{
    height: 7vw; 
 }

 .page-title{
    font-size: 7vw;
}

.round-container p{
  font-size: 3vw;
}

#paterm h1{
  font-size: 5vw;
}
.round-container {
  font-size: 3vw;
}

.round-container h1{
  font-size: 4vw;
}
}


/* FONTS*/

@font-face {
  font-family: extrablur; /* set name */
  src: url(fonts/ExtraBlur.ttf); /* url of the font */
}

.icon {
  height: 30px;
  filter: invert(56%) sepia(87%) saturate(2500%) hue-rotate(290deg) brightness(105%) contrast(95%);
  transition: 0.2s;
  margin-top: 1.5em;
}

.icon:hover {
  transform: scale(1.1);
}
.list-unstyled li a {
  display: inline-block;
}


@view-transition{
  navigation: auto;
}

::view-transition-group(root)
{
  animation-duration: 1s;
  animation-timing-function: ease;
}

::view-transition-old(page-content)
{
  animation-name: fade-out;

}
::view-transition-new(page-content)
{
  animation-name: slide-in;
}

.page-content{
  view-transition-name: page-content;
}

@keyframes fade-out {
  from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slide-in {
  from {
    opacity: 0;
        transform: translateY(10vw);
    }
    to {
      opacity: 1;
        transform: translateY(0);
    }
  
}

