/* Lien vers Google Fonts à inclure dans le <head> de votre HTML */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif; /* Belle police élégante et lisible */
    margin: 0;
    padding: 0;
    background-color: #1b1f38; /* Bleu nuit */
    color: #f5f5f5; /* Blanc cassé */
    line-height: 1.6;
}

/* Header */
header {
    background: #121530; /* Bleu nuit foncé */
    color: #f5f5f5; /* Blanc cassé */
    padding: 1em 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li a {
    color: #c0c0c0; /* Gris clair */
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 5px;
}

header nav ul li a:hover {
    color: #f5f5f5; /* Blanc cassé */
    border-bottom: 2px solid #0077cc; /* Accent bleu vif */
}

/* Titre principal */
#titre {
    text-align: center;
    margin: 20px 0;
    font-size: 2.5em;
    color: #f5f5f5; /* Blanc cassé */
}

/* Conteneur de contenu */
div {
    padding: 10px;
}

/* Liens des projets */
.titreH {
    display: block;
    font-size: 1.5em;
    color: #0077cc; /* Bleu vif */
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.titreH:hover {
    color: #00aaff; /* Bleu ciel */
}

.textH {
    display: block;
    font-size: 1.5em;
    color: #0077cc; /* Bleu vif */
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.textH:hover {
    color: #00aaff; /* Bleu ciel */
}

/* Paragraphe */
p {
    font-size: 1em;
    margin-top: 0;
    color: #d3d3d3; /* Gris doux */
}

/* Images */
img {
    border-radius: 10px;
    /*box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.4);*/
    max-width: 100%;
    height: auto;
}

/* Flexbox pour organiser le contenu */
div[style*="display: flex;"] {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

div[style*="display: flex;"] div {
    flex: 1;
    padding: 10px;
}

/* Espacement entre sections */
div + br + br {
    margin-bottom: 20px;
}


footer {
    text-align: center;
    background: #121530; /* Bleu nuit foncé */
    color: #f5f5f5; /* Blanc cassé */
    padding: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2); /* Ombre subtile sur le haut */
    border-top: 1px solid #1b1f38; /* Ligne subtile pour démarquer le footer */
    font-size: 1em;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 5px;
    transition: 1s;
}

footer:hover {
    max-height: 200px;
}

.no-style {
    box-shadow: none;
    padding-left: 5px;
    border-radius: 15px;
}

.hyper-liens {
    border-radius: 0;
    box-shadow: none;
    padding-left: 5px;
}

/* Style par défaut pour la liste */
ul.ligneList {
    display: flex; /* Active le mode flexbox */
    justify-content: center; /* Centre le contenu horizontalement */
    padding: 0; /* Retire les espaces par défaut sur les UL */
    margin: 0; /* Ajuste les marges de la UL */
    list-style: none; /* Supprime les puces */
}

/* Les éléments individuels de la liste */
ul.ligneList li {
    margin: auto; /* Applique le centrage automatique */
    text-align: center; /* Centre le texte pour chaque li */
}

a {
    color: #0077cc;
    text-decoration: none;
}

li {
    margin: auto;
}



.img-din {
    width: 300px;
    transition: 0.7s;
}

.img-din:hover {
    transform: scale(1.15);
    transition: 0.7s;
}

.img-din-moyen {
    width: 200px;
    transition: 0.7s;
}

.img-din-moyen:hover {
    transform: scale(1.15);
    transition: 0.7s;
}

.img-din-petit {
    width: 100px;
    transition: 0.7s;
}

.img-din-petit:hover {
    transform: scale(1.15);
    transition: 0.7s;
}

.star {
    box-shadow: none;
    padding-left: 5px;
    border-radius: 15px;
    width: 40px;
}


.text {
    max-width: 800px;
    text-align: justify;
    text-align-last: center;
}

.gros-text {
    max-width: 1200px;
    text-align: justify;
    text-align-last: center;
}

.div-englobe-ligne {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
}

.div-englobe-ligne-a {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    background-color: #222746;
    padding: 10px;
    border-radius: 10px;
    align-items: center;
    gap: 10px;
}

.div-englobe-ligne-b {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    background-color: #1a1f46;
    padding: 10px;
    border-radius: 10px;
    align-items: center;
    gap: 10px;
}

.div-align-items {
    display: flex;
    gap: 10px;
}

.div-englobe-contenu {
    flex: 1;
    text-align: center;
}

.div-color-a {
    width: 100%;
    display: inline-flex;
    background-color: #222746;
    padding: 5px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.div-color-b {
    width: 100%;
    display: inline-flex;
    background-color: #1a1f46;
    padding: 5px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}








button {
    background-color: #0077cc; /* Bleu vif */
    color: #f5f5f5; /* Blanc cassé */
    border: none;
    padding: 12px 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 119, 204, 0.2);
    margin: 10px;
}

button:hover {
    background-color: #00aaff; /* Bleu ciel */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 170, 255, 0.25);
}

.button_rouge {
    background-color: #cc0000; /* Bleu vif */
    color: #f5f5f5; /* Blanc cassé */
    border: none;
    padding: 12px 24px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 119, 204, 0.2);
    margin: 10px;
}

.button_rouge:hover {
    background-color: #ff0000; /* Bleu ciel */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 170, 255, 0.25);
}

.button_rouge:active {
    background-color: #b30000;
    transform: scale(0.98);
}


select {
    background-color: #1a1f46; /* même ton que .div-englobe-ligne-b */
    color: #f5f5f5; /* blanc cassé */
    border: 1px solid #0077cc; /* bleu vif */
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none; /* masque la flèche native */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='16' height='16' fill='%23f5f5f5' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
    margin: 10px;
}

select:focus {
    border-color: #00aaff; /* bleu ciel */
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
    outline: none;
}

textarea {
    background-color: #1a1f46;         /* Fond bleu nuit */
    color: #f5f5f5;                    /* Texte blanc cassé */
    border: 1px solid #0077cc;         /* Bordure bleu vif */
    border-radius: 8px;
    padding: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    resize: vertical;                 /* Autorise le redimensionnement vertical uniquement */
    min-height: 120px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
    border-color: #00aaff;            /* Bordure bleu ciel au focus */
    box-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
    outline: none;
}

input[type="text"] {
    background-color: #1a1f46;        /* Bleu nuit foncé */
    color: #f5f5f5;                   /* Texte blanc cassé */
    border: 1px solid #0077cc;        /* Bordure bleu vif */
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    max-width: 100%;
}

input[type="text"]:focus {
    border-color: #00aaff;           /* Accent bleu ciel */
    box-shadow: 0 0 6px rgba(0, 170, 255, 0.5);
    outline: none;
}

