@import url('https://fonts.cdnfonts.com/css/dm-sans');
@import url('https://fonts.cdnfonts.com/css/fascinate-inline');

:root {
    --color-orange: #FFA500;
    --color-purple: #8C52FF;
    --color-black: #010101;
    --color-white: #FFFFFF;
    --bg-default: #F1F1F1;
    --bg-cookie: #D9D9D9;
    --bg-bullets: #DEE0E0;
    --font-dm-sans: 'DM Sans', sans-serif;
    --font-fascinate-inline: 'Fascinate Inline', sans-serif;
    --vertical-line-width: 10px;
    --text-shadow: 1px 1px 2px #010101;
    --text-weight: 700;
    --text-spacing: 0.05rem;
    --text-size14: 14px;
    --text-size16: 16px;
    --text-size22: 22px;
    --text-size24: 24px;
    --text-size30: 30px;
    --text-size36: 36px;
    --text-size80: 80px;
    --card-radius: 15px;
    --border-grey: 2px solid #CCCCCC;
    --border-orange: 2px solid #FFA500;
    --border-purple: 2px solid #8C52FF;
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
*** Body
*/
body {
    position: relative;
    font-family: var(--font-dm-sans);
    background: linear-gradient(-45deg, #09254b, #263238, #5f538b, #3e2c39);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/*
*** Background
*/
.bg-desktop,
.bg-mobile {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: -1;
}

.bg-mobile {
    display: none;
}

/*
*** Navigation
*/
nav {
    top: 0;
    left: 0;
    height: 50px;
    position: fixed;
}

nav ul {
    width: 100%;
    height: 100%;
    list-style: none;
}

.nav-item {
    margin-right: 1rem;
    padding-bottom: 4px;
    color: var(--bg-default);
    text-shadow: var(--text-shadow);
    font-family: var(--font-fascinate-inline);
    font-weight: var(--text-weight);
    font-size: var(--text-size30);
    position: relative;
}

.nav-item a,
.nav-item a:hover {
    text-decoration: none;
    color: var(--bg-default);
}

.nav-item::after {
    background-color: var(--color-orange);
    bottom: 0;
    left: 0;
    right: 0;
    width: 0%;
    height: 4px;
    margin: auto;
    position: absolute;
    content: "";
    transition: all 0.5s;
}

.nav-item:hover::after {
    width: 100%;
}

/*
*** Breadcrumb
*/
.breadcrumb {
    top: 0;
    left: 0;
    position: fixed;
    color: var(--bg-default);
    font-family: var(--font-fascinate-inline);
    font-weight: var(--text-weight);
    font-size: var(--text-size24);
    letter-spacing: var(--text-spacing);
    padding: 1rem;
}

/*
*** Section
*/
.container-100vh,
.container-50vh {
    position: relative;
    padding: 0 2rem;
    z-index: 30;
}

.container-100vh {
    min-height: 100vh;
}

.container-50vh {
    min-height: 50vh;
}

.footer-default,
.footer-page {
    bottom: 0;
    left: 0;
    position: absolute;
    color: var(--bg-default);
    font-size: var(--text-size14);
    letter-spacing: var(--text-spacing);
    padding: 1rem;
}

/*
*** Card default
*/
.card-large,
.card-small {
    border-radius: var(--card-radius);
    padding: 20px;
    background-color: var(--bg-default);
    z-index: 36;
}

.card-large {
    width: 60%;
}

.card-small {
    font-size: var(--text-size22);
}

/*
*** Présentation
*/
.presentation_title {
    color: var(--bg-default);
    text-shadow: var(--text-shadow);
    margin-bottom: 1.5rem;
    font-family: var(--font-fascinate-inline);
    font-size: var(--text-size80);
}

.presentation-text {
    color: var(--color-black);
    margin: 1rem;
    font-size: var(--text-size22);
    opacity: 0;
    letter-spacing: var(--text-spacing);
    will-change: transform;
}

.presentation-text * {
    will-change: transform;
}

/*
*** Applications
*/
.mobile-application {
    width: 60%;
    height: 100%;
}

.mobile-left {
    width: 300px;
    z-index: 40;
}

.mobile-right {
    display: block;
    height: 100%;
    width: 100%;
    margin-left: -10px;
    z-index: 39;
}

.mobile-title {
    text-shadow: var(--text-shadow);
    color: var(--color-white);
    margin-left: 30px;
}

.mobile-title p {
    font-size: var(--text-size36);
    font-weight: var(--text-weight);
}

.mobile-title p span {
    font-size: var(--text-size22);
    font-weight: normal;
}

.mobile-subtitle {
    color: var(--bg-default);
    font-size: var(--text-size14);
    margin-left: 30px;
}

.mobile-card {
    margin-block-start: 30px;
    border-top-right-radius: var(--card-radius);
    border-bottom-right-radius: var(--card-radius);
    padding: 20px;
    background-color: var(--bg-default);
}

.mobile-card-left {
    font-weight: var(--text-weight);
    font-size: var(--text-size30);
    color: var(--color-black);
    margin-left: 10px;
    margin-right: 20px;
}

.mobile-card-right {
    font-size: var(--text-size16);
    color: #555555;
}

.mobile-card-right span {
    font-weight: var(--text-weight);
    color: var(--color-orange);
}

/*
*** Page
*/
.page-container {
    background-color: var(--color-white);
    padding: 10%;
}

.page-position {
    margin-top: -50vh;
}

.page-card {
    min-height: 100%;
    border-radius: var(--card-radius);
    background-color: var(--bg-default);
    z-index: 50;
}

/*
*** Article
*/
article {
    color: var(--color-black);
    margin: 5%;
    font-size: var(--text-size16);
    letter-spacing: var(--text-spacing);
}

article h2 {
    font-size: var(--text-size16);
    font-weight: bold;
    text-align: justify;
    text-transform: uppercase;
    border-bottom: 1px solid;
    line-height: 20px;
    padding-bottom: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

article p {
    margin-top: 5px;
    margin-bottom: 5px;
}

hr {
    height: 1px;
    border-width: 0;
    color: var(--color-black);
    background-color: var(--color-black);
}

/*
*** Form
*/
.form-title {
    color: var(--color-orange);
    font-size: var(--text-size36);
    font-weight: var(--text-weight);
}

.input-group {
    display: flex;
    width: 100%;
}

.input-group-text img {
    width: 20px;
}

.input-group-text {
    box-sizing: border-box;
    border: var(--border-grey);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: none;
    background-color: #f8f9fa;
    height: 40px;
    width: 50px;
}

input[type=text],
input[type=email] {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    height: 40px;
}

input[type=text],
input[type=email],
textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: var(--border-grey);
    font-family: var(--font-dm-sans);
    font-size: var(--text-size16);
    background-color: var(--color-white);
    transition: 0.5s;
    outline: none;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    border: var(--border-purple);
    transition: 0.5s;
}

textarea {
    border-radius: 8px;
    height: 120px;
    resize: none;
}

.input-group,
textarea,
.g-recaptcha,
input[type="checkbox"] {
    margin: 4px 0;
}

.g-recaptcha {
    width: 100%;
}

input[type="checkbox"] {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--color-white);
    border: var(--border-grey);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: var(--color-orange);
    border: var(--border-orange);
    box-shadow: inset 0 0 0 4px var(--color-white);
}

.input-checkbox {
    display: flex;
    align-items: center;
}

label {
    font-family: var(--font-dm-sans);
    font-size: var(--text-size16);
    margin-left: 5px;
}

/* 
*** Cookies 
*/
.card-cookie {
    position: fixed;
    flex-direction: column;
    bottom: 2.5vw;
    left: 2.5vw;
    width: 350px;
    opacity: 0;
    z-index: 9999;
}

.card-cookie-header {
    margin-bottom: -8px;
    width: 100px;
}

.card-cookie-body {
    border-radius: var(--card-radius);
    padding: 10px;
    background-color: var(--bg-cookie);
    font-size: var(--text-size14);
}

/*
*** Button
*/
.btn-container {
    width: 100%;
    margin-top: 10px;
}

.btn-small-size {
    width: 150px;
    height: 40px;
}

.btn-large-size {
    width: 200px;
    height: 53px;
}

.btn-image {
    background-color: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}

.btn-image:hover {
    transition: 0.5s;
}

.btn-src-cookie {
    background-image: url('./assets/images/BTN_COOKIE.png');
}

.btn-src-cookie:hover {
    background-image: url('./assets/images/BTN_COOKIE_HOVER.png');
}

.btn-src-email {
    background-image: url('./assets/images/BTN_EMAIL.png');
}

.btn-src-email:hover {
    background-image: url('./assets/images/BTN_EMAIL_HOVER.png');
}

.btn-src-more {
    background-image: url('./assets/images/BTN_MORE.png');
}

.btn-src-more:hover {
    background-image: url('./assets/images/BTN_MORE_HOVER.png');
}

.btn-src-others {
    background-image: url('./assets/images/BTN_OTHERS.png');
}

.btn-src-others:hover {
    background-image: url('./assets/images/BTN_OTHERS_HOVER.png');
}

.btn-src-android {
    background-image: url('./assets/images/BTN_ANDROID.png');
    margin-right: 2px;
}

.btn-src-android:hover {
    background-image: url('./assets/images/BTN_ANDROID_HOVER.png');
}

.btn-src-ios {
    background-image: url('./assets/images/BTN_IOS.png');
    margin-left: 2px;
}

.btn-src-ios:hover {
    background-image: url('./assets/images/BTN_IOS_HOVER.png');
}

/*
*** Tools
*/
.toolbar {
    width: 100%;
    background: rgb(0 0 0 / 40%);
    z-index: 100;
}

.col {
    flex-direction: column;
    width: 100%;
}

.left {
    display: flex;
    justify-content: start;
    align-items: center;
}

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

.right {
    display: flex;
    justify-content: end;
    align-items: center;
}

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

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

.txt-left {
    text-align: left;
}

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

.txt-right {
    text-align: right;
}

/*
*** Gsap
*/
.gsap-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
}

/*
*** Line vertical des cards
*/
.card-gsap-line {
    width: var(--vertical-line-width);
    height: 0px;
    background: var(--bg-default);
    margin-bottom: -4px;
}

.card-default-line {
    width: var(--vertical-line-width);
    height: 30px;
    background: var(--bg-default);
    margin-bottom: -2px;
}

.card-cookie-line {
    width: var(--vertical-line-width);
    height: 20px;
    background: var(--bg-cookie);
    margin-bottom: -2px;
}

/*
*** Image
*/
.img-header,
.img-header-mediaquery-none {
    margin-bottom: -15px;
    width: 200px;
    z-index: 35;
}

.img-rotate {
    width: 256px;
    animation: rotate45ThenMinus45 3s ease-in-out infinite;
}

@keyframes rotate45ThenMinus45 {
    0% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-20deg);
    }

    100% {
        transform: rotate(15deg);
    }
}

