@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
body {	
    cursor:url(img_portfolio/icons/cible.png), auto;
}

.vt323-regular {
    font-family: "VT323", monospace;
    font-weight: 300;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    display: flex; /* Utilisation de flexbox */
    flex-direction: column; /* Disposition en colonne */
    min-height: 100vh; /* Hauteur minimale de la fenêtre visible */
}

header {
    background-color: black;
    color: #000000;
    font-family: 'VT323', monospace;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    /*border-bottom: 1px solid #ffffff; /* ligne blanche en bas du header */ 
}


.header-container {
    position: relative;
    height: 60px; /* Ajuste selon ta préférence */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav toujours au centre du header */
.nav-centered {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}




nav {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 30px;
}

nav a {
    position: relative;
    font-size: 20px;
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

nav a::before {
    content: "> ";
}

nav a:hover {
    background-color: #ffffff;
    color: black;
    border-color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

/* Effet curseur terminal sur hover */
nav a:hover::after {
    content: " _";
    animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


footer {
    display: flex;
    flex-direction: column; /* Aligne les éléments en colonne */
    align-items: center; /* Centre les éléments horizontalement */
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    width: 100%;
    max-height: 50%;
    border-top: 1px solid #ffffff;
    display: flex; /* Utilisation de flexbox */
    justify-content: center; /* Centrer horizontalement les éléments */
    align-items: center; /* Centrer verticalement les éléments */
}

main {
    width: 60%;
    margin: 0 auto; /* Centrer l'élément main horizontalement */
}

/* Appliquer un style terminal à chaque box */
main .box1,
main .box2,
main .box3,
main .box4,
main .box5 {
    background-color: #1e1e1e;
    border: 1px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    position: relative;
    padding-top: 40px; /* Espace pour la fausse barre terminal */
    overflow: hidden;
}

/* Barre d’en-tête style terminal */
main .box1::before,
main .box2::before,
main .box3::before,
main .box4::before,
main .box5::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 29px;
    width: 100%;
    background-color: #2e2e2e;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Arrière-plan derrière les boutons minimiser, fenêtre et fermer */
main .box1::after,
main .box2::after,
main .box3::after,
main .box4::after,
main .box5::after {
    content: "🗕 🗖 ✕";
    position: absolute;
    top: 0px; /* Descendre les icônes de 5px par rapport à la position actuelle */
    right: -1px;
    font-size: 16px;
    color: #cfcfcf;
    font-family: Arial, sans-serif;
    letter-spacing: 10px;
    background-color: rgba(36, 36, 36, 0.6); /* Fond semi-transparent */
    border-top-right-radius: 10px;
    padding: 4px; /* Agrandir le fond de 5px (initialement 5px, on passe à 8px pour augmenter de 5px) */
    padding-left: 15px; /* Agrandir spécifiquement le côté gauche */
}




footer p {
margin-top: 20px;
}

/* Styles pour le logo Instagram */
.instagram-logo {
    width: 20px; /* Ajustez la taille selon vos besoins */
    height: auto; /* Conserve le rapport d'aspect */
}

.youtube {
    height: 23px;
    width: 23px;
    margin-top: 5px;
    padding-left: 20px;
}

.spotify {
    justify-content: right;
    height: 23px;
    width: 23px;
    padding-left: 20px;
}

footer p {
    margin-bottom: 20px; /* Espace entre le paragraphe et les liens */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
.social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-family: 'VT323', monospace;
    font-size: 20px;
}

.social-links a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.social-links a::before {
    content: "[ ";
}

.social-links a::after {
    content: " ]";
}

.social-links a:hover {
    background-color: #ffffff;
    color: black;
    border-color: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

.social-links a:hover::after {
    content: " ]_";
    animation: blink 0.8s steps(2, start) infinite;
}


