/*Utilitaires*/
:root {
    --espace-inmense: 150px;
    --espace-grand: 89px;
    --espace-moyen: 67px;
    --espace-courant: 28px;
    --espace-petit: 16px;

    /*Couleurs*/
    --couleurRougeBouton: #b33634;
    --couleurRouge: #d74a49;
    --couleurVertFonce: #183e4b;
    --couleurVerte: #1b4552;
    --couleurVertePale: #8ba0a4;
    --couleurBlanc: #ffffff;
    --couleurGris: #eaeaea;
    --CoulerVertSuccessBack: #E6F4EA;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/Raleway-Regular.ttf") format("ttf");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html {
    font-family: "Raleway", sans-serif;
    line-height: 2.5ch;
}

body {
    background-color: var(--couleurGris);
    margin: 0;
    padding: 0;
}

/*Titres*/

.h2 {
    color: var(--couleurRouge);
    margin-top: 30px;
}

small {
    color: var(--couleurVertFonce);
}

/*Rythme*/

header>* {
    margin-top: var(--espace-petit);
}

body>main>section {
    margin-top: var(--espace-grand);
    margin-bottom: var(--espace-courant);
}

body>main>section>div {
    margin-bottom: var(--espace-courant);
}

.concept>div:first-of-type {
    margin-top: var(--espace-grand);
}

.concept>div:nth-last-of-type {
    margin-bottom: var(--espace-inmense);
}

.design>div:first-of-type {
    margin-top: var(--espace-grand);

    & .design>div:nth-last-of-type {
        margin-bottom: var(--espace-inmense);
    }
}

.develop>div:first-of-type {
    margin-top: var(--espace-grand);

    & .develop>div:nth-last-of-type {
        margin-bottom: var(--espace-inmense);
    }
}

.frame>div:first-of-type {
    margin-top: var(--espace-grand);

    & .frame>div:nth-last-of-type {
        margin-bottom: var(--espace-inmense);
    }
}

.lunch>div:first-of-type {
    margin-top: var(--espace-grand);

    & .lunch>div:nth-last-of-type {
        margin-bottom: var(--espace-inmense);
    }
}

/*Rythme end*/

nav {
    background-color: var(--couleurVerte);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav>ul {
    display: flex;
    gap: 30px;
    list-style-type: none;
    width: 100%;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;

}

nav li a {
    text-decoration: none;
    color: var(--couleurBlanc);
    font-weight: 400;
    transition: color 200ms ease;
}

nav li a:hover {
    font-weight: 600;
    color: var(--couleurBlanc);
}

nav :nth-last-of-type(1) {
    padding-right: 10px;
}

/*menu deroulant*/

.dropdownmenu {
    position: relative;
    padding-bottom: 5px;
    list-style: none;
    align-items: center;
}

.dropdownmenu .container {
    position: absolute;
    top: 100%;
    left: 30px;
    background-color: var(--couleurBlanc);
    list-style: none;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition:
        opacity 300ms ease,
        transform 300ms ease;
}

.dropdownmenu .container li a {
    color: var(--couleurVerte);
}


.dropdownmenu:hover .container {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.langContainer {
    display: flex;
    flex-direction: row;
}

/*Body-AreaColors*/

header {
    background-color: var(--couleurVertePale);
}

footer {
    color: var(--couleurBlanc);
    background-color: var(--couleurVertePale);
}

.rightsReserved {
    background-color: var(--couleurVertePale);
    color: var(--couleurBlanc);
}

/*Universal*/

img {
    max-width: 100%;
}

.processsvg {
    display: inline-block;
    width: 200px;
    height: auto;
}

textarea {
    font-family: inherit;
    font-size: inherit;
    background-color: var(--couleurGris);
}

input {
    font-family: inherit;
    font-size: inherit;
    background-color: var(--couleurGris);
    border-color: var(--couleurGris);
}

.flex-column {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
}

.text-align-center {
    text-align: center;
}

.logosvg {
    width: 90px;
    height: 90px;
}

.iconsvg {
    width: 45px;
    height: 45px;
}

.servicessvg {
    width: 100%;
    height: auto;
    display: block;
}

.processsvg {
    width: 200px;
    height: auto;
    aspect-ratio: 1/1;
}

.processsvg2 {
    width: 130px;
    height: auto;
    aspect-ratio: 2/1;
}

.logopng {
    width: 70px;
    height: 70px;
}

.logonav {
    width: 25px;
    height: 25px;
}

.bouton {
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
    background-color: var(--couleurRougeBouton);
    color: var(--couleurBlanc);
    text-align: center;
    border: 0;
    font-family: "Raleway", sans-serif;
    width: fit-content;
    font-size: 18px;
    text-decoration: none;
    margin-top: 10px;
}

.bouton:hover {
    background-color: var(--couleurGris);
    color: var(--couleurVertFonce);
}

.bouton-wrapper {
    display: flex;
    justify-content: center;
    padding: 15px;
}

a[href^="tel:"] {
    color: var(--couleurBlanc) !important;
    text-decoration: none;
}

a[href^="mailto:"] {
    color: var(--couleurBlanc) !important;
    text-decoration: none;
}

/*Animation Services*/

.imagewrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.imagewrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    margin-top: 100px;
    margin-left: 30px;
    margin-right: 30px;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    opacity: 0;
    z-index: 10;
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.overlay.visible {
    opacity: 1;
    transform: translateY(-10px);
}

.overlay p,
.overlay {
    transform: translateY(100px);
}

/*Form*/

form {
    background-color: var(--couleurBlanc);
    padding: 10px;
    border-radius: 15px;
    color: var(--couleurVertFonce);
    font-weight: 500;
}

.formContainer {
    border: 2px solid var(--couleurVerte);
    border-radius: 15px;
    padding: 15px;
}

.dropdownmenu {
    position: relative;
}

.dropdownmenu .container {
    position: absolute;
    top: 100%;
    background-color: var(--couleurBlanc);
    transition-property: opacity, translate;
    transition-duration: 200ms;
}

.dropdownmenu:not(:hover) .container {
    translate: 0 -10px;
    opacity: 0;
    pointer-events: none;
}

.dropdowntwo,
.dropdownone {
    font-family: inherit;
    font-size: 15px;
}

.successgreen {
    color: var(--couleurVertFonce);
    background-color: var(--CoulerVertSuccessBack);
    align-items: center;
    text-align: center;
    border-radius: 5px;
    padding: 20px;
    font-size: 18px;
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06),
        0 10px 24px rgba(0, 0, 0, 0.12);
    animation: fadeOut 7s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.error {
    color: var(--couleurRouge);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    font-weight: 500;
    text-align: center;
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.8),
        0 0 5px rgba(255, 255, 255, 0.6),
        0 0 8px rgba(255, 255, 255, 0.4);
}

.hypertextdiv {
    padding-left: 40px;
    padding-right: 40px;
}