@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");

@font-face {
    font-family: "Mona-Sans";
    src: url("../font/Mona-Sans.woff2") format("woff2");
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    color: #fff;
}

body {
    font-size: 1rem;
    line-height: 150%;
    font-family: "Mona-Sans", "Inter", sans-serif;
    background-color: #003070;
    background-image: url("../img/lueur.svg"),
        radial-gradient(
            circle at left,
            rgba(29, 36, 47, 0.65),
            rgba(29, 36, 47, 0)
        );
    background-repeat: no-repeat;
    background-size: 250%;
    background-position: top 6% center;
}

.wrapper {
    width: 95%;
    margin: 0 auto;
}

/* style header */

.header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: 0.3s;
}

/* style menu */

.header_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_menu {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 32px;
    position: fixed;
    top: 0;
    right: -300px;
    background-color: #0950cd;
    width: 300px;
    height: 100vh;
    padding: 120px 45px;
    z-index: 2;
    transition: 0.5s;
}

.nav_menu li {
    width: 100%;
}

.nav_menu li a {
    transition: 0.3s;
}

.nav_menu li a:hover,
.nav_menu li a.active {
    color: #3cd2f9;
}

.logo {
    position: relative;
    width: 150px;
}

.btn_menu {
    display: none;
}

/* style boutton menu hamburger */

.hamburger,
.toggle-menu {
    display: block;
}

.btn_blue {
    position: relative;
    width: 47px;
    height: 43px;
    background-color: #3cd2f9;
    border-radius: 7px;
    z-index: 3;
}

.hamburger {
    position: relative;
    left: calc(22px / 2);
    top: 45%;
    width: 25px;
    height: 4px;
    background-color: #fff;
    border-radius: 10px;
    cursor: pointer;
    z-index: 3;
    transition: 0.3s;
}

.hamburger:before,
.hamburger:after {
    content: "";
    height: 4px;
    position: absolute;
    left: 0;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

.hamburger:before {
    top: -10px;
    width: 25px;
}

.hamburger:after {
    top: 10px;
    width: 15px;
}

.toggle-menu {
    position: absolute;
    width: 25px;
    height: 100%;
    z-index: 4;
    cursor: pointer;
    opacity: 0;
}

.header_nav input:checked ~ div > .hamburger {
    background-color: transparent;
}

.header_nav input:checked ~ div > .hamburger:before {
    top: 0;
    transform: rotate(-45deg);
    width: 25px;
}

.header_nav input:checked ~ div > .hamburger:after {
    top: 0;
    transform: rotate(45deg);
    width: 25px;
}

.header_nav input:checked ~ .nav_menu {
    right: 0;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
}

/* style footer */

.footer {
    margin-top: 1rem;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    background: url("../img/motif_footer.svg"),
        linear-gradient(rgba(60, 210, 249, 0.5), rgba(60, 210, 249, 0.1));
    background-repeat: no-repeat;
    background-size: cover;
}

.footer > div .logo {
    margin-bottom: 16px;
}

.footer > div p {
    width: 80%;
}

.footer h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.copyright {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-weight: 100;
}

.footer_contact > li i {
    color: #3cd2f9;
    margin-right: 1rem;
}

/***** Page Acceuil *****/
/* style section introduction page acceuil */

.box-introduction {
    display: flex;
    flex-direction: column;
    gap: 43px;
    margin-top: 63px;
    text-align: center;
}

.title,
.title_process,
.subtitle_expertise {
    font-size: 2rem;
    line-height: 114%;
    margin: 30px 0;
    font-weight: bold;
}

.title > em {
    font-style: normal;
}

.btn-contact > a {
    display: inline-block;
    text-decoration: none;
    padding: 20px 32px;
    color: #000;
    background-color: #3cd2f9;
    border-radius: 16px;
    margin-top: 30px;
    transition: opacity 2s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition-duration: 0.3s;
    -webkit-transition-property: box shadow, transform;
    transition-property: box shadow, transform;
    cursor: pointer;
}

.btn-contact > a:hover,
.btn_submit:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.animation_introduction {
    position: relative;
    flex-basis: 40%;
    align-self: center;
}
.animation_introduction > img {
    width: 100%;
}

.animation_introduction > img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
}

/* style section process page acceuil */

.title_process {
    margin-top: 50px;
    text-align: center;
}

