@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

.button-container {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
}

.rounded-button {
    background-color: #e8915f;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rounded-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}


.paragraphe-perso {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    /* Poids léger */
    font-style: normal !important;
    /* Style par défaut */
    font-size: 1.2rem;
}

.msr-b {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    /* Poids léger */
    font-style: normal !important;
    /* Style par défaut */
}

.msr-l {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    /* Poids léger */
    font-style: normal !important;
    /* Style par défaut */
}

.animated-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    height: 50px;
    /* Set a fixed height for the container */
    overflow: hidden;
    position: relative;
}

.word {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font: 'Montserrat';
    font-weight: 200 !important;
    color: #f48b48;
}

.word.active {
    opacity: 1;
}


/* Style pour la navbar */
.navbar {
    position: fixed;
    /* Fixe la navbar en haut */
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Couleur avec opacité */
    z-index: 1030;
    /* Assure qu'elle reste au-dessus des autres éléments */
    transition: background-color 0.3s ease-in-out;
    /* Transition pour des changements fluides */
}

/* Change d'opacité au survol */
.navbar:hover {
    background-color: rgba(255, 255, 255, 1);
    /* Plein blanc lorsqu'on survole */
}

/* Ajout d'espacement pour le contenu */
body {
    padding-top: 80px;
    /* Pour éviter que le contenu ne soit caché sous la navbar */
}


/* Style par défaut : image invisible */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Image visible avec transition */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de zoom au survol */
.zoom-hover {
    transition: transform 0.3s ease-in-out;
    /* Transition fluide */
}

.zoom-hover:hover {
    transform: scale(1.1);
    /* Applique un léger zoom (10%) */
}



.my-indicator{
    display:none;
}

.htmx-request.my-indicator {
    position: fixed;
    z-index: 9999;
    height: 200px;
    width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

input:invalid {
    border: 1px dashed red;
  }
  
  input:valid {
    border: 1px solid green;
  }
