
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
.nav-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 150px;
    background: white;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: width 0.4s ease-in-out;
    overflow: hidden;
    animation: pulse 0.5s infinite alternate ease-in-out;
    font-family: "Montserrat", sans-serif;
}



.nav-bar:hover {
    width: 180px;

}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.nav-bar:hover .nav-links {
    opacity: 1;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

@keyframes pulse {
    from {
        transform: translateY(-50%) scale(1);
    }
    to {
        transform: translateY(-50%) scale(1.05);
    }
}
body {
    background-color:#0f0f0f;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}
.contact {
    padding: 3vh;
}
.section {
    width: 90%;
    height: 100vh;
    display: flex;
    opacity: 0;
    transition: opacity 1s, transform 1s;
    align-items: center; 
    justify-content: space-between; 
}
.left {
    align-self: flex-start;
    transform: translateX(-50px);
}
.right {
    align-self: flex-end;
    transform: translateX(50px);
        margin-left: auto; 
}
.visible {
    opacity: 1;
    transform: translateX(0);
}
.box {
    padding: 2vh;
    max-width: 70vw;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: break-word;
    color: white;
    font-family: "Montserrat", sans-serif;
    display: flex;
    align-items: center;

}
.right-content {
    padding:0 20px ;
}


h1 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    transform:translateY(20px );
    color: white;
    animation: neonBlink 10s infinite alternate;
}
.flex {
    display: flex;
    margin-bottom: 10vh;
}
@keyframes neonBlink {
0% {
text-shadow: 0 0 5px rgba(227, 227, 227, 0.5),
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 25px rgba(255, 255, 255, 0.1);
}
50% {
text-shadow: 0 0 10px rgba(159, 159, 159, 0.6),
        0 0 20px rgba(234, 234, 234, 0.5),
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 50px rgba(255, 255, 255, 0.2);
}
100% {
text-shadow: 0 0 5px rgba(222, 221, 221, 0.5),
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 25px rgba(255, 255, 255, 0.1);
}
}
@keyframes fadeSlideIn {
    0% {
    opacity: 0;
    transform: translateY(20px);
    }
    100% {
    opacity: 1;
    transform: translateY(0);
    }
}
.entete {
    display: flex;
    flex-direction: row;
}
footer {
    border-top: 2px solid white;
    height: 2vh;
    width: 100%;
    padding: 3vh;
    padding-left: 6vh;
}
.boxes {
    width: 80vh;
    height: 55vh;
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 2vh;
}

.custom-button,.custom-button1,.custom-button2,.custom-button3  {
    background-color: #ffffff;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: normal;
    font-family: 'Montserrat'; 
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}
a {
    color: black;
    text-decoration: none; 
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loader {
    border: 5px solid white;
    border-top: 5px solid transparent;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.scroll-down {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    z-index: 1000;
}


.arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    animation: bounce 1.5s infinite ease-in-out;
    margin-top: 5px;
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(10px) rotate(45deg);
    }
}


.hidden {
    display: none;
}
.project-dev {
    display: none;
}
.active{
    display:block;
}

footer {
    display: flex;
    color: white;
    font-size: 1rem;
    font-weight: normal;
    font-family: 'Montserrat'; 
    justify-content: space-between;
    animation: neonBlink 1.5s infinite alternate;

}
footer img {
    height: 10vh;
    width: 10vh;
}

@media (max-width: 767px) {

    .nav-bar {
        width: 100px;
        height: auto;
        top: 10%;
        position: absolute;
        display:none
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    .nav-links a {
        font-size: 14px;
        padding: 10px 0;
    }


    h1 {
        font-size: 3rem;
        text-align: center;
        margin: 0 10px;
    }

    .page-one {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .flex {
        display: block;
        text-align: center;
    }

    .section {
        width: 90%;
        height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section img {
        max-width: 100%;
        height: auto;
    }

    .box {
        display: block;
        width: 100%;
        padding: 2vh;
    }

    .right-content {
        padding: 10px;
        text-align: center;
    }

    .boxes {
        width: 100%;
    }

    .scroll-down {
        bottom: 20px;
        font-size: 16px;
    }
}


@media (max-width: 1024px) {
#Section1 {
    padding-top: 22vh;
}
    .nav-bar {
        width: 150px;
        display: none;
    }
    .nav-links {
        flex-direction: row;
        justify-content: space-around;
        display: none;
    }
    .nav-links a {
        font-size: 16px;
        padding: 8px 0;
        display: none;
    }

    h1 {
        font-size: 4rem;
    }

    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .boxes {
        width: 100%;
        max-width: 80%;
        height: auto;
    }

    .right-content {
        text-align: center;
    }

    .section {
        padding: 20px;
    }

    .scroll-down {
        bottom: 20px;
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    footer {
        font-size: 0.9rem;
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .nav-bar {
        width: 50px;
        height: auto;
        position: fixed;
        top: 10px;
        left: 10px;
        box-shadow: none;
        border-radius: 5px;
        display:none
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        display: none;
        flex-direction: column;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    }

    .nav-bar.active .nav-links {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-bar {
        width: 180px;
        position: fixed;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        display:none;
    }

    .nav-links {
        opacity: 1;
        position: static;
        display: flex;
        flex-direction: column;
        padding: 10px;
    }

    .menu-toggle {
        display: none; 
    }
}