/* Global styles */
html, body {
    background-color: #0a1628 !important;
    margin: 0;
    padding: 0;
    font-family: monospace !important;
    height: 100%;
    width: 100%;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(15px);
    transition: 0.5s;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.navbar-brand {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}

.navbar-nav .nav-link {
    color: rgb(225, 225, 225) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: rgb(62, 165, 255) !important;
    text-decoration:underline;
    text-underline-offset: 8px; /* Ajuste la distance ici */

}
@keyframes textGlow {
    0% { text-shadow: 0px 0px 0px rgb(62, 165, 255);}
    50% { text-shadow: 0px 0px 20px rgb(62, 165, 255);}
    100% { text-shadow: 0px 0px 0px rgb(62, 165, 255);}
}

.glowing-text {
    animation: textGlow 3s infinite ease-in-out;
}
.navbar-toggler {
    border-color: rgb(112, 112, 112);
}

/* Footer */
footer {
    font-family: monospace !important;
    color: white;
    text-align: center;
    font-size: 17px;
    padding: 40px 0;
}
.navbar-toggler.active {
    background-color: rgba(255, 255, 255, 0.2); /* Ajoute une couleur de fond quand actif */
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s ease;
}

/* Style pour la flèche vers le haut */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 3rem;  /* Augmenter la taille de la flèche */
    color: #007bff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
    color: #0056b3; /* Change la couleur de la flèche au survol */
}

.scroll-to-top i {
    font-size: 2.5rem;  /* Taille de l'icône */
}

/* Masquer la flèche par défaut, elle apparaît seulement quand on scrolle */
.scroll-to-top.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Overlay avec la croix rouge */
.delete-overlay {
    z-index: 4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: red;
    font-weight: bold;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 10px;
}
.archive-overlay {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgb(108, 108, 108);
    font-weight: bold;
    opacity: 0.7;
    display: flex
;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #656564c7;
    border-radius: 10px;
}

/* Affiche l'overlay lorsque la compétence est marquée */
.competence-item.marked-for-delete .delete-overlay {
    display: flex;
}
/* Affiche l'overlay lorsque la compétence est marquée */
.projets-item.marked-for-archive,.formations-item.marked-for-archive{
    opacity: 0.5;
}
textarea {
    resize: vertical;
}
.hidden {
    opacity: 0;
    transform: translateY(50px); /* Déplacement initial vers le bas */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Ajouter des media queries pour ajuster la taille de la police */
@media (max-width: 768px) {
    footer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    footer {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    footer {
        font-size: 10px;
    }
}