* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    margin: 0 auto;
    scroll-behavior: smooth;
    width: 100vw;
}

body {
    position: relative;
    background: #f9f9f9;
    overflow-x: hidden;
}

.scroll-top {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border-radius: 50%;
    background: #E30613;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 100000;
}

.scroll-top-icon {
    height: 25px;
    color: #f9f9f9;
}

.blue-color {
    color: #002854;
}

.home,
.about,
.services {
    width: 80%;
    margin: 0 auto;
}


/* Cookies banner */

.cookies-banner {
    width: 100vw;
    height: auto;
    padding: 2em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(100px);
    /* background-color: #ffffff; */
    box-shadow: 5px -5px 26px -3px rgba(0, 0, 0, 0.26);
    color: #002854;
    font-weight: 500;
    text-align: center;
    position: fixed;
    /* transform: translate(-50%, -50%); */
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.fa-cookie {
    color: #825a1b;
}


/* section home */

.burger {
    display: none;
}

.responsive-nav {
    display: none;
}

.home {
    min-height: 100vh;
    position: relative;
}

#company-name {
    cursor: pointer;
}

.round-bg {
    position: absolute;
    top: -300px;
    right: -300px;
    z-index: -1;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: #002854;
}

.logo-burger img {
    width: 300px;
}

header {
    background: #f9f9f9;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    width: 100vw;
    box-shadow: 0px 4px 9px 4px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 10;
}

