html, body {
    /*background-color: #000;*/
    width: 100%;
    height: 100%;
    margin: 0;
    /*overflow: hidden;*/
    /*justify-items: center;
    display: grid;*/
    /*overflow-x: hidden;*/
    font-family: 'Poppins', sans-serif; 
    font-weight: 300;
}
body {
    /* body - opacity 0, il revient après le chargement du JS */
    opacity: 0;
}
h1, h2, h3, h4 {
    font-weight: 300;
    text-align: center;
}
svg {
    overflow: visible;
}
.container {
    width: 1200px;
    max-width: 100%;
    margin: auto;
}
header {
    background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0));
    height: 90px;
    width: 100%;
    margin: auto;
    padding: 10px 20px;
    position: fixed;
    top: 0px;
    /*left: 50%;
    transform: translateX(-50%);*/
    z-index: 3;
    box-sizing: border-box;
}
header #logo {
    width: 120px;
    float: left;
}
header img.logo1 {
    width: 55px;
    height: auto;
}
header #social {
    float: right;
}
header #social img {
    width: 25px;
    height: auto;
}




/************** scene1 ****************/
#scene1 {
    height: 1600px;
    /*background-color: rgb(204, 176, 176);*/
    display: flex;
    justify-content: center;
    overflow: hidden;
}
#loic-all {
    height: 100vh;
    display: flex;
    /* vertical-align: middle; */
    justify-content: center;
    /* justify-items: center; */
    align-items: center;
    font-size: 150px;
    font-family: 'Poppins', sans-serif;        
}
#loic-all #l1 {
    font-weight: 200;
    transform: translateX(78px);
    margin-right: 15px;
}
#loic-all #l2 {
    font-weight: 700;
    transform: translateX(78px);
    margin-left: 10px;
}
#logo-anime {
    width: 700px;
    height: 700px;
    /*position: fixed;*/
    /*display: inline;*/
    margin: 0px -250px;
    transform: translateX(78px);
}        
#player {
    position: fixed;
    top: 0px;
    opacity: 0;
}
#loic-all .slogan {
    /* width: 100%; */
    position: absolute;
    font-size: 30px;
    margin-top: 330px;
    font-weight: 100;
}
/* eau */
#eau {
    position: absolute;
    z-index: 2;
}
.module {
    width: 200px;
    height: 200px;
    /* background: #f06d06; */
    position: relative;
    border: 5px solid #bedff0;
    margin: 20px;
    border-radius: 50%;
}
.module:after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: rgb(170 215 216 / 14%);
    z-index: -1;
    border-radius: 50%;
    border: #effaff solid 9px;
}
.module:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: -1;
    border-radius: 50%;
    border: #ffffffbb solid 4px;
}

@media only screen and (max-width: 1024px) {
    html {
        /*zoom: 0.5;*/
    }
    #loic-all {
       transform: scale(0.3);
    }
    .ile {
        transform: scale(0.5);
     }
     #loic-all .slogan {
        font-size: 65px;
        margin-top: 400px;
        font-weight: 200;
    }
    
}


/******** scene2*****/
#scene2 {
    /*height: 1600px;*/
    /*background-color: rgb(224, 227, 240);*/
    display: flex;
    justify-content: center;
}
#bateau-all {
    height: 100vh;
    position: fixed;
    top: 0px;    
    /*background-color: blueviolet; */
    /*margin-right: -38px;*/
}
#bateauid {
    position: relative;
    top: -160px;
    left: calc(50% - 94px);
    width: 141px;
    height: 257px;
    display: inline-block;
    /***/
    /*
    animation-name: anbateau;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;*/
    z-index: 1;
}
@media only screen and (max-width: 1024px) {
    #bateauid {
        top: -82px;
        left: calc(50% - 60px);
        width: 115px;
        height: 180px;   
    }
    #vague {
        left: 8px;
    }
}

