/*/----RESET ---/*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}



/*-----------------------------------*/
/*-----         RECURRENT       -----*/
/*-----------------------------------*/

body {
    height: 100vh;
    background-color: white;
    /* background-color: rgba(177, 197, 180, 0.733); */
    /* background-color: rgba(128, 116, 156, 0.733); */
    /* background-color: rgba(90, 74, 69, 0.733); */
    /* background-color: rgba(219, 85, 159, 0.733); */
    background-image: url(../Img/logo_home_page/logobackground.png);
    background-attachment: fixed;
    background-position: bottom left;
    background-size: contain;
    background-repeat: no-repeat;


}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    color: #171a27;
    text-align: center;
}

header .pcfirst {
    display: none;
}

#tarteaucitronManager img {
    display: none;
}

/*-----------------------------------*/
/*-----           header        -----*/
/*-----------------------------------*/

nav {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    align-items: center;
    padding-top: 5vh;
    margin-right: 5vw;
    margin-left: auto;
    width: 40vw;

}

nav h1 {
    font-family: roboto;
    color: #171a27;
    font-size: clamp(45px, 3vw, 85px);
    font-weight: 300;
    letter-spacing: 21px;
    margin-bottom: 10vh;
    text-shadow: 8px 3px 5px rgba(0, 0, 0, 0.39);
}

nav div {
    display: flex;
}

nav li {
    font-size: clamp(45px, 2vw, 85px);
    padding: 1vw 3vw;
    margin: 0 1vw;
}

nav li:hover {
    transition: 1s ease-in-out;
}

nav li a {
    border: solid 3px;
    font-family: courier prime;
    letter-spacing: 5px;
    color: #171a27;
    text-shadow: 8px 3px 5px rgba(0, 0, 0, 0.39);
    padding: 1vw 1.75vw;
    border-radius: 51px;
    /* background: linear-gradient(145deg, #ffffff, #e6e6e6); */
    box-shadow: 30px 30px 60px #d4d4d4,
        -30px -30px 60px #ffffff;
    text-decoration: none;
    transition: 1s ease-in-out;
}

nav li a:hover {
    color: white;
    background: #171a27;
}


/*-----------------------------------*/
/*-----            main         -----*/
/*-----------------------------------*/


/*------ Bouton peinture ------*/

.gravityButton {
    position: absolute;
    bottom: 10%;
    right: 10%;
    display: grid;
    place-items: center;
    width: 192px;
    /* width: 15vw; */
    aspect-ratio: 1;
    border-radius: 50%;
}

.gravityButton p {

    color: #171a27;
    margin-top: -8vh;
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(24px, 1.5vw, 85px);
    font-weight: bolder;
}