.box_process {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.box_process > div {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 100%;
    height: 374px;
    padding: 0 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #10538e;
    background-image: radial-gradient(
            circle at top right,
            rgba(57, 82, 116, 0),
            rgba(22, 51, 91, 1)
        ),
        radial-gradient(farthest-side at 50% 50%, #017dc7, #012e6e 124%);
}

.number {
    position: absolute;
    top: 28px;
    right: 20px;
    font-size: 3.375rem;
    font-weight: bold;
    color: #1d529c;
}

.subtitle_process {
    margin: 25px 0;
}

/* style section expertise page acceuil*/

.background {
    position: relative;
    width: 100%;
    margin: 60px 0;
    background-color: #3cd2f9;
    height: auto;
    padding: 30px 0;
    border-radius: 16px;
    background-image: url("../img/motif_arriere_plan.png"),
        radial-gradient(
            circle at top left,
            rgba(9, 80, 205, 1),
            rgba(9, 80, 205, 0)
        );
    background-repeat: no-repeat;
}

.background:before {
    content: "";
    position: absolute;
    top: 15%;
    left: 10%;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background-color: #0950cd;
    filter: blur(2.5rem);
}

.background:after {
    content: "";
    position: absolute;
    right: -2%;
    bottom: 10%;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background-color: #0950cd;
    filter: blur(2.5rem);
    z-index: -1;
}

.box_expertise {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.subtitle_expertise {
    position: relative;
    padding: 0 15px;
    z-index: 1;
}

.box_expertise > article {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: auto;
    padding: 60px 15px;
    border-radius: 16px;
    background-image: radial-gradient(
            circle farthest-side at -45%,
            #4fcbff 8%,
            transparent 100%,
            #0000
        ),
        radial-gradient(farthest-side at 50% 50%, #017dc7, #012e6e 164%);
}

.animation_programmation {
    width: 100%;
    margin: 0 25px 30px 0;
}

.animation_motion_design {
    width: 100%;
    margin-bottom: 30px;
}

.lueur {
    display: none;
}

/***** Page Contactez-nous *****/
/* style coordonnee perkupsoft page contact */

.box_contact_details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 80px 0 -80px 0;
    z-index: 2;
}

.contact_details {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 314px;
    height: 162px;
    border: 1px solid #10538e;
    border-radius: 16px;
    background-image: radial-gradient(
            circle at top right,
            rgba(57, 82, 116, 0),
            rgba(22, 51, 91, 1)
        ),
        radial-gradient(farthest-side at 50% 50%, #017dc7, #012e6e 124%);
}

.box_icon {
    position: absolute;
    z-index: -1;
    top: -25%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #02021e;
    border: 10px solid #072e64;
}

.box_icon:after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #3cd2f9;
}

.box_icon > i {
    position: absolute;
    color: #02021e;
    font-size: 32px;
}

.contact_details > h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2.5rem;
}

.contact_details > span {
    font-size: 1.125rem;
    margin-top: 8px;
}

/* style formulaire */

.box_form {
    /* background-image: url("../img/img_contact_mobile.svg");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover; */
    padding-top: 111px;
}

.form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
}

.form > * {
    flex: 0 90%;
}

.input_box > label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
}

.input_box > input,
.input_box > textarea {
    width: 100%;
    height: 46px;
    border-radius: 6px;
    border: 1px solid #10538e;
    padding-left: 15px;
    background: rgba(38, 66, 100, 0.4);
    transition: all 0.2s;
}

input::placeholder,
textarea::placeholder {
    color: #fff;
}

.input_box textarea {
    height: 90px;
    padding: 15px;
}

.input_box > input:focus,
.input_box > input:valid,
.input_box > textarea:focus,
.input_box > textarea:valid {
    outline: 2px solid #3cd2f9;
}

.btn_submit {
    margin: 35px auto;
    display: block;
    width: 156px;
    height: 52px;
    background-color: #3cd2f9;
    padding: 16px 24px;
    color: #fff;
    font-weight: 500;
    border-radius: 45px;
    margin-top: 30px;
    cursor: pointer;
    border: none;
    transition: opacity 2s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition-duration: 0.3s;
    -webkit-transition-property: box shadow, transform;
    transition-property: box shadow, transform;
}

/***** Page Blog *****/

