html {
    font-size: 16px;
}

body {
    margin: 0;
    background-color: #fbf9f4;
    font-family: "Articulat CF", sans-serif;
    font-weight: 300;
    color: #524f4e;
}




.barriere-fixed {
    position: fixed;
    top: 90%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 75%;
    pointer-events: none;
    z-index: 1000;
}





.header {
    position: relative;
}

.header-bg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    height: 80px;
    box-sizing: border-box;
}

.header-logo {
    max-width: 20%;
}

.neolya-add {
    font-size: 0.7rem;
    color: #fbf9f4;
}

.neolya-add:hover {
    text-decoration: none;
    color: #524f4e;
}

.neolya-add-2 {
    font-size: 0.7rem;
}

.neolya-tel {
    font-size: 0.7rem;
    color: #fbf9f4;
}

.neolya-tel:hover {
    color: #524f4e;
    text-decoration: none;
}

.menu-btn {
    font-size: 1.3rem;
    cursor: pointer;
    color: #524f4e;
    background: none;
    border: none;
    transition: transform 0.3s ease;
}

.menu-btn:hover {
    transform: scale(1.2);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -310px;
    width: 310px;
    height: 100vh;
    background-image: url(images/neolya-background.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #524f4e;
    transition: right 0.4s ease;
    padding-top: 60px;
    z-index: 1000;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-menu.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 25px;
    cursor: pointer;
}

.container-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-image {
    max-width: 150px;
    border-radius: 50%;
    margin: 0;
}

.menu-df {
    max-width: 200px;
    margin-top: 30px;
    line-height: 2;
    position: relative;
    z-index: 1;
    color: #524f4e;
}

.menu-df p {
    text-align: center;
    font-family: "Articulat CF", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.menu p {
    text-align: center;
    font-family: "Articulat CF", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}

.menu-formations {
    margin-bottom: 10px;
    max-width: 180px;
    text-align: center;
    font-family: "Articulat CF", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}

.menu-formations h2 {
    font-family: "Amandine", sans-serif;
}

.menu-formations ul {
    margin: 0 auto;
    padding: 0;
}

.menu-formations li {
    margin: 10px;
}

.menu-formations-2 {
    margin-bottom: 100px;
    text-align: center;
    font-family: "Articulat CF", sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}

.menu-formations-2 h2 {
    font-family: "Amandine", sans-serif;
}

.menu-formations-2 p {
    max-width: 200px;
    margin: 30px auto 10px auto;
    text-align: center;
    line-height: 2;
    z-index: 1;
}

.en-tête {
    display: flex;
    justify-content: center;
}

.titre-container {
    padding-bottom: 20px;
}

.titre {
    font-size: 1.3rem;
    font-family: "Articulat CF", sans-serif;
    max-width: 80%;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    opacity: 0;
    transform: translateY(-80%);
    animation: glisser-haut 2s ease-out forwards;
    margin: 30px auto 0 auto;
    text-align: center;
}


@keyframes glisser-haut {
    to { opacity: 1; transform: translateY(0); } }
    
    
.logo-container {
    align-items: center;
    text-align: center;
}

.logo {
    max-width: 90%;
}

.profile {
    margin: 25px;
}

.section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

[class^="article"] h3 {
    margin-top: 8px;
    margin-bottom: 60px;
    font-family: "Amandine", sans-serif;
}

.article-1 {
    margin: 20px;
    align-self: flex-start;
    max-width: 70%;
}

.article-1,
.article-2 {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 2s ease;
}

.article-2 {
    margin: 20px;
    align-self: flex-end;
    max-width: 70%;
    text-align: right;
    transform: translateX(100px);
}

.article-1.show,
.article-2.show {
    opacity: 1;
    transform: translateX(0);
}

.container-article {
    padding-bottom: 50px;
    margin: 100px 10% auto 10%;
}

.article-3 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 2s ease;
    text-align: center;
    margin: auto 20px;
}

.article-3.show {
    opacity: 1;
    transform: translateY(0);
}

.article-add {
    align-items: center;
    text-align: center;
    margin: auto 20px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 2s ease;
}

.article-add.show {
    opacity: 1;
    transform: translateY(0);
}

.container-cabinet {
    display: flex;
    justify-content: center;
}

.img-cabinet {
    max-width: 50%;
    display: block;
    border-radius: 10px;
}

.liens-cartes {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.liens-cartes a {
    color: #524f4e;
}

.liens-cartes a:hover {
    text-decoration: none;
}

.liens-cartes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lien-ligne {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icone-gps svg {
    width: 22px; 
    height: 22px;
    display: block;
}

.icone-apple svg {
    width: 22px;
    height: 22px;
    fill: black;
    display: block;
}

.emoji {
    margin-right: 8px;
    pointer-events: none;
}

.article-5 {
    text-align: center;
    margin: 100px 20px 50px 20px;
}

.horaire {
    flex: 1;
    max-width: 500px;
    margin-bottom: 100px;
    padding: 10px;
    background-color: #b5a59c;
    color: #fbf9f4;
    border: solid 2px #524f4e;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.horaire ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horaire li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.horaire li:last-child {
    border-bottom: none;
}

.horaire li {
    margin: 20px auto;
}

.horaire-g {
    text-align: left;
    font-weight: bold;
}

.horaire-d {
    text-align: right;
    padding-right: 10px;
}

.cours-container {
    text-align: center;
}

.cours-container h3 {
    margin-bottom: 60px;
    font-family: "Amandine", sans-serif;
}

.cours {
    position: relative;
    display: flex;
    justify-content: center;
    margin: auto;
    max-width: 80%;
    padding: 20px;
    border-radius: 10px;
    z-index: 1;
}

.cours::before {
    content: "";
    position: absolute;
    top: -2px; 
    left: -2px; 
    right: -2px; 
    bottom: -2px;
    border-radius: 15px;
    padding: 3px;
    background: linear-gradient(270deg, #83b0b8, #d62828, #ff7e7e, #83b0b8, #6aa5af, #83b0b8);
    background-size: 400% 400%;
    z-index: 0;
    -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: spinBorder 4s linear infinite;
}

@keyframes spinBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.article-6 {
    text-align: center;
    margin: 80px 20px;
}

.article-6 p {
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    word-spacing: 1px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 2s ease;
}

.article-6.show p {
    opacity: 1;
    transform: translateY(0);
}

.contact {
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
    padding: 20px;
    border: solid 2px #83b0b8;
    border-radius: 8px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.réseaux {
    display: flex;
    gap: 30px;
    flex-direction: row;
}

.icone-tel {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 2s ease;
}

.icone-tel,
.icone-insta,
.icone-mail {
    position: static;
}

.icone-tel {
    z-index: 1;
    color: #524f4e;
    width: 20px;
}

.icone-tel:hover {
    color: #83b0b8;
}

.icone-mail {
    z-index: 2;
    color: #524f4e;
    width: 20px;
}

.icone-mail:hover {
    color: #83b0b8;
}

.icone-insta {
    z-index: 3;
    color: #524f4e;
    width: 20px;
    margin-top: 2px;
}

.icone-insta:hover {
    color: #83b0b8;
}

.icone-mail {
    opacity: 0;
    transform: translateY(100px);
    transition: all 2s ease;
}

.icone-insta {
    opacity: 0;
    transform: translateX(100px);
    transition: all 2s ease;
}

.icone-tel.show,
.icone-mail.show,
.icone-insta.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.logo-2 {
    max-width: 15%;
    margin-bottom: 30px;
}

.footer {
    background-color: #b5a59c;
    font-size: 0.7rem;
    color: #fbf9f4;
}

.copyright {
    padding: 5px;
    text-align: center;
    align-content: center;
}

.aries-vision {
    color: #fbf9f4;
}

.aries-vision:hover {
    color: #524f4e;
    text-decoration: none;
}

html,
body {
    overflow-x: hidden;
}




@media screen and (min-width: 1024px) {
    
    body {
        font-size: 25px;
    }
    
    .barriere-fixed {
        top: 85%;
        left: 10%;
        transform: translate(-50%, -50%);
        width: 35%;
    }

    .en-tête {
        margin: 0 auto;
        text-align: center;
    }
    
    .header-bg {
        margin-top: 20px;
        margin-right: 10px;
    }
    
    .header-logo {
        max-width: 250px;
    }
    
    .logo {
        max-width: 100%;
    }
    
    .neolya-add {
        font-size: 1rem;
    }
    
    .neolya-add-2 {
        font-size: 1rem;
    }
    
    .neolya-tel {
        font-size: 1rem;
    }
    
    .side-menu {
        right: -510px;
        width: 510px;
    }
    
    .menu-image {
        max-width: 150px;
    }
    
    .menu p {
        text-align: center;
        font-size: 1.2rem;
        font-weight: 300;
    }
    
    .menu-formations {
        text-align: center;
        font-size: 1.2rem;
        font-weight: 300;
        max-width: 300px;
    }

    .menu-formations-2 {
        text-align: center;
        font-size: 1.2rem;
        font-weight: 300;
        max-width: 350px;
    }

    .menu-formations-2 p {
        max-width: 350px;
    }
    
    .menu-df {
        max-width: 350px;
        line-height: 2.5;
    }
    
    .menu-adresse {
        font-size: 15px;
    }
    
    .titre {
        font-size: 7rem;
        padding-bottom: 50px;
        margin-bottom: -30px;
        text-align: center;
    }
    
    [class^="article"] h3 {
        text-align: center;
        font-size: 2rem;
    }
    
    .article-1 {
        max-width: 700px;
        margin-top: 80px;
        margin-left: 200px;
    }
    
    .article-2 {
        max-width: 700px;
        margin-top: 80px;
        margin-right: 200px;
        text-align: right;
    }
    
    .article-3 {
        max-width: 700px;
        margin: 80px auto 0 auto;
    }
    
    .liens-cartes {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
        margin-top: 40px;
    }
    
    .article-5 {
        align-items: center;
        margin: 200px auto 0 auto;
    }
    
    .horaire {
        min-width: 800px;
        border: solid 4px #524f4e;
    }
    
    .horaire li {
        margin: 20px;
    }

    .cours-container {
        margin-top: 180px;
    }

    .cours {
        max-width: 70%;
        padding: 40px;
        margin: 20px auto;
    }

    .cours::before {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 15px;
    padding: 5px;
}

    .article-6 {
        text-align: center;
        width: 50%;
        margin: 90px auto;
    }
    
    .article-6 p {
        font-size: 2.5rem;
        line-height: 1.8;
        word-spacing: 3px;
        margin-top: 80px;
    }
    
    .contact {
        width: 50%;
        margin: 20px auto 50px auto;
        border: solid 4px #83b0b8;
    }
    
    .container {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .réseaux {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        gap: 90px;
        width: 100%;
        margin: 0 auto;
    }
    
    .réseaux img {
        height: 70px;
        transition: transform 0.3s ease;
    }
    
    .réseaux img:hover {
        transform: scale(1.3);
    }
    
    .icone-tel {
        width: 50px;
    }

    .icone-mail {
        width: 50px;
    }

    .icone-insta {
        width: 50px;
    }

    .footer {
        font-size: 1rem;
    }