@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit';
}

@media (min-width:600px) {
    .navMobile,
    .navMobile * {
        display: none;
    }
}

.bigBox .smallBox-Project {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.smallBox-Project {
    width: 75%;
}

img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit';
    overflow-x: hidden;
    animation: FadeInOpacity 800ms;
}

a {
    color: black;
}

main {
    background: linear-gradient(#fffcd2, #edffcd);
}

header {
    height: 90vh;
    background-image: url(img/background.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 5;
}

h1 {
    padding: 5rem 2rem;
    font-size: 2rem;
    padding-right: 15vw;
}

.headingAnimation {
    color: rgb(255, 255, 255);
    font-size: 6rem;
    position: absolute;
    top: 25%;
}

.headingAnimation2 {
    color: rgb(255, 255, 255);
    font-size: 5rem;
    position: absolute;
    top: 40vh;
}

span {
    overflow: hidden;
    display: block;
}

.delay {
    animation-delay: 400ms;
}

.delay2 {
    animation-delay: 600ms;
}

span span {
    display: block;
    animation: spanFadeIn 500ms ease-out forwards;
    transform: translateY(100%);
}

@keyframes spanFadeIn {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes FadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.textEnd {
    text-align: end;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 10vh;
    width: 100vw;
    background-color: white;
    position: fixed;
    top: 0;
    padding: 0 3rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    z-index: 10000;
}

nav a {
    text-decoration: none;
    list-style: none;
    color: black;
    font-size: 1.5rem;
}

ul {
    list-style: none;
}

h2 {
    text-align: right;
}

.txtButs {
    font-size: 1.5rem;
    padding-top: 0;
    padding-right: 2rem;
}

.txtButs li {
    list-style: decimal;
    padding-bottom: 2rem;
    font-weight: lighter;
}

.smallBoxNav {
    display: flex;
    gap: clamp(1.5rem, 10vw, 2.5rem);
    flex-grow: 1;
    justify-content: flex-end;
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.logoNav {
    max-width: 12rem;
}

p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.1;
}

.bigBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    gap: 1rem;
}

.fullScreen {
    width: 100%;
    padding: 2rem 0;
}

footer {
    padding-top: 5rem;
    background-color: white;
    color: black;
}

.footerBigBox {
    display: flex;
    justify-content: space-between;
    padding: 0 3rem;
    gap: 1rem;
}

.footerBigBox>* {
    flex: 1;
}

footer ul {
    list-style: none;
}

footer a {
    text-decoration: none;
}

.smallBoxFooter {
    width: 10vw;
}

.smallBoxFooter h3 {
    margin-bottom: 1rem;
}

.copyright {
    margin: 2rem 1rem;
    /* padding-bottom: 0.5rem; */
    font-size: 0.7rem;
}


/*.imgProjetBox {
    position: relative;
}

.imgProjetBox:hover>.enSavoirPlus {
    display: block;
}
*/

.projetsBox {
    display: flex;
    gap: 1rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    justify-content: space-between;
}

button {
    display: flex;
    align-items: center;
    background-color: #878a71;
    padding: 5rem 2rem;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    color: white;
    z-index: 2;
}

button a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.paddingBeetween {
    padding: 0 3rem;
}

.buttonBox {
    display: flex;
    margin-top: 2rem;
    margin-left: 0.5rem;
    padding-top: 1rem;
}

.buttonBox a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    margin: 0 3rem;
}

.fakeButton {
    background-color: #878a71;
    padding: 1rem 2rem;
    border-radius: 3rem;
}

.contact {
    position: absolute;
    padding: 2rem;
    top: 40vh;
    font-size: 3.5rem;
}


/* ---------style pour pages projets ------------- */

.bigBoxpresentation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.boxProjet {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    width: 40vw;
}

.boxEquipe {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    width: 40vw;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.);
}

.navProjets {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 10vh;
    width: 100vw;
    padding: 0 3rem;
}

.cross {
    height: 4vh;
    width: 4vh;
}

.bigBoxProjets {
    width: 42vw;
    position: absolute;
    top: 15vh;
    padding-bottom: 10vh;
    left: 51vw;
}

.smallBoxProjet {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.txtProjet {
    padding-bottom: 2rem;
}

.smallBoxProjet,
p {
    text-align: left;
    margin-left: 4rem;
    font-size: 2rem;
    font-weight: bold;
    max-width: 75%;
}

.smallBoxProjet,
h2 {
    text-align: left;
    margin-left: 4rem;
    font-size: 1.2rem;
    font-weight: normal;
    max-width: 75%;
}

.imgProjetBox:hover>.enSavoirPlus {
    display: block;
}