/* max-line */

.max-line-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* Le nombre de lignes que vous souhaitez afficher */
    overflow: hidden;
}

.max-line-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Le nombre de lignes que vous souhaitez afficher */
    overflow: hidden;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Le nombre de lignes que vous souhaitez afficher */
    overflow: hidden;
}

.max-line-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* Le nombre de lignes que vous souhaitez afficher */
    overflow: hidden;
}

.max-line-5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; /* Le nombre de lignes que vous souhaitez afficher */
    overflow: hidden;
}

.profile {
    width: 25vw;
    height: 25vw;
    background-size: cover;
    background-position: center;
}

.profile-cover {
    background-size: cover;
    background-position: center;
}

/* photo de profil */

.profile-picture {
    position: relative;
    width: 200px; /* Taille fixe de l'image */
    height: 200px; /* Taille fixe de l'image */
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-icon {
    position: absolute;
    bottom: 0;
    right: 10px;
    /*background-color: white;*/
    border-radius: 50%;
    padding: 12px;
}

.profile-picture-sm {
    width: 20px; /* Taille fixe de l'image */
    height: 20px; /* Taille fixe de l'image */
    object-fit: cover;
}

/* avoir une hero plus petite */

.litle-hero-layout {
    z-index: 10;
    grid-row-gap: 7.5em;
    border-radius: var(--radius-medium);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .7), var(--transparent));
    border: 1px solid rgba(255, 255, 255, .9);
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 4em 8vw 4em;
    display: flex;
    position: relative;
    overflow: hidden
}

.custom-invalid-feedback {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545
}

.custom-flex-end {
    justify-content: flex-end !important;
}

.height-percentage {
    height: 90%;
}

.min-height-login-page {
    min-height: 10vh !important;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* styles */
    .custom-flex-end {
        justify-content: center !important;
    }

    .height-percentage {
        height: 90%;
    }

    .min-height-login-page {
        min-height: 10vh !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* styles */
    .custom-flex-end {
        justify-content: flex-end !important;
    }

    .height-percentage {
        height: 90%;
    }

    .min-height-login-page {
        min-height: 10vh !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* styles */
    .custom-flex-end {
        justify-content: center !important;
    }

    .height-percentage {
        height: 85%;
    }

    .min-height-login-page {
        min-height: 10vh !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* styles */
    .custom-flex-end {
        justify-content: flex-end !important;
    }

    .height-percentage {
        height: 78%;
    }

    .min-height-login-page {
        min-height: 100vh !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* styles */
    .custom-flex-end {
        justify-content: flex-end !important;
    }

    .height-percentage {
        height: 78%;
    }

    .min-height-login-page {
        min-height: 100vh !important;
    }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    /* styles */
    .custom-flex-end {
        justify-content: flex-end !important;
    }

    .height-percentage {
        height: 78%;
    }

    .min-height-login-page {
        min-height: 100vh !important;
    }
}

.error-message-validation {
    white-space: pre-wrap;
    color: rgba(255, 0, 0, 0.85);
    margin-top: 5px;
}
