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

/* Header Styling */
header {
    background-color: #130C0E; /* CFP Black */
    color: #C28C19; /* CFP Gold */
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

header p {
    margin: 5px 0 15px 0;
    font-size: 18px;
}

/* Section Styling */
section {
    margin: 20px auto;
    padding: 20px;
    width: 95%;
    max-width: 1800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Playoff Bracket Styles */
.playoff-bracket h2 {
    text-align: center;
    color: #130C0E; /* CFP Black */
    font-size: 28px;
    margin-bottom: 20px;
}

.bracket-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for the 4 rounds */
    grid-template-rows: repeat(6, auto); /* 6 rows for vertical alignment */
    gap: 20px;
    width: 100%; /* Utilize the full width of the section */
    margin: 0 auto; /* Center the grid */
}

.round {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.matchup {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.team {
    border: 2px solid #130C0E; /* CFP Black */
    padding: 10px;
    margin: 5px 0;
    text-align: center;
    background-color: #C28C19; /* CFP Gold */
    color: #130C0E; /* CFP Black */
    border-radius: 5px;
    width: 100%; /* Full width within its column */
    box-sizing: border-box;
}

.left-bracket .team {
    background-color: #e6f7ff;
}

.right-bracket .team {
    background-color: #ffecd9;
}

.middle-bracket .team {
    background-color: #f0e68c;
}

.final {
    grid-column: 4; /* Center the final matchup */
    grid-row: 3 / span 2; /* Center the final game */
}

.round-1 {
    grid-row: 1 / span 6;
}

.round-2 {
    grid-row: 1 / span 4; /* Spans vertically to align in-between */
    margin-top: -1px;
}

.round-3 {
    grid-row: 3 / span 2; /* Spans vertically to center */
}

/* Teams in the Hunt Styles */
.teams-in-hunt h2 {
    text-align: center;
    color: #130C0E; /* CFP Black */
    font-size: 28px;
    margin-bottom: 20px;
}

.hunt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hunt-list li {
    list-style: none;
    background-color: #C28C19; /* CFP Gold */
    padding: 15px;
    border: 1px solid #130C0E; /* CFP Black */
    border-radius: 4px;
    flex: 1 1 30%;
    max-width: 300px;
    text-align: center;
    font-size: 16px;
    color: #130C0E; /* CFP Black */
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-logo {
    width: 50px; /* Set a uniform width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Add space between the logo and the text */
    border-radius: 5px; /* Optional: Add slight rounding to the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for a lifted effect */
}

.team-record {
    display: block;
    margin-top: 8px;
    font-weight: bold;
    color: #fff;
}

.team-chance {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #130C0E; /* CFP Black */
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #130C0E; /* CFP Black */
    color: #C28C19; /* CFP Gold */
    margin-top: 20px;
}

.ads {
    margin-top: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .bracket-container {
        grid-template-columns: 1fr; /* Stack rounds vertically on small screens */
    }

    .hunt-list li {
        flex: 1 1 100%;
    }
}

/* National Championship Styling */
.final {
    grid-column: 4; /* Center the final matchup */
    grid-row: 3 / span 2; /* Center the final game */
    background-color: #C28C19; /* Gold background to match College Football Playoff brand */
    border: 3px solid #130C0E; /* Black border */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Add some shadow for a 3D effect */
}

.final h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.final .team {
    color: #fff;
    font-weight: bold;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.final .team::before {
    content: "🏆 "; /* Add a trophy icon before each team name */
}

.final .matchup {
    margin: 0;
}


/* Team Logo Styles */
.team-logo {
    width: 40px; /* Set a uniform width */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Add space between the logo and the text */
    vertical-align: middle; /* Align logo vertically with text */
    border-radius: 4px; /* Optional: Add slight rounding to the corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for a lifted effect */
    background-color: #ffffff;
    padding: 5px;
}

/* Conference champion box */
.conference-box {
    background-color: #fff;
    border: 1px solid #130C0E;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
}

/* Styling for the conference champion and name */
.conference-champion {
    font-weight: bold;
    color: #130C0E;
    margin-bottom: 3px;
}

.conference-name {
    font-size: 12px;
    color: #555;
}

/* Bowl Games Section */
.bowl-games {
    text-align: center;
    margin-top: 40px;
}

.bowl-games h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.bowl-logos-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bowl-logo {
    width: 150px; /* Adjust the width as needed */
    height: auto;
}

.bowl-logo img {
    width: 100%; /* Ensure the images fit within the containers */
    height: auto;
    transition: transform 0.3s ease;
}

.bowl-logo img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.cfp-trophy {
    width: 150px;  /* Adjust as necessary */
    height: auto;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

/* General team styling */
.team {
    background-color: #C28C19; /* CFP Gold for the outer container */
    padding: 10px;
    margin: 5px 0;
    text-align: center;
    border: 2px solid #130C0E; /* CFP Black border */
    border-radius: 5px;
}

/* Team name, logo, and conference box styling */
.team-box {
    background-color: #ffffff; /* White background for the content inside */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for a 3D effect */
    display: inline-block;
    width: 100%; /* Ensure full width inside the container */
    box-sizing: border-box;
}

/* Styling for the team logo */
.team-logo {
    width: 40px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 4px;
}

/* Team name styling */
.team-name {
    font-size: 16px;
    font-weight: bold;
    color: #130C0E; /* CFP Black text color */
}

/* Trophy image styling */
.cfp-trophy {
    width: 150px;
    height: auto;
    margin: 20px auto;
    display: block;
}

/* Conference champion box */
.conference-box {
    background-color: #fff;
    border: 1px solid #130C0E;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
}
.host-tag {
    font-size: 0.75em;  /* Make the "Host" tag smaller */
    color: #555;        /* Optional: Change the color to a lighter shade */
    vertical-align: middle;
}
