:root
{
    --content-width: 100vw;
    --content-padding: calc(tan(4deg) * var(--content-width)/2);
}

.container .horaires
{
    margin-top: 100px;
    background: linear-gradient(28deg, rgba(116,84,137,1) 26%, rgba(46,157,176,1) 78%);
    transform: skewY(-4deg);
    color: white;
}

.horaires h1
{
    font-size: 3rem;
    text-align: center;
}

.horaires .content
{
    max-width: 80em;
    margin: 0 auto;
    transform: skewY(4deg);
    padding: var(--content-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
/* 
footer
{
    position: absolute;
    bottom: 0;
    left: 0;
} */

table
{
    width: 60vw;
    text-align: center;
    border: none;
    border-collapse: collapse;
    /* overflow: scroll; */
}

.tableau
{
    /* width: 100%; */
    overflow: auto;
}

table tr
{
    column-rule: solid white;
}

table td:not(:first-child)
{
    border-left: 2px solid white;
}

table td
{
    padding: 0 10px;
    width: 100px;
}

td p
{
    border: 2px solid white;
    border-radius: 25px;
}

td p:not(.first)
{
    margin-top: 0;
}

th:not(:first-child)
{
    border-left: 2px solid white;
}

.pause
{
    height: 10vh;
}

.lompret 
{
    background: white;
    color: var(--violet);
}

.legende
{
    display: inline-block;
    margin-bottom: 50px;
    text-align: center;
}

.legende span
{
    display: inline-block;
    padding: 0 5px;
    border: 2px solid white;
    border-radius: 25px;
    width: 120px;
}

.legende span:not(:first-child)
{
    margin-left: 10px;
}

.trait
{
    width: 30vw;
    background: var(--vert-bleu);
    height: 8px;
    border-radius: 25px;
}

.lieux
{
    width: 60vw;
    margin-top: 10px;
}

.lieux span
{
    font-weight: bold;
}

.tarif
{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tarif .titre
{
    position: relative;
    color: var(--violet);
    font-size: 3rem;
}

.tarif .card-container
{
    padding: 0 5rem 50px 5rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.tarif .card-base
{
    min-width: 300px;
    height: 400px;
    max-width: 300px;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 2px 4px 16px rgba(0,0,0,.1);
    transition: 0.3s;
    background-color: white;
    position: relative;
    text-align: center;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    transform: translateY(20%);
}

.card-base:nth-child(2)
{
    transition-delay: 0.075s;
}

.card-base:nth-child(3)
{
    transition-delay: 0.15s;
}

.card-base:nth-child(4)
{
    transition-delay: 0.225s;
}

.card-base:nth-child(5)
{
    transition-delay: 0.3s;
}

.card-base:nth-child(6)
{
    transition-delay: 0.375s;
}

.tarif .animate
{
    opacity: 1;
    transform: translateY(0%);
}

.card-base:not(:nth-child(3)){
    cursor: pointer;
}

.card-base .remise
{
    position: absolute;
    top: -15px;
    right: -25px;
    width: 4.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background-color: var(--vert-bleu);
    transform: rotate(30deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tarif .card-remise
{
    overflow: visible;
}

.card-base .remise p
{
    margin: auto;
}

.card-base .titre-card:not(.extra-card.titre-card)
{
    /* color: var(--violet); */
    height: 80px;
    background: -webkit-linear-gradient(-70deg, rgba(116,84,137,1) 26%, rgba(46,157,176,1) 78%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-base .prix
{
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.tarif .card-remise .prix
{
    line-height: 20px;
    margin-top: 44px;
    margin-bottom: -4px;
}

.prix span
{
    font-size: 1.2rem;
}

.tarif .card-remise .prix .ancien
{
    text-decoration: line-through;
}

.eco 
{
    color: var(--vert-bleu);
}

.asterisque
{
    position: absolute;
    bottom: 0;
    left: 20px;
    font-size: 0.8rem;
}

.card-base ul
{
    text-align: left;
    padding-top: 20px;
}

.card-base ul li
{
    margin: 0 20px;
}

.card-base ul li span
{
    /* color: var(--violet); */
    font-weight: bold;
}

.extra
{
    width: fit-content;
    height: 200px;
    background: black;
    color: white;
}

.tarif #extra-card
{
    background: var(--violet);
    color: white;
}

.tarif #extra-card .titre-card
{
    -webkit-text-fill-color: unset;
    color: white;
}

.gras
{
    font-weight: bold;
}

.medoucine
{
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.medoucine a
{
    background: white;
    border: 3px solid #1f6a77;
    border-radius: 25px;
    padding: 10px;
    color: var(--vert-bleu);
    text-decoration: none;
    transition: 0.2s;
}

.medoucine a span
{
    text-decoration: underline;
}

.medoucine a:hover
{
    background: #1f6a77;
    color: white;
}

.jeudi
{
    display: none;
}

@media only screen and (max-width: 600px){
    .jeudi
    {
        display: table-cell;
    }

    footer{
        position: relative;
    }
    table
    {
        width: 100%;
        /* visibility: hidden; */
    }

    h2
    {
        text-align: center;
    }

    #tab
    {
        display: none;
    }

    .indiv
    {
        width: 100%;
    }

    .indiv tr:not(:first-child)
    {
        border-top: 2px solid white;
    }

    .tableau
    {
        width: 100%;
        overflow: scroll;
    }
    
    .tarif .card-container
    {
        padding: 0;
        margin-bottom: 20px;
    }

    .tarif .card-base
    {
        margin: 0 auto;
    }

    .lieux
    {
        width: 90vw;
    }

    td
    {
        width: 150px;
    }

    .card-base:nth-child(2)
    {
        transition-delay: 0s;
    }

    .card-base:nth-child(3)
    {
        transition-delay: 0s;
    }

    .card-base:nth-child(4)
    {
        transition-delay: 0s;
    }

    .card-base:nth-child(5)
    {
        transition-delay: 0s;
    }

    .card-base:nth-child(6)
    {
        transition-delay: 0s;
    }
/* 
    .tab, th, td, tr, tbody
    {
        display: block;
    }

    tr:not(.head) td::before
    {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        font-weight: bold;
        white-space: nowrap;
        text-align:left;
        content: attr(data-title);
    } */
}