#vague {
    /*width: 100%; */
    height: 47%;
    transform: scale(1.2);
    position: relative;
    top: -30px;
    text-align: center;
}
/* Safari 11+ */
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) {

    #vague {
        width: 185%;
        margin-left: -41%;
    }
}}
#bateau-all h2 {
    position: relative;
    top: -120px;
    /*margin-left: -30px;*/
    line-height: 29px;   
    color: rgb(74, 74, 74);
}
  /***** contact ****/
#contact-fin {
    position: relative;
    top: -145px;
    width: 629px;
    left: calc(50% - 484px);
    display: inline-block;
}
#cb1, #cb2, #cb3, #cb4, #cb5 {
    cursor: pointer;
}
#bateau-all #fleche {
    width: 59px;
    position: relative;
    top: -80px;
    /* left: calc(50% - 0px); */
    display: inline-block;
    left: -408px;
}

@media only screen and (max-width: 1024px) {
    #contact-fin {
        top: calc(49% - 168px);
        position: absolute;
        left: calc(50% - 291px);
        width: 580px;
    }
    #bateau-all #fleche {
        top: -28px;
        width: 39px;
        left: calc(50% - 18px);
        display: block;
    }
    #bateau-all h2 {        
        top: -38px;;
        font-size: 18px;
        line-height: 23px;
    }
}




/************* iles **************/
#all-iles-div {
    width: 100%;
    max-width: 100%;
    /*background-color: beige;*/
    padding-top: 50px;
    /* position: absolute; */
    display: flex;
    justify-content: center;
    /* overflow-x: hidden; */
    overflow: hidden;
    position: relative;
}

#just-iles {
    width: 1180px;
    height: 5660px;
    margin: auto;
    position: relative;
    /*background-color: brown;*/
    z-index: 2;

}
.ile-biographie {
    width: 530px;
    position: absolute;
    right: -100px;
}
.ile-inspirations {
    width: 440px;
    position: absolute;
    left: -40px;
    top: 800px;
}
.ile-competences {
    width: 640px;
    position: absolute;
    right: -200px;
    top: 1300px;
}
.ile-vision {
    width: 580px;
    position: absolute;
    left: -160px;
    top: 2000px;
}
.ile-lc {
    width: 640px;
    position: absolute;
    right: -130px;
    top: 2600px;
}
.ile-avis {
    width: 650px;
    position: absolute;
    left: -260px;
    top: 3600px;
}
.ile-inspirations2 {
    width: 500px;
    position: absolute;
    right: 0px;
    top: 4450px;
}
.port {
    width: 2450px;
    position: absolute;
    left: -550px;
    top: 5060px;
}

@media only screen and (max-width: 1024px) {
    #just-iles {
        margin: 0px -70px   
    }
    .ile-lc {
        right: -220px;
    }
    #just-iles {
        height: 5300px;    
    }
    .ile-inspirations2 {
        right: -50px;
    }
    .port {
        width: 2450px;
        position: absolute;
        left: calc(50% - 1160px);
        top: 4860px;
    }
}

#all-iles-div button.ile-button {
    font-size: 30px;
    background-color: black;
    border: white 1px solid;
    border-radius: 30px;
    color: white;
    padding: 15px 35px;
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 30%;
    outline: none;
}
#all-iles-div button.b-inspirations {
    top: 60%;    
}
#all-iles-div button.b-competences {
    left: 0%; 
    top: 52%;   
}
#all-iles-div button.b-vision {
    left: 40%;
    top: 60%; 
}
#all-iles-div button.b-lc {
    left: 20%;
    top: 40%; 
}
#all-iles-div button.b-avis {
    left: 60%;
    top: 55%; 
}

/******* avion ****/
#avion-all {
    /*background-color: blueviolet;*/
    position: absolute;
    top: 510px;
    left: 0px;
    z-index: 2;
}
#avion-all2 {
    width: 120px;
}
#path-avion {
    width: 100%;
    position: absolute;
    left: 0px;
}
#path-b-competences {
    stroke: none;
}
#path-lc {
    stroke: none;
}




