/* general.css?v=002 */

:root {
    --primary-color: rgb(169, 5, 5);
    --sombre-primary-color: rgb(121, 3, 3);
    --secondary-color: #000000;
    --accent-color: #ffffff;
    --background-dark: rgba(0, 0, 0, 0.5);
    --grey-light: #f4f4f4;
    --device-color: #2c2c2c; /* Couleur des appareils */
}

.primaire {
    color: var(--primary-color);
}

.gras{
    font-weight: bold;
    font-family: sans-serif;
}

.italic{
    font-style: italic;
}

.blancOpacity{
    color: #ffffffbc;
}

.gray{
    color: gray;
}

html{
    scroll-behavior: smooth;
}

*{
    font-family: 'Inria Sans', sans-serif;
    font-style: normal;
    transition: all .4s;   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    /* font-family: var(--font-family); */
    color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

main{
    width: 100vw;
    overflow-x: hidden;
}

.form-group input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.modal-content h2 {
    margin-bottom: 10px;
}
.modal-content p {
    margin-bottom: 20px;
    color: #666;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Fenêtre Modale */
.modal {
    display: none; /* Caché par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    color: #333;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}

/* Formulaire dans la modale */
.modal-content h2 {
    margin-bottom: 10px;
}
.modal-content p {
    margin-bottom: 20px;
    color: #666;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}