/*
 Theme Name:   maem
 Theme URI:    https://monsite.com
 Description:  Description de mon thème enfant
 Author:       Idriss
 Author URI:   https://wpmarmite.com
 Template:     twentyseventeen
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Inter:wght@200;300;400;500;600;700;800;900&display=swap');


* {
    margin: 0;
}

main {
    background-color: #FFFCF6;
    position: relative;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}  

/*
HEADER
*/

header {
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    padding: 31px 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-family: DM Sans;
    font-size: 16px;
    transition: 0.2s;
}

.header_contain {
    position: absolute;
    right: 5%;
    width: 643px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_2 {
    justify-content: right;
}

header a {
    text-decoration: none;
    color: black;
}

.header_2 a {
    text-decoration: underline;
}

.active {
    background-color: #FFFCF6;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.burger_menu {
    display: flex;
    position: fixed;
    top: 25px;
    left: 15px;
    cursor: pointer;
    width: 29px;
    height: 24px;
    z-index: 2;
}

.bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 29px;
    height: 4px;
    background-color: black;
    transition: 0;       
    z-index: 8;
}

.bar::after, .bar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: black;
    transition: 0.5s;
}

.bar::after {
    top: 9px;
}

.bar::before {
    top: -9px;
}

.open {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    padding: 0;
    background-color: #FFFCF6;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0;
}

.open .header_contain {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.burger_menu.close .bar{
    background: transparent;
}

.burger_menu.close .bar::before{
    top: 0;
    transform: rotate(45deg);
}

.burger_menu.close .bar::after{
    top: 0;
    transform: rotate(135deg);
}

@media (min-width: 912px) {
    .burger_menu {
        display: none;
    }
}

@media (max-width: 912px) {
    .header_contain {
        display: none;
    }

    header {
        position: fixed;
        top: 5px;
        left: 0;
        padding: 0;
        background-color: #FFFCF6;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
        width: 65px;
        height: 66px;
        border-radius: 0 50px 50px 0;
    }
}

/*
FOOTER
*/

footer {
    padding: 20px 0 0 0;
    position: relative;
    background-color: #1C1C1C;
    height: 610px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

footer .footer_img {
    position: absolute;
    left: 10%;
}

footer .wpcf7 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    margin: 0 50px 0 0;
    border-radius: 6px;
    width: fit-content;
    width: 376px;
    height: 490px;
}

footer form {
    height: 300px;
    width: 286px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    font-family: DM Sans;
}

footer form h4 {
    text-transform: uppercase;
    font-size: 14px;
}

form p {
    width: 100%;
}

.wpcf7-text {
    font-family: DM Sans;
    font-size: 11px;
    width: 100%;
    padding: 5px 0;
}

.wpcf7-text, textarea {
    border-width: 0px;
    border-bottom: black 2px solid;
    height: auto;
}

textarea {
    height: 90px;
    width: 100%;
}

.wpcf7-text::placeholder, textarea::placeholder {
    font-family: DM Sans;
    font-size: 11px;
    font-weight: 900;
    color: black;
}

footer form .wpcf7-submit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border-radius: 9px;
    font-family: DM Sans;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    background-color: black;
    color: white;
    padding: 14px 39px;
    transition: 0.2s;
}

footer form .wpcf7-submit:hover {
    cursor: pointer;
    color: black;
    background-color: white;
    border: black 2px solid;
}

.footer_menu {
    position: absolute;
    left: 6%;
    bottom: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 600px;
}

