/*  --------|| CONTENT ||--------    */

.content {
    margin-bottom: 4rem;
}

/*  --------|| INTRO AUTOTEST ||--------    */

.intro-autotests {
    margin-bottom: 2rem;
    position: relative;
}

.intro-autotests h1 {
    font-size: var(--font-size-38);
    font-variation-settings: "wdth" 116;
    position: relative;
    margin-bottom: 2rem;
}

.intro-autotests h1::after {
    content: "";
    position: absolute;
    background-image: url(../img/shapes/underline-bubblegum.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 250px;
    height: 7px;
    left: 1rem;
    bottom: -0.3rem;
}

.autotest-label {
    margin-top: 1rem;
}

/*  --------|| ACCORDION ||--------    */
summary {
    font-size: var(--font-size-26);
    font-variation-settings: var(--font-variable-110);
    color: var(--velvet-600);
    font-weight: 700;
    padding: 1rem 0;
    display: block;
    position: relative;
    cursor: pointer;
    outline: transparent;
    border-bottom: 1px solid var(--velvet-600);
}

summary h2 {
    display: inline-block;
}

.summary-ml {
    font-size: var(--font-size-20);
}

.accordion-content {
    margin-top: 2rem;
}

.accordion-content ul {
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin-bottom: 3rem;
}

.accordion-content ul ul {
    margin: 0;
}

.accordion-content li::before {
    content: "– ";
    font-size: var(--font-size-22);

}

ul li.infos-supp::before {
    content: '';
}

ul li.infos-supp {
    color: #7B7479;
    margin: 0;
    padding-left: 0.875rem;
}

.accordion-content li {
    margin-bottom: 1rem;
    font-weight: 500;
}

.accordion-content p {
    margin-bottom: 1rem;
}

img.h2-shape {
    position: relative;
    top: 4px;
    height: 25px;
    margin-right: 2rem;
}

details {
    margin-top: 10px;
}

details h3:first-child {
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    font-weight: 600;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}

details>summary {
    list-style: none;
}

details>summary::marker,
details>summary::-webkit-details-marker {
    display: none;
}




/*------------------------------------------*/
/*---------------|| Tablet ||---------------*/
/*------------------------------------------*/

@media(min-width:700px) {

    .content {
        margin-top: 1rem;
    }

    .accordion-content li {
        margin-left: 2.5rem;
    }


    p.autotest-label {
        text-align: center;
    }
}


/*-------------------------------------------*/
/*---------------|| Desktop ||---------------*/
/*-------------------------------------------*/

@media(min-width:1100px) {

    .content {
        margin-top: 6rem;
    }

    .autotest-label {
        margin-top: 0;
    }

    .intro-autotests h1 {
        margin-bottom: 3rem;
    }

    details[open]>summary:before {
        transform: rotate(180deg);
    }

    summary:before {
        content: "";
        background-image: url("../img/icons/arrow-down-icon.svg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        width: 2rem;
        height: 2rem;
        position: absolute;
        right: 1.5rem;
        transform: rotate(0deg);
        transform-origin: 1rem 50%;
        transition: 0.25s transform ease;
    }

    .intro-autotests {
        margin-top: -6rem;
    }

    p.autotest-label {
        position: absolute;
        top: 0;
        right: 0;
        text-align: right;
    }

    a.link-label {
        margin-top: 0;
    }
}

