body {

    background-color: #7CADD0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tete {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    height: 50px;

}

nav {

    display: flex;
    justify-content: space-evenly;
    font-family: "Abel", sans-serif;
    position: relative;
    margin-top: 30px;

}

.barre {
    border-top: 2px solid white;
    margin: 1%;
    padding-bottom: 50px;
}

.projets-container {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    align-items: center;
    /*
    border: 20px solid white;
    background-color: white;
     */
}

.titre-projet-miniature {
    box-sizing: border-box;
    text-align: center;
    background: #1D035D;
    padding: 5px;
    font-size: x-large;
    color: white;

    width: 100%;
    margin: 50px auto 30px;
}

.titre-projet {
    box-sizing: border-box;
    background: #2086CF;
    text-align: center;
    width: 100%;
    color: white;
    padding: 5px;
    margin: 50px auto 30px;
    font-size: x-large;
}

.projet a {
    text-decoration: none;
}

.projet img {
    border: 20px solid white;
    width: 400px;
    height: 303px;
}

.projet-zoom img {
    border: 20px solid white;
    width: 75%;
    height: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.menu-item {
    padding: 50px;
    font-family: 'Giveny Free Regular';
}

/* unvisited link */
.menu a:link {
    color: white;
    text-decoration: none;
}

/* visited link */
.menu a:visited {
    color: white;
    text-decoration: none;
}

/* mouse over link */
.menu a:hover {
    color: #1D035D;
    text-decoration: none;
}

/* selected link */
.menu a:active {
    color: #800000;
    text-decoration: none;
}


/* unvisited link */
.projet a:link {
    color: white;
    text-decoration: none;
}

/* visited link */
.projet a:visited {
    color: white;
    text-decoration: none;
}

/* mouse over link */
.projet a:hover {
    color: #1D035D;
    text-decoration: none;
}

/* selected link */
.projet a:active {
    color: #800000;
    text-decoration: none;
}

/*
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*/


main {
    font-family: 'Garamond Regular';
    flex-grow: 1;
}

.projet-zoom {
    margin: 1%;
    margin-top: -4.5vh;
    background-color: white;
    padding-bottom: 20px;
}

footer {
    display: flex;
    justify-content: center;
    background-color: white;
    align-content: end;
    font-family: 'Giveny Free Regular';

    margin-top: 20px;
    margin-bottom: -50vh;

    /* toute largeur en dépit du parent */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    height: 100px;
}


footer img {
    vertical-align: middle;
}

.contact img {
    vertical-align: middle;
}

.rectangle-presentation img {
    vertical-align: top;
    float: left;
}


iframe {
    width: 100%;
}

.container-caroussel {
    /* mettre des span class="txt t1", t2, t3... en filles */
    margin-top: 30px;
    overflow: hidden;
    display: flex;
    /* Fonctionne avec toutes les tailles */
    width: 100%;
    background-color: #FBB99D;
    position: absolute;
    position: relative;
    top: 40%;
    transform: translateY(-50%);
    /* pour rotate on enlève le translate et on rajoute le rotate */
    /* transform:  rotate(90deg); */

}

.txt {
    white-space: nowrap;
    font-size: 20px;
    font-style: oblique;
    animation: scrollTxt 5s linear infinite;
}

.t1 {
    /* color: red; */
}

.t2 {
    /* color: blue; */
}

@keyframes scrollTxt {
    0% {
        transform: translate(0%, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.contact {
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}


.presentation img {
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    height: 120px;
    width: 120px;
}

.presentation {
    text-align: justify;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.rectangle-presentation {
    margin: 1%;
    text-align: center;
    height: 200px;
    background: white;
    font-family: "Garamond Bold";
}


.text-projet h2 {
    color: black;
    text-align: center;
}


.text-projet p {

    text-align: justify;
    width: 80%;
    margin-left: auto;
    margin-right: auto;

}

.animation span {
    font-size: 80px;
    font-weight: 900;
    color: white;
    position: relative;
    transition: 1s;
    cursor: default;
    animation: typing 5000ms linear infinite;
}


@keyframes typing {
    0% {
        color: #1D035D;
    }

    50% {
        -webkit-text-stroke: 1px white;
        color: transparent;
    }

    100% {
        color: white;
    }
}

.animation span:nth-child(2) {
    animation-delay: 500ms;
}

.animation span:nth-child(3) {
    animation-delay: 1000ms;
}

.animation span:nth-child(4) {
    animation-delay: 1500ms;
}

.animation span:nth-child(5) {
    animation-delay: 2000ms;
}

.animation span:nth-child(6) {
    animation-delay: 2500ms;
}

.animation span:nth-child(7) {
    animation-delay: 3000ms;
}

.animation span:nth-child(8) {
    animation-delay: 3500ms;
}


.recommendations-container {
    width: 100%;

    display: flex;
    justify-content: left;

}

.recommendations-item button {
    border: 5px solid #000;
    background: none;
    font-size: 20px;
    font-family: sans-serif;
    position: relative;
    overflow: hidden;
    color: #000;
}

.recommendations-item button:before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    transition: all 1s;
    z-index: -1;
    transform: translateY(100%);
    transform-origin: right bottom;
}

.recommendations-item button:hover:before {
    transform: translateY(0%);
}

.recommendations-item button:hover {
    color: #1D035D;
    cursor: pointer;
}
