/* ---------- Index ---------- */

.index {
    width: 1024px;
    margin: 0;
    padding: 150px calc(50% - 512px) 0 calc(50% - 512px);
}

/* ---------- Box ---------- */

.box {
    display: flex;
    margin: 0 0 50px 0;
    padding: 0;
}

.box_left, .box_right {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    width: 50%;
    margin: 0;
    padding: 0;
}

/* ---------- Texte ---------- */

.box_title {
    width: 450px;
    margin: 0;
    padding: 0;
    color: var(--ilo-black);
    font-family: 'poppins', 'IBM Plex Sans', 'IBM Plex Sans Arabic', 'IBM Plex Sans JP', 'IBM Plex Sans KR', sans-serif;
    font-size: var(--ilo-large);
}

.box_text {
    width: 450px;
    margin: 16px 0 0 0;
    padding: 0;
    color: var(--ilo-black);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-light);
    line-height: 32px;
}

/* ---------- Image ---------- */

.box_img {
    width: 500px;
    margin: 0;
    padding: 0;
    border-radius: 30px;
}

/* ---------- Container ---------- */

.container {
    width: 100%;
    margin: 0 0 16px 0;
    background-color: #ffffff;
    outline: 2px solid var(--ilo-blue);
    outline-offset: -1px;
    border-radius: 7px;
    overflow: hidden;
}

.container_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 32px);
    margin: 0;
    padding: 16px;
    color: var(--ilo-black);
    font-family: 'poppins', 'IBM Plex Sans', 'IBM Plex Sans Arabic', 'IBM Plex Sans JP', 'IBM Plex Sans KR', sans-serif;
    font-size: var(--ilo-extra-light);
    cursor: pointer;
}

.container_header_svg {
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    fill: var(--ilo-blue);
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.container_child {
    max-height: 0;
    padding: 0;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.container_child ul {
    width: calc(100% - 96px);
    margin: 0 64px 0 32px;
    padding: 0;
    color: var(--ilo-black);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
    list-style: inside;
}

[id^="container_toogle"]:checked ~ .container_child {
    max-height: 1000px;
    padding: 0 0 16px 0;
}

.container_header_active {
    display: none;
}

[id^="container_toogle"]:checked ~ .container_header svg {
    transform: rotate(45deg) scale(1.2);
}


.container_text {
    width: calc(100% - 80px);
    margin: 0 64px 0 16px;
    padding: 0;
    color: var(--ilo-black);
    font-family: 'montserrat', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
    font-size: var(--ilo-extra-light);
}

.text_color {
	color: var(--ilo-blue);
	font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

/* ---------- Resize ---------- */

@media only screen and (max-width: 1148px) {
    .index {
        width: 90%;
        padding: 150px 5% 0 5%;
    }

    .box {
        flex-direction: column;
        justify-content: center;
    }

    .box_left, .box_right {
        width: 100%;
        align-items: center;
    }

    .box_title, .box_text {
        width: 500px;
    }

    .box_img {
        width: 432px;
        margin: 20px 0 0 0;
    }
}

@media only screen and (max-width: 778px) {
    .box_title {
        width: 100%;
        font-size: var(--ilo-medium);
    }
    
    .box_text {
        width: 100%;
        font-size: var(--ilo-extra-light);
    }
}

@media only screen and (max-width: 480px) {
    .box_img {
        width: 100%;
        height: 100%;
    }
}