.body {
    background-image: url(""),
        radial-gradient(
            circle at left,
            rgba(29, 36, 47, 0.65),
            rgba(29, 36, 47, 0)
        );
}

.title_blog {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 187px;
    border: 1px solid #10538e;
    background-image: url("../img/motif_footer.svg"),
        radial-gradient(
            circle at top right,
            rgba(57, 82, 116, 0),
            rgba(22, 51, 91, 1)
        ),
        radial-gradient(farthest-side at 50% 50%, #017dc7, #012e6e 124%);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 16px;
    margin-top: 63px;
}

.search {
    position: relative;
    bottom: 28px;
    width: 80%;
    margin: 0 auto;
}

.input > input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(79, 203, 255, 0.3);
    border-radius: 16px;
    background-color: rgba(9, 55, 118, 0.8);
    padding: 28px 45px;
}

.input > input::placeholder {
    color: white !important;
}

.input > input:focus {
    outline: 2px solid #3cd2f9;
}

::placeholder {
    color: white !important;
}

.icon_search {
    width: 20px;
    height: 20px;
}
.icon_search {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #8baabb;
}

.icon_search:after {
    content: " ";
    position: absolute;
    width: 3px;
    height: 10px;
    border-radius: 2px;
    background: #8baabb;
    transform: translate(11px, 9px) rotate(315deg);
}

.menu_search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 10px;
    margin-top: 35px;
}

.menu_search > button {
    color: #3cd2f9;
    border: 1px solid rgba(79, 203, 255, 0.3);
    border-radius: 16px;
    background: rgba(29, 36, 47, 0.1);
    padding: 20px 32px;
}

/* style contenu principale page blog*/

.blog_container {
    display: grid;
    grid-auto-rows: auto;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 55px auto;
}

.blog_box {
    display: block;
    width: 305px;
}

.blog_img {
    width: 100%;
    height: 180px;
    margin-bottom: 16px;
}

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

.blog_box > span,
.data_article > span,
.box_content > span {
    color: #3cd2f9;
}

.box_content > span {
    display: block;
    margin-bottom: 16px;
}

.blog_title {
    font-size: 1.125rem;
    font-weight: 900;
    margin: 6px 0;
}

.blog_title > a:hover {
    color: #7b83c3;
}

.box_content > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #8baabb;
    margin: 6px 0;
}

.data_article > time {
    display: block;
    color: #8baabb;
}

/***** Page Blog Détails *****/

.title_blog_details {
    font-size: 2rem;
    line-height: 114%;
    font-weight: bold;
    padding: 30px 0;
    border-bottom: 1px solid #8baabb;
}

.img_principal_blogDetails {
    width: 100%;
    margin-bottom: 16px;
}

