Browsing: Ranking

Sports Event Host Cards

/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: ‘Segoe UI’, Roboto, Helvetica, Arial, sans-serif;
}

body {
background-color: #f0f2f5;
padding: 50px 20px;
display: flex;
justify-content: center;
}

/* Container for the Cards */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
width: 100%;
max-width: 1200px;
}

/* Main Card Style */
.card {
background-color: white;
border: 1px solid #e0e0e0;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Top Colored Section */
.card-top {
padding: 25px;
height: 200px;
display: flex;
flex-direction: column;
justify-content: flex-start;
position: relative;
}

.flag {
width: 35px;
height: auto;
border: 1px solid rgba(255,255,255,0.3);
margin-bottom: 40px;
}

.host-label {
font-size: 13px;
font-weight: 600;
margin-bottom: 5px;
text-transform: capitalize;
}

.country-name {
font-size: 36px;
font-weight: 700;
letter-spacing: -1px;
}

/* Bottom White Section */
.card-bottom {
padding: 20px;
background-color: #ffffff;
}

.data-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
font-size: 14px;
}

.label {
color: #888e96;
font-weight: 500;
}

.value {
color: #1a1a1a;
font-weight: 700;
}

/* Specific Background Colors */
.bg-canada { background-color: #d82a20; color: white; }
.bg-mexico { background-color: #28a745; color: #1a1a1a; }
.bg-usa { background-color: #002cc7; color: white; }
.bg-algeria { background-color: #00965e; color: #1a1a1a; }

/* Flag Border for Algeria specifically */
.bg-algeria .flag { border: 1px solid rgba(0,0,0,0.1); }

Canada

Host country

Canada

StageGroup B
World Ranking29
Participations2

Mexico

Host country

Mexico

StageGroup A
World Ranking16
Participations17

USA

Host country

USA

StageGroup D
World Ranking15
Participations11

Algeria

Spacer

Algeria

StageGroup J
World Ranking28
Participations4