/*
 Theme Name:   TaibaWP
 Theme URI:    https://monsite.com
 Description:  Thème Taiba pour tous les développement de site web
 Author:       Idriss
 Author URI:   https://wpmarmite.com
 Template:     twentyseventeen
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url("css/header.css");
@import url("css/footer.css");
@import url("css/single.css");
@import url("css/download-manager.css");
@import url("css/impact-environnemental.css");
@import url("css/shared-files.css");
@import url("css/smartslider.css");
@import url("css/contact-form-7.css");

* {
    --main-color: #0972F1;
    --secondary-color: #1ABC9C;
    --third-color: #2DDAFF;
    --white: #fff;
    --black: #000;
    --font-title: Manrope;
    --font-text: Manrope;
}

html {
    margin-top: 0 !important;
} 

body {
    margin: 0;
}

main {
    margin-top: 100px;
}

/*
PARTIE 1: TITRES ET TEXTES
*/

h1 {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 800;
    margin: 50px 50px 25px 50px;
}

h2 {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 800;
    margin: 50px 50px 25px 50px;
}

h3 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
}

h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
}

p {
    font-family: var(--font-text);
    font-size: 12px;
    margin: 0 50px;
    text-align: justify;
}

a {
    text-decoration: none;
    color: var(--black);
}

@media (max-width: 890px) {
    h1 {
        font-size: 36px;
        margin: 25px 25px 10px 25px;
    }

    h2 {
        font-size: 24px;
        margin: 25px 25px 10px 25px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 14px;
    }
}

@media (max-width: 615px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        margin: 0 25px;
    }
}

/*
PARTIE 2: BOUTONS
*/

.button {
    width: fit-content;
    margin: 30px auto;
    padding: 10px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.button p {
    font-size: 16px;
    font-weight: 800;
}

.button figure {
    height: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button1 {
    background-color: var(--secondary-color);
}

.button3 {
    background-color: var(--main-color);
}

.button1 a, .button3 a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.button2 {
    background-color: var(--white);
    border : var(--black) 2px solid
}

.button2 a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
PARTIE 3: PREMIERE VUE
*/

.fv {
    width: 100%;
    height: 90vh;
    position: relative;
    flex-wrap: nowrap !important;
}

.fv h1 {
    z-index: 2;
    color: var(--secondary-color);
}

.fv img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fv_logo {
    position: absolute;
    right: 0;
    bottom: 5px;
    width: 40px;
    height: 40px;
}

.fv_logo img {
    width: 100%;
    height: 100%;
}

.fv_logo#logo1 {
    right: 10px;
}

.fv_logo#logo2 {
    right: 55px;
}

.fv_logo#logo3 {
    right: 100px;
}

/*
PARTIE 4: ELEMENTS
*/

.section1 {
    padding: 50px;
    color: var(--white);
    background-color: var(--secondary-color);
}

@media (max-width: 615px) {
    .section1 {
        padding: 25px;
    }
}

.section1 h1 {
    width: 100%;
}

.section1 .button2 {
    margin: 15px auto 30px auto !important;
}

.row {
    padding: 30px 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.row_page {
    padding: 30px 50px;
}

.row_items {
    display: flex;
    flex-direction: column;
    align-items: center ;
    margin: 10px !important;
}

.goals {
    align-items: first baseline !important;
}

.goals_item {
    width: 225px;
    text-align: center;
}

.row_text_img {
    margin: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
}

.row_text_img p {
    width: 85%;
}

@media (max-width: 890px) {
    .row {
        padding: 15px 0;
    }

    .row_page {
        padding: 15px 25px;
    }

    .row_text_img {
        margin: 0 25px;
        flex-direction: column;
    }

    .row_text_img p {
        width: 100%;
    }
}

.display-posts-listing {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1220px;
    padding: 0;
}

.display-posts-listing li {
    font-family: var(--font-title);
    font-size: 12px;
    list-style: none;
    width: 310px;
    height: 360px;
    margin: 10px;
    background-color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.display-posts-listing li .title {
    display: flex;
    width: 100%;
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
}

.title, .date, .excerpt {
    display: flex;
    width: 100%;
    padding: 0 5px;
}

.excerpt-dash, .link-more, .excerpt-more {
    display: none;
}

.image {
    width: 100%;
    height: fit-content;
}

.image img {
    width: 100%;
    height: 220px;
    object-position: center;
    object-fit: cover;
}

.project {
    width: 500px;
    height: 315px;
    padding: 32px;
    color: var(--black);
    background-color: var(--white);
    border-radius: 35px;
    border: 1px rgba(0, 0, 0, 0.05) solid ;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

@media (max-width: 400px) {
    .project {
        height: 445px;
    }
}

.goals_img {
    background-color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 60px;
    padding: 35px;
}

@media (max-width: 890px) {
    .goals_img {
        padding: 25px;
    }

    .goals_img img {
        width: 35px;
        height: 35px;
    }
}

.category {
    margin: 10px !important;
    background-color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 225px;
    height: 200px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.category figure {
    width: 80px;
    height: 80px;
}

.category figure img {
    width: 100%;
}

.category h4 {
    text-align: center;
}