/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: rgb(51, 51, 51);
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}
p{
	size:30px
}
/* Navigation Bar */
header {
    background-color: #1a1a1a;
    padding: 1px;
}

iframe {
  width: 100%;
  height: 100vh; /* Fill the entire viewport height */
  border: none;
  overflow: hidden;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1vw;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 2vw;
    font-style: italic;
    padding: 1vw;
    transition: color 0.3s;
}

nav ul li a:hover, .active {
    color: #cccccc;
    text-decoration: underline;
}

/* Band Image */
.band {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: auto;  /* Changed from 100vh to auto to avoid hiding content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Ensure the image does not cover the whole screen */
.band img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 10px;
}

/* SLAM EFFECT */
.smash {
    transform: scale(5);
    opacity: 0;
    animation: smashIn 1.0s ease-out forwards;
}

@keyframes smashIn {
    0% { transform: scale(5); opacity: 0; }
    80% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); }
}


/* Pulsating Effect */
@keyframes pulseRotate {
    0% { transform: rotate(0deg); filter: brightness(1); }
    50% { transform: rotate(2deg) scale(1.03); filter: brightness(1.2); }
    100% { transform: rotate(0deg); filter: brightness(1); }
}

.pulsate {
    animation: pulseRotate 2s infinite ease-in-out;
}



/* Styling for List Navigation */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

ul li {
    position: relative;
    padding: 15px;
}

ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

ul li:hover {
    background-color: #444;
}

/* Submenu Styling */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 20vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 20; /* Make sure the submenu is above the other content */
    transform: translateY(-20px); /* Initially position it slightly above */
    opacity: 0; /* Start invisible */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth slide and fade transition */
}
/* Show submenu on hover (slide down from the top) */
li:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0); /* Slide into position */
}

/* Keep submenu visible when active (same effect as hover) */
li.active .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0); /* Keep in position */
}

/* Submenu Items Styling */
.submenu li {
    padding: 0;
    opacity: 0; /* Start items invisible */
    transform: translateY(-10px); /* Start from a slightly higher position */
    animation: slideDown 0.3s ease-out forwards; /* Add animation */
}

/* Delay the slide for each item */
.submenu li:nth-child(1) {
    animation-delay: 0.1s;
}
.submenu li:nth-child(2) {
    animation-delay: 0.2s;
}
.submenu li:nth-child(3) {
    animation-delay: 0.3s;
}
.submenu li:nth-child(4) {
    animation-delay: 0.4s;
}
.submenu li:nth-child(5) {
    animation-delay: 0.5s;
}

/* Animation for sliding down */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px); /* Start higher */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

/* Submenu Links Styling */
.submenu li a {
    padding: 10px;
    display: block;
    color: white;
}

.submenu li a:hover {
    background-color: #555;
}
/* Page-specific styles for MTB (Meet The Band) */
.MTB .text-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1vw;
    height: auto;
    flex-wrap: wrap;
}

.MTB .MTB-background-image {
    max-width: 40%; /* Limit the image width to 40% of the container */
    height: auto; /* Maintain the aspect ratio */
    object-fit: contain; /* Ensure the image doesn't stretch */
    margin-right: 20px;
    border-radius: 10px;
    opacity: 0; /* Start the image as invisible */
    animation: fadeInImage 1.5s ease-out forwards; /* Fade-in animation */
}

.MTB .text {
    color: white;
    font-size: 2vw;
    padding: 1vw;
    max-width: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow-y: auto;
    opacity: 0; /* Start the text as invisible */
    animation: fadeInText 2s ease-out 1.5s forwards; /* Fade-in after image */
}
.MTB h1 {
    font-size: 5vw;
    color: white;
    margin-top: 0.2vw;
    text-align: center;
}

.MTB h2 {
    font-size: 3vw;
    color: white;
    margin-top: 0.2vw;
    text-align: center;
}

/* Fade-In Animation for Image */
@keyframes fadeInImage {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start with a slight offset */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

/* Fade-In Animation for Text */
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start with a slight offset */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

/* Responsive Layout */
@media (max-width: 768px) {
    .MTB .text-container {
        flex-direction: column; /* Stack image and text on smaller screens */
        align-items: center;
        padding: 5vw;
    }

    .MTB .MTB-background-image {
        max-width: 80%; /* Increase image size on smaller screens */
        margin-bottom: 20px;
    }

    .MTB .text{
        max-width: 100%; /* Allow text to take up full width on smaller screens */
    }

    .MTB h2 {
        font-size: 5vw; /* Increase the size of the header on smaller screens */
    }
	
}
.video-row {
  display: flex;
  gap: 1vw;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1vw;
  overflow-x: auto;
  overflow-y: auto;
  
}

.video-block {
  flex: 0 0 25vw;       /* smaller fixed width */
  display: flex;
  flex-direction: column;
  align-items: flex-End;
  background-color: #333;
  border-radius: 2vw;
  padding: 2vw;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.video-title {
  font-size: 1rem;       /* smaller font size */
  margin-bottom: 3vw;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  border-radius: 2vw;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  margin-top: 8px;
  background-color: #555;
  color: white;
  padding: 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
}


