.navigation-ecelign {
    margin: 0;
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #131c439d;
    box-shadow: 0px 5px 10px -10px #fff;
    z-index: 1;
}

#logo {
    width: 50px;
}

nav {
    margin: auto;
    padding: 0;
    display: block;
}

.custom-navbar-pers {
    padding: 0 !important;
    margin: 0 !important;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.navigation-ecelign .custom-navbar-pers ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 15px;
    flex-direction: row;
}

.navigation-ecelign .custom-navbar-pers ul li {
    padding: 1rem;
    position: relative;
}

.navigation-ecelign .custom-navbar-pers ul li:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: transparent;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.navigation-ecelign .custom-navbar-pers ul li:hover:after {
    width: 100%;
    background: #fff;
}

.navigation-ecelign .custom-navbar-pers ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 500;
}

#contact {
    background-color: #3599D1;
    border-radius: 15px;
    transition: 0.5s ease;
}

#contact:hover {
    background-color: #4fd0ff;
}

.fa-bars {
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    margin: 1.5rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .fa-bars {
        display: block;
    }

    .navigation-ecelign .custom-navbar-pers {
        max-height: 0;
        overflow: hidden;
    }

    .navigation-ecelign .custom-navbar-pers ul {
        flex-direction: column;
        gap: 0;
        position: absolute;
        z-index: 1000;
        top: 75px;
        left: 5px;
        right: 5px;
        padding: 0;
        background-color: #131c4378;
        backdrop-filter: blur(70px);
        border-radius: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .navigation-ecelign .custom-navbar-pers ul li {
        margin: 10px;
    }
}


/* Section hero style */

.hero-section {
    width: 100%;
    height: 100vh;
    background-color: #131C43;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5rem;
}

.hero-container {
    max-width: 1300px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
}

.col-one,
.col-two {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    flex-basis: 50%;
}

.col-one {
    padding: 15px;
    background-color: #3599D1;
    border-radius: 15px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.col-one.visible1 {
    opacity: 1;
    transform: scale(1);
}

.hero-title,
.hero-container h2,
#contact-hero {
    margin: 5px;
    color: #000037;
}

.hero-title {
    color: #131C43;
    font-size: 5rem;
}

.hero-container h2 {
    color: #131C43;
    font-size: 2.5rem;
}

.slogan {
    margin: 15px;
    font-size: 1.5rem;
    font-family: monospace;
    color: #131C43;
}

#contact-hero {
    text-decoration: none;
    background-color: #000037;
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    transform: scale(1);
    transition: 0.5s ease;
}

#contact-hero:hover {
    background-color: #4fd0ff;
    transform: scale(1.1);
}

/* Responsive */
@media screen and (max-width:768px) {
    .hero-section {
        padding: 2.5rem;
        height: auto;
    }

    .hero-container {
        display: block;
        margin-top: 4rem;
        max-width: auto;
    }

    .image_hero {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-container h2 {
        font-size: 1.5rem;
    }

    .col-one {
        padding: 1.5rem;
    }
}

/* Mobil */
/* Très petit écran */
@media screen and (max-width:320px) {
    .hero-section {
        padding: 1.5rem;
        height: auto;
    }
}