/* ========== GLOBAL STYLES ========== */

  body {
    user-select: none; /* Standard + Safari + IE fallback */
    font-family: Arial, sans-serif;
    background-color: #e9ecef;
    margin: 0;
    padding: 0;
  }
  
  p {
    text-align: center;
    padding-top: 2%;
    font-size: 40px;
    line-height: 1.6;
    color: #333;
  }

  footer {
    text-align: center;
    margin-top: 20px;
  }
  
  
  /* ========== NAVIGATION ========== */
  
  nav {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-left: 35%;
    margin-right: 35%;
    }

  nav ul {
    font-size: 20px;
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  nav a {
    text-decoration: none;
    color: #000000;
  }
  
  nav a.active {
    color: rgb(0, 0, 0);
  }
  
  nav a.active:hover {
    color: black;
  }
  
  
  /* ========== LAYOUT CLASSES ========== */
  /* margin: outside of the box or element 
    padding: inside the box or element */
  
  .box {
    /* padding-bottom: 5%; */
    margin: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  /* Unified card: image + text inside one shared box */
  .photo-card {
    padding: 20px;
    width: 100%;
    max-width: 400px;
    background-color: #f8f9fa;;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* aspect-ratio: 4 / 5; */
  }
  
  .photo-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5%;
  }
  
  .photo-card .text {
    padding: 20px;
  }
  
  .photo-card .text p {
    margin: 0;
  }
  
  
  /* ========== RESPONSIVE ========== */

  /* Base styles for phones */
@media (min-width: 300px){
  nav {
    background-color: #f8f9fa;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0%;
    margin-top: -5%;
    }

  p {
      font-size: 14px;
    }
}

/* Overrides for larger desktop */
@media (min-width: 1000px) {
  nav {
      background-color: #f8f9fa;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      margin-top: 1%;
      margin-left: 35%;
      margin-right: 35%;
    }

    nav ul{
      justify-content: center;
      align-items: center;
    }

  p {
    font-size: 22px;
  }
}

/* Overrides for larger TV */
@media (min-width: 2000px) {
  nav {
      background-color: #f8f9fa;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      margin-top: 1%;
      margin-left: 35%;
      margin-right: 35%;
    }

    nav ul{
      justify-content: center;
      align-items: center;
    }

    p {
      font-size: 28px;
    }

  }

  /* @media screen and (min-width: 1000px), (min-height: 700px) {

    .box {
      padding-bottom: 5%;
      margin: 50px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
  
    p,.photo-card .text p {
      font-size: 20px;
    }
  
    .photo-card {
      max-width: 400px;
    }

    .photo-card {
      padding: 20px;
      width: 50%;
      max-width: 400px;
      background-color: #f8f9fa;;
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border-radius: 5%;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .photo-card img {
      width: 50%;
      height: auto;
      display: block;
      border-radius: 5%;
    }
  
    .photo-card .text {
      padding: 20px;
    }
  
    .photo-card .text h1 {
      font-size: 2em;
    }
  
    .photo-card .text p {
      font-size: 1.2em;
    }
    
  }
  
  @media screen and (max-width: 700px), (max-height: 800px) {
    nav {
      font-size: 14px;
      margin-top: 5%;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 5%;
      transform: translate(0%, 0%);
      background-color: #f8f9fa;
      place-content: center;
    }
  
    p,
    .photo-card .text p {
      font-size: 12px;
    }
  
    .photo-card {
      max-width: 90%;
    }
  
    .photo-card .text {
      padding: 16px;
    }
  
    .photo-card .text h1 {
      font-size: 1.5em;
    }
  
    .photo-card .text p {
      font-size: 1em;
    }
  }
   */