body {
    margin: 0;
    font-family: "Inter", serif;
}

header {
    position: relative;
    z-index: 9999;
}

header a.cv {
    position: absolute;
    right: 40px;
    top: 40px;
}

.slider {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.slider .slide {
    position: relative;
}

.slider .slide img {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -20%);
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 45px;
    width: calc(100vw - 90px);
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.projet footer {
    background: none;
}

footer .left {
    display: flex;
    border-right: solid 2px #FFFFFF;
    padding-right: 50px;
    text-decoration: none;
}

footer .left img {
    width: 120px;
    height: 72px;
}

footer .left .column {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

footer .left h1 {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 23px;
    margin: 0;
    text-decoration: none;
}

footer .left h2 {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    text-decoration: none;
}

footer .menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 30vw;
    padding-left: 30px;
    margin-right: auto;
}

footer .menu a {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

footer .menu a.selected {
    font-weight: 900;
    text-decoration: underline;
    pointer-events: none;
}

footer .right {
    display: flex;
    align-items: center;
}

footer .right img {
    max-width: 40px;
    margin: 0 10px;
}

.projets {
    background-color: #FCDE98;
    position: relative;
}

.slider-projets-wrapper {
    width: 100vw;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.slider-projets .slide {
    position: relative;
}

.slider-projets .slide img {
    max-height: 552px;
}

.slider-projets .slide div {
    position: absolute;
    bottom: 123px;
    left: 76px;
    background: rgba(252, 222, 152, 0.9);
    padding: 20px;
    width: 366px;
    opacity: 0;
    transition: all ease .3s;
}

.slider-projets .slide:hover div,
.experiences .slider-projets .slide:hover div {
    opacity: 1;
}

.slider-projets .slide div strong {
    display: block;
}

.slider-projets .slide div strong, .slider-projets .slide div span {
    color: #000000;
}

.experiences .slider-projets .slide div strong, .experiences .slider-projets .slide div span {
    color: #FFFFFF;
}

.experiences {
    background-color: #98AAFC;
    position: relative;
}

.experiences .slider-projets .slide div {
    position: absolute;
    bottom: 123px;
    left: 76px;
    background: rgba(152, 170, 252, 0.9);
    padding: 20px;
    width: 366px;
    opacity: 0;
    transition: all ease .3s;
}

.text {
    position: absolute;
    z-index: 0;
    bottom: 0px;
    left: 0;
    width: calc(100vw - 90px);
    padding: 45px;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0.40242034313725494) 60%, rgba(0,0,0,0) 100%);
    color: #FFFFFF;
    padding-bottom: 140px;
    padding-top: 120px;
    opacity: 0;
    transition: all ease .3s;
}

.text:hover {
    opacity: 1;
}

.text h1 {
    font-size: 32px;
}

.text p {
    max-width: 60vw;
}

.contact {
    background-color: #000000;
}

.contact main {
    width: 90vw;
    height: 70vh;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%)
}

.contact main h1 {
    color: #FFFFFF;
    text-transform: uppercase;
    
}

.contact main form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact main form div {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.contact main form div label {
    color: #FFFFFF;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact main form div input, .contact main form div textarea {
    padding: 12px;
}

.contact main form .fullwidth {
    flex-basis: 100%;
    margin-top: 30px;
}

.contact main form .button {
    margin-left: auto;
    margin-top: 20px;
    background-color: #98AAFC;
    color: #000000;
    padding: 15px 50px;
    border: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

a.toggleMenuMobile, .menuMobile {
    display: none;
}

.slider.mobile {
    display: none;
}
/** Pour les smartphones **/

@media only screen and (max-width: 600px) {
    a.toggleMenuMobile {
        left: 20px;
        top: 20px;
        color: #FFFFFF;
        text-transform: uppercase;
        font-weight: bold;
        display: block;
        position: absolute;
    }
    .menuMobile {
        background: rgba(0,0,0,0.6);
        display: flex;
        flex-direction: column;
        top: 0;
        left: -1000px;
        padding: 30px;
        position: absolute;
        z-index: 9999;
        width: calc(100vw - 60px);
        height: calc(100vh - 60px);
        transition: all ease .5s;
    }
    .menuMobile.open {
        left: 0;
    }
    .menuMobile .menu {
        display: flex    ;
        flex-direction: column;
        margin-top: 150px;
    }
    .menuMobile .menu a {
        color: #FFFFFF;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bold;
        font-size: 32px;
    }
    .menuMobile .right img {
        max-width: 40px;
        margin-top: 40px;
        margin-right: 12px;
    }
    header {
        position: absolute;
        width: 100vw;
    }
    header a.cv {
        right: 20px;
        top: 20px;
    }
    header img {
        max-width: 100px;
    }
    footer {
        padding: 20px;
        width: calc(100vw - 40px);
    }
    footer .left {
        padding: 0;
        border: none;
    }
    footer .left img {
        width: 80px;
        height: 50px;
        margin: 2px;
    }
    footer .left h1 {
        font-size: 18px;
    }
    footer .left h2 {
        font-size: 13px;
        font-weight: 600;
    }
    footer .menu, footer .right {
        display: none;
    }
    .slider.mobile {
        display: block;
    }
    .slider.desktop {
        display: none;
    }
    .slider .slide img {
        transform: none;
        left: inherit;
        top: inherit;
        width: auto;
        bottom: inherit;
        min-height: 100vh;
        position: static;
    }
    .slider-projets .slide img {
        max-height: 552px;
        max-width: 100vw;
    }
}