/* Global Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 10px;
  }
  
  .container {
    text-align: center;
    padding: 20px;
  }
  
  h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .subjects {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .subject {
    width: 100px;
    height: 130px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
  }
  
  .subject:hover {
    transform: scale(1.1);
  }
  
  .subject img {
    width: 60%;
  }
  
  .subject p {
    margin: 0;
    padding-top: 5px;
    font-size: 14px;
    color: black;
  }
  
  .click-subject {
    background-color: #339989;
  }
  
  .math-subject {
    background-color: #ff7f7f;
  }
  
  .landmark-subject {
    background-color: #ffc107;
  }
  
  /* Media Queries for Responsiveness */
  
  /* Extra Small devices (320px and up) */
  @media (max-width: 320px) {
    h1 {
      font-size: 18px;
      margin-bottom: 15px;
    }
   .subject {
      width: 70px;
      height: 90px;
    }
   .subject img {
      width: 40%;
    }
   .subject p {
      font-size: 10px;
    }
  }
  
  /* Small devices (375px) */
  @media (max-width: 375px) {
   .subject {
      width: 80px;
      height: 110px;
    }
   .subject img {
      width: 45%;
    }
   .subject p {
      font-size: 11px;
    }
  }
  
  /* Small devices (425px) */
  @media (max-width: 425px) {
   .subject {
      width: 90px;
      height: 120px;
    }
   .subject img {
      width: 50%;
    }
   .subject p {
      font-size: 12px;
    }
  }
  
  /* Medium devices (tablets, 576px and up) */
  @media (min-width: 576px) and (max-width: 767.98px) {
   .subjects {
      gap: 15px;
    }
   .subject {
      width: 100px;
      height: 130px;
    }
   .subject img {
      width: 55%;
    }
   .subject p {
      font-size: 13px;
    }
  }
  
  /* Large devices (desktops, 768px and up) */
  @media (min-width: 768px) and (max-width: 991.98px) {
   .subject {
      width: 110px;
      height: 140px;
    }
   .subject img {
      width: 60%;
    }
   .subject p {
      font-size: 14px;
    }
  }
  
  /* Extra large devices (large desktops, 992px and up) */
  @media (min-width: 992px) and (max-width: 1199.98px) {
   .subject {
      width: 120px;
      height: 150px;
    }
   .subject img {
      width: 65%;
    }
   .subject p {
      font-size: 15px;
    }
  }
  
  /* Extra extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
   .subject {
      width: 130px;
      height: 160px;
    }
   .subject img {
      width: 70%;
    }
   .subject p {
      font-size: 16px;
    }
  }