/********** test iles strocke ans fill ****/
g#ile-biographie path, #deco-biographie g polygon, #deco-biographie g path, #arbres path, #boat-biographie path, #boat-biographie polygon{
    /*stroke: black !important;
    fill: none !important;*/
}

g#ile-biographie *{
    /*stroke: black !important;
    fill: none !important;*/
}

#all-plus-biographie, #all-plus-inspirations, #all-plus-competences, #all-plus-vision, #all-plus-lc, #all-plus-inspirations2, #avis-plus-1, #avis-plus-2, #avis-plus-3, #avis-plus-4 {
    cursor: pointer;
}





/*********** scroll dozn icon *****/
.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid black;
    position: fixed;
    left: 50%;
    bottom: 20px;
    border-radius: 50px;
    cursor: pointer;
    transform: translate(-17px, 0px);
}
.scroll-down::before,
.scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid black;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 1s ease-in-out infinite;
}
.scroll-down::before {
    top: 30%;
    animation-delay: 0.3s;
    /* animation: scroll-down 1s ease-in-out infinite; */
}
  
@keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 90%;
      opacity: 0;
    }
}


/******** game banner *****/
#game {
    position: fixed;
    bottom: 60px;
    right: 0px;
    width: 230px;
    z-index: 5;
    cursor: pointer;
}
@media only screen and (max-width: 1024px) {
    #game {
        display: none;
        transform: scale(0.6);
        right: -64px;
        bottom: 50px;
    }
    #game .cls-5 {
        font-size: 35px;
        font-family: inherit;
    }
}




/******* footer ****/
footer {
    background-color: rgb(21, 21, 21);
    text-align: center;
    color: #b1b1b1;
    padding: 9px;
    font-size: 14px;
    z-index: 4;
    position: relative;
}
footer p {
    margin: 4px;
}
footer a {
    color: rgb(111, 111, 111);
    text-decoration: none;
}
@media only screen and (max-width: 1024px) {
    footer p {
        font-size: 13px;
    }
}



/*****/
 #cb5 .cls-contact-6 {
    fill: #b53c4f;
 }

/***** fin me contacter ******/
#me-contacter-all {
    background-color: #000000e8; 
    width: 100vw;
    height: 100vh;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
    /****/
    display: none;
}
#me-contacter {
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    position: fixed;
    top: 0px;
    left: 0px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    font-size: 30px;
}
#me-contacter a {
    /*margin-right: 60px;*/
    width: 460px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    color: white;
    text-decoration: none;
}
#me-contacter a span {
    width: 70px;
    height: 100px;
    display: flex;
    /* vertical-align: middle; */
    flex-flow: column;
    justify-content: center;
    transition: all 0.7s;
}
#me-contacter a:hover span {
    transform: scale(1.2);
    transition: all 0.7s;
}
button#fermer-contact {
    position: fixed;
    right: 30px;
    top: 30px;
    font-size: 20px;
    color: white;
    z-index: 1005;
    background-color: black;
    border: white solid 1px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
}
button#fermer-contact:focus {
    outline: none;
}

#logo-c-contact {
    position: fixed;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 1024px) {
    #me-contacter {
        flex-direction: column;
        font-size: 18px;
    }
    #me-contacter a  {
        margin: 20px 0px;
    }
    #me-contacter a span {
        width: 40px;
        height: 60px;
        display: flex;
    }
    #logo-c-contact svg {
        transform: scale(0.8);
    }
}

/********* hubspot ***********/
div#hubspot-messages-iframe-container {
    bottom: 160px!important;
    /*left:0px!important;
    width:416px!important;*/
    transform: translate(600px, 0px);
    opacity: 0;
}
@media only screen and (max-width: 1024px) {
    div#hubspot-messages-iframe-container {
        bottom: 10px!important;

    }
}