/* Media320px */




@media (max-width: 320px) {
  /* Navbar styles */
  .hamburger-menu {
    font-size: 22px;
  }

  .band-name {
    margin-left: -27.5px;
  }

  .band-name img {
    max-height: calc(45px * 2);
  }

  /* Hero320 */
  .hero-section {
    margin-top: -80px;
    padding: 5px 3px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-container {
    width: 200%;
    margin-right: -25px;
  }

  .logo-container img {
    max-width: 150%;
  }

  .main-title {
    font-size: 40px;
    text-align: center;
  }

  .sub-title-1,
  .sub-title-2 {
    font-size: 24px;
    text-align: center;
  }

  .sub-title-3 {
    font-size: 20px;
    text-align: center;
  }

  .additional-title {
    font-size: 32px;
    margin-bottom: -600px;
    z-index: 500;
    text-align: center;
  }

  .button-slideshow {
    margin: 15vh auto 1vh;
    width: 180px;
  }

  .slide-button {
    font-size: 18px;
    width: 120px;
    height: 120px;
    padding: 8px;
  }

  .arrow {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .arrow.left {
    left: -15px;
    bottom: -10px;
  }

  .arrow.right {
    right: -15px;
bottom: -10px;

  }

  .click-hint {
    font-size: 14px;
  }

  /* Info320  section */




h2.info-title {
    display: none !important;
    font-size: 0.8em;
    text-align: center;s
  }

  h2.additional-title {
    display: block !important;
    z-index: 100000 !important;
    position: relative !important;
  }

  #info-section {
    margin-top: 0px;
  }

  .video-container {
    height: 25vh;
    position: relative;
  }

  .video-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    height: 120px;
    margin-bottom: -175px;
  }

  #playPauseButton,
  #changeVideoButton,
  #progressBar,
  .volume-container,
  .speed-container {
    height: 50%;
    width: 60%;
    margin-bottom: 4px;
  }

  #playPauseButton,
  #changeVideoButton {
    font-size: 0.4em;
    padding: 4px 6px;
    font-weight: thin;
  }

  .info-columns {
    margin-top: 50px;
    flex-direction: column;
    height: auto;
    gap: 20px;
    margin-bottom: 100px;
  }

  .info-left-column {
    display: none;
  }

  .info-right-column {
    width: 100%;
    overflow: hidden;
  }

  .info-right-image {
    width: 110%;
    height: auto;
    max-width: none;
    transform: translateX(-5%);
  }

  .info-center-column {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .info-top-image,
  .info-bottom-image,
  .middle-image-container {
    position: static;
    width: 100px;
    max-height: 100px;
  }

  .info-download-icon {
    position: relative;
    left: 30px;
    top: -40px;
    width: 50px;
  }

  /* Members320  */

#members-section {

    margin-top: 0vh;
    z-index: 100000;

}


  .members-title,
  h2.members-title {
    margin-top: -10vh;
    font-size: 1.25em !important;
  }

  h2.members-title {
    top: -30vh;
    margin-top: -15vh;
  }

  .members-heading {
    font-size 1.25em;
    margin-top: 5vh;
    margin-bottom: 10px;
  }

  .members-content {
    margin-top: 0vh;
    width: 95%;
  
    border: 5px solid black;
  }

/* quotes320 */ 

  .quote-slider {
        margin-top: 15px;
    }

    .quote p {
        font-size: 16px;
    }

    .quote .author {
        font-size: 32px;
    }

/* membersgrid320 */

  .members-grid {
    gap: 1px;
    margin-top: -20px;
    margin-bottom: -5vh;
  }

  .members-grid img {
    max-width: 130%;
    max-height: 95%;
  }

  /* Friends section */
  .friends-pistols-title {
    font-size: 2.5rem;
  }


  /* Gigs320 */
  #gigs {
    width: 100%;
    min-height: 100vh;
    padding: 30px 0 20px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .gigs-title-wrapper {
    width: 98% !important;
    margin-left: 1%;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .gigs-main-title {
    font-size: 1.2em;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100% !important;
    border-top: 3px dashed #ff0000;
    border-bottom: 3px dashed #ff0000;
    box-shadow: 
        0 0 5px rgba(255, 0, 0, 0.8), 
        0 0 10px rgba(0, 0, 255, 0.5);
  }

  .safety-pin {
    width: 60px;
  }

  .left-pin {
    left: 0;
  }

  .right-pin {
    right: 0;
  }

  .bandsintown-widget {
    max-width: 98%;
    border: 10px solid white;
    margin-left: 1%;
  }

  .bit-widget-initializer {
    font-size: 18px !important;
  }

  .bit-event-list .bit-event:nth-child(odd) .bit-event-title,
  .bit-event-list .bit-event:nth-child(even) .bit-event-title {
    font-size: 14px !important;
  }

  .bit-event-ticket-cta,
  .bit-play-my-city-cta {
    padding: 8px 15px !important;
    font-size: 14px !important;
    display: inline-block !important;
    margin: 10px 0 !important;
  }

  .bit-event-rsvp-cta {
    padding: 6px 12px !important;
    font-size: 12px !important;
    display: inline-block !important;
    margin: 10px 0 !important;
  }

  .gigs-additional-info {
    padding: 10px 0;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    width: 98%;
    margin-left: 1%;
  }

  .gigs-poster-column,
  .gigs-right-column {
    width: 100%;
    padding: 10px 0;
  }

  .gigs-poster-image {
    border: 3px solid white;
    display: block;
    margin-left: 0;
  }

  .gigs-social-column {
    padding: 15px 0;
    width: 100%;
  }

  .gigs-social-column h3 {
    font-size: 1.2em;
  }

  .gigs-social-column p {
    font-size: 0.9em;
  }

  .gigs-social-icons {
    gap: 10px;
    justify-content: flex-start;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    padding: 2px;
  }

  .social-icon img {
    width: 40px;
    height: 40px;
  }

  .social-icon.ents24 {
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.6);
  }

  .more-gigs-link {
    font-size: 1.2em;
    display: block;
  }

  .more-gigs-image {
    width: 40px;
    height: 40px;
    right: 5px;
    bottom: 20px;
  }

  .gig-history {
    padding: 15px 0;
    font-size: 14px;
    max-height: 400px;
    width: 98%;
    margin-left: 1%;
  }

  .gig-history h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .gig-history h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .gig-history p {
    margin: 3px 0;
  }

  .gig-history::-webkit-scrollbar {
    width: 6px;
  }

