main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8em;
}

#carousel > div {
    width: 70vw;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#carousel {
    padding: 2em;
    background-color: var(--secondary);
    border-radius: 5px;
    box-shadow: 0px 0px 15px var(--box-shadow);
}

.arrow img {
    width: 4em;
    padding: 2px;
    border-radius: 4em;
    background-color: rgb(251 251 251 / 50%);
}

.arrow {
    display: flex;
    width: 69vw;
    margin: 0.5vw;
    justify-content: space-between;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 500ms;
}

.modal .arrow {
    margin: 0;
    opacity: 1;
    display: none;
    width: 98vw;
}

.slides img {
    width: 100%;
    height: fit-content;
}

.slides > div {
    min-width: 100%;
    display: flex;
    align-items: flex-end;
}

.slides {
    display: flex;
    position: relative;
    right: 0;
    transition: all 500ms;
    margin-bottom: 2em;
}

.slides > div p {
    position: absolute;
    width: 100%;
    text-align: center;
    background-color: #0000009c;
    padding: 4px 0;
    font-size: 20px;
    opacity: 0;
    transition: opacity 500ms;
}

#points {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.point {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: solid 2px var(--primary);
    background-color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.red {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: var(--tertiary);
}

#desc {
    margin: 5em 2em;
    font-size: 18px;
}

#desc > div p:first-of-type {
    margin-top: 5px;
    font-size: 20px;
}

#desc a {
    color: var(--text-color);
    background-color: var(--tertiary);
    border: 1px solid var(--tertiary);
    padding: 0.5em;
    border-radius: 10px;
}

#desc a:hover {
    background-color: var(--primary);
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.description {
    margin: 2em 0;
    display: flex;
    flex-direction: column;
}

.langage {
    padding: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-top: 0.2em;
    border-radius: 20px;
}

.langage h4 {
    font-size: 22px;
}

.langage > div {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.langage > div p {
    margin-top: 5px;
    font-size: 20px;
}

.detail {
    padding-bottom: 1em;
}

.images-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em 0;
    background-color: var(--secondary);
    border-radius: 5px;
    box-shadow: 0px 0px 15px var(--box-shadow);
    overflow: hidden;
    transition: max-height 1s ease-out, padding 1s;
}

.images-list.active {
    transform: scaleY(0);
}

#desc svg {
    transition: all 1s;
    transform: rotate(90deg);
}

.images-list img {
    padding: 20px;
    border: solid 2px var(--secondary);
    box-shadow: 0px 0px 5px var(--box-shadow);
    max-width: 100%;
    width: 620px;
    max-height: 275px;
    height: fit-content;
    background-color: var(--quaternary);
    cursor: pointer;
    /* transition: all 500ms; */
}

.connect img {
    width: fit-content;
}

.box-car {
    width: 70vw;
    justify-self: center;
    align-self: center;
    padding-bottom: 3em;
    line-height: 30px;
}

.box-car .senary {
    text-decoration: underline;
}

#desc > div {
    flex-direction: column;
}

@media (max-width:1440px) {
    .images-list img {
        width: 410px;
        max-height: 185px;
    }
}

@media (max-width:1024px) {
    .arrow img {
        width: 2em;
    }

    .images-list img {
        width: 300px;
        max-height: 130px;
    }
}

@media (max-width: 799px) {
    .images-list img {
        width: 175px;
        max-height: 80px;
        padding: 10px;
    }
}

@media (max-width: 450px) {
    .images-list img {
        width: 110px;
        max-height: 50px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    #carousel > div {
        width: 90vw;
    }

    #carousel {
        padding: 0.5em;
    }

    .box-car {
        width: 90vw;
    }

    .langage > div {
        gap: 1em;
    }

    .slides {
        margin-bottom: 0.5em;
    }

    .arrow {
        width: 89vw;
    }

    main {
       margin-top: 10em; 
    }

    .slides > div p {
        font-size: 16px;
    }

    .point {
        width: 16px;
        height: 16px;
    }
    
    .red {
        width: 10px;
        height: 10px;
    }

    #desc {
        font-size: 16px;
    }

    #desc > div p:first-of-type {
        margin-top: 5px;
        font-size: 18px;
    }

    #desc {
        margin: 3em 0.5em;
    }
}