html {
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f0bac8;
    color: #505D7F;
    text-align: center;
    margin: 0;
}

h1 {
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0;
}

#day-display,
#time-display {
    color: #505D7F;
    font-size: 1.5em;
    text-transform: uppercase;
    margin: 0;
}

.header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    /* Adjust the space between Day and Time */
    margin-bottom: 1rem;
}

.carousel {
    flex-shrink: 0;
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #505D7F;
    border-radius: 10px;
    background-color: #f0bac8;
}

.slide {
    color: #505D7F;
    display: none;
    padding: 20px;
    min-height: 300px;
}

.slide.active {
    display: block;
}

.match-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}

.team {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.team-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #505D7F;
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.player-names {
    font-size: 1.25em;
    color: #fff;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.score {
    font-size: 2.5em;
    font-weight: bold;
}

.match-meta {
    font-size: 0.9em;
    color: #505D7F;
    margin-top: 20px;
    text-transform: uppercase;
}

.court {
    font-size: 2em;
    font-weight: bold;
    color: #505D7F;
    text-transform: uppercase;
    letter-spacing: 0.025em
}

/* Summary Slide Styles */
.summary-slide h2 {
    color: #ffffff;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* space between items */
    padding: 10px;
}

.summary-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #505D7F;
    text-transform: uppercase;
}

.summary-match:last-child {
    border-bottom: none;
}

.summary-court {
    font-weight: bold;
    flex-basis: 15%;
    text-align: left;
}

.summary-team {
    flex-basis: 35%;
    text-align: center;
    color: #fff;
}

.summary-score {
    font-weight: bold;
    font-size: 1.2em;
    flex-basis: 15%;
    text-align: center;
}

.logo-wrap {
    margin-top: 3rem;
    margin-bottom: 6rem;
}

.logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 24vw;
    margin: auto;
}

.brand-wrap {
    margin-top: auto;
    margin-bottom: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.brand-wrap img {
    width: 100%;
    height: auto;
}
