*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    height: 100%;
    background: linear-gradient(90deg, rgba(80, 5, 242, 1) 0%, rgba(168, 23, 191, 1) 100%);
    overflow-y: scroll;
    font-family: 'Noto Sans', sans-serif;
    scroll-behavior: smooth;
}

header,
footer {
    width: 100%;
    height: 10rem;
}

.color-block {
    width: 3rem;
    height: 3rem;
    padding: 3rem;
    display: inline-block;
}

ul {
    list-style-type: none;
}

#app {
    /* background: no-repeat left/40% url('../img/filigrane_hp.svg') rgb(80,5,242); */
    background: no-repeat left/37% url('../img/filigrane_hp.svg');
    background-position: left -15% top 6rem;
    background-attachment: fixed;
    height: 100% auto !important;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.3rem;
    color: white;
}

/* HEADINGS */
#app h1 {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
}

#app h2 {
    font-size: 2.67rem
}

#app h3 {
    font-size: 2.33rem
}

#app h4 {
    font-size: 1.83rem
}

#app h5 {
    font-size: 1.5rem
}

#app h6 {
    font-size: 1.33rem
}

header {
    width: 100%;
    height: 8rem;
    top: 0;
    z-index: 999;
    transition: 0.3s;
    padding: 20px 0;
    position: fixed;
}

.header-spacer {
    display: block;
    height: 8rem;
    width: 100vw;
}

header.sticked {
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0px;
    background: white;
}

#header {
    height: 100%;
}

.sticked nav ul li a {
    color: black;
}

.sticked nav ul li a:hover {
    color: #80a0b9;
}

.sticked .navbar__logo {
    width: 249px;
    height: 72px;
    display: block;
    position: relative;
    background: center/70% url('../img/logo.svg') no-repeat;
}

.sticked .navbar__logo a {
    display: block;
    width: 249px;
    height: 72px;
}

/* Navbar */

.dark-mode {
    --navbar-color: #FFF;
    --navbar-bg-color: #3e00f700;
}

.sticked .dark-mode {
    --navbar-color: #3e00f7;
    --navbar-bg-color: rgba(255, 255, 255, 0);
}

.navbar {
    height: 100%;;
    display: flex;
    align-items: items;
}

.navbar__logo {
    width: 249px;
    height: 72px;
    display: block;
    position: relative;
    transition: 0.3s;
    background: center/70% url('../img/logo_white.svg') no-repeat;
}

.navbar__logo a {
    display: block;
    width: 249px;
    height: 72px;
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 1.1rem;
    background: var(--navbar-bg-color);
    color: var(--navbar-color);
}

.navbar__links {
    display: flex;
    margin: 0;
}

.navbar__link {
    padding: 0 10px;
}

.navbar__link>a {
    color: var(--navbar-color);
    text-decoration: none;
}

.navbar__link::after {
    content: "";
    display: block;
    width: 0%;
    height: .2rem;
    background-color: #f4d642;
    position: relative;
    transition: all .5s ease-in-out;
}

.navbar__link:hover::after, .navbar__link.activ::after {
    width: 100%;
}

.burger {
    display: none;
}

main {
    min-height: 100vh;
}

#page {
    min-height: 100vh;
}

.content {
    min-height: 100vh;
}

#app .content h4 {
    color: var(--violet-light);
    font-size: var(--font-size);
    font-weight: 700;
}

.content p {
    color: #1D1E26;
}

.content .bigTxt {
    font-size: 2.4rem;
    line-height: 3rem;
}

/* HOMEPAGE */
/* #home { padding-top: 8rem; } */
/* ABOUT */
#about {
    background: #F7F6FE;
    height: 100%;
    padding-top: 10rem;
}

#about img {
    width: 100%;
}

/* SERVICES */
#services {
    background: #F7F6FE;
    height: 100%;
    width: 100%;
    padding-top: 10rem;
}

#services video {
    border-radius: 1rem;
}

/* AVANTAGES */
#avantages {
    position: relative;
    padding-top: 10rem;
    min-height: calc(100vh - 20rem);
    margin-bottom: 3rem;
}

#avantages p {
    color: #fff;
}

#avantages .card {
    color: #1D1E26;
    height: 100%;
    border-radius: 1rem;
}

#avantages .card ul {
    list-style: none;
}

#avantages .card ul li::before {
    content: "\2022";
    color: #4f05f2;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#avantages .card-title {
    font-size: 3rem;
}

#avantages .card-img-top {
    width: 12rem;
    margin: 2rem 0;
}

/* TESTIMONIALS */
#testimonials {
    background: #F7F6FE;
    position: relative;
    padding-top: 8rem;
    height: 100%;
}

.carousel-indicators button {
    background-color: #4f05f2 !important;
}

#testimonials .card {
    border: none;
    background: none;
    width: 100%;
}

#testimonials .card .card-title {
    color: #1D1E26;
}

#testimonials i.fa {
    color: #E6DEFD;
    font-size: 4rem;
}

#testimonials i.bi {
    color: #3e00f7;
    font-size: 2rem;
}