/*
*** MediaQuery
*/
@media (max-width:1080px) {

    .bg-desktop,
    .mobile-left,
    .container-50vh,
    .img-header-mediaquery-none {
        display: none;
    }

    .bg-mobile,
    .btn-container {
        display: block;
    }

    .presentation_title {
        font-size: var(--text-size36);
    }

    .mobile-title p {
        font-size: var(--text-size22);
    }

    .nav-item,
    .breadcrumb,
    .presentation-text,
    .default-text,
    .card-small,
    .mobile-title p span {
        font-size: var(--text-size16);
    }

    .mobile-card-right {
        font-size: var(--text-size14);
    }

    .card-large,
    .mobile-application,
    .page-card {
        width: 95%;
    }

    .mobile-right,
    .mobile-title,
    .mobile-subtitle {
        margin-left: 0px;
    }

    .mobile-card {
        border-radius: var(--card-radius);
    }

    .page-container {
        background-color: var(--bg-default);
        padding: 0%;
    }

    .page-position {
        margin-top: 0px;
    }

    .page-card {
        border-radius: 0px;
    }

    .default-text {
        margin: 1rem;
    }

    .breadcrumb,
    .footer-page {
        position: relative;
    }

    .container-100vh {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .btn-src-more,
    .btn-src-others,
    .btn-src-android,
    .btn-src-ios {
        margin: 0;
    }
}