body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: scroll;
  font-family: "Raleway", sans-serif;
  background-image: url('../images/bg2.png');
}

.username {
  width: 50%;
  padding-bottom: 100px;
}

.content {
    position: relative;
    color: white;
    text-align: center;
    padding: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.links {
    margin-bottom: 15px;
    width: 400px;
    height: 75px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Distribute space evenly */
    padding: 0 15px; /* Add inner spacing */
    gap: 10px;
    color: white;
    font-family: "Raleway", sans-serif;
}
.links img {
    height: 40px;
    flex-shrink: 0; /* Prevent shrinking */
}

.links h2 {
    margin: 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.85);
    flex-grow: 1; /* Fill available space */
    text-align: left;
}

.links button {
    padding: 10px 20px;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.315);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
}
/* Hover effect */
.links button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}
audio{
  margin-top: auto; /* Push it to the bottom */
  padding: 10px;
  text-align: center;
  color: white;
  z-index: 2;
    padding: 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  color: white;
}
.padd{
    padding: 10px;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.links {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0; /* ensure animation starts from 0 */
}
.links:nth-child(2) {
  animation-delay: 0.1s;
}
.links:nth-child(3) {
  animation-delay: 0.2s;
}
.links:nth-child(4) {
  animation-delay: 0.3s;
}
.links:nth-child(5) {
  animation-delay: 0.4s;
}
button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* Container to hold both the YouTube frame and your MP4 side-by-side */
.media-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;    /* <-- ADD THIS LINE: Allows items to drop to the next row */
    gap: 30px;          /* Puts clean spacing between the videos */
    margin-top: 20px;
    width: 100%;
}
/* Style your local video to match the size of your YouTube embed */
.media-container video {
    width: 231px;       /* Match your YouTube iframe width */
    height: 410.5px;    /* Match your YouTube iframe height */
    object-fit: cover;  /* Prevents the video from stretching or distorting */
    border-radius: 12px;/* Gives it clean, rounded modern corners */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Makes it pop */
}

/* Quick fix for the parent container padding to prevent excessive scrolling */
.content {
    padding: 40px 20px !important; 
}