/* Conteneur principal pour centrer */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

h1, h3 {
    font-family: 'verdana';
}

h2 {
    color: rgb(200, 38, 6);
    font-family: 'Times', serif;
}

h3{
    font-size: 15px;
}

/* Style pour le disque avec la photo */
.photo-container {
    width: 40%;
    height: 40%;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, opacity 0.5s ease, visibility 0s 0.5s; /* Transition fluide avec disparition */
}

/*Survol souris de la photo*/
.photo-container:hover {
    transform: scale(1.1);
}

.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Classe pour masquer le disque progressivement */
.hidden {
    opacity: 0;
    visibility: hidden;
    display: none; /* Disparition disque */
}

/* Style pour le CV */
.cv {
    opacity: 0;
    text-align: left;
    max-width: 600px;
    margin-top: 20px;
    transition: opacity 1s ease;
}

/* Classe pour afficher le CV en fondu */
.show-cv {
    opacity: 20;
}

/*petits écrans */
@media (max-width: 600px) {
    .photo-container {
        width: 80vw; /* Le cercle prend 80% de la largeur de l'écran */
        height: 80vw; /* Hauteur égale pour garder un cercle */
    }

    .cv {
        max-width: 90vw; /* Le CV prend 90% de la largeur de l'écran */
        margin-top: 20px;
    }

    h1 {
        font-size: 1.5em; /* Réduire la taille du titre */
    }

    h2 {
        font-size: 1.2em; /* Réduire la taille des sous-titres */
    }

    h3, p, ul {
        font-size: 1em; /* Réduire la taille du texte */
    }
}
