/* Entire page design */
body {
    box-sizing: border-box;
    
    margin: 0;
    padding: 0;

    font-family: Arial, sans-serif;

    background-color: #F5F5F7;
}

/* header styling */
header {
    width: 100%;
    height: 110px;

    display: flex;

    justify-content: center;
    align-items: center;

    background-color: #0253A4;
}
header > img {
    width: 96px;
    height: 72px;
}

/* main styling */
main {
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;

    align-items: center;

    padding-top: 32px;
    padding-bottom: 32px;
}
/* main title */
h1 {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;

    color: white;

    margin: 0;
}

/* container holding data returned */
#container {
    width: 100%;
    max-width: 1280px;
    height: auto;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 20px;
}

/* Wrapper around match-card */
.match-card-wrapper {
    width: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
}

/* match card */
.match-card {
    width: 80%;
    max-width: 640px;
    height: 120px;

    display: flex;
    flex-direction: row;

    align-items: center;

    background-color: #FFFFFF;

    padding-left: 20px;

    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.match-card img {
    width: 40px;
    height: 40px;
}
.match-card > .win {
    color: green;
    font-weight: bold;
}
.match-card > .loss {
    color: red;
}

/* container for individual teams */
.teams-container {
    width: 30%;
    height: auto;

    display: flex;
    flex-direction: column;

    justify-content: space-between;
    align-items: center;
}
/* contaienr with one team details */
.team-container {
    width: 100%;
    height: 50px;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}
.team-block {
    display: flex;
    flex-direction: row;

    justify-content: start;
    align-items: center;

    gap: 12px;
}
.team-name {
    width: 32px;
}
.team-score {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;

    color: #1D1D1F;

    width: 48px;
}

/* container with match predictins */
.prediction-container {
    width: 50%;
    height: 100px;
    
    margin-left: 20%;
    padding: 0 10px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    border-left: 3px solid gray;
}
.prediction-container > h3 {
    margin: 0;
}
.result-div {
    display: flex;
    flex-direction: row;

    gap: 10px;
}
.result-text {
    margin: 0;
}
.result-span {
    color: green;
    font-weight: bold;
}
#result-span-loss {
    color: red;
}

/* footer styling */
footer {
    width: 100%;
    height: 55px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #1D1D1F;
    color: white;
}

.roster-box {
    display: flex;
    flex-direction: column;

    align-items: center;

    background-color: #f7f7f7;

    width: 78%;
    max-width: 620px;

    margin-top: -8px;
    padding: 12px;

    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    font-family: 'Poppins', sans-serif;

    gap: 16px;

    z-index: -1;
}
.rosters-label {
    font-weight: bold;

    margin: 0;
    margin-top: 8px;
}
.roster-column {
    flex: 1;
}
.roster-column h4 {
    margin: 0;
    color: #0253A4;
}
.roster-column p {
    margin: 2px 0;
    font-size: 14px;
}
.predicted-rosters-box {
    width: 100%;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: start;
}
