/*
Theme Name: csi-jean-rostand
Theme URI: http://localhost
Author: J-Script pour le développement (IUT Béziers élèves MMI 2025 pour le design (prototype fourni)).
Mail: jeremy-corbeilla@j-script.fr
Description: Thème personnalisé pour le cabinet d'infirmières Jean Rostand
Version: 1.0
*/
body {
    margin: 0;
    padding: 0;
    background-image: url('./assets/images/backgrounds/16_infirmiere-1.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
}

h1{
    font-family: 'Poppins', sans-serif;
    font-size: 58px;
}

h2{
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
}

h3{
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

p{
    font-family: 'hanken Grotesk', sans-serif;
    font-size: 15px;
}

a{
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-decoration: none;
    color: var(--touch-color);
}

a.hover{
    color: var(--secondary-color);
}

button{
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    background-color: white;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.italic{
    font-style: italic;
}

button:hover{
    background-color: var(--secondary-color);
    color: white;
}


:root{
    --primary-color: #C94065;
    --secondary-color: #355070;
    --touch-color: #A50909;
    --background-color: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flex-row{
    display: flex;
    flex-direction: row;
}
.flex-column{
    display: flex;
    flex-direction: column;
}
.flex-center{
    justify-content: center;
    align-items: center;
}

.pills{
    color: var(--touch-color);
    background-color: #FFD3D3;
    width: max-content;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1.25rem;
}

/* Pour les navigateurs WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre de scroll */
    height: 12px; /* Hauteur de la barre de scroll pour l'horizontale */
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* Couleur du curseur */
    border-radius: 6px; /* Arrondi du curseur */
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Couleur de l'arrière-plan de la barre */
    border-radius: 6px;
}

/* Pour Firefox */
* {
    scrollbar-width: thin; /* Épaisseur de la barre de scroll */
    scrollbar-color: var(--primary-color) #f1f1f1; /* Couleurs : curseur et arrière-plan */
}

@media only screen and (max-width: 768px) {

    .flex-column{
        flex-wrap: wrap;
        flex-direction: column;
        width: 100vw;
        overflow: hidden;
    }

    .flex-row{
        flex-wrap: wrap;
        flex-direction: row;
        width: 100vw;
        overflow: hidden;
    }
    .body{
        width: 100vw;
        overflow-x: hidden;
        padding: 0;
    }
    h1{
        font-family: 'Poppins', sans-serif;
        font-size: 38px;
    }
    
    h2{
        font-family: 'Poppins', sans-serif;
        font-size: 36px;
    }
    .history-section .image-container{
        padding: unset;
    }
    
}
