@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #000000;
}
.animate__animated.animate__fadeIn {
    --animate-duration: 2s;
}
:root {
    --animate-duration: 800ms;
    --animate-delay: 0.9s;
}
.container{
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}


header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    color: white;
    z-index: 2;
}
header a{
    font-size: 20px;
    color: #000000;
    font-family: "Major Mono Display", serif;
    transition: 0.6s all ease-in-out;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 10px;

}
header a:hover{
    font-size: 25px;
    background-color: #000000;
    color: #ffffff;
}

.titre h1{
    font-size: 6em;
    color: #ffffff;
    font-family: "Major Mono Display", serif;
    transition: 0.6s all ease-in-out;
    padding: 10px 20px 10px 20px;
}


/* Container général */
.grp {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100vh;
    margin: 0;
    padding: 0;
}

/* Groupe de cartes */
.card-groupe {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 45%;
}

/* Carte principale */
.card {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    height: 400px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 10px 20px 10px rgb(253, 253, 253);
    overflow: hidden;
    padding: 20px;
    border: 2px solid black;
}

/* Image ronde */
.round {
    width: 250px;
    height: 250px;
    background-color: rgb(221, 221, 221);
    border-radius: 50%;
    background-image: url('../img/pp-removebg-preview.png');
    background-size: cover;
    background-position: center center;
    margin-right: 30px;
    flex-shrink: 0;
}

/* Contenu de la carte */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: #333;
    font-family: "Major Mono Display", serif;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-content .cv-download-btn{
    padding: 10px 20px 10px 20px;
    background-color: #000000;
    color: white;
    font-family: "Major Mono Display", serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.social-links li {
    margin-bottom: 10px;
    font-family: "Arvo", serif;
    
}

.social-links a {
    text-decoration: none;
    font-size: 1rem;
    color: #000000;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;

    width: 120px;
    height: 40px;
    background-color: rgb(219, 219, 219);
    border-radius: 10px;
  
}

.social-links li:hover {
    color: #4b4b4b;
    cursor: pointer;
    
}
.cube {
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: row;
    gap: 30px;
}
.cube a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}


@media (max-width: 768px) {
    .card-groupe {
        width: 80%;
        flex-direction: column;
    }

    .card {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .round {
        margin-bottom: 20px;
    }

    .titre h1 {
        font-size: 4em;
    }

    header a {
        font-size: 18px;
    }

    .card-content h2 {
        font-size: 1.5rem;
    }

    .cube a {
        font-size: 1.2em;
    }

    .social-links a {
        font-size: 0.9rem;
        width: 100px;
        height: 35px;
    }

    .cv-download-btn {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .titre h1 {
        font-size: 3em;
    }

    header a {
        font-size: 16px;
    }

    .card-groupe {
        width: 90%;
    }

    .round {
        width: 200px;
        height: 200px;
    }

    .card-content h2 {
        font-size: 1.2rem;
    }

    .cube a {
        font-size: 1.1em;
    }

    .social-links a {
        font-size: 0.85rem;
        width: 90px;
        height: 30px;
    }

    .cv-download-btn {
        font-size: 1rem;
        padding: 8px 15px;
    }
}