#testimonials .trait {
    display: inline-block;
    width: 2.8rem;
    height: .17rem;
    background: #1D1E26;
    position: relative;
    top: -0.4rem;
    margin-right: 1rem;
}

/* CONTACT */
#contact {
    background: #F7F6FE;
    position: relative;
    padding-top: 10rem;
    height: 100%;
}

#contact form {
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#contact form textarea {
    box-shadow: none !important;
    border-color: 1px solid #acc8df !important;
    outline: none !important;
    height: 21.7rem;
}

/* CGV / CGU */
#cgv ul,
#cgu ul {
    list-style-type: disc;
    color: #1D1E26;
}

#cgv h5,
#cgu h5 {
    text-decoration: underline;
}

/* LOGIN */

#illus_connexion {
    width: 100%;
    min-height: 500px;
    padding-bottom: 50px;
    background: no-repeat right/70% url('../img/illustrations/illus_connexion.svg');
    background-position: right 0 bottom 0;
}

#login_form {
    display: block;
    height: 100%;
    border-radius: 1rem;
}

#login_form label {
    color: #80a0b9;
    font-weight: bold;
}

#login_form a {
    color: #4f05f2;
    font-weight: bold;
    text-decoration: none;
}

#login_form a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    position: relative;
    bottom: 0;
}

/* SMALL SCREEN */
@media screen and (max-width:998px) {

    body {
        font-size: 3rem;
        height: 100vh;
        width: 100vw;
        background: linear-gradient(90deg, rgba(80, 5, 242, 1) 0%, rgba(168, 23, 191, 1) 100%);
        overflow-y: scroll;
        overflow-x: hidden;
        font-family: 'Noto Sans', sans-serif;
        scroll-behavior: smooth;
    }

    section{
        padding: 0 2rem;
    }

    #app {
        height: 100% auto !important;
        font-size: 2rem!important;
    }

    /* .navbar { display:none!important } */
    #app .content h4 {
        font-size: 2rem;
        text-align: center !important;
    }

    .content,
    main,
    #page {
        min-height: 20% !important;
    }

    .mb-5 {
        margin: 0 !important
    }

    /* MENU BURGER */
    .dark-mode {
        --navbar-color: #3e00f7;
        --navbar-bg-color: rgba(255, 255, 255, 0);
    }

    .sticked .dark-mode {
        --navbar-color: #3e00f7;
        --navbar-bg-color: rgba(255, 255, 255, 0);
    }

    .sticked nav ul li a {
        color: var(--navbar-color);
    }
    
    nav ul li a:hover {
        color: #80a0b9;
    }

    .navbar__links {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        width: 0;
        height: calc(100vh - 65px);
        position: absolute;
        top: 6.9rem;
        right: 0;
        transform: translateX(110%);
        transition: all .5s ease-in-out;
    }

    .navbar__link::after {
        content: "";
        display: block;
        width: 0%;
        height: .2rem;
        background-color: #f4d64200;
        position: relative;
        transition: all .5s ease-in-out;
    }

    .show-nav .navbar__links {
        width: 100vw;
        transform: translateX(0);
        background-color: white;
        padding-left: 3rem;
    }

    .navbar__link {
        transform: translateX(101%);
        transition: all .5s ease-in-out;
    }

    .show-nav .navbar__link {
        transform: translateX(0);
    }

    .navbar__link>a {
        display: block;
        padding: 1rem;
        font-size: 2.5rem;
        color: var(--navbar-color);
        transition: all .4s ease-in-out;
    }

    .navbar__link>a:hover {
        padding-left: 2rem;
        letter-spacing: 5px;
        color: #80a0b9;
    }

    /* Toggle menu */
    .burger {
        display: block;
        position: relative;
        padding: 0;
        width: 45px;
        height: 45px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .bar {
        display: block;
        width: 45px;
        height: 4px;
        border-radius: 3px;
        background: #fff;
        transition: all .5s ease-in-out;
    }

    .sticked .bar {
        background: var(--navbar-color);
    }

    .bar::before,
    .bar::after {
        content: "";
        width: 45px;
        height: 4px;
        position: absolute;
        left: 0;
        background: #fff;
        border-radius: 3px;
        transition: all .5s ease-in-out;
    }

    .sticked .bar::before,
    .sticked .bar::after {
        background: var(--navbar-color);
    }

    .bar::before {
        transform: translateY(-12px)
    }

    .bar::after {
        transform: translateY(12px)
    }

    .show-nav .bar {
        width: 0;
        background: transparent;
    }

    .show-nav .bar::before {
        transform: rotate(45deg);
    }

    .show-nav .bar::after {
        transform: rotate(-45deg);
    }

    /* Bonus - Animations */
    .show-nav .first {
        transition: all 1s ease-out;
    }

    .show-nav .second {
        transition: all 1.1s ease-out;
    }

    .show-nav .third {
        transition: all 1.2s ease-out;
    }

    .show-nav .four {
        transition: all 1.3s ease-out;
    }

    .show-nav .fifth {
        transition: all 1.4s ease-out;
    }

    .show-nav .sixt {
        display: none;
    }
}