/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
}
/* Styles généraux */
body {
    
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #201919;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Style pour le header */
header {
    color: #fff;
    text-align: center;
    width: 100%;
    height: 70px; /* Hauteur fixe du header */
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #333;
    margin-bottom: 20px;
  
}

/* Style pour le footer */
footer {
    color: #ced4da;
    text-align: center;
    width: 100%;
    height: 70px; /* Hauteur fixe du footer */
    background-color: #333;
    margin-top: auto; 
}

/* Conteneur principal */
.main-content {
    flex: 1; /* Permet au conteneur principal de prendre tout l'espace disponible */ 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

/* Conteneur pour le contenu avec limite de largeur */
.main-content .container {
    background-color: #243238;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Style du texte */
h1 {
    color: #d6d6d6a1;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d6d6d6a1;
    margin-bottom: 1rem;
}

.form-check-label {
    font-size: 1.2rem;
    color: #000;
}

.btn-primary {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
}

p {
    color: #ced4da;
}

label {
    font-weight: bold;
}
.card-text{
    color: #333;
}

/* Limitation de largeur des éléments responsives */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}
