/* ======== ARTICLE (components/article.php) ======== */

.article h3 {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.article .flex {
    width: 100%;
    display: block;
    flex-wrap: wrap;
    align-items: flex-start;
}

.article .line {
    display: block;
    width: 20%;
    height: 13px;
    background-color: #757B8F;
    margin: 1rem auto;
}

.article #head {
    text-align: center;
}

.article-img {
    width: 100%;
}

.article-img img {
    display: block;
    width: 100%;
    margin: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.article #head h2 {
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

.article #head .time {
    font-family: "Poppins";
    font-weight: bold;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.article .flex-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex: 1;
}

.article .explication-p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.article .fonctionnalites {
    flex: 1;
}

.article .synthese {
    width: 100%;
    margin: 1.8rem auto;
    text-align: center;
}

.article .synthese p {
    line-height: 1.4rem;
}

.article .block {
    background: radial-gradient(circle at center, #bec8f862, #ffffff77);
    border: 1px solid white;
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.4rem;
    box-shadow: 0px 0px 15px rgba(105, 114, 162, 0.213);
}

.article .fonctionnalites li {
    font-size: 1rem;
    line-height: 1.4rem;
    margin: 1rem 0;
}

.article .prototype img {
    display: block;
    height: 400px;
    margin-top: 1rem;
}

#reflexion h4 {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 2rem;
    padding-bottom: 0;
}

#reflexion .software-img {
    text-align: center;
}

#reflexion .software-img img {
    width: 100%;
    margin: 1rem auto;
}

#reflexion .line {
    width: 10%;
    height: 3px;
    margin: 1rem auto;
}

#action .action-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

#action .block h4 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

#action .block {
    position: relative;
}

#action img {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(30%, -30%);
}

#cta .budget {
    display: block;
    text-align: center;
}

#cta .budget-info img {
    display: block;
    width: 80px;
    margin: auto;
}

#cta .link-button {
    margin: auto;
}

#cta .link-button a {
    margin-bottom: 1rem;
}

#competences h3 {
    text-decoration: underline;
    font-size: 1.1rem;
}

#competences .listCompetences {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}

#competences .listCompetences>* {
    text-align: center;
    width: 100%;
}

#competences h4,
#competences li {
    color: var(--purple-primary);
    padding: 1.2rem 1rem;
    border: 1px solid white;
    border-radius: 1rem;
    background: radial-gradient(circle at center, #bec8f862, #ffffff77);
    box-shadow: 0px 0px 15px rgba(105, 114, 162, 0.213);
    margin: 0.5rem;
}

#competences h4 {
    font-weight: bold;
    padding: 1.7rem 1ch;
    font-size: 1.3rem;
}

/* ======== MEDIA QUERIES ======== */

/* Grande tablette */

@media (min-width: 1025px) {
    .article .flex {
        display: flex;
        align-items: start;
        flex-wrap: nowrap;
        gap: 3.5rem;
    }

    .article .synthese {
        width: 50%;
    }

    .article .prototype img {
        margin-top: 0;
    }

    .article h3 {
        padding: 2.5rem 0;
    }

    .article-img img {
        margin-bottom: 0;
    }

    #cta .budget {
        width: 50%;
        margin: auto;
    }

    .fonctionnalites {
        align-self: stretch;
    }

    .article .flex>*,
    #competences .listCompetences>* {
        flex: 1;
    }

    .article .block {
        margin: 0;
    }

    #reflexion .software-img img {
        width: 30%;
    }

    #action .block {
        width: 40%;
    }
}

/* Petit écran */

@media (min-width: 1280px) {
    #cta .link-button {
        width: 30%;
    }
}
