@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');


body, html {
    overflow: hidden;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.portfolio-section {
    background: #000000;
    color: white;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: left;
    text-align: left;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
    color: white;
    margin-top: 30vh;
    margin-left: 10vh;
    z-index: 3;
}

h2 {
    font-family: 'Dancing Script', serif;
    font-size: 4rem;
    color: white;
    margin: 0;
    margin-left: 40vw;
    margin-top: -4vh;
    z-index: 3;
}


.portfolio-buttons {
    display: flex;
    gap: 15px;
}

.portfolio-buttons button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.portfolio-buttons button:hover {
    background-color: white;
    color: black;
    border-color: black;
}

.portfolio-buttons button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

/* Full screen sections */
.full-screen {
    width: 100vw;
    height: 100vh;
    color: white;
    font-size: 2rem;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.full-screen.active {
    opacity: 1;
    pointer-events: auto;
}

/* Images de fond */
.photo-section {
    background: url('../media/PHOTO1.jpg') center/cover no-repeat;
}

.video-section {
    background: url('../media/PHOTO2.jpg') center/cover no-repeat;
}

.blog-section {
    background: url('../media/PHOTO3.jpg') center/cover no-repeat;
}

/* Animation du texte qui entre depuis le bas */
.slide-text-in-from-bottom {
    animation: slideInFromBottom 1s forwards;
}

/* Animation du texte qui entre depuis le haut */
.slide-text-in-from-top {
    animation: slideInFromTop 1s forwards;
}

/* Animation du texte qui sort vers le haut */
.slide-text-out-to-top {
    animation: slideOutToTop 1s forwards;
}

/* Animation du texte qui sort vers le bas */
.slide-text-out-to-bottom {
    animation: slideOutToBottom 1s forwards;
}

/* Entrée du texte depuis le bas */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(1000%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Entrée du texte depuis le haut */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-1000%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Sortie du texte vers le haut */
@keyframes slideOutToTop {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-1000%);
    }
}

/* Sortie du texte vers le bas */
@keyframes slideOutToBottom {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(1000%);
    }
}




/* Bandeau fixe à droite, centré verticalement */
.social-bar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    height: 100vh;
    padding: 10px;
    justify-content: center;
}

.social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: black;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.social-bar a:hover {
    background-color: #00aced;
    transform: scale(1.1);
}

.social-bar i {
    font-size: 24px;
    color: white;
}











.btn-slide{
    display: inline-block;
    margin: 1vh;
    padding: 1vh 2vh;
    border: 3px solid white; /* Bordure blanche fine */
    border-radius: 50px; /* Coins arrondis */
    color: white;
    background-color: #000000ad;
    text-decoration: none;
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.btn-slide:hover {
    background-color: white;
    color: black;
}

section:first-of-type>.btn-slide-global{
    display: flex;
    margin-top: 11vh;
    align-items: center;
    margin: auto;
}


.btn-slide-global{
    display: flex;
    margin-top: 1vh;
    align-items: center;
    margin-left: 10vh;
    z-index: 3;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: transparent !important;
}
body {
    overflow: hidden; /* Évite les barres de scroll inutiles */
}


#canvas-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}


