html,
body {
    width: 100%;
    height: 100%;
    font-family: 'Lato', sans-serif;
    color: #333333;
    font-size: 16px;
    line-height: 1.5em;
    overflow-x: hidden;
}

.home-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.grow {
    transition: ease-in-out;
}

.grow:hover {
    transform: scale(1.025);
}

.fond {
    color: white;
    margin-top: 3vw;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    background: linear-gradient(135deg, #172a74, #21a9af);
}

.some-page-wrapper {
    margin: 3vw;
}

.row {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 3vw;
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.image-list-small {
    font-family: 'Lato', sans-serif;
    margin: 0 auto;
    text-align: center;
    max-width: 720px;
    /* max-width: 100%; */
    padding: 0;
}

.image-list-small li {
    display: inline-block;
    width: 6vw;
    margin: 0 12px 30px;
}

/* Image */

.image-list-small li > a {
    display: block;
    text-decoration: none;
    background-size: cover;
    background-repeat: no-repeat;
    height: 5vw;
    margin: 0;
    padding: 0;
}

.image-list-small li > span > div > a {
    display: block;
    text-decoration: none;
    background-size: cover;
    background-repeat: no-repeat;
    height: 5vw;
    margin: 0;
    padding: 0;
}

.image-list-small li:hover {
    box-shadow:
        rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px,
        rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px,
        rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transform: scale(1.15);
}

.image-list-small .details {
    margin-top: 13px;
}

/* Titre */

.image-list-small .details h3 {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: -0.5px;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-list-small .details h3 a {
    color: #fff;
    text-decoration: none;
}

.cercles {
    list-style-type: circle;
    color: #333333;
}

li.bloc {
    font-size: 14px;
    color: #333333;
    display: list-item;
    width: 100%;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    margin-left: 0.25vw;
    margin-top: 0.5vw;
    margin-bottom: 0.5vw;
}

br {
    display: block;
    margin: -25px 0;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

:root {
    --shift: translateX(-50%);
    --fleche: 50%;
}

.tooltip .tooltip-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8em;
    line-height: 1.5em;
    visibility: hidden;
    background-color: #fff;
    border-radius: 10px;
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.1),
        0 2px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    text-align: left;
    padding: 0.75rem 1.5rem;
    position: absolute;
    z-index: 1;
    top: 8vw;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    width: 35vw;
    transform: var(--shift);
    animation: tooltipFadeIn 0.15s;
    transition-delay: 0.5s;
}

.tooltip .tooltip-text::after {
    content: ' ';
    position: absolute;
    bottom: 100%;
    left: var(--fleche);
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent lightgrey transparent;
    z-index: 3;
}

.to-left {
    --shift: translateX(-91.5%);
    --fleche: 91.5%;
}

.to-right {
    --shift: translateX(-8.5%);
    --fleche: 8.5%;
}

.vaste {
    padding-bottom: 2em;
    margin-bottom: -2em;
}

.button {
    background-color: #4caf50; /* Green */
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 16px;
    margin-top: 1.5vw;
    margin-bottom: 1vw;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.button > a {
    color: white;
    text-decoration: none;
}

.button2 {
    background-color: #008cba;
}
.button3 {
    background-color: #f44336;
}
.button4 {
    background-color: #e7e7e7;
    color: black;
}
.button5 {
    background-color: #555555;
}

h1 {
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 2.5em;
    margin-top: 1em;
    line-height: 1.1em;
}

.sous-titre {
    width: 75%;
    margin: auto;
    font-weight: 400;
    padding-top: 1vw;
    font-size: 16px;
    color: white;
}

h2 {
    font-weight: 400;
    letter-spacing: 2px;
    /* font-size:28px; */
    font-size: 1.375em;
    text-align: center;
    padding-bottom: 5px;
}

h3 {
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 1.25em;
    color: white;
    text-align: center;
    padding-bottom: 5px;
}

p {
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    font-size: 1em;
    color: #333333;
}

.header {
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #172a74, #21a9af);
    color: white;
}

.inner-header {
    height: 35vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.licence {
    width: 85%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 5vw;
    margin-bottom: 5vw;
}

/*Pour les smartphones et les tablettes*/

@media (max-width: 600px) {
    .sous-titre {
        display: none;
    }

    .content {
        height: 30vh;
    }

    .inner-header {
        height: 40vh;
    }

    .waves {
        height: 1vh;
    }

    h1 {
        /* font-size:24px; */
        font-size: 1.5em;
        /* display: none; */
        padding-top: 125px;
        padding-bottom: 4em;
    }

    .menu,
    .main,
    .right {
        width: 100%;
    }

    .image-list-small .details h3 {
        font-size: 14px;
    }

    .image-list-small li {
        display: inline;
    }

    .image-list-small li > span > div > a {
        height: 5em;
    }

    .vaste {
        display: block;
        margin: auto;
        width: 50%;
    }

    .tooltip-text {
        display: none;
    }
}
