.main__tentes {
    margin-top: 50px;
}

.main__tentes {
    display: grid;
    grid-template-columns: repeat(7, minmax(180px, auto));
    row-gap: 30px;
    column-gap: 0;
    justify-items: center;
    margin-bottom: 90px;
}

.main__tentes li {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.main__tentes>li>a {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main__tentes li picture img {
    width: 174px;
    height: auto;
    object-fit: contain;
}

.tente__nom {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--txtnoir);
    margin-bottom: 15px;
    margin-top: 15px;
}

.desktop-hover {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 2.4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    width: 200px;
    height: 130px;
    padding: 0 62px;
    border: 1px solid black;
    outline: 15px solid rgba(255, 255, 255, .6);
    opacity: 0;
    background-color: rgba(255, 255, 255, .8);
}

.desktop-hover:hover {
    opacity: 1;
}

.main__tentes .series {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: max-content;
    line-height: 2.8;
    font-size: 12px;
    letter-spacing: 2.88px;
    font-weight: 500;
}

.couleur1 {
    background-color: var(--serie1);
}

.couleur2 {
    background-color: var(--serie2);
}

.series.space,
.series.evasion,
.series.nova,
.series.grand-raid {
    opacity: 0;
}

.series.discovery {
    width: 400%;
    margin-left: -100%;
}

.series.odyssey {
    width: 200%;
}

@media screen and (max-width:1500px) {
    .main__tentes {
        grid-template-columns: 33% 33% auto;
        margin-bottom: 0px;
        row-gap: 10px;
    }

    .main__tentes li {
        margin-bottom: 50px;
    }

	.main__tentes li picture img {
        width: 220px;
    }

    .series.discovery {
        width: calc(100vw - 90px);
    }

    .series {
        margin-top: 10px;
    }

    .series.grand-raid {
        opacity: 1;
    }

    .tente__nom {
        margin-top: 20px;
        font-size: 18px;
    }

    .desktop-hover {
        width: 280px;
        height: 165px;
        top: 0px
    }
}

@media screen and (max-width:1080px) {
    .main__tentes {
        display: grid;
        grid-template-columns: 50% 50%;
        row-gap: 0;
        column-gap: 0;
    }

    .main__tentes>li>a {
        height: auto;
    }

    .main__tentes>li>a>img {
        width: 283px;
        height: 188px;
    }

    .desktop-hover {
        width: 280px;
        height: 185px;
        top: 0;
    }

    .main__tentes li {
        width: calc(50vw - 90px);
        height: 320px;
        align-items: center;
    }

    .main__tentes .series {
        width: 45vw;
        font-size: 16px;
    }

    .series.discovery,
    .series.grand-raid {
        width: calc(100vw - 90px);
        left: 0;
        margin-left: calc(-100% - 45px);
    }


    .series.vision {
        width: calc(50vw - 45px);
    }
    
   .series.odyssey {
        width: calc(100vw - 90px);
        left: 0;
        margin-left: calc(100% + 45px);
    }

    .tente__nom {
        bottom: -110px;
        font-size: 20px;
        letter-spacing: 4px;
    }
}

@media screen and (max-width:770px) {
    .main__tentes li {
        height: 37vw;
        margin-bottom: calc(140px - 10vw);
    }

    .main__tentes>li>a>img {
        width: 36vw;
        height: 24vw;
    }

    .main__tentes .series {
        font-size: 14px;
    }

    .desktop-hover {
        width: 36vw;
        height: 24vw;
        padding: 0 40px;
    }
}

@media screen and (max-width:600px) {
    .main__tentes .series {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .tente__nom {
        font-size: 16px;
    }

    .desktop-hover {
        padding: 0 30px;
    }
}

@media screen and (max-width:580px) {
    .desktop-hover {
        font-size: 12px;
        padding: 0 15px;
        width: 33vw;
        height: 22vw;
    }

    .main__tentes>li>a>img {
        width: 33vw;
        height: 22vw;
    }

    .main__tentes .series {
        font-size: 10px;
    }

    .tente__nom {
        font-size: 14px;
        word-spacing: -5px;
    }
}

@media screen and (max-width:580px) {
    .main__tentes {
        grid-template-columns: 1fr;
        margin-top: 35px;
    }

    .main__tentes li {
        margin-bottom: 55px;
        width: unset;
        height: unset;
    }

    .main__tentes .series {
        opacity: 1;
        width: calc(100vw - 90px);
        margin-left: 0;
        margin-top: 0px;
        font-size: 14px;
        padding: 10px 0;
    }

    .main__tentes>li>a>img {
        width: 230px;
        height: 155px;
    }

    .tente__nom {
        bottom: -85px;
        font-size: 18px;
    }

    .desktop-hover {
        font-size: 12px;
        padding: 0 40px;
        width: 50vw;
        height: 34vw;
    }
}

@media screen and (max-width:370px) {
    .main__tentes .series {
        font-size: 12px;
    }
}