/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

header .logo{
    font-size: 25px;
}

header .logo h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    background-color: #333; 
    padding: 10px;
    margin: 0;
}

nav ul li {
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: #007BFF; 
    color: #fff; 
}

.nav-link.active {
    background-color: #FF5733; 
    color: #fff;
    border: 2px solid #fff; 
}

/* Hero Section Slider */
.hero {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
}

.banner {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
.slides{
    list-style-type: none;
    width: 100%;
    height: 600px;

    position: relative;
}
.image-item{
    height: 100%;
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    transition: 300ms opacity ease-in-out;
    transition-delay: 300ms;
}

.image-item.active{
    opacity: 1;
    transition-delay: 0ms;
}

.image-item > img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow.left {
    left: -60px; 
}

.arrow.right {
    right: -100px; 
}

.arrow:hover {
    cursor: pointer;
    background-color: #046A38;
    color: white;
}

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #007BFF; 
}

/* Introduction Section */
.intro {
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.intro p{
    font-size: 20px;
}

/* Featured Players Section */
.player-card {
    width: 300px;
    height: auto;
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.player-card h3 {
    font-size: 1.5em;
    margin-top: 15px;
    min-height: 50px; 
}

.player-card p {
    font-size: 1.1em;
    margin-top: 10px;
}

.view-profile {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s;
}

.view-profile:hover {
    background-color: #0056b3; 
}

.player-image {
    width: 100%;
    height: 200px; 
    overflow: hidden; 
    border-radius: 8px;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.featured-players {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    margin-right: 10px;
    font-size: 1.5rem;
    text-decoration: none;
}

footer .social-icons a:hover {
    color: #aaa;
}

/* Player Profiles Section */
.player-profiles {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.player-card {
    transition: transform 0.3s, box-shadow 0.3s; 
}

.player-card:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

/* Styling for Tabs */
.tabs {
    text-align: center;
    margin: 20px 0;
}

.tab-button {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #046A38;
    color: white;
}

/* Player Profiles Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.player-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.player-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.player-card h3 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.view-profile {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #046A38;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.view-profile:hover {
    background-color: #035A2C;
}

/* Team Pages Section */
.conferences {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap; 
}

.conference {
    flex: 1; 
    margin: 10px;
    background-color: #f4f4f4; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    font-size: 25px;
}

.division {
    margin: 20px 0;
    font-size: 20px;
}

.division h3 {
    margin-bottom: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
}

.team-grid img {
    width: 50%; 
    height: auto; 
    border-radius: 8px;
    transition: transform 0.3s; 
    margin: 0 auto; 
}

.team-grid img:hover {
    transform: scale(1.05); 
}

/* Conference Buttons */
#conference-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.conference-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: #0077cc;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.conference-btn:hover {
    background-color: #005fa3;
    transform: scale(1.1);
}

/* Divisions */
#divisions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.divisions-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.division-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: #00b894;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.division-btn:hover {
    background-color: #009973;
    transform: scale(1.1);
}

/* Teams Section */
.content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: center;
    margin-top: 2rem;
}

.content h3 {
    align-self: center;
}

.content p {
    line-height: 1.5;
}

.content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.content img {
    width: 100%;
}

/* Container for the team display */
#teams {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1500px;
    width: 100%;
    justify-items: center;
    flex-grow: 1;
    overflow-y: auto;
    margin-left: auto; 
    margin-right: auto; 
}

/* Individual team box */
.team-box {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #f4f4f4;
    transition: transform 0.3s;
    min-height: 200px; 
    flex-grow: 2; 
}

/* Style for team logo */
.team-logo img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Details section for each team */
.team-details h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

.team-details p {
    font-size: 1.2rem;
    color: #555;
}

/* Hover effect for team boxes */
.team-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 600px) {
    .conference-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .division-btn {
        font-size: 0.8rem;
    }

    .team img {
        width: 80px;
        height: 80px;
    }
}

/* Fan Zone Section */
.fan-zone {
    padding: 20px;
    text-align: center;
    background-color: #fff;
}

.fan-zone h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fan-zone p {
    font-size: 1.2em;
}

.fan-zone form {
    margin-top: 20px;
    display: inline-block;
    text-align: left;
}

.fan-zone .name-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fan-zone label {
    font-size: 1.1em;
    margin-right: 10px;
}

.fan-zone input[type="text"],
.fan-zone input[type="date"] {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
    margin-right: 10px;
}

.fan-zone input[type="date"] {
    width: 210px;
}

.fan-zone button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fan-zone button:hover {
    background-color: #0056b3;
}

/* Team Grid Styling */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; 
}

.team-grid a {
    display: inline-block; 
    width: 120px; 
    height: 120px; 
    overflow: hidden; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease; 
}

.team-grid a:hover {
    transform: scale(1.1); 
}

.team-grid img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.filter {
    text-align: center;
    margin: 20px 0;
}

.conference-btn,
.division-btn {
    padding: 10px 20px;
    margin: 5px;
    font-size: 1.1
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 16px;
    max-width: 300px;
    text-align: center;
}

.team-card img {
    width: 100px;
    height: auto;
    margin-bottom: 16px;
}

.team-info h3 {
    font-size: 1.5rem;
    color: #333;
}

.team-info p {
    font-size: 1rem;
    color: #555;
    margin: 4px 0;
}