.menu-tarifs {
    color: var(--color2);
    text-decoration: underline;
    text-underline-offset: 30px;
}

.mes-tarifs {
    width: 100%;
    text-align: center;
}

.mes-tarifs h1 {
    font-size: 35px;
    color: white;
    display: flex;
    width: 100%;
    justify-content: center;
    vertical-align: middle;
}
.mes-tarifs h1 img {
    margin: 0 1%;
    transform: translateY(10px);
    width: 40px;
}

.mes-tarifs h2 {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2%;
}

.tarifs {
    display: flex;
    justify-content: space-between;
    margin: 80px 5%;
}

.tarifs>div {
    width: 30%;
    text-align: center;
}

.tarifs .info {
    background-color: white;
    padding: 4%;
    vertical-align: middle;
    height: 200px;
    width: 110%;
    border: solid var(--color1) 5px;
    animation: spawnInfo 1s ease;
}

@keyframes spawnInfo {
    from {
      transform: scale(0);
    }
    to {
      transform: scale(1);
    }
}

.tarifs .info h1 {
    font-size: 140%;
    white-space: nowrap;
}

.tarifs .info p {
    height: 50px;   
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 7.5px 0;
}

.tarifs .info span {
    color: var(--color1);
    font-weight: bolder;
    font-size: 200%;
}

.tarifs img {
    width: 300px;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 3%;
}

.tarif1 img {
    animation: infinite img1Anim 2s ease-in-out;
    transform: rotate(-0.75deg);
}

@keyframes img1Anim {
    0% {transform: rotate(-0.75deg);}
    50% {transform: rotate(0.75deg);}
}

.tarif2 img {
    animation: infinite img2Anim 2s ease-in-out;
    transform: rotate(1deg);
}

@keyframes img2Anim {
    0% {transform: rotate(1deg);}
    50% {transform: rotate(-0.5deg);}
}

.tarif3 img {
    animation: infinite img3Anim 2s ease-in-out;
    transform: rotate(-0.5deg);
}

@keyframes img3Anim {
    0% {transform: rotate(-0.5deg);}
    50% {transform: rotate(1deg);}
}

img[alt="fil jaune"] {
    position: absolute;
    width: 100%;
    top: 49%;
    z-index: -1;
}


@media screen and (max-width:1100px) {
    .menu-tarifs {
        color: red;
        text-decoration: unset;
    }

    .mes-tarifs {
        width: 100%;
        text-align: center;
    }
    
    .mes-tarifs h1 {
        font-size: 20px;
        margin-top: 5%;
    }
    .mes-tarifs h1 img {
        margin: 0 2%;
        transform: translateY(10px);
        width: 28px;
    }
    
    .mes-tarifs h2 {
        font-size: 16px;
        margin: 0  1%;
        margin-top: 5%;
    }
    
    .tarifs {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 50px 0;
    }
    
    .tarifs>div {
        width: auto;
        margin-bottom: 30px;
    }
    
    .tarifs .info {
        padding: 4%;
        height: auto;
        width: auto;
    }
    
    
    .tarifs .info h1 {
        font-size: 90%;
        white-space: nowrap;
    }
    
    .tarifs .info p {
        font-size: 80%;
        height: auto;
    }
    
    .tarifs .info span {
        font-size: 150%;
    }
    
    .tarifs img {
        width: 220px;
        animation: none;
    }
    
    
    img[alt="fil jaune"] {
        display: none;
    }
}