.footer_menu a {
    font-family: DM Sans;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.footer_social {
    position: absolute;
    right: 8%;
    bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 265px;
}

@media (max-width: 1050px) {
    footer {
        height: 720px;
    }

    .footer_social {
        bottom: 145px;
    }

    .footer_menu {
        bottom: 61px;
    }
}

@media (max-width: 750px) {
    footer {
        justify-content: center;
    }

    footer .wpcf7 {
        margin: 0 0 0 0;
    }

    .footer_social {
        right: 50%;
        transform: translateX(50%);
    }

    .footer_menu {
        width: 100%;
        justify-content: space-evenly;
        flex-wrap: wrap;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer_menu a {
        margin: 0 5px;
        line-height: 26px;
    }
}

@media (max-width: 420px) {
    footer .wpcf7 {
        width: 285px;
    }

    footer form {
        width: 233px;
    }
}

/*
ACCUEIL
*/

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home h1 {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    width: 800px;
    font-family: Inter;
    font-size: 32px;
    line-height: 39px;
    font-weight: 900;
    text-transform: uppercase;
    color: black;
}

@media (max-width: 850px) {
    .home h1 {
        left: 50%;
        width: 720px;
        transform: translateY(-50%) translateX(-50%);
    }
}

@media (max-width: 780px) {
    .home h1 {
        width: 509px;
        font-size: 24px;
        line-height: 30px;
    }
}

@media (max-width: 550px) {
    .home h1 {
        width: 90%;
        font-size: 20px;
        line-height: 22px;
    }
}

.home img {
    position: absolute;
    z-index: 0;
    top: 48%;
    transform: translateY(-50%);
}

.border {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: black 1px;   
}

.blue {
    font-style: normal;
    color: #073A5D;
    -webkit-text-stroke: transparent 0px;
}

.yellow {
    font-style: normal;
    color: #FFC749;
    -webkit-text-stroke: transparent 0px;
}

/*
PRESENTATION
*/

.presentation {
    z-index: 4;
}

.presentation_container {
    padding: 60px 0 36px 5%;
    font-family: DM Sans; 
    font-weight: 300;
    color: white;
    background-color: #073A5D;
}

.presentation_container p {
    width: 1030px;
    margin: 5px 0;
    font-size: 12px;
}

.presentation_container li {
    font-size: 12px;
}

.presentation_container h4 {
    font-size: 16px;
    text-decoration: underline;
    font-weight: 600;
    text-transform: capitalize;
}

.presentation_ul {
    width: 95%;
    margin: 34px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.pres_experience {
    background-color: #00233C;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.pres_experience h2 {
    position: relative;
    width: 278px;
    margin: 36px 0;
    font-family: Inter;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: white;
}

.pres_experience h2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 51px;
    height: 1px;
    background-color: white;
    color: white;
}

.pres_experience div {
    width: 1px;
    height: 61px;
    background-color: white;
}

@media (max-width: 1060px) {
    .presentation_container {
        padding: 60px 2% 36px 2%;
    }

    .presentation_container p {
        width: 100%;
        text-align: justify;
    }

    .presentation_container li {
        text-align: justify;
    }

    .presentation_ul li {
        text-align: left;
    }
}

@media (max-width: 750px) {
    .presentation_container h1 {
        font-size: 28px;
    }
}

@media (max-width: 680px) {
    .pres_experience {
        flex-direction: column;
    }

    .pres_experience div {
        width: 61px;
        height: 1px;
    }
}

@media (max-width: 500px) {
    .presentation_container {
        padding: 60px 5% 36px 5%;
    }

    .presentation_container ul {
        padding: 0 0 0 20px;
    }
}

/*
SERVICES
*/

.services {
    background-color: #1C1C1C;
    padding: 68px 0 200px 0;
}

.services h1 {
    font-family: Inter;
    text-transform: uppercase;
    text-align: center;
    font-size: 32px;
    line-height: 39px;
    color: white;
}

.services_contain {
    width: 730px;
    margin: 70px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.services_item {
    position: relative;
    width: 250px;
    height: 179px;
    margin: 40px 10px;
    background-color: #FFFCF6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services_item img {
    width: auto;
    height: 95px;
}

.services_item h4 {
    width: 100%;
    position: absolute;
    top: 185px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    text-align: center;
    color: white;
    font-family: DM Sans;
}

@media (max-width: 1000px) {
    .services_contain {
        width: 100%;
        justify-content: space-evenly;
    }
}

/*
DOCUMENTATION
*/

.documentation {
    background-color: white;
    padding: 100px 0;
}

.documentation h1 {
    font-family: DM Sans;
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    text-transform: uppercase;
    text-align: center;
}

.documentation_contain {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin: 60px 0 0 0;
}

.documentation_link {
    padding: 15px 20px;
    border: 2px solid black;
    text-decoration: none;
    font-family: DM Sans;
    color: black;
    transition: 0.3s;
}

.documentation_link:hover {
    border-radius: 10px;
}

.w3eden {
    position: relative;
    margin: 10px;
    width: 249px;
    height: 309px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.card {
    height: 100%;
}

.w3eden .media {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.w3eden .img-48 img {
    height: 148px;
    width: 145px;
    max-width: none;
}

.w3eden .wpdm_icon {
    max-width: none;
}

.w3eden .media-body {
    flex: 0;
}

.w3eden .card h3 {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.w3eden a {
    color: #1C1C1C;
    width: fit-content;
}

.package-title a {
    pointer-events: none;
}

.w3eden .text-muted {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.w3eden .ml-3 {
    margin-left: 0 !important;
}

.w3eden .btn-primary {
    color: #1C1C1C;
    background-color: transparent;
    border-color: transparent;
}

.w3eden a.btn {
    text-decoration: underline !important;
    font-family: DM Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
}

.w3eden .ml-3 a:hover {
    background-color: transparent;
    border-color: transparent;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    color: #1C1C1C;
}

/*
EXPERIENCE
*/

.experience h1 {
    margin-top: 60px;
    font-family: DM Sans;
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    text-transform: uppercase;
    text-align: center;
}

.experience_contain {
    width: 90%;
    margin: 80px auto 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.experience_item {  
    width: 650px;
    margin: 0 0 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experience_item p {
    font-family: DM Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #D6CFC3;
}

.experience_item div {
    width: 521px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.experience_item div h3 {
    font-family: DM Sans;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #073A5D;
}

.experience_item div p {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: justify;
    color: #1C1C1C;
}

@media (max-width: 860px) {
    .experience_item {
        width: 88%;
    }
}

@media (max-width: 810px) {
    .experience_item div {
        width: 384px;
    }
}

@media (max-width: 680px) {
    .experience_item {
        width: 95%;
        align-items: center;
        flex-direction: column;
    }

    .experience_item img {
        margin: 10px 0;
    }
}

@media (max-width: 460px) {
    .experience_item div {
        width: 100%;
    }
}