/* gallery320 */ 


.gallery-section {
    padding: 0 15px; /* Slightly reduced padding for very small screens */
  }

  .gallery-main-title {
    font-size: 1.2em; /* Further reduced font size */
    padding: 8px 0;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  .large-preview {
    width: 90%; /* Increased slightly from 480px query for better visibility */
    height: 30vh; /* Reduced height */
  }

  .carousel-container {
    width: 90%;
  }

  .carousel-image {
    width: 50px; /* Further reduced size */
    height: 50px;
    margin: 0 3px; /* Reduced spacing */
  }

  .carousel-button {
    padding: 6px;
    font-size: 14px;
  }

  .right-column-wall {
    width: 90%;
    height: 25vh; /* Reduced height */
  }

  .right-column-previews {
    width: 90%;
  }

  .preview-container {
    margin-bottom: 8px;
  }

  .preview-image {
    height: 18vh; /* Slightly reduced height */
  }

  .preview-button {
    padding: 6px;
    font-size: 14px;
  }



  /* Contact320  */
  

#contact {
        min-height: 40vh;
        z-index: 5;
    }

    .contact-information {
        margin-top: 2vh;
        width: 95%;
    }

    .contact-left-column,
    .contact-right-column {
        width: 22%;
    }

    .contact-middle-column {
        width: 46%;
    }

    .queen-image {
        width: 90%;
        max-width: 90%;
    }

    .passport-image {
        width: 140%;
        max-width: none;
    }

    .contact-section-details {
        width: 90%;
        padding: 20px 15px;
    }

    .contact-info-item {
        max-width: 100%;
    }

    .contact-info-item span {
        font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    }

    .additional-section {
        height: 20vh;
        position: relative;
        overflow: hidden;
        margin-top: -15vh;
        z-index: 1;
    }

    .half-image {
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
        opacity: 0.5;
    }

    .additional-section-content {
        position: relative;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    }

    .facebook-embed {
        width: 95%;
        max-width: 280px;
        margin: 0 auto;
    }

    .facebook-embed iframe {
        width: 100%;
        height: 350px;
    }

    .messenger-link img {
        width: 60px;
        height: 60px;
    }

    .messenger-link span {
        font-size: 0.8rem;
    }




  /* Yellow logo section */
  .yellow-punk-pistol-logo-container {
    height: 20vh;
  }

  .punk-pistol-logo {
    max-height: 40%;
  }


/*contactform320 */ 


/* Background-related queries */
#punk-contact-page {
  height: 75vh; /* Change this value to adjust background length */
  max-height: 75vh; /* Change this value to match height */
  min-height: 75vh; /* Change this value to match height */
  overflow: hidden;
  margin-top: 100px; /* Changed from 20vh to 100px */
  z-index: 500;
}

.punk-contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 75vh; /* Change this value to adjust background length */
  max-height: 75vh; /* Change this value to match height */
  min-height: 75vh; /* Change this value to match height */
  overflow: hidden;

}

.punk-contact-background-image {
  content: url('images/god-save-the-queen-blue-red-flag.jpg');
  width: 120%;
  height: 75vh; /* Change this value to adjust background length */
  max-height: 75vh; /* Change this value to match height */
  min-height: 75vh; /* Change this value to match height */
  object-fit: cover;
  object-position: center top;
  z-index: 0;

}

.punk-contact-form-wrapper {
  height: 75vh; /* Change this value to adjust form wrapper length */
  max-height: 75vh; /* Change this value to match height */
  min-height: 75vh; /* Change this value to match height */
  margin-top: 100px; /* Changed from 20vh to 100px */
  /* Other properties remain the same */
}


  /* Other queries remain the same */
  #punk-contact-page {
    padding: 0px 5px;
    position: relative;
  }

  .punk-contact-form-wrapper {
    width: 100%;
    margin-top: 0;
    margin-bottom: -250px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 2;
  }

  .punk-contact-title {
    font-size: 2rem;
    margin-left: 50px;
    margin-bottom: 10px;
    margin-top: 100px;
    position: relative;
    z-index: 3;
  }

  .punk-form-group label {
    margin-left: 115px;
    font-size: 0.8rem;
  }

  .punk-form-group {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .punk-form-group input,
  .punk-form-group textarea {
    width: 90%;
    max-width: 200px;
    padding: 6px;
    font-size: 0.7rem;
    box-sizing: border-box;
    min-width: 150px;
    margin-left: 0px;
  }

  .punk-submit-button {
    width: 12vh;
    height: 4vh;
    font-size: 0.8rem;
    margin-left: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    align-self: center;
  }

  .widget-column,
  .ents-widget {
    display: none !important;
  }

  .form-and-widget-container {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-bottom: 0;
  }





}


