/* Dot Separated List */
.dot-separated-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5em;
}

.dot-separated-list li {
    position: relative;
}

.dot-separated-list li p {
    display: inline;
    font-size: 48px;
    margin: 0;
}

.dot-separated-list li:not(:last-child)::after {
    content: "•";
    margin-left: 0.5em;
}

.dot-separated-list li p {
    display: inline;
    margin: 0;
}

/***/

/* Faisage */
.faisage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    text-align: center;
    color: inherit;
    transition: transform 0.3s ease;
}

.faisage:hover {
    transform: scale(1.05);
}

.faisage h1 {
    font-size: 32px;
    margin: 0;
}

.faisage img {
    max-width: 100%;
    height: auto;
    display: block;
}

/***/

/* Call to action */
.call-to-action {
    font-size: 48px;
    padding: 20px 30px;
    text-decoration: none;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.3s;
}

.call-to-action:hover {
    background-color: var(--darker-primary-color);
    transform: scale(1.05);
}

/***/

/* Elements */

main hr {
    border: none;
    border-top: 2px dotted var(--primary-color);
    margin: 20px 0;
}

main h1 {
    font-size: 48px;
}

main p {
    font-size: 24px;
}

article {
    padding: 0 32px;
}

/***/

/* Head */

#head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5rem 1rem;
    background: url(/resources/water-drop.jpg) center/cover no-repeat;

    color: white;
    text-align: center;
    height: 48vh;
}

/***/

/* Presentation */

#presentation {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2em;
    justify-content: center;

    text-align: center;
    height: 48vh;
}

#presentation img {
    max-width: 50%;
    max-height: 95%;
}

#presentation p {
    width: 60%;
}

#presemtation div {
    display: flex;
    flex-direction: column;
    gap: 1em;

}

#presentation div ul {
    font-size: 20px;
    text-align: left;
}

/***/

/* Prestations */

#prestations {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

#prestations ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

#prestations li {
    flex: 0 1 calc(33.3333% - 1em);
    box-sizing: border-box;
}

/***/

@media (max-width: 1400px) {
    .dot-separated-list {
        flex-direction: column;
    }

    .dot-separated-list li:not(:last-child)::after {
        content: "";
    }

    main h1 {
        font-size: 40px;
    }

    main p {
        font-size: 20px;
    }

    main article {
        padding: 0 8px;
    }

    #presentation {
        flex-direction: column;
        height: unset;
    }

    #presentation img {
        max-width: 90%;
        max-height: unset;
    }

    #presentation p {
        width: unset;
        margin: 0;
    }
}


@media (max-width: 800px) {
    #prestations li {
        flex: 1 1 calc(100%);
    }
}