@import url('https://assets.collection-rivages.com/external/fonts/Ogg/Ogg.css');
@import url('https://assets.collection-rivages.com/external/fonts/Jost/Jost.css');

:root {
    --primary-color: #0E2F3F;
    --light-color: #FCFCF1;

    --ff-title: "Ogg", Arial, Helvetica, sans-serif;
    --fs-title: 30px;
    --fw-title: 400;
    --ln-title: 1.3em;

    --ff-main: "Jost", Arial, Helvetica, sans-serif;
    --fs-main: 20px;
    --fw-main: 300;
    --ln-main: 1.4em;
}

.header .header-logo img {
    top: 40%;
}

.header .logos {
    bottom: 30px;
    height: 40px;
    left: 0;
    position: absolute;
    right: 0;
}

.header .logos a {
    animation: logo-fade 10s infinite;
    display: block;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header .logos a:nth-child(1) {
    animation-delay: 0s;
}

.header .logos a:nth-child(2) {
    animation-delay: 2s;
}

.header .logos a:nth-child(3) {
    animation-delay: 4s;
}

.header .logos a:nth-child(4) {
    animation-delay: 6s;
}

.header .logos a:nth-child(5) {
    animation-delay: 8s;
}

.header .logos img {
    display: block;
    height: 40px;
    object-fit: contain;
    width: auto;
}

@keyframes logo-fade {
    0% {
        opacity: 0;
    }

    3%,
    17% {
        opacity: 1;
    }

    20%,
    100% {
        opacity: 0;
    }
}

@media (min-width: 1024px) {
    .header .logos {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
    }

    .header .logos a {
        animation: none;
        opacity: 1;
        position: relative;
        transform: none;
        left: auto;
        top: auto;
    }
}