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

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



div {
    display: flex;
    justify-content: space-evenly; 
    align-items: center; 
    height: 100%; 
    padding: 0 20px;
    

}

.prices-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Forces the image to the horizontal center */
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden; /* Prevents the image from 'poking out' the side */
}

/* 2. Style the image to be responsive and centered */
.prices-content img {
    height: 800px;         /* Your desktop height */
    width: auto !important;/* Overrides HTML width="1300" */
    max-width: 100%;       /* Ensures it fits inside the screen */
    display: block !important;
    margin: 0 auto !important;
    float: none !important; /* Removes any accidental nudges */
}

img {
    height: 800px;
    width: auto;         /* Essential: keeps the shape correct */
    display: block;      /* Required for margins to work */
    margin-left: auto;   /* Centers horizontally */
    margin-right: auto;
    max-width: 100%;     /* Prevents the image from pushing past the screen edge */
}

h1 {
    font-size: 60px;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    padding: 10px;
}

h2 {
    font-size: 70px;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: center;
    padding: 10px;
}


p {
    font-size: 25px;
    margin-top: 0; 
    line-height: 1.5;
    text-align: center;
    margin-right: 100px;
    margin-left: 100px;
    margin-bottom: 70px;
}

body {
    background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
    background-size: cover;
    height: 100%;
    width: 100%;
    font-family:  "Comic Sans MS", "Chalkboard SE", "Comic Neue";
   
}

table, th, td {
  
  border-radius: 50px;
  font-size: 23px;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 20px;
  margin-right: 60px;
  margin-left: 60px;
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue";
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 10px;
}

.flex-container {
  display: flex;
  position: relative; /* Essential */
}

.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Adds a horizontal scrollbar ONLY if the table is too wide */
    -webkit-overflow-scrolling: touch; /* Makes scrolling smooth on iPhones */
}

.flex-container {
  display: flex;
  position: relative; /* Essential */
}

.base-image {
  width: 100%;
}

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);
}


.paw-price {
    
    width: 110px;
    height: auto;
}
/* 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;

}

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

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

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



/*.  TEST.  */

.paw-price:nth-child(1) {
    transform: translateX(-30px);
}

.paw-price:nth-child(2) {
    transform: translateX(30px);
}

.paw-price:nth-child(3) {
    transform: translateX(-30px);
}

.paw-price:nth-child(4) {
    transform: translateX(30px);
}

.paw-s {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: row; /* horizontal */
    margin-bottom: 20px;
}


.paw-price:hover{
transform:scale(1.4);
animation-play-state:paused;
}


@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;
  }
}
   
    
  