.actions-menu {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-list,
.nav-list-center {
    display: flex;
}

.phone-btn {
    color: #002854;
}

.nav-list-center li a {
    color: #002854;
}


/* .nav-list li a {
    color: #002854;
} */

.nav-list .fa-phone {
    margin: 0 5px 0 0;
}

li a {
    margin: 0 20px 0 0;
}

.support-btn {
    background: #E30613;
    padding: 10px 20px;
    border-radius: 20px;
    color: #f9f9f9;
}

.container {
    display: flex;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
}

.left-side,
.right-side {
    width: 50%;
}

.img-home-section {
    width: 100%;
    height: auto;
    border-radius: 0 125px 0 125px;
    box-shadow: 5px -5px 25px -7px rgba(0, 0, 0, 0.29);
}

.title-home-section {
    font-size: 3em;
}

.divider {
    width: 80%;
    height: 10px;
    background: #E30613;
}

.logo {
    width: 60%;
    display: block;
    margin: 0 auto;
    padding: 20px;
}

.cta-container {
    margin: 20px 0 0 0;
}

.cta {
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1.3em;
}

.contact-cta {
    color: #f9f9f9;
    background: #002854;
    margin: 0 20px 0 0;
}

.contact-cta a {
    color: white;
}

.support-cta {
    color: #f9f9f9;
    background: #E30613;
}

.hide {
    display: none;
}

.sended-message {
    width: 400px;
    height: 200px;
    padding: 2em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 5px -5px 26px -3px rgba(0, 0, 0, 0.26);
    color: #002854;
    font-weight: 500;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.clients {
    width: 100vw;
    height: 150px;
    background: #002854;
    position: relative;
    bottom: -150px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.clients h2 {
    color: #f9f9f9;
    font-size: 10.5em;
    position: absolute;
    opacity: .2;
}

.clients .client {
    width: auto;
    height: 80px;
    left: -1500px;
    position: relative;
}


/* section about */

.about {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 70%;
    text-align: center;
}

.bg-text-about {
    font-size: 85em;
    font-weight: bolder;
    color: #002854;
    position: absolute;
    left: 100px;
    opacity: .3;
    z-index: -1;
}

.container-about {
    margin: 100px 0 0 0;
}

.img-about {
    height: 450px;
    width: auto;
    border-radius: 90px 0 90px 0;
    margin: 20px 0 0 0;
}

.about-img {
    /* background: url('./assets/images/about.jpg'); */
    /* background: url('http://localhost:8080/assets/images/about.jpg'); */
    height: 450px;
    width: 1150px;
    border-radius: 90px 0 90px 0;
    margin: 20px 0 0 0;
    box-shadow: 5px -5px 25px -7px rgba(0, 0, 0, 0.29);
}

.about-title {
    font-size: 2em;
}

.divider-about {
    background-color: #002854;
    width: 80%;
    height: 5px;
    margin: 20px auto;
}

.cercle-bg {
    position: absolute;
    z-index: -1;
    left: -320px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    border: 10px solid #002854;
}


/* section services */

.services {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.title-services {
    font-size: 2em;
    margin: 20px 0;
}

.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px 40px;
    grid-template-areas: "infogerence protection cloud" "impression wifi developpement";
}

.card-container .card {
    width: 350px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0px;
    background: #ededed;
    box-shadow: 13px 13px 31px #b6b6b6, -13px -13px 31px #ffffff;
    transition: .5s ease-in-out;
    transform-style: preserve-3d;
}

.card figure {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.card:hover {
    transform: rotateY(180deg);
}


/* .card-hover {
    transform: rotateY(180deg);
} */

.card .front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateY(0deg)
}

.card .back {
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
}

.front,
.back {
    backface-visibility: hidden;
}

.read-more-card {
    padding: 10px 20px;
    background-color: #E30613;
    border: none;
    color: #f9f9f9;
    margin: 20px 0 0 0;
    cursor: pointer;
}

.title-card {
    text-transform: uppercase;
    text-align: center;
    color: #002854;
    margin: 20px 0;
}

.infogerence {
    grid-area: infogerence;
}

.protection {
    grid-area: protection;
}

.cloud {
    grid-area: cloud;
}

.impression {
    grid-area: impression;
}

.wifi {
    grid-area: wifi;
}

.developpement {
    grid-area: developpement;
}

.cercle-bg-red {
    position: absolute;
    z-index: -1;
    right: -100px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 10px solid #E30613;
}

.red-bg {
    color: #E30613;
}


/* section contact */

.contact {
    min-height: 100vh;
    background: #002854;
    color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.bg-text-contact {
    font-size: 23em;
    color: #f9f9f9;
    position: absolute;
    z-index: -1;
    margin: 0 auto;
    text-transform: uppercase;
    width: 100%;
    font-weight: bolder;
    opacity: .3;
    filter: blur(20px);
}

.contact-title {
    font-size: 2em;
    text-align: center;
}

.form-container {
    /* margin: 40px auto; */
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-form-message {
    display: none;
    color: #E30613;
    font-size: .8em;
}

.contact-form .input-form,
.contact-form textarea {
    padding: 10px 20px;
    margin: 20px;
    width: 300px;
    background: none;
    border: 2px solid #f9f9f9;
    background: none;
    color: #f9f9f9;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #f9f9f9;
    opacity: 1;
    /* Firefox */
}

 :-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #f9f9f9;
}

 ::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #f9f9f9;
}

.sending-form-btn {
    padding: 10px 20px;
    width: 250px;
    margin: 20px 0 0 0;
    background: #E30613;
    color: #f9f9f9;
    border: none;
}

.g-recaptcha {
    margin: 20px;
}

.activated-btn {
    background: #E30613;
    transition: 1s linear all;
}

.disabled-btn {
    background: transparent;
    border: 1px solid #E30613;
    cursor: not-allowed;
    transition: 1s linear all;
}


/* footer section */

.footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 100px;
    grid-template-areas: "adresse horaires telephone";
}


/* 
.footer-info div {
    width: 250px;
    height: 250px;
    text-align: center;
    color: #002854
} */

.adresse {
    grid-area: adresse;
}

.horaires {
    grid-area: horaires;
}

.telephone {
    grid-area: telephone;
}

.footer-card {
    width: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2em;
    border-radius: 0px;
    /* background: #ededed; */
    box-shadow: 13px 13px 31px #b6b6b6, -13px -13px 31px #ffffff;
    color: #002854;
    transition: .5s ease-in-out;
    transform-style: preserve-3d;
}

.bottom-footer {
    height: 50px;
    background: #002854;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.bottom-footer a,
.bottom-footer p {
    color: #f9f9f9;
}


/* mentions */

.mentions-container,
.politique-container,
.cookies-container {
    background: white;
    width: 70%;
    margin: 100px auto;
    padding: 2em 5em;
    line-height: 1.5;
    color: #002854;
    overflow-wrap: break-word;
}

.mentions-card,
.politique-card,
.cookies-card {
    margin: 20px 0 0 0;
    line-height: 1.5em;
    color: #002854;
}

.mentions-card p,
.politique-container p,
.cookies-container p {
    margin: 10px 0 0 0;
}

.politique-container li,
.cookies-container li {
    list-style-type: disc;
}

.politique-container ol,
.cookies-container ol {
    padding: 2em 3em;
}

.circle-li {
    list-style-type: circle;
}

.img-cookies {
    width: 80%;
}


/* JS classes */

.responsive-nav {
    display: none;
}

.responsive-menu {
    display: none;
}

.hide {
    display: none !important;
}


/* MEDIA QUERIES */

@media screen and (max-width: 576px) {}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    .img-home-section {
        display: none;
    }
    .home .container {
        flex-direction: column;
    }
}

@media screen and (min-width: 992) {}

@media screen and (max-width: 1200px) {
    .img-home-section,
    .right-side {
        display: none;
    }
    .responsive-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 50vh;
        text-align: center;
        transition: height 2s ease-in;
    }
    .home .container {
        justify-content: center;
    }
    .logo-burger {
        display: none;
    }
    .left-side {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .clients h2 {
        font-size: 10em;
    }
    .bg-text-contact {
        font-size: 15em;
    }
}

@media screen and (max-width: 1650px) {
    .cercle-bg {
        left: -200px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        border: 10px solid #002854;
    }
}

@media screen and (max-width: 1200px) {
    header {
        flex-direction: column;
        position: absolute;
        top: 0;
        z-index: 10;
    }
    .responsive-nav .logo-burger {
        display: block;
    }
    .responsive-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .burger {
        display: block;
    }
    header nav {
        display: none;
    }
    .nav-list-center {
        flex-direction: column;
        font-size: 3rem;
        font-weight: 800;
    }
    .nav-link:active {
        -webkit-text-stroke: 2px #E30613;
        color: transparent;
    }
    .actions-menu {
        display: block;
    }
    .clients h2 {
        font-size: 7em;
    }
    .about {
        margin-top: 50px;
    }
    .card-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "infogerence protection" "cloud impression" "wifi developpement";
        padding: 20px;
    }
}

@media screen and (max-width: 1000px) {
    .footer-info {
        gap: 25px;
    }
    .bottom-footer a,
    .bottom-footer p {
        font-size: .8em;
    }
}

@media screen and (max-width: 780px) {
    .round-bg {
        width: 400px;
        height: 400px;
        top: -100px;
        right: -180px;
    }
    .clients h2 {
        font-size: 6.5em;
    }
    .card-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-areas: "infogerence" "protection" "cloud" "impression" "wifi" "developpement";
    }
    .footer-info {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-areas: "adresse" "horaires" "telephone";
        padding: 20px;
    }
    .bottom-footer a,
    .bottom-footer p {
        font-size: .5em;
    }
    .cookies-container,
    .politique-container,
    .mentions-container {
        width: 100%;
    }
}

