@font-face {
    font-family: 'Bebas Neue';
    src: url( "https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" );
}

body {
    font-family: 'Bebas Neue';
    background-color: #ffffff;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

h1, h2, h3 {
    text-align: center;
}

h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

/* Podium container styling */
.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns for the podium */
    gap: 10px;
    justify-items: center;
    align-items: end; /* Align podium containers at the bottom */
    position: relative;
    height: 300px; /* Fixed height for the podium */
    margin-bottom: 200px;
}

/* Common styles for podium containers */
.podium-container {
    background-color: #007BFF;
    color: rgb(24, 24, 24);
    padding: 20px;
    border-radius: 5px;
    border: 10px solid rgb(24, 24, 24);
    text-align: center;
    width: 180px; /* Fixed width for podium containers */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 150px;
    margin-bottom: 200px;
}
/* First place (center) - the tallest */
.podium-1 {
    background-color: rgba(246, 234, 234, 1);
    height: 100px;
    margin-bottom: 80px; /* Make it the highest */
    order: 2; /* Place it in the middle */
}

/* Second place (left) - slightly lower than first */
.podium-2 {
    background-color: rgba(246, 234, 234, 1);
    height: 100px;
    margin-bottom: 40px; /* Make it a bit lower */
    order: 1; /* Place it on the left */
}

/* Third place (right) - the lowest */
.podium-3 {
    background-color: rgba(246, 234, 234, 1); /* Bronze */
    height: 100px;
    margin-bottom: 0; /* Lowest */
    order: 3; /* Place it on the right */
}

/* Styling the other countries in two columns */
.other-countries {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px;
    padding: 0;
    margin: 200;
}

.other-countries li{
    background: rgba(246, 234, 234, 1);
    padding: 15px;
    border-radius: 5px;
    border: 10px solid rgb(24, 24, 24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    font-size: 1.1em;
    text-align: center;
}

.flag-icon {
    margin-right: 10px;
    vertical-align: left;
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
}

.seasonSelect {
    padding: 10px;
    font-size: 1.1em;
    border-radius: 5px;
    border: 5px solid rgb(24, 24, 24);
    background-color: rgba(246, 234, 234, 1);
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

select {
    padding: 1px;
    font-size: 1.1em;
    border-radius: 2px;
    border: 2px solid rgb(24, 24, 24);
    background-color: rgba(246, 234, 234, 1);
    margin-left: 2px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
    .podium {
        grid-template-columns: 1fr; /* Single column for small screens */
        height: auto;
    }
    .podium-container {
        width: 100%;
        margin: 20px 0;
    }
    .other-countries {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }
    .seasonSelect {
        position: static;
        margin: 10px auto;
        text-align: center;
    }
    .flag-icon {
        max-width: 100px;
        max-height: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.5em;
    }
    .podium-container {
        width: 150px;
    }
    .flag-icon {
        max-width: 100px;
        max-height: 100px;
    }
}

@media (min-width: 1025px) {
    h1 {
        font-size: 4em;
    }
    h2 {
        font-size: 3em;
    }
    .podium-container {
        width: 180px;
    }
    
}
