body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from center to start at the top */
    min-height: 100vh;
    margin: 0;
    text-align: center;
    font-family: Arial, sans-serif; /* Moved your font-family here */
    background: url('https://shotacalzone.com/path-to-your-background-image.jpg') no-repeat center center;
    background-size: cover;
    padding-top:40px;
}

/* Container Styling */
.container {
    max-width: 2100px;
    width: 100%;
    /* margin-top pushes the carousel down from the very top of the screen */
    margin-top: 80px; /* Adjust this number to make the gap bigger or smaller! */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from center */
    font-family: "Press Start 2P";
}


/* Container Styling */
.container {
    max-width: 2100px;
    max-height: 1500px;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Press Start 2P";
}

.logo {
    margin: 1px;
}

/* Name and Callum Styles */
.name {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 100px;
    margin-bottom: 20px;
}

.callum {
    padding-top: none;
    margin-top: 0.2%;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
}

/* Social Container and Icons */
.social-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.Headings {
    display: block;
    margin: 10px 0;
    font-size: 2em;
    text-decoration: none;
    color: black;
}

.Headings:hover {
    color: #fb00ff;
    background-color: black;
    transition: 0.2s ease;
}

.socials {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
}

.socials:hover {
    filter: invert(21%) sepia(59%) saturate(4356%) hue-rotate(291deg) brightness(111%) contrast(138%);
    margin-bottom: 10px;
    scale: 120%;
    transition: 0.07;
}

/* Photo Slider */
.photo-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.photo-slider img {
    max-width: 100%;
    max-height: 500px;
    display: block;
    border: 5px solid #000;
    padding: 5px;
}

.photo-slider img:hover {
    scale: 105%;
    transition: ease-in 0.1s;
}

.arrow.arrow:hover {
    color: #fb00ff;
    background: black;
    scale: 105%;
    transition: 0.3s ease;
}

.arrow {
    position: absolute;
    background: none;
    border: none;
    font-size: 3em;
    cursor: pointer;
    top: 90%;
    padding: 0 20px;
    font-family: 'dotgothic16';
    padding-bottom: 7px;
}

#prev {
    left: 0;
}

#next {
    right: 0;
}

@media (max-width: 2100px) and (max-height: 1500px) {
    .container {
        padding: 10px;
    }
}

/* Expandable Image */
.expandable-image {
    max-width: 100%;
    max-height: 500px;
    cursor: pointer;
    border: 5px solid #000;
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 80vh;
    padding-top: 50px;
}

/* Modal Caption */
#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ffffff;
    padding: 10px;
    font-family: "Press Start 2P";
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    font-family: "Press Start 2P";
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Video Container */
.video-container {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 200px;
    height: auto;
    z-index: 1000;
    margin: 10px;
}
.video-container:hover {
scale: 104%;
transition: ease-in 0.12s;
filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

.video-containeronphotos {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 200px;
    height: auto;
    z-index: 1000;}
.video-containeronphotos:hover {
scale: 104%;
transition: ease-in 0.12s;
filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}
.bottomtext {
    font-size: 10px;
    font-family: "Press Start 2P";
    padding-bottom: 5px;
}
.video-container video {
    width: 100%;
    height: auto;
}

/* YouTube Mini Players */
#youtube-mini-players {
    position: relative;
    bottom: 0px;
    right: 10px;
    width: 800px;
    height: auto;
    z-index: 1001;
    padding-top: 25px;
}

.youtube-mini-player {
    width: 800px;
    height: auto;
    padding-bottom: 30px;
    margin-bottom: 75px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
    border: 5px solid rgb(0, 0, 0);
}

.youtube-mini-player:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    scale: 105%;
    transition: ease-in 0.1s;
}

.video-title {
    font-size: 18px;
    color: #000000;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: "Press Start 2P";
}

.youtube-mini-player iframe {
    width: 100%;
    height: 450px;
    border: 3px solid rgb(0, 0, 0);
}

.instagram-mini-player {
    width: 800px;
    height: auto;
    padding-bottom: 30px;
    margin-bottom: 75px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
    border: 5px solid rgb(0, 0, 0);
  }
  
  .instagram-mini-player:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    scale: 105%;
    transition: ease-in 0.1s;
  }
  
  .instagram-mini-player .video-title {
    font-size: 18px;
    color: #000000;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: "Press Start 2P";
  }
  
  .instagram-mini-player iframe {
    width: 100%;
    height: 450px;
    border: 3px solid rgb(0, 0, 0);
  }