@media screen and (max-width: 725px) {
    .clients h2 {
        font-size: 4.5em;
    }
    .cercle-bg {
        display: none;
    }
    .contact {
        padding: 2em;
    }
    .politique-container,
    .mentions-container,
    .cookies-container {
        padding: 1em;
    }
}

@media screen and (max-width: 500px) {
    .clients h2 {
        font-size: 3em;
    }
}

@media screen and (max-width: 320px) {
    .title-home-section {
        font-size: 1.2rem;
        margin-top: 20px;
    }
    .logo {
        width: 100%;
    }
    .clients h2 {
        font-size: 2.5rem;
    }
}
.home-service {
    background: #f9f9f9;
}

.service-container {
    margin: 20px 0;
    color: #002854;
}

.service-container h1 {
    margin: 100px 0 0 0;
}

.info-container {
    width: 100%;
    margin-top: 50px;
    display: flex;
}

.info-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9em 5em;
}

.info-text p {
    line-height: 1.5em;
}

.info-text h2 {
    margin: 20px 0;
}

.info-text ol li {
    list-style-type: disc;
}

.info-pic {
    width: 50%;
    position: relative;
}

.info-pic img {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}

.img-cover {
    object-fit: cover;
}

.img-contain {
    object-fit: contain;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 20px 20px;
    grid-template-areas: "site content responsive ." "stat security referencement ." "ergonomie moteur architecture ." "garantie maintenance demarche .";
}

.site {
    grid-area: site;
}

.content {
    grid-area: content;
}

.responsive {
    grid-area: responsive;
}

.stat {
    grid-area: stat;
}

.security {
    grid-area: security;
}

.referencement {
    grid-area: referencement;
}

.ergonomie {
    grid-area: ergonomie;
}

.moteur {
    grid-area: moteur;
}

.architecture {
    grid-area: architecture;
}

.garantie {
    grid-area: garantie;
}

.maintenance {
    grid-area: maintenance;
}

.demarche {
    grid-area: demarche;
}

.description-card {
    line-height: 1.5em;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

@media screen and (max-width: 1200px) {
    .info-container {
        flex-direction: column;
        height: auto;
    }
    .title-services {
        background: #f9f9f9;
    }
    .info-pic {
        position: initial;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .info-pic img {
        position: initial;
        width: 40%;
    }
    .info-text {
        padding: 1em;
        width: 100%;
        text-align: center;
        background: white;
    }
    .grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 20px 20px;
        grid-template-areas: "site content" "responsive stat" "security referencement" "ergonomie moteur" "architecture garantie" "maintenance demarche";
    }
}

@media screen and (max-width: 700px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 20px 20px;
        grid-template-areas: "site" "content" "responsive" "stat" "security" "referencement" "ergonomie" "moteur" "architecture" "garantie" "maintenance" "demarche";
    }
}
