/*
    Couleur principale Fonce:#055a74
    Couleur principale :#01657f
    Couleur principale Claire:#3195af

    Couleur d'accent Fonce:#af3041
    Couleur d'accent :#ec6d7e
    Couleur d'accent Claire:#ff97a8

    Couleur complemantaire #1 Fonce:#a37b5f
    Couleur complemantaire #1 :#f5bb93
    Couleur complemantaire #1 Claire:#fddcb4

    Couleur complemantaire #2 Fonce:#612040
    Couleur complemantaire #2 :#854464
    Couleur complemantaire #2 Claire:#b06f8f

    Couleur neutres 1:#16263d
    Couleur neutres 2:#28384f
    Couleur neutres 3:#405067
    Couleur neutres 4:#629bb6
    Couleur neutres 5:#7eb7d2
    Couleur neutres 6:#93cce7

*/

/*               CSS Global             */
#noScroll {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: fixed;


}

html {}

body {
    background-color: #055a74;

}
#sectionContainer{
    transition: 1010ms /*Vitesse du paralax*/
}
#sectionContainer > section {
    height: 100vh;
    
}

h1 {
    font-family: "Righteous";
    font-size: 3.5rem;
}

h2 {
    font-family: "Open sans";
    font-size: 2.6rem;
}

h3 {
    font-family: "Open sans";
    font-weight: normal;
    font-size: 1.5rem;
}

h4 {
    font-family: "Open sans";
    font-weight: 600;
    font-size: 1rem;
}

h5 {}

h6 {
    font-family: "Open sans";
    font-weight: normal;
    font-size: 0.6rem;
}

p {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-size: 1rem;
    line-height: 160%;
}

/*     Fixed content     */

/* Fixed header */
nav {
    position: fixed;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
    pointer-events: none
}

.affiche {
    -webkit-animation-name: show;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1.5s;
    /* Safari 4.0 - 8.0 */
    animation-name: show;
    animation-duration: 1.5s;
}

.cacher {
    -webkit-animation-name: hide;
    /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1.5s;
    /* Safari 4.0 - 8.0 */
    animation-name: hide;
    animation-duration: 1.5s;
}

nav header {
    display: flex;
    justify-content: space-between;

}

nav header > a img {
    width: 6rem;
    opacity: 0;
}

nav header > ul {
    margin: 0 1rem;
    width: 6rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0;
}

/* Side navigation */
nav aside {
    display: flex;
    justify-content: flex-end;

}

nav aside ul {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 1rem;
    pointer-events: auto;
}

nav aside ul li {
    display: flex;
    justify-content: flex-end;
    align-items: center
}

nav aside ul li:hover p {
    opacity: 1
}

nav aside ul li a div {
    width: .6rem;
    height: .6rem;
    background-color: #7eb7d2;
    border-radius: 1rem;
    margin: 0 0 0 1rem;
    margin-right: .2rem;
    transition: .4s
}

nav aside ul li.active a div {
    width: .6rem;
    height: .6rem;
    margin-right: 0;
    border: solid .2rem #7eb7d2;
    background-color: #ff97a8;
}

nav aside ul li.active p {
    opacity: 1;
    color: #ff97a8;
}


nav aside ul li p {
    color: #7eb7d2;
    opacity: 0;
    transition: .6s
}

/* Fixed footer */

nav footer {
    display: flex;
    justify-content: space-between
}

nav footer ul {
    margin: 0 1rem;
    width: 6rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    pointer-events: auto;
}

nav footer div {
    display: flex;
    flex-direction: column;
    
}

nav footer div img {
    margin: .5rem;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    animation-name: bounce;
}

nav footer div p {
    color: #7eb7d2
}

nav footer > a {
    align-self: center;
    border: .1rem solid #7eb7d2;
    border-radius: .2rem;
    padding: .5rem 1rem;
    margin: 0 1rem 0 0;
    color: #7eb7d2;
    font-family: "Open sans";
    font-size: .8rem;
    text-decoration: none;
    pointer-events: auto;
    transition: .4s;
}
nav footer > a:hover {
    
    color: #16263d;
    background-color:#7eb7d2; 
}
/* Accueil */
#Accueil {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(209.36deg, #055A74 0%, #3195AF 100%);
}

#Accueil div {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center
}

#Accueil div img {
    width: 20vw
}

#Accueil div h1 {
    margin: .5rem;
}

/* A propos */
#A_propos {
    display: flex;
    justify-content: space-around;
    background-color: #28384f;
}

#A_propos > div {
    width: 40%;
    align-self: flex-end;
    overflow: hidden;
    height: 90vh;
}

#A_propos > div img {
    width: 75%;
}

#A_propos > aside {
    align-self: center;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 2rem 20vh 2rem;
}
#A_propos aside div{
    max-height: 100vh;
}
#A_propos aside div > * {
    margin: 1rem 0
}

#A_propos aside div h2 {
    color: #93cce7
}

#A_propos aside div p {
    color: #93cce7
}

#A_propos aside div span {
    color: #a37b5f
}

#A_propos aside div h4 {
    color: #a37b5f
}

#A_propos aside section {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

#A_propos aside section > * {
    margin: 0 1rem 0 0
}