/* Video Hover Effect */
.modal-active .video-container {
    filter: brightness(0.3); /* Dim the video when modal is active */
}


/* ABOUT PAGE */
.about-text {
    border: 5px solid #000;
    padding: 5px;
    padding-bottom: 20px;
    position: relative;
    bottom: 0px;
    width: 1000px;
    height: auto;
    z-index: 1001;
    font-family: "Inter Tight", sans-serif;
    position: relative;
    border-radius: 10px;
    padding-top: 4px;
}

.about-title {
    border: 5px solid #000;
    font-family: "Press Start 2P";
    padding: 7px;
    margin-top: 3px;
    border-radius: 10px;
}

    .bio {
    font-weight: 650;
    font-size: x-large;
    }

.email {
    margin-top: 25px;
    color: #000;
    border: #000 solid 3px;
    text-decoration: none;
    font-family: "Press Start 2P";
    padding: 10px;
    font-size: x-large;
    border-radius: 5px;
    margin-bottom: 25px;
    }

    .email:hover {
        background-color: #000;
        scale: 110%;
        color: #fb00ff;
        transition: 0.1s;
    }



      .albumselect {
        font-size: 50px !important; 
        font-family: "Press Start 2P" !important;
        text-align: center;
        margin: 30px 0;
    }
      
      .photo-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
      }
      
      .cover-photo {
        position: relative;
        width: 200px;
        cursor: pointer;
      }
      
      .cover-photo img {
        width: 100%;
        height: auto;
        border-radius: 10px;
      }
      
      .cover-caption {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
      }
      
      .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.9);
      }
      
      .modal-content {
        position: relative;
        margin: auto;
        padding: 20px;
        width: 80%;
        max-width: 1000px;
        background-color: #fff;
        border-radius: 10px;
      }
      
      .album-photos {
        display: none;
      }
      
      .album-photos img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
      }



      .close {
        position: absolute;
        top: 10px;
        right: 20px;
        color: #fff;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
      }
      
      .close:hover,
      .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
      }
      
      .albumsrc {
        width: auto;
        height: 600px;
        padding: 7px;
        border:#000 solid 5px;
        border-radius: 20px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 20px;
      }

      .photo-wrapper {
        position: relative;
        display: inline-block;
      }
      
      .hover-text {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-family: "Press Start 2P";
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none; /* Prevent interaction with the text */
      }
      
      .photo-wrapper:hover .hover-text {
        opacity: 1;
      }
      
      
      .rounded-image img {
        border-radius: 15px; /* Same radius as the container */
        display: block; /* Remove default inline spacing */
    }

    /* Gray background overlay for expanded images */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark gray/black semi-transparent background */
    z-index: 990; /* Sits right underneath your expanded image (which is 1000) */
    display: none; /* Hidden by default */
    cursor: pointer;
}

/* This class turns the overlay on */
.gallery-overlay.active {
    display: block;
}
    
.display-pics {
height: 530px;
border-radius: 5px;
transition: ease-in 0.3s;
}

.photodisplay {
    display: inline-block; /* Keeps the images in a row */
    width: auto;           /* Adjust the width as needed */
    height: auto;          /* Adjust the height as needed */
    position: relative; 
    gap: 40px;
    padding-bottom: 50px;

}


.album-name {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 100px;
    padding-top: 30px;
    margin-bottom: 30px;
}



.display-pics {
    height: 530px;
    border-radius: 5px;
    transition: ease-in 0.3s;
    cursor: pointer; /* This forces the hand cursor to appear before you click */
}

/* Added the missing colon before :hover */
.display-pics:not(:hover) {
    height: 540px;
    transition: 0.3s;
}

.display-pics:hover {
    height: 600px;
    transition: 0.3s;
}

.display-pics:hover{
height: 600px;
transition: 0.3s;
}