.img_principal_blogDetails > img {
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.box_information_writing {
    margin: 30px 0;
}

.item_editor > span {
    color: #3cd2f9;
}

.item_section {
    margin: 16px 0;
}

.item_date > img,
.item_section > img {
    margin-right: 8px;
    vertical-align: middle;
}

.item_date > div img {
    padding-top: 5px;
}

.box_blog_details > p {
    font-weight: 200;
    margin: 16px 0;
}

.subtitle_blog_details {
    line-height: 114%;
    margin: 46px 0 24px 0;
}

.img_blog_details > img {
    width: 100%;
}

.list {
    margin-left: 25px;
}

.list > li {
    font-weight: 200;

    list-style-type: disc;
    margin-bottom: 8px;
}

/* responsive page blog */
@media screen and (min-width: 700px) {
    .blog_container {
        width: 92%;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .blog_box {
        width: 100%;
    }

    .blog_box:first-child {
        width: 100%;
        gap: 60px;
        grid-column: 1/-1;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 46px;
    }

    .blog_box:first-child > * {
        flex: 0 50%;
    }

    .blog_box:first-child > .blog_img {
        flex-basis: 40%;
        height: 100%;
    }

    /****** Page Blog Détails *****/
    .box_blog_details {
        margin: 0 auto;
        width: 80%;
    }
}

/* Medium Tablette */
@media screen and (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }
    /****** Page Contactez-nous *****/
    /* style contenu principale */

    .container_contact > div h1,
    .container_contact > div p {
        text-align: center;
    }

    .box_contact_details {
        flex-direction: row;
    }

    /****** Page Blog *****/

    .search {
        width: 50%;
    }
}

/*Tablette mode paysage*/
@media screen and (min-width: 800px) {
    body {
        font-size: 1.125rem;
    }

    /* style header */
    .header {
        height: 100px;
    }

    /* style menu */

    .nav_menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 32px;
        position: initial;
        background-color: initial;
        transition: none;
    }

    .header_nav input:checked ~ .nav_menu {
        box-shadow: none;
    }

    .hamburger,
    .toggle-menu,
    .btn_blue,
    .nav_menu li:nth-last-child(-n + 1) a {
        display: none;
    }

    .btn_menu {
        display: inline-block;
    }

    .btn_menu > a {
        padding: 20px 32px;
        color: #3cd2f9;
        border: 1px solid #3cd2f9;
        border-radius: 16px;
        margin-top: 24px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: opacity 2s;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition-duration: 0.3s;
        -webkit-transition-property: box shadow, transform;
        transition-property: box shadow, transform;
        cursor: pointer;
    }

    .btn_menu > a:hover,
    .btn_menu > a.active {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        background-color: #0950cd;
        color: #fff;
        border: none;
    }

    /***** Page Acceuil *****/
    /* style introduction */
    .title {
        font-size: 3.375rem;
        line-height: 114%;
    }

    .title > em {
        color: #3cd2f9;
    }

    /* style section process */
    .box_process {
        gap: 30px;
    }

    .box_process > div {
        flex-basis: calc(50% - 15px);
    }

    .animation_motion_design {
        position: relative;
    }

    .animation_3 {
        position: relative;
        width: 100%;
        display: block;
        z-index: 2;
        filter: blur(0.4px);
    }

    .lueur {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }
}

/* Large ecran bureau */
@media screen and (min-width: 1024px) {
    /***** Page Contactez-nous *****/
    .box_form {
        /* background-image: url("../img/img_contact_bureau.svg");
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover; */
    }

    .form {
        width: 894px;
        height: 100%;
        gap: 15px;
        margin: 0 auto;
    }

    .form > * {
        flex: 0 calc(33.3% - 30px);
    }

    .input_box:nth-child(4) {
        flex-basis: calc(100% - 60px);
    }

    /***** Page Blog *****/
    .blog_container {
        width: 993px;
        gap: 30px;
        grid-template-columns: repeat(3, 1fr);
    }

    .blog_box {
        width: 305px;
    }
}

/* X-Large grand ecran bureau */
@media screen and (min-width: 1200px) {
    body {
        background-size: 100%;
        background-position: top center;
    }

    /* style footer */

    .footer {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .footer > div:nth-child(1) {
        flex-basis: 38%;
    }

    /***** Page Acceuil *****/
    /* style section introduction */

    .box-introduction {
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
    }

    .box-introduction > * {
        flex: 0 50%;
    }

    .animation_introduction {
        flex-basis: 35%;
        align-self: flex-start;
    }

    /* style section process */
    .box_process {
        justify-content: space-between;
        gap: 8px;
    }

    .box_process > div {
        flex-basis: calc(33.3% - 16px);
        margin-bottom: 16px;
    }

    /* style section expertise */
    .background {
        padding: 60px 0;
    }

    .box_expertise {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2em;
    }

    .box_expertise > * {
        flex: 0 calc(50% - 4em);
    }

    .subtitle_expertise {
        flex-basis: 100%;
    }

    .box_expertise > article {
        height: 750px;
    }

    .animation_programmation > img {
        height: 310px;
    }

    .animation_motion_design > img {
        height: 310px;
        object-fit: contain;
    }

    /***** Page Blog *****/

    .blog_container {
        width: 80%;
        gap: 55px;
        grid-template-columns: repeat(3, 1fr);
    }

    .blog_box > * {
        flex: 0 33.3%;
    }
}

/* validation */
.alert {
    padding-left: auto;
    padding-right: auto;
    margin-bottom: 1rem;
    border: 1px solid white;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: white;
    text-align: center;
    width: 50vw;
}

.alert-success,
.alert-success strong {
    color: rgb(20, 3, 96) !important;
}

.alert-danger,
.alert-danger li {
    color: rgb(221, 54, 54);
}

.message {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.maintenance {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50vh;
    text-align: center;
    font-size: 1.5em !important;
}