.gravityButton>button {
    font: inherit;
    width: 64px;
    aspect-ratio: 1;
    background: none;
    border-radius: 50%;
    border: 4px solid #171a27;
    transform: translate(var(--tx, 0), var(--ty, 0));
    opacity: var(--opacity, 0.45);
    cursor: pointer;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gravityButton>button:hover,
.gravityButton>button:focus-visible {
    --_fill: var(--color, #fff);
}

.gravityButton>button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    opacity: 1;
}

.buttonIcon {
    width: 50%;
    fill: var(--_fill, #fff);
    transition: fill 0.3s;
    color: #171a27;
    font-size: clamp(34px, 1vw, 180px);
}

.buttonIcon i {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

/* --------------------------- */


/*------ Pop Up peinture ------*/

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    display: none;
    opacity: 0;

}

.overlay:target {
    display: block;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    width: 25vw;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .ChangeBgColor {
    display: flex;
    justify-content: space-evenly;
    margin-top: 5vh;
}

.popup .ChangeBgColor .btn {
    width: 4vw;
    height: 6vh;
    background: var(--color);
    cursor: pointer;
}

.popup .ChangeBgColor .btn {
    -webkit-text-fill-color: transparent;

}

.popup .ChangeBgColor .btn-1 {
    --color: #419D78;
}

.popup .ChangeBgColor .btn-2 {
    --color: #C04ABC;
}

.popup .ChangeBgColor .btn-3 {
    --color: #E0A458;
}

.popup .ChangeBgColor .btn-4 {
    --color: rgba(128, 116, 156, 0.733);
}




/* --------------------------- */






.logo {
    display: none;
}


.bulle {
    position: relative
}


.bulles img.bulleun {
    position: absolute;
    top: 50%;
    left: 10%;
    animation: bulle 7s;
    animation-iteration-count: infinite;
}

.bulles img.bulledeux {
    position: absolute;
    top: 80%;
    left: 14%;
    animation: bulle 5.5s;
    animation-iteration-count: infinite;
}

.bulles img.bulletrois {
    position: absolute;
    top: 88%;
    left: 23%;
    animation: bulle 3s;
    animation-iteration-count: infinite;
}

.bulles img.bullequatre {
    position: absolute;
    left: 5%;
    top: 71%;
    animation: bulle 6s;
    animation-iteration-count: infinite;
}

.bulles img.bullecinq {
    position: absolute;
    top: 35%;
    left: 18%;
    animation: bulle 7s;
    animation-iteration-count: infinite;
}

.bulles img.bullesix {
    position: absolute;
    top: 53%;
    left: 16%;
    animation: bulle 5s;
    animation-iteration-count: infinite;
}

.bulles img.bullesept {
    position: absolute;
    top: 54%;
    left: 7%;
    animation: bulle 3s;
    animation-iteration-count: infinite;
}

.bulles img.bullehuit {
    position: absolute;
    top: 76%;
    left: 24%;
    animation: bulle 6s;
    animation-iteration-count: infinite;
}

/*-----------------------------------*/
/*-----           footer        -----*/
/*-----------------------------------*/

footer .footer {
    position: fixed;
    display: flex;
    align-items: center;
    width: 100vw;
    max-width: 100%;
    justify-content: space-evenly;
    bottom: 0;
    background: rgba(23, 26, 39, 0.7);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.footer>a {
    text-decoration: none;
    color: white;
    font-family: courier prime;
    transition: 1s ease-in-out;
    font-size: clamp(18px, 1vw, 85px);
}

.footer p {
    color: #ffffff;
}

.footer .fontawesome {
    text-decoration: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer .fontawesome a {
    color: white;
    padding: .5vw;
}

.footer .fontawesome a>i {
    scale: 1.5;
}

.footer>a:hover {

    transform: scale(1.1);
}

/*-----------------------------------*/
/*-----       Animations        -----*/
/*-----------------------------------*/

@keyframes bulle {
    0% {
        transform: scale(0.2)
    }

    10% {
        transform: translate(-5%, 0);
    }

    20% {
        transform: translate(5%, 0);
    }

    30% {
        transform: translate(-5%, 0);
    }

    40% {
        transform: translate(5%, 0);
    }

    60% {
        transform: translate(-5%, 0);
    }

    70% {
        transform: translate(5%, 0);

    }

    100% {
        top: 0vh;
        transform: scale(0.2);
    }
}

/*-----------------------------------*/
/*-----     Scroll To Top       -----*/
/*-----------------------------------*/

.scrollToTopBtn {
    background-color: #171a27;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    line-height: 48px;
    width: 3vw;
    position: fixed;
    bottom: 6vh;
    right: 20px;
    z-index: 75;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.showBtn {
    opacity: 1;
    transform: translateY(0);
}


/*-----------------------------------*/
/*-----        Responsive       -----*/
/*-----------------------------------*/
@media screen and (max-width:1200px) {

    body {
        background-image: none;
    }

    nav {
        margin-right: auto;
    }

    .bulles {
        display: none;
    }

    .gravityButton {
        top: 15%;
        right: 5%;
    }

  
.logo {
        display: flex;
        justify-content: center;
        bottom: 5%;
        z-index: -1;

    }

    .logo img {
        width: 100vw;

    }

    footer .footer {
        max-height: 10vh;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        font-size: clamp(20px, 1.2vw, 85px);
        align-content: space-around;
    }

    .fontawesome {
        margin-top: 1vh;
    }

    .footer .fontawesome i {
        padding: .5vw;
        font-size: 1.5vw;
    }

    footer .footer>a {
        line-height: 3vh;
    }
}

@media screen and (max-width:1000px) {

    header {
        margin-bottom: 8vh;
    }

    nav {
        max-width: 50vw;
    }
    .gravityButton p {
        display: none;
    }

    header .pcfirst {
        display: flex;
    }

    header .pcfirst p {
        width: 100vw;
        max-width: 100%;
        z-index: 99;
        line-height: 5vh;
        font-size: clamp(25px, 2vw, 85px);
        background-color: #ce2e2e;
        color: rgb(228, 226, 223);
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }

    header .pcfirst p>i {
        font-size: 3vh;
    }

    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
        margin-top: 15vh;
    }

    .popup .ChangeBgColor .btn {
        padding: 3vh 6vw;
    }

}

