.go-back-container {
    margin: 20px 0;
    text-align: left;
}

.go-back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    background-color: #ff0000;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.go-back-link span {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.go-back-link:hover {
    background-color: #000000;
    text-decoration: none;
    color: #ff0000;
}

body {
    background-color: #000000;
}

/* Flex container for TeamK91 and TeamK92 images */
.team-images-container {
    display: flex;
    justify-content: center; /* Centers the images horizontally */
    gap: 5px; /* Adds space between the images */
    margin: 5px 0; /* Adds margin between the images and the heading */
}

/* Styling for the images to have equal sizes */
.team-images-container img {
    width: 420px; /* Set the width of the images */
    height: auto; /* Maintain the aspect ratio */
}

.glow-logo {
    display: block;
    margin: 0 auto; /* Centers the image horizontally */
    width: 200px;
    height: auto; /* Maintain aspect ratio */
    filter: drop-shadow(0 0 20px yellow); /* Glow effect */
    transition: filter 0.5s ease;
}

.glow-logo:hover {
    filter: drop-shadow(0 0 30px yellow); /* Increase the glow on hover */
}

nav,
footer {
    font-family: verdana, sans-serif;
    background-color: #ff0000;
    border: 20px solid;
    border-color: #ff0000;
}

nav ul li a:link,
nav ul li a:visited {
    color: #ffffff;
}

nav ul li a:focus,
nav ul li a:hover,
nav ul li a:active {
    color: rgb(255, 255, 255);
}

nav ul {
    margin: 1 5em;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li a:hover {
    background-color: #fffc01;
    /* Change background on hover */
    color: #ffffff;
    /* Keep text color on hover */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    /* Adds a shadow for depth */
    transform: scale(1.05);
}

h1 {
    text-align: center;
    color: rgb(255, 0, 0);
    font-size: 4em;
    font-family: fantasy;
}

p {
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 2em;
}

.form-image {
    display: block;
    margin: 0 auto;
    width: 50%;
    /* Adjust this percentage as needed */
    max-width: 500px;
    /* Optional: Set a maximum width */
    height: auto;
    /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 5%;
}

.form-video {
    display: block;
    margin: 0 auto;
    width: 50%;
    /* Adjust this percentage as needed */
    max-width: 500px;
    /* Optional: Set a maximum width */
    height: auto;
    /* Maintain aspect ratio */
    overflow: hidden;
    border-radius: 5%;
}

.text-container {
    border: 5px solid #ff0000;
    padding: 10px 30px;
    margin: 20px auto;
    max-width: 1500px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.credit-container {
    position:absolute;
    top: 10px;
    right: 10px;
    font-size: 9px;
    color: #555; /* You can adjust the color as needed */
}

/* Uniform size for all images and videos */
.team-images-container img,
.team-images-container video {
    display: block;
    margin: 0 auto;
    width: 600px; /* Set the same width as the first row */
    height: 700px; /* Ensure uniform height */
    object-fit: cover; /* Maintain aspect ratio and fill the container */
    border-radius: 5%; /* Keep the rounded corners */
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0.8); /* Initially scale down */
    opacity: 0; /* Initially hidden */
}

.team-images-container img.visible,
.team-images-container video.visible {
    transform: scale(1); /* Scale up when visible */
    opacity: 1; /* Make visible when in view */
}


html {
    scroll-behavior: smooth; /* Enable smooth scrolling */
}


