﻿#sportImg {
    width: 100%;
    position: relative;
    flex-shrink: 0;
}

h2 img {
    width: 100%;
}

#sportImg .card:hover .overlay {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}

#sportImg .cards .text_img {
    opacity: 0;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1
}

#sportImg .card:hover .text_img, #sportImg .card:hover .overlay {
    opacity: 1;
    transition: opacity .3s linear;
    z-index: 1;
    pointer-events: none;
}

#sportImg .cards .card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

    #sportImg .cards .card a:hover:after {
        opacity: 1;
    }

#sportImg .cards .card.ubb .overlay {
    content: '';
    background: #8d245966;
}

#sportImg .cards .card.voile .overlay {
    content: '';
    background: #336ac666;
}

#sportImg .cards .card.csp .overlay {
    content: '';
    background: #075e5f66;
}

#sportImg .cards .card.padel .overlay {
    content: '';
    background: #2e3d7d66;
}

#sportImg .section_content {
    display: block;
    height: 500px;
    overflow: hidden;
}

#sportImg .cards {
    display: flex;
    gap: 8px;
    height: 100%;
}

    #sportImg .cards img {
        width: 100%;
        height: 100%;
        align-items: flex-start;
        flex: 1 0 0;
        object-fit: cover;
    }

    #sportImg .cards .card {
        border: none;
        cursor: pointer;
        width: 100%;
    }

.card {
    position: static;
    cursor: pointer;
}

.cloud {
    display: block;
    width: 100%;
    height: 368px;
    flex-shrink: 0;
    position: absolute;
    bottom: -1px;
    z-index: 1;
    pointer-events: none;
}

    .cloud img {
        width: 100%;
        height: 100%;
    }

.separator {
    display: block;
    margin: auto;
    width: 1px;
    height: 182px;
    background: #DADAE1;
}

#sportInfos {
    background: linear-gradient(180deg, #FFF 0%, #EBF2FA 100%);
    display: block;
    width: 100%;
    padding: 0px;
    padding-bottom:0px;
}

    #sportInfos h1 {
        color: #0F4881;
        text-align: center;
        font-family: Gellatio;
        font-size: 41px;
        font-style: normal;
        font-weight: 400;
        line-height: 55px; /* 134.146% */
    }

    #sportInfos .container_text p {
        color: #212529;
        font-family: Open Sans;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    #sportInfos .rdv_text span {
        color: #212529;
        font-family: Open Sans;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        text-transform: uppercase;
    }

    #sportInfos .section_content {
        display: flex;
        padding: 80px 0px 48px;
        align-items: center;
        gap: 60px;
        justify-content: space-between;
        margin: auto;
    }

.section_title {
    width: 550px;
}

.section_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    width: 780px;
}

.container_text {
    display: flex;
    align-items: center;
    gap: 60px;
}

.container_btn span {
    color: #212529;
    font-family: Open Sans;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px; /* 100% */
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.buttons span {
    border-radius: 28px;
    background: #B23995;
    display: table;
    padding: 5px 15px;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    margin: auto 0 10px;
}

.buttons span {
}

    .buttons span:nth-child(2) {
        background: #A13386;
    }

    .buttons span:nth-child(3) {
        background: #8E2E77;
    }

    .buttons span:hover {
        background: #6B235A;
    }

    .buttons span a {
        font-family: Open Sans;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        color: #fff;
        transition: all .3s ease-in-out;
        text-transform: lowercase;
    }

.ariane-sport-lg {
    background: #EBF2FA;
}
.fil-ariane {
    margin:0;
    padding: 0 0 32px 0;
}
@media (max-width: 1200px) {
    #sportInfos .section_content {
        width: 100%;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .cloud {
        height: 148px;
    }
}

@media (max-width: 992px) {
    #sportImg .cards {
        gap: 4px;
    }

    #sportImg .section_content {
        height: 400px;
    }

    .container_text {
        align-items: flex-start;
        gap: 30px;
    }

    .buttons span {
        display: table;
    }

    .section_text {
        justify-content: center;
        width: 628px;
    }

    .separator {
        width: 1px;
        height: 169px;
    }
    .rdv {
        margin: auto;
    }

    #sportInfos {
        padding: 70px 70px 0px 70px;
    }

        #sportInfos .section_content {
            gap: 40px;
            padding: 50px 0 0;
            flex-direction:column
        }
    .ariane-sport-lg{
       padding-top: 48px;
        text-align: center;
    }

    .rdv {
        padding: 1.5rem 20px;
        align-self: flex-start;
    }
}
@media (min-width: 2000px) {
    #sportImg .cards img {
        width: calc((100vw / 4) - 6px);
    }
}
@media (max-width:1025px) {
    #sportImg .cards .card {
        position: relative;
    }

        #sportImg .cards .card:before {
            background: #fff;
            display: block;
            width: auto;
            height: auto;
            position: absolute;
            top: 15px;
            left: 0;
            text-align: center;
            font-family: Gotham Bold;
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            padding: 4px 14px;
            border-radius: 0px 28px 28px 0px;
            z-index: 2;
            text-transform: uppercase;
        }

        #sportImg .cards .card.ubb:before {
            content: 'UBB';
            color: #8E245A;
        }

        #sportImg .cards .card.voile:before {
            content: 'Team Voile';
            color: #3B68B0;
        }

        #sportImg .cards .card.csp:before {
            content: 'Limoges CSP';
            color: #095E5F;
        }

        #sportImg .cards .card.padel:before {
            content: 'Padel open';
            color: #2D3D7D;
        }
}
    @media (max-width: 767px) {
        #sportImg .cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            grid-column-gap: 4px;
            grid-row-gap: 4px;
        }

        #sportImg .card .text_img, #sportImg .card .overlay {
            opacity: 1;
            z-index: 1;
            display: block;
            position: absolute;
            height: 100%;
            width: 100%;
            top: 0;
            left: 0;
        }

        #sportImg .section_content {
            height: auto;
        }

        .ubb {
            grid-area: 1 / 1 / 2 / 2;
        }

        .voile {
            grid-area: 1 / 2 / 2 / 3;
        }

        .csp {
            grid-area: 2 / 1 / 3 / 2;
        }

        .padel {
            grid-area: 2 / 2 / 3 / 3;
        }

        #sportImg .cards .text_img {
            display: none
        }

        .cloud {
            height: 88px;
        }

        #sportInfos .section_content {
            flex-direction: column;
            padding: 0;
        }

        #sportInfos {
            padding: 30px 30px 0px 30px;
        }

        .section_title {
            width: 100%;
        }

        .section_text {
            width: 100%;
        }

        .container_btn {
            display: block;
            margin: auto;
        }



            .container_btn span {
                text-align: center;
            }
            .container_btn .buttons {
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
                justify-content: center;
            }
            .buttons span {
                margin: 0;
            }
        .container_text {
            flex-direction: column;
            gap: 40px;
        }
        .separator {
            width: 100%;
            height: 1px;
        }


            #sportImg .cards .card.ubb:after {
                content: '';
                background: #8d245966;
            }

            #sportImg .cards .card.voile:after {
                content: '';
                background: #336ac666;
            }

            #sportImg .cards .card.csp:after {
                content: '';
                background: #075e5f66;
            }

        #sportIm .cards .card.padel:after {
            content: '';
            background: #2e3d7d66;
        }

        #sportImg .cards .card:after {
            opacity: 1;
        }

        .rdv {
            padding: 30px 20px;
        }
    }

