/* Responsive Fixes */
@media (max-width: 600px) {
  @font-face {
    font-family: 'MyFont';
    src: url('../Font/BebasNeue-Regular.ttf') format('truetype');
  }

  body {
    background-color: rgb(213, 48, 63);
    margin: 0;
    padding: 0;
    font-family: 'MyFont', sans-serif;
  }

  /* Top Bar */
  .buttonTop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 10px;
    position: relative;
    background-color: white;
  }

  .buttonTop .TopHead {
    display: none;
    /* already handled by container background */
  }

  .buttonTop h1 {
    font-size: 28px;
    color: rgb(213, 48, 63);
    margin: 0;
  }

  .buttonTop h1:hover {
    color: black;
    transform: scale(1.03);
  }

  .buttonTop button {
    font-size: 20px;
    padding: 6px 12px;
    background: none;
    border: none;
    color: rgb(213, 48, 63);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .buttonTop button:hover {
    color: black;
    transform: translateY(2px);
  }

  /* Webtext Section */
  .Webtext {
    margin-top: 100px;
    text-align: center;
    padding: 20px;
    position: relative;
  }

  .Webtext h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .Webtext p {
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
  }

  .Webtext .Web_textbackground {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 500px;
    height: 280px;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
    border-radius: 10px;
  }

  /* Info Section */
  .Last_info {
    font-size: 26px;
    color: black;
    margin: 40px 20px 0;
    text-align: center;
  }

  /* Footer */
  .Down-Black-box {
    padding-bottom: 80px;
    position: relative;
    min-height: 100vh;
  }

  .Down-Black-box p {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-color: black;
    color: rgb(213, 48, 63);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 16px;
  }

  .Down-Black-box p:hover {
    color: white;
    transform: scale(1.01);
  }

  .photo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
  }

  .photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .photo-item p {
    font-size: 10px;
    font-weight: bold;
    font-family: 'MyFont', sans-serif;
    margin: 0 0 5px 0;
    /* space below the text */
  }

  .photo-item p:hover {
    color: white;
    font-size: 10px;
    font-weight: bold;
    font-family: 'MyFont', sans-serif;
    margin: 0 0 5px 0;
    /* space below the text */
    transform: scale(1.05);

  }

  .photo {
    width: 90%;
    max-width: 100px;
    height: 100px;
    border: 1px solid #000;
    border-radius: 8px;
    transition: transform 0.2s;
  }

  .photo:hover {
    transform: scale(1.03);
  }

  /* Form Button */
  .submit {
    width: 100%;
    max-width: 200px;
    padding: 12px;
    font-size: 18px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    transition: background-color 0.3s ease;
  }

  .submit:hover {
    background-color: white;
    color: rgb(213, 48, 63);
  }

  .buttonTop h1 {
    font-size: 20px;
  }

  .buttonTop button {
    font-size: 16px;
  }

  .Webtext h1 {
    font-size: 20px;
  }

  .Webtext p {
    font-size: 13px;
  }

  .Last_info {
    font-size: 20px;
  }

  .Down-Black-box p {
    font-size: 14px;
  }

  .submit {
    font-size: 16px;
    padding: 10px;
  }
}