/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Metropolis", sans-serif;
    background-color: #f8f9fa;
    color: #101828;
    line-height: 1.6;
}

/* Titres */
h1 {
    font-family: "Metropolis", sans-serif;
    font-weight: 900;
    font-size: 36px;
    letter-spacing: -0.9px;
    line-height: 40px;
    text-transform: uppercase;
    color: #101828;
    margin-bottom: 24px;
    border: none;
}

/* Boutons */
.btn {
    align-items: center;
    background-color: rgb(241, 248, 254);
    border: 1px solid rgba(0, 0, 0, 0);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    color: #309be7;
    display: inline-flex;
    font-family: "Metropolis", sans-serif;
    font-weight: 700;
    font-size: 18px;
    justify-content: center;
    line-height: 28px;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #309be7;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px 0px;
}

/* Conteneurs */
.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #101828;
    padding: 20px 0;
    color: white;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lien de navigation */
nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
}

/* Contenu principal */
main {
    padding: 40px 0;
}

/* Footer */
footer {
    background-color: #101828;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Couleurs principales */
:root {
    --bleu-primaire: #101828;
    --bleu-secondaire: #309be7;
    --blanc: #ffffff;
}

/* Exemple de section */
section {
    margin-bottom: 60px;
}

/* Exemple de carte */
.card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;

    width: calc(80vw / 3);
    height: 50vh;
    cursor: pointer;
}


a {
    all: unset;
    cursor: pointer;
}


.row {
    display: flex;
    flex-direction: row;
}
@media (max-width: 600px) {
    .row {
        flex-direction: column;
    }
    .card {
        width: 80vw;
    }
}
.media-img {
    max-width: 20em;
    max-height: 20em;
    margin: auto;
}
.media-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.vertical-center {
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