#A_propos aside section > div {}

#A_propos aside div ul li {
    color: #93cce7;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-size: 1rem;
    margin: 0.5rem;
}


/* Mes projets */
.projets {
    display: flex;
    height: 100vh;
    justify-content: flex-end;

}

.projets aside {
    width: 100%
}

projets aside .wrapper {
    width: 100%;

}

.projets aside .entete {
    height: 26vh;
    display: flex;
    align-items: center
}

.projets aside .entete {
    height: 26vh;
    display: flex;
    align-items: center
}

.projets aside .entete header {
    margin: 0 5.8%
}

.projets aside .main {
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;



}

.projets aside .main > * {
    margin: 1rem 5.8%;
    width: 42.6%;
}

.projets aside .main div > * {
    margin: 0 1rem;
    margin: .5rem 0;
}

.projets > div {
    position: absolute;
    align-self: flex-end;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    margin: 0 0 0 -12%;
    overflow: hidden;
    max-height: 90vh;
    width: 30vw;
    
}

.projets > div img {
    width: 100%;

}

@supports (-ms-ime-align: auto) {

    /* Microsoft EdgeV13&14 CSS styles go here */
    .projets img {
        margin: 0 12%;
    }
}

.projets a {
    color: white;
    font-family: "Open sans"
}


/* Contact */
#contact {
    display: flex;
    background-color: #28384F
}

#contact aside {
    width: 45vw;
    background-image: url(img/banniereContact.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: 0 3.5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F5BB93
}

#contact aside h4,
#contact aside h2 {
    margin: 0 5rem .5rem
}

#contact aside h2 {
    padding: 0 0 13.8rem 0
}

form {
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start
}

input[type=text],
input[type=email],
textarea {
    width: 90%;
    padding: 12px;
    border: 1px solid #93CCE7;
    color: #93CCE7;
    border-radius: 4px;
    resize: vertical;
    font-family: "Open sans";
    background-color: #28384F;
    margin: 0 .5rem .5rem
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
    color: #93CCE7;
    font-family: "Open sans";
}

input[type=text]::-ms-input-placeholder,
input[type=email]::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #93CCE7;
    font-family: "Open sans";
}

input[type=text]:-ms-input-placeholder,
input[type=email]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #93CCE7;
    font-family: "Open sans";
}

input[type=submit] {
    background: linear-gradient(195.86deg, #BC825A 0%, #FDDCB4 100%);
    font-family: "Open sans";
    font-size: 0.9rem;
    color: white;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    margin: 1rem
}


/* Strava */

#strava {
    background-image: url(img/banniereStrava.jpg);
    background-color: #FDDCB4;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    color: #055A74
}

#strava * {
    margin: 0 14.4vw 1rem;


}
#strava iframe{
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media only screen and (max-width: 768px) {
    html {
        font-size: 14px
    }

    /* Header fixed */
    nav header > ul {
        opacity: 1;
        pointer-events: auto;
    }

    nav footer ul {
        display: none;
    }

    nav footer div {
        display: none;

    }

    nav footer {
        justify-content: center
    }

    nav footer > a {
        font-size: 1rem;
        margin: 1rem 1rem 6rem 0;
        padding: 0.7rem 3.4rem;
    }

    nav aside {
        padding-top: 25vh

    }
    
    /* home */
    #Accueil {

        align-items: flex-start;

    }

    #Accueil div {
        margin: 15vh 0;
    }

    #Accueil div img {
        width: 70%
    }

    /* A propos */
    #A_propos {
        display: flex;
        overflow: hidden;
        flex-direction: column-reverse;
        justify-content: flex-end;
        padding-top: -7.2rem;
    }

    #A_propos > div img {
        width: 100%;
        position: relative;
        top: -150px;
    }

    #A_propos > div {
        width: 100vw;
        overflow: hidden;
    }

    #A_propos > aside {
        align-self: center;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 0 2rem 20vh 2rem;
    }

    /* projets */
    .projets {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;

    }

    .projets > div {
        position: inherit;
        width: 100vw;
    }

    .projets aside .entete {
        height: 16vh;
    }

    .projets aside .main {
        height: 55vh;
        justify-content: flex-start;
    }

    .projets > div img {
        position: relative;
        top: -180px;
    }

    /* Contact */
    #contact {
        display: flex;
        flex-direction: column;
        background-color: #28384F;
        justify-content: center
    }

    #contact aside {
        width: 100vw;
        background-image: none;
        margin: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #contact aside h2 {
        padding: 0 0 0 0
    }

    #contact aside h4,
    #contact aside h2 {
        margin: 0 1rem .5rem
    }

    form {
        margin: 0 1rem;
        width: 100vw;

    }

    input[type=text],
    input[type=email],
    textarea {
        margin: 0 0rem .5rem
    }

    input[type=submit] {
        font-size: 1rem;
        align-self: center;
        padding: 0.7rem 11.2rem;


    }

    /* Strava */
    #strava {
        background-image: url(img/banniereStrava.jpg);
        background-color: #FDDCB4;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        color: #055A74
    }

    #strava * {
        align-self: center;
        margin: 0 14.4vw 1rem;


    }
}


@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50%{
        transform: translateY(-10px);
    }
    
}

