/* ==========================================================
   Palette "tech dark + violet"
   ========================================================== */
:root {
    --bg: #2b2e2e;
    --bg-secondary: rgba(71, 45, 137, 0.484);
    --bg-tertiary: #534e5ee4;
    --text: #e5e0f0;
    --text-muted: #b8aed1;
    --accent: #726f78;
    --accent-light: #e5e2f0;
}

html {
    scroll-behavior:smooth;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    padding: 0%;
    margin: 0%;
    display: flex;
    z-index: 0;

    flex-direction: column;
}

.btn_home_bg {
    background-color: var(--bg-secondary);
    width: 70px;
    height: 70px;
    border-radius: 30px;
    position: fixed;
    right: 20px ;
    bottom: 20px ;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_home {
    padding: 0%;
    width: 30px;
    height: 30px;
}

.footer {
    background-color: var(--bg-tertiary);
    color: var(--text);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    margin-top: 5vh;
}

.top-rectangle {
    width: 150vh;
    height: 20vh;
    display: flex;
    z-index: 1;
    background-color: var(--bg-tertiary);

    margin: 5vh auto;
    border-radius: 20px;
}

h1 {
    color: var(--text);
    font-size: 10vh;

    margin: auto;
}

.carousel {
    position: relative;
}

.container-overflow {
    background-color: var(--bg-secondary);
    backdrop-filter: blur(100px);
    border: 1px solid rgba(255, 255, 255, 0.1);


    width: 160vh;
    height: 55vh;
    border-radius: 20px;

    margin: 5vh auto;
    overflow: hidden;
    overflow-y: hidden;
}



#prev,#next {
    background-color: transparent ;
    border: none;
    width: 70px;
    height: 20vh;
    font-size: 150px;
    margin-top: 20vh;
    color: var(--accent-light);
}

#prev {
    position: absolute;
    left: 5vh ;   
}

#next {
    position: absolute;
    right: 5vh ;
}

.container {
display: flex;
width: 100%;
gap: 20vh;
margin-left: 7vh;

}

.img-projet {

    width: 35vh;
    height: 35vh;
    border-radius: 15px;
    margin-top: 10vh;
}

.img_aprps {
    width: 35vh;
    height: 35vh;
    border-radius: 15px;
    margin-top: 10vh;
}

.img-moi {

    width: 35vh;
    height: 35vh;
    border-radius: 15px;
    margin-top: 10vh;
}

.img-contact {

    width: 35vh;
    height: 35vh;
    border-radius: 15px;
    margin-top: 10vh;
}

.lien-projet, .lien-moi, .lien-contact,#next,#prev,.img_aprps{
    transition: transform 0.2s;
}

.lien-projet:hover, .lien-moi:hover,.lien-contact:hover,
.btn_home:hover,.btn_home_bg:hover,.img_aprps:hover{
    transform: scale(1.05);
}

#next:hover,#prev:hover{
    transform: scale(2.5);
}


.cv {
    width: 70%;
    margin: 5vh auto;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dwl{
    width: 10vh;
    margin-left: 90vh;
    margin-bottom: 0vh;
    
}

.cv h2 {
    color: var(--text);
    font-size: 7vh;
    margin-bottom: 30px;
    text-align: center;
}

.cv h3 {
    color: var(--accent-light);
    font-size: 5vh;
    margin-bottom: 10vh;
    border-bottom: 1px solid var(--bg-tertiary);
    padding-bottom: 8px;
}

.cv h4 {
    color: var(--text);
    font-size: 18px;
    margin: 0;
}

.cv-bloc {
    margin-bottom: 30px;
}

.cv-item {
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
}

.cv-date {
    color: var(--accent-light);
    font-size: 14px;
    opacity: 0.9;
}

.cv-lieu {
    color: var(--text);
    font-size: 15px;
    opacity: 0.9;
    margin: 4px 0;
}

.cv p {
    color: var(--text);
    font-size: 14px;
    margin-top: 6px;
}

.presentation {
    width: 70%;
    margin: 5vh auto;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.presentation h2 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.presentation-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.presentation-photo {
    width: 180px;
    height: 220px;
    border-radius: 15px;
    border: 4px solid var(--accent);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.presentation-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.presentation-droite {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.presentation-texte {
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    padding: 20px;
}

.presentation-texte p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.presentation-hobbies {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hobby-item {
    background-color: var(--bg-tertiary);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    transition: transform 0.2s, background-color 0.2s;
}

.hobby-item:hover {
    transform: scale(1.08);
    background-color: var(--accent);
}

.container {
    transition: transform 0.3s ease;
}

.recherche {
    width: 70%;
    margin: 5vh auto;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
}

.recherche h2 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 5vh;
    text-align: center;
}

.recherche-contenu {
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    padding: 30px;
}

.recherche-contenu p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.recherche-contenu strong {
    color: var(--accent-light);
    font-weight: 700;
}

.recherche-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.recherche-tag:hover {
    transform: scale(1.08);
    transition: transform 0.3s ease;
    background-color: var(--accent);
}

.recherche-tag {
    background-color: var(--bg-secondary);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid var(--accent);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.bdp {
    color: var(--text);
    font-size: 6vh;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    width: 40vh;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5vh auto;
    transition: transform 0.2s, background-color 0.2s;
}

.bdp:hover {
    transform: scale(1.05);
    background-color: var(--accent);
}

.bdp a {
    text-decoration: none;
    color: var(--text);
    text-align: center;
}

.bdp a:visited {
    color: var(--text);
}