
.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    
  
    justify-content: space-between; 
    
  
    width: 100%; 
    max-width: 1000px; 
    
    margin: 0 auto 50px auto; 
    padding: 0;
    font-size: 25px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, auto); 
  gap: 40px;
  
  
  justify-content: center; 
  
  
  justify-items: center;   
  
  width: 100%;
  margin: 0 auto;
}

.grid-container img {
  width: 100%;
  height: auto;
  display: block;
}

img {
display: flex;
justify-content: space-between;
align-content: center;
border-radius: 50px;

}


.image-wrapper {
  position: relative;
  width: 600px; 
  height: 600px;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease-in-out; 
}

.hover-image {
  opacity: 0;
}

.image-wrapper:hover .hover-image {
  opacity: 1; 
}

.image-wrapper:hover .default-image {
  opacity: 0; 
}
    

 h1 {
    text-align: center;
    Margin-bottom: 50px;
    Margin-right: 80px;
    Font-size: 70px;
  }

h2{
    font-size: 50px;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #000;
    
    transition: transform 0.5s ease;
}

nav ul li a:hover {
   
    transform: rotate(20deg);
}

.animation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}



/* TEST */



#animated-text span {
  display: inline-block;
  color: black; 
  transition: color 0.3s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent; 
  user-select: none;
  font-family: 'Poppins', "Comic Sans MS", "Chalkboard SE", "Comic Neue";
}

#animated-text span:hover{
    transform: scale(1.4);
}

#animated-text {
  font-size: 130px; 
  color: black;
}

.pop {
  transform: translateY(-15px) scale(1.1); 
}


@media (max-width: 768px) {
  h1 {
    font-size: 35px !important; /* Drastically smaller so it fits on one line */
    text-align: center;
  }
    
  h2 {
    font-size: 28px !important; /* Adjust this number until it fits nicely */
    text-align: center;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  p span {
    font-size: 24px !important; /* Shrinks it to a readable mobile size */
    display: block;             /* Ensures it doesn't overlap other text */
    text-align: center;
  }

  /* This targets the rest of the paragraph text */
  p {
    font-size: 18px !important; 
    line-height: 1.6;           /* Adds space between lines for easier reading */
    padding: 0 15px;            /* Keeps text from touching the screen edges */
    text-align: center;
  }
  
  #animated-text {
    font-size: 45px !important; /* Shrinks the 170px text so it stops spilling */
    text-align: center;
    line-height: 1.2;
    display: block;
    width: 100%;
  }
/* MOBILE (Phone) */

  nav {
    width: 100% !important;
    display: flex !important;
    justify-content: space-around !important; /* Spreads links across the screen */
    padding: 10px 0;
    margin: 0;
  }

nav a {
    font-size: 16px; /* Ensure the links themselves aren't too huge for the phone */
  }

img {
    height: auto;      /* Essential: lets the height shrink naturally */
    width: 100%;       /* Makes the image fill the phone screen width */
    max-width: 400px;  /* Optional: keeps it from getting TOO big on large phones */
    display: block;
    margin: 0 auto;    /* Keeps it centered */
    }

  table, th, td {
    /* Shrink those 60px margins so they don't push the table off-screen */
    margin-left: 10px !important;
    margin-right: 10px !important;
    
    /* Shrink the font so the 'flex' boxes don't get too wide */
    font-size: 16px !important;
    
    /* Keep them centered but let them wrap if they run out of space */
    flex-wrap: wrap; 
  }
    .prices-content img {
        height: auto !important; /* Fixes 800px height for phones */
    }

  .grid-container {
    display: flex !important;
    flex-direction: column !important; /* Stacks images vertically */
    align-items: center !important;    /* Centers them perfectly */
    width: 100% !important;
    gap: 20px;
  }

  .grid-container img {
    width: 90% !important; /* Makes images large but keeps a small gap on sides */
    margin: 0 auto;
  }
}
   