/* Change from .display-pics:active to .display-pics.expanded */
.display-pics.expanded {
    position: fixed !important;       
    top: 50% !important;              
    left: 50% !important;             
    transform: translate(-50%, -50%) !important; 
    width: auto !important;           
    height: 90vh !important;          
    z-index: 1000 !important;         
    background-size: cover;
    border: 20px solid white !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer;
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
    body {
        min-height: auto;
        padding-top: 50px;
    }

    .video-container{
        scale: 70%;
    }

    .video-container:hover{
        scale: 75%;
    }
    .container {
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .name {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .callum {
        font-size: 1.2em;
        margin-top: 5px;
    }

    .social-container {
        flex-direction: column;
        gap: 5px;
        margin-top: 15px;
    }

    .socials {
        width: 30px;
        margin-bottom: 10px;
    }

    .photo-slider img,
    .expandable-image,
    .youtube-mini-player iframe,
    .instagram-mini-player iframe {
        width: 100%;
        height: auto;
    }

    .arrow {
        font-size: 2em;
        top: 85%;
        padding: 0 10px;
    }

    .video-container {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
    }

    #youtube-mini-players,
    .youtube-mini-player,
    .instagram-mini-player {
        width: 100%;
        max-width: 350px; /* Adjust the width for smaller devices */
    }

    .video-title {
        font-size: 1.2em;
        padding-top: 5px;
    }

    .about-text {
        width: 90%; /* Responsive width */
        max-width: 1000px;
        margin: 0 auto;
        padding: 10px;
        padding-bottom: 15px;
    }

    .about-title {
        font-size: 1.5em;
        padding: 5px;
    }

    .bio {
        font-size: 1em;
    }

    .email {
        font-size: 1em;
        padding: 8px;
    }

    .albumselect {
        font-size: 1.5em !important;
        margin: 20px 0;
    }

    .photo-gallery {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cover-photo {
        width: 90%;
    }

    .cover-photo img {
        width: 100%;
        height: auto;
    }

    .modal-content {
        width: 90%;
        max-width: 400px;
    }

    .close {
        font-size: 2em;
        top: 10px;
        right: 15px;
    }

    .hover-text {
        font-size: 12px;
    }

    .albumsrc {
        max-width: 300px;
        max-height: 150px;
        height: auto; /* Ensures the images fit within the page */
        margin: 10px 0; /* Adds some spacing between images */
        padding: 3px;
        border:#000 solid 3px;
        border-radius: 10px;
    }

    .album-name {
        font-size: 2em; /* Adjust the font size for smaller screens */
        margin: 5px 0; /* Ensure enough spacing around the element */
    }

    .display-pics {
        height: 530px;
        border-radius: 5px;
        transition: ease-in 0.3s;
        }
        
        .photodisplay {
            display: inline-block; /* Keeps the images in a row */
            width: auto;           /* Adjust the width as needed */
            height: auto;          /* Adjust the height as needed */
            position: relative; 
            gap: 40px;
            padding-bottom: 50px;
        
        }
        .display-pics:not(hover){
            height: 200px;
            transition: 0.3s;
        }
        
        .display-pics:hover{
        height: 225px;
        }
        
/* Inside your @media only screen and (max-width: 600px) query */
/* Change from .display-pics:active to .display-pics.expanded */
.display-pics.expanded {
    position: fixed;       
    top: 50%;              
    left: 50%;             
    transform: translate(-50%, -50%); 
    width: auto;           
    height: 400px;          
    z-index: 1000;         
    background-size: cover;
    border: 10px solid white;
    border-radius: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
}

/* Inline Carousel Styling */
/* Update your existing inline-carousel class */
.inline-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px; /* Reduced from 20px */
  gap: 20px; 
}

/* Target your h1 to remove the default browser spacing */
.name {
  margin-top: 0px; 
  margin-bottom: 5px; /* Controls space between DIGICAL and BY CALLUM ROBERTS */
}

/* The displayed image */
#carouselImage {
  max-width: 750px; /* Adjust this to make the box wider or narrower */
  height: 450px;    /* Adjust this to make the box taller or shorter */
  object-fit: contain; /* Ensures the whole image fits in the dimensions without stretching */
  /* border: 3px solid #000; Uncomment this if you still want a stroke around the image */
}

/* The Left and Right Arrows */
.carousel-btn {
  cursor: pointer;
  background: none;
  border: none;
  color: #000; /* Black arrows for visibility on the white background */
  font-size: 40px;
  padding: 10px;
  user-select: none;
  transition: color 0.3s;
}

.carousel-btn:hover {
  color: #888; /* Grey out slightly on hover */
}