/* ================================================================================================ */
/* =============================================Général============================================= */
/* ================================================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --color-main: #4876FF;
}

html {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 150px; /* Ajustez cette valeur selon votre besoin */
}

body {
    background-color: black;
    color: white;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: 0;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: white;
}

.alert {
    padding: 15px;
    margin: 30px 0;
    border-radius: 4px;
    width: 80%;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.container-boule {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.content-container {
    position: relative;
    z-index: 1;
    /* Ajoutez un fond semi-transparent si nécessaire */
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent noir */
}


.container {
    width: 960px;
    margin: 0 auto 50px;
    position: relative;
}

.section-onglet {
    margin-top: 100px;
}

.main-color {
    color: var(--color-main);
}

.html-color {
    color: #f16529;
}

.css-color {
    color: #2965f1;
}

.js-color {
    color: #f0db4f;
}

.php-color {
    color: #8892be;
}

.wordpress-color {
    color: #21759b;
}

.sfait-color {
    color: #3ad58c;
}

.discordinvites-color {
    color: #7289da;
}

.studio-orizon-color {
    color: #42B7A3;
}

.atm-auto-color {
    color: #5C138B;
}


.bolder {
    font-weight: bold;
}


/* ================================================================================================ */
/* ==============================================Navbar============================================= */
/* ================================================================================================ */

.hamburger {
    display: none !important;
}

.hamburger-inner {
    color: white !important;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    z-index: 12;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.04) 80%, rgba(0,0,0,0) 100%);
    height: 100px;
}

.nav-bar h1 {
    z-index: 2;
}

.nav-width {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    width: 960px;
    margin: auto;
}

#nav {
    justify-content: center;
}

#navigation ul {
    display: flex;
    list-style: none;
}

#navigation ul li {
    margin: 0 30px;
}

#navigation ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
}

#navigation ul li a:hover {
    color: var(--color-main);
}

/* ================================================================================================ */
/* ===========================================Section home=========================================== */
/* ================================================================================================ */

.section-home {
    display: flex;
    flex-direction: column;
    align-items: start;
    height: 60vh;
    justify-content: center;
}

.section-home h2 {
    margin-bottom: 20px;
}

.section-home p {
font-size: 1.2em;
}

.btn-home-group {
    display: flex;
}

.btn-home {
    display: flex;
    align-items: baseline;
    padding: 10px 20px;
    margin-top: 20px;
    margin-right: 10px;
    background-color: var(--color-main);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: max-content;
}

/* ================================================================================================ */
/* ===========================================Section projets========================================== */
/* ================================================================================================ */


.section-projets {
    margin-top: 50px;
}

.container-projets {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #181a1b;
    margin: .8235294118rem .8235294118rem 0;
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    color: white;
}

.container-projets:hover {
    box-shadow: 0 0 0 2px var(--color-main);
}

.container-projets hr{
    margin: 10px 0;
    color: var(--color-main);
}

.projets-a:hover {
    color: white;
}


.status {
    border-radius: 8px;
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    padding: 10px 15px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(65, 58, 213, 0.1);
    color: var(--color-main);
    font-size: 14px;
}

.projets-top-content-info {
    display: flex;
    align-items: center;
}

