@import url('https://fonts.googleapis.com/css2?family=Ephesis&family=Lato:wght@700&family=Monoton&family=Poppins:wght@300;400;500;700&family=Roboto:wght@400;700&family=Ubuntu:wght@300;700&display=swap');

body {
    margin: 0px;
    font-family: 'Roboto', sans-serif;
    max-height: 100vh;
    background-color: #f5ebd5;
    color: #000;
}

h1 {
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/*-- NAVIGATION--*/


*,
*::before,
*::after {
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transition: all 0.25s;
    opacity: 1;
    background-color: #f5ebd5;
    position: fixed;
    z-index: 3;
    padding: 10px;
    transition: all 0.2s;
}

@media (max-width:1780px) {
    nav {
        padding: 30px;
    }
}

.link-logo-nav {
    display: flex;
    text-decoration: none;
}

nav input {
    background: #fd9700;
    padding: 8px;
    border-radius: 10px;
    display: grid;
    width: 50px;
    height: 50px;
    aspect-ratio: 1;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    z-index: 2;
    color: #000;
    margin: auto 0px auto auto;
}

@supports not (aspect-ratio: 1) {

    nav input {
        height: 40px;
    }
}

nav input::before,
nav input::after {
    content: "";
    grid-area: 1/1;
    transition: .3s;
    z-index: 1;
}

nav input::before {
    background: radial-gradient(closest-side at 12.5% 25%, #fff 96%, #0000) 0 0/80% 40%, linear-gradient(#fff 50%, #0000 0) top/80% 40% repeat-y;
    overflow: hidden;
}

nav input::after {
    padding: 10%;
    background: radial-gradient(closest-side at 50% 12.5%, #fff 96%, #0000) top /20% 80% repeat-y, radial-gradient(closest-side at 12.5% 50%, #fff 96%, #0000) left/80% 20% repeat-x, conic-gradient(from 90deg at 33% 33%, #0000 90deg, #fff 0)100% 100%/60% 60% padding-box content-box;
    rotate: 45deg;
    opacity: 0;
}



nav input:checked::before {
    translate: 100%;
    opacity: 0;
}

nav input:checked::after {
    opacity: 1;
}

@supports not (translate: 0) {
    nav input::after {
        transform: rotate(45deg);
    }

    nav input:checked::before {
        transform: translateX(100%);
    }

    nav ul {
        transform: translateX(-100%);
    }

    nav input:checked+ul {
        transform: none;
    }
}



nav ul {
    margin: auto;
    padding: 0;
    list-style: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    row-gap: 30px;
    translate: -100%;
    will-change: transform, opacity;
    opacity: 0;
    transition: .3s;
}

nav ul li a {
    padding: 10px 30px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    border-radius: 15px;
    font-family: Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    font-weight: 900;
    line-height: 1.2;
    word-break: break-word;
    display: flex;
}

nav ul li a p {
    margin: auto 0px auto 10px;
}

.carte-nav {
    width: 20px;
    height: 32px;
}

nav ul li a:hover {
    color: #e38720;
    transition: all 0.3s;
}

#a-actived {
    color: #e38720;
}

.black-sun {
    width: 40px;
    height: 40px;
    margin: auto 15px auto 0px;
}

.title-logo {
    font-family: 'Ephesis', cursive;
    font-size: 33px;
    margin: auto 0px;
}

@supports not (translate: unset) {

    nav input:checked+ul {
        transform: unset;
    }
}

nav input:checked+ul {
    translate: unset;
    opacity: 1;
    background: inherit;
    z-index: 1;
    background-color: #fff;
}




/*-- SECTION BANNER --*/

.section-banner {
    background: rgb(220, 207, 44);
    background: radial-gradient(circle, rgba(220, 207, 44, 1) 0%, rgba(252, 170, 70, 1) 100%);
    padding: 60px 0px 120px;
}

.sun {
    width: 23%;
    position: fixed;
    top: 54px;
    right: 0px;
}

.img-cartes {
    position: absolute;
    width: 13%;
    transform: rotate(-35deg);
    left: 50px;
    top: 170px;
    z-index: 2;
}

.container-banner {
    margin: 110px 0px 0px;
}

.title-banner {
    font-family: 'Ephesis', cursive;
    font-size: 60px;
    text-align: center;
    z-index: 2;
    margin: auto;
    width: 100%;
}

.title-num {
    font-family: 'Ephesis', cursive;
    font-size: 25px;
    text-align: center;
    z-index: 2;
    margin: auto;
    width: 100%;
}


/*-- SECTION PORTRAIT --*/

.section-portrait {
    padding: 160px 90px 100px;
    display: flex;
}

.container-photo-portrait {
    display: block;
    width: 20%;
}

.img-helena {
    border-radius: 10px;
    width: 100%;
}

.description-photo {
    font-size: 15px;
}

.container-portrait {
    display: block;
    width: 80%;
    padding: 20px 60px;
}

.p-portrait {
    font-family: 'Roboto', sans-serif;
    font-size: 18.3px;
}


/*-- CONSULTATIONS --*/

.container-consult {
    display: block;
    padding: 20px 60px;
}

.container-liste-consult {
    display: flex;
}

.content-liste-consult {
    padding: 0px 40px 0px 0px;
}

.liste-consultation {
    list-style-position: inside;
    font-family: 'Roboto', sans-serif;
    font-size: 18.3px;
}

.container-img-consult {
    width: 51%;
    margin: auto;
}

.img-consult {
    border-radius: 10px;
}

.form-buy {
    text-align: center;
    display: block;
    padding: 70px 70px 0px;
}

.btn-buy {
    border-radius: 12px;
    background-color: #e38720;
    color: #fff;
    width: 250px;
    padding: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.btn-buy:hover {
    background-color: #d8974d;
    transition: all 0.3s;
}

.buy-method {
    width: 160px;
    margin: 10px;
}


/*-- COURS --*/

.img-astre {
    display: flex;
    margin: auto;
    border-radius: 10px;
    width: 20%;
}


/*-- SECTION FORMATION --*/

.img-lumiere {
    border-radius: 10px;
    width: 25%;
    display: flex;
    margin: 10px auto;
}

.img-footer-form {
    margin: auto;
    display: flex;
    width: 31%;
    border-radius: 20px;
    height: auto;
}


/*-- SECTION DEVELOPPEMENT --*/

.section-developpement {
    padding: 160px 90px 100px;
    display: block;
}

.img-sel {
    border-radius: 10px;
    width: 71%;
    display: flex;
    margin: 0px;
}

.container-photo-sel {
    display: block;
    width: 100%;
    padding: 20px 0px;
}

.content-dev {
    display: flex;
    padding: 25px 0px;
}

.description-sel {
    display: block;
    width: 100%;
    padding: 20px 60px;
}


/*-- PRESSE --*/

.container-presse {
    display: block;
}

.img-presse {
    margin: 20px 0px;
    border-radius: 10px;
    width: 100%;
}



.custom-slider {
    display: none;
}

.nouveaux-custom-slider {
    display: none;
}

.slide-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.nouveaux-slide-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.6s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.slide-index {
    color: #ffffff;
    font-size: 13px;
    padding: 15px;
    position: absolute;
    top: 0;
}

.slide-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.slide-dot {
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #999999;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.nouveau-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #999999;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover .nouveau-dot:hover {
    background-color: #111111;
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}


/*-- ACCES --*/

.container-iframe {
    display: flex;
    margin: auto;
    justify-content: center;
}


/*-- CONTACT --*/

.title-contact {
    text-align: center;
}

.form-contact {
    text-align: center;
    width: 50%;
    margin: auto;
}

.form-contact input {
    border: none;
    padding: 20px;
    width: 100%;
    color: #000;
    border-radius: 10px;
    margin: 10px;
}

.submit-com {
    background-color: #e38720 !important;
    padding: 20px !important;
    width: 200px !important;
    color: #fff !important;
    border-radius: 10px !important;
    border: none !important;
    transition: all 0.1s;
}

.submit-com:hover {
    background-color: #f09935 !important;
    transition: all 0.3s;
}

.p-form {
    text-align: center;
    width: 50%;
    font-family: 'Roboto', sans-serif;
    font-size: 18.3px;
    margin: 20px auto 0px;
}

/*-- FOOTER --*/

footer {
    justify-content: center;
    display: block;
    padding: 20px 50px;
}

.img-footer {
    margin: auto;
    display: flex;
    justify-content: center;
    width: 7%;
}

footer h1 {
    text-align: center;
    font-size: 25px;
}

footer p {
    text-align: center;
}

footer p a {
    text-decoration: underline !important;
}

/*-- MEDIA QUERIES --*/

@media (min-width:1230px) {

    nav input {
        display: none
    }

    nav ul {
        opacity: 1;
        translate: unset;
        gap: unset;
        position: initial;
        flex-flow: initial;
    }

    @supports not (translate: unset) {

        nav ul {
            transform: unset;
        }
    }
}

@media (max-width:1780px) {
    .sun {
        top: 110px;
    }

    .container-banner {
        top: 210px;
    }

    nav ul li a {
        padding: 0px 30px;
    }
}

@media (max-width: 1650px) {
    nav ul li a {
        padding: 0px 10px;
    }
}

@media (max-width: 1500px) {
    nav ul li a {
        font-size: 14px;
        padding: 0px 10px;
    }
}

@media (max-width: 1230px) {
    nav ul li a {
        padding: 0px 30px;
    }
}

@media (max-width: 1015px) {
    .container-liste-consult {
        display: block;
    }

    .img-consult {
        width: 65%;
        margin: auto;
        display: flex;
    }

    .container-img-consult {
        width: 100%;
        margin: auto;
    }

    .container-consult {
        padding: 20px 0px;
    }

    .img-astre {
        width: 30%;
        margin-bottom: 60px;
    }

    .content-dev {
        display: block;
    }

    .description-sel {
        padding: 20px 0px;
    }

    .container-iframe {
        display: block;
    }

    .container-iframe iframe {
        width: 100% !important;
        margin: 10px 0px !important;
        height: 250px !important;
    }

    .img-footer-form {
        width: 52%;
    }
}

@media (max-width: 970px) {
    .title-banner {
        font-size: 36px;
    }

    .container-banner {
        top: 230px;
    }

    .title-num {
        font-size: 19px;
    }

    .section-portrait {
        padding: 160px 80px 100px;
        display: block;
    }

    .container-photo-portrait {
        width: 40%;
        margin: auto;
    }

    .container-portrait {
        width: 100%;
        padding: 20px 0px;
    }

    .sun {
        width: 30%;
    }

    .img-cartes {
        width: 24%;
        top: 188px;
    }

    .img-lumiere {
        width: 35%;
    }

    .form-contact {
        width: 90%;
    }

    .p-form {
        width: 90%;
    }

    .img-footer {
        width: 13%;
    }
}

@media (max-width: 700px) {
    .img-cartes {
        width: 24%;
        top: 148px;
        left: 20px;
    }

    .section-banner {
        padding: 60px 0px 80px;
    }

    .container-banner {
        margin: 180px 0px 0px;
    }
}

@media (max-width: 550px) {
    .section-portrait {
        padding: 100px 30px 100px;
    }

    .section-developpement {
        padding: 110px 50px 100px;
    }

    .container-photo-portrait {
        width: 70%;
    }

    .img-astre {
        width: 49%;
    }

    .img-sel {
        width: 100%;
    }

    #section-presse {
        padding: 110px 30px 100px;
    }

    .form-contact {
        width: 100%;
    }

    .p-form {
        width: 100%;
    }

    .img-footer {
        width: 22%;
    }

    .form-buy {
        padding: 70px 0px 0px;
    }

    footer p {
        text-align: center;
        font-size: 13px;
    }

    .img-cartes {
        width: 28%;
        top: 149px;
        left: 15px;
    }

    .sun {
        width: 35%;
    }

    .img-footer-form {
        width: 92%;
    }
}

@media (max-width: 400px) {
    .sun {
        width: 50%;
    }

    .img-cartes {
        width: 33%;
    }
}