.projets-top-content {
    display: flex;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

.projets-top-content-main {
    display: flex;
    align-items: center;
}

.projets-top-content-img {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    margin-right: 20px;
    max-width: 250px;
    position: relative;
    width: 100%;
}

.projets-top-content-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.projets-top-content-text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.projets-top-content-text-title {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.projets-top-content-lien {
    display: flex;
    align-items: end;
    flex-direction: column;
}

.projets-top-content-lien a:hover{
    text-decoration: underline;
}


.content-text-info {
    font-size: 14px;
    color: darkgray;
    margin: 3px 0;
}

.content-text-info a{
    display: flex;
    align-items: baseline;
}

.content-text-info a :hover{
    text-decoration: underline;
}

.content-text-info .sfait-a {
    display: flex;
    align-items: center;
}

.content-text-info a span{
    margin: 0 3px;
}

.content-text-info img{
    width: 12px;
    transform: rotate(270deg);
}

.btn-projets-slide-buttom {
    position: absolute;
    left: 0;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-projets-slide-buttom img{
    width: 25px;
}

.test {
    display: flex;
    justify-content: space-between;
}

/*.projets-top-content-prix {*/
/*    align-items: center;*/
/*    display: flex;*/
/*    justify-content: right;*/
/*    margin-left: auto;*/
/*}*/

.projets-bottom-content {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.projets-bottom-content-text-top {
    display: flex;
    flex-direction: column;
}

.projets-bottom-content-text-top .content-text-info{
    display: flex;
    justify-content: center;
    width: 100%;
}

.projets-bottom-content-text-top .content-text-info span{
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 5px;
}


.container-btn-projets-description {
    position: relative;
    margin: .8235294118rem;
    color: darkgray;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    padding: 0 .8235294118rem;
}

.projets-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin: 20px;
}

.projets-description p{
    margin: 12px 0;
}

.projets-description ul{
    list-style: inside;
    margin: 0 10px;
}

.projets-description ul li{
    margin: 10px 0;
}

.container-projets-info {
    position: absolute;
    padding: 0 50px;
    right: 0;
    bottom: 20px;
    color: darkgray;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
}

.container-projets-info a:nth-child(2):hover {
    color: white;
    text-decoration: underline;
}

.container-projets-info a:hover {
    color: darkgray;
}

.btn-projets-slide-buttom img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Style pour cacher par défaut */
.projets-description {
    display: none;
}



/* ================================================================================================ */
/* ============================================Contact============================================== */
/* ================================================================================================*/

#contact {
    margin: 150px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-group {
    position: relative;
    margin: 35px 0;
    width: 80%;
}

.form-control {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: white;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-main);
    outline: none;
}

.form-label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Animation du label quand input focus ou contient du texte */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -20px;
    font-size: 12px;
    color: var(--color-main);
}

.form-control::placeholder {
    color: transparent;
}

.btn-form {
    width: 80%;
    padding: 15px;
    background-color: var(--color-main);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.color-required {
    color: #ff4f4f;
}
/* ================================================================================================ */
/* ============================================Footer=============================================== */
/* ================================================================================================*/

/* Style général du footer */
footer {
    color: #fff;
    padding: 50px 0 20px 0;
}

/* Section principale du footer */
.section-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Conteneur du contenu du footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

/* Partie gauche du footer */
.footer-content-left {
    flex: 1;
    min-width: 300px;
}

.footer-content-left h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-content-left p {
    line-height: 1.6;
    color: #ccc;
}

/* Parties droites du footer */
.footer-content-right {
    flex: 1;
    min-width: 200px;
}

.footer-content-right h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-content-right ul {
    list-style: none;
    padding: 0;
}

.footer-content-right ul li {
    margin-bottom: 10px;
}

.footer-content-right ul li a{
    display: flex;
    align-items: center;
}

.footer-content-right ul li a {
    position: relative;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content-right ul li a:hover {
    color: #fff;
}

/* Images réseaux sociaux */
.footer-content-right ul li img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-content-right ul li img:hover {
    transform: scale(1.1);
}

.copy-message {
    display: none;
    position: absolute;
    background-color: rgb(0, 231, 71);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
    transition: opacity 0.3s;
    transform: translateX(70%);
}

/* Ligne de séparation */
hr {
    border: none;
    border-top: 1px solid #333;
    margin: 20px auto;
    max-width: 1200px;
}

/* Bas du footer */
.footer-bottom {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 14px;
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content-left,
    .footer-content-right {
        min-width: 100%;
    }
}


/* ================================================================================================ */
/* ==============================================boule============================================== */
/* ================================================================================================ */

.container-boule {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.container-boule-item {
    position: relative;
    width: 5px;
    height: 5px;
    transition: none; /* Suppression de la transition pour un mouvement plus fluide */
}

.boule {
    position: absolute;
    background-color: #fff4b5;
    -webkit-box-shadow: 0 0 100px 15px rgba(255, 255, 255, 1);
    -moz-box-shadow: 0 0 100px 15px rgba(255, 255, 255, 1);
    box-shadow: 0 0 100px 15px rgba(255, 255, 255, 1);
    width: 5px;
    height: 5px;
    border-radius: 100%;
    animation: animateBouleMain 4s infinite;
}

@keyframes animateBouleMain {
    0% {
        opacity: 0.5;
    }
    25% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.5;
    }
}

@media screen  and (min-width: 2560px) {
    .container {
        width: 50%;
    }

    .nav-width {
        min-width: 50%;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        margin: 0;
    }

    .section-onglet {
        padding: 20px;
    }


    .nav-width {
        padding: 20px;
        align-items: center;
        width: 100%;
        margin: 0;
    }

    /* Afficher le hamburger sur mobile */
    .hamburger {
        display: block !important;
        z-index: 1000;
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        background-color: white !important;
    }

    /* Style du menu mobile */
    #navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        transition: 0.3s ease-in-out;
        backdrop-filter: blur(3px);
    }

    #navigation.active {
        right: 0;
        z-index: -1;
    }

    #navigation ul {
        flex-direction: column;
        align-items: start;
        margin-top: 100px;
        gap: 20px;
        height: 100%;
        padding: 0;
    }

    /* ================================================================================================ */
    /* ===========================================Section projets========================================== */
    /* ================================================================================================ */

    .section-projets {
        width: 100%;
    }

    .container-projets {
        border: var(--color-main) solid 2px;
        border-radius: 16px;
    }

    .status {
        top: 0;
        width: 100%;
        border-radius: 16px 16px 0 0 !important;
        text-align: center;
    }

    .projets-top {
        margin-top: 30px;
    }

    .container-projets-info span{
        display: flex;
        justify-content: left;
        width: 100%;
    }

    .projets-bottom-content-text-top .content-text-info{
        flex-wrap: wrap;
    }
}

@media screen  and (max-width: 768px) {

    .section-home {
        height: 100vh;
    }

    .container-projets {
        padding: 20px;
        margin: 0;
    }

    .projets-top-content-text-title {
        font-size: 18px;
    }

    .projets-bottom-content-text-bottom span {
        font-size: 18px;
    }

    .projets-top-content {
        flex-wrap: wrap;
    }

    .projets-top-content-img {
        max-width: 100%;
    }

    .projets-description {
        margin: 20px 0 0;
    }

    .container-projets-info {
        position: relative;
        padding: 0;
        bottom: 0;
        flex-wrap: wrap;
    }


    .container-projets-info a {
        flex-wrap: wrap;
        margin-top: 10px;
        justify-content: left;
    }

    .projets-top-content-main {
        align-items: start;
        flex-direction: column;
    }


    .container-btn-projets-description {
        margin: .8235294118rem 0;
    }

    .projets-bottom-content-text-top .content-text-info{
        justify-content: left;
        margin: 10px 0 0;
    }

    .projets-bottom-content-text-top .content-text-info span{
        justify-content: left;
        margin: 0 0 5px;
    }
}