* {
    margin: 0;
    padding: 0;
}

:root {
    --bleu: #0038FF;
    --green: #039B00;
    --black: #000210;
    --wihte: #FFFFFF;
    --bg: #e3eaff;
}

bar {
    background-color: black;
}

/* ==================================== General ===================================== */

body {
    margin: auto;
    font-family: 'Readex Pro', sans-serif;
    background-color: var(--wihte);
}

h1 {
    font-size: 3.1em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.4em;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 30px;
}

h4 {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--bleu);
}

p {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 20px;
}

a {
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    color: var(--bleu);
}

i {
    font-size: 1em;
    margin-right: 12px;
    padding-top: 4px;
}

button {
    padding: 12px 20px;
    border: 2px solid var(--bleu);
    background-color: var(--wihte);
    border-radius: 5px;
    margin-top: 40px;
    font-size: 1em;
    font-weight: 500;
    width: fit-content;
    text-decoration: none;
    color: var(--bleu);
    cursor: pointer;
    transition: background-color .3s ease-in-out;

}

button:hover {
    background-color: var(--bleu);
    color: var(--wihte);
}

button:hover i {
    color: var(--wihte);
}


input {
    background: transparent;
    border: none;
    font-size: .8em;
    font-weight: 500;
    margin-top: 5px;
    padding: 12px 0 12px 21px;
}


/* ==================================== Remove Border from inputTags ===================================== */

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* ==================================== End ===================================== */


label {
    display: flex;
}

input {
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
}

.header-container {
    margin: 40px 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-desktop {
    display: none;
}

.nav-mobile i {
    color: var(--bleu);
    cursor: pointer;
}


/* ==================================== Hero ===================================== */


.hero {
    position: relative;
}

.hero::before {
    content: "";
    background: url(../assets/Hero.jpg) no-repeat;
    background-size: cover;
    background-position: top right;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 200px;
    left: 0px;
    opacity: 0.2;
    z-index: -100;
}

.text {
    padding: 80px 20px 40px 20px;
}

.covid {
    display: flex;
    color: var(--green);
    font-size: 0.8em;
    font-weight: 400;
    color: var(--green);
}

.covid p {
    margin-right: 15px;
}

.covid a {
    color: var(--green);
}

.book {
    margin: 0 20px;
    padding: 20px;
    background-color: var(--wihte);
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
        rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.input {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


/* ======================================= Section ================================== */


.section0 {
    padding: 120px 20px 80px 20px;
}

button i {
    margin-left: 12px;
    color: var(--bleu);
}

button a {
    font-weight: 600;
}

/* ========================================= Card ================================ */

.section {
    background-color: var(--bg);
    padding: 40px 20px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: flex-start;
}

.articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

article {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    padding: 20px 12px;
    background-color: var(--wihte);
    transition: transform 250ms;
    transition-property: transform;
}

article:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
        rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    transform: translateY(-10px);
    transform: scale(1.05);
}

article img {
    width: 100%;

}

/* ===================== Start-ZoomInAnim =================== */

figure {
    margin: 0 0 20px 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.articles article img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.articles article:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

/* ======================== End-ZoomInAnim ===================== */

article p {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
}


/* ========================================= Contact ================================ */


.sectionContact {
    padding: 40px 20px;
}

.sectionContact h3 {
    margin: 0 0 10px 0;
}

.sectionContact h4 {
    margin: 0 0 40px 0;
}

.contact {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 12px;
    background-color: var(--bg);
}

.contact .text {
    padding: 0;
}

.button button {
    margin: 0 0 20px 0;
}

span button {
    background-color: var(--bleu);
    color: var(--wihte);
}

span button i {
    margin-left: 12px;
    color: var(--wihte);
}

span button:hover i {
    color: var(--bleu);
}

span button:hover {
    border: 2px solid var(--bleu);
    background-color: var(--wihte);
    color: var(--bleu);

}

.img {
    display: none;
}

/* ====================================== footer =================================== */

footer {
    padding: 40px 20px 0 20px;
}

.links {
    margin: 0 0 20px 0;
}

.links .logo {
    margin-bottom: 20px;
}

.navbar-footer a {
    margin-bottom: 20px;
}

.navbar-footer ul {
    display: flex;
    flex-wrap: wrap;
}

.navbar-footer ul li {
    margin: 0 12px 20px 0;
}

.navbar-footer ul li a {
    color: var(--black);
}

.navbar-footer ul li a:hover {
    color: var(--bleu);
}

/* ====================================== +1000px =================================== */

@media only screen and (min-width: 1000px) {

    /* ====================================== Nav =================================== */

    .header-container {
        margin: 40px 120px;
    }

    .nav-mobile {
        display: none;
    }


    .nav-desktop {
        display: flex;
    }

    .nav-desktop ul {
        display: flex;
    }

    .nav-desktop ul li {
        margin-left: 42px;
    }

    .nav-desktop ul li a {
        display: inline-block;
        text-align: center;
        font-weight: 500;
        color: var(--black);

    }

    /* ==================== Start Fix "InlineElementsShifting-InHoverStat" ==================== */

    .nav-desktop ul li a::before {
        display: block;
        content: attr(title);
        font-weight: bold;
        height: 0;
        overflow: hidden;
        visibility: hidden;
    }

    /* ==================== End Fix "InlineElementsShifting-InHoverStat" ==================== */

    .nav-desktop ul li a:hover {
        color: var(--bleu);
        font-weight: 700;
    }

    /* ====================================== Hero =================================== */

    .hero .text {
        width: 40%;
        padding: 80px 120px 40px 120px;
    }

    .hero::before {
        content: "";
        /* background: url(../assets/Hero.jpg); */
        display: inline;
        background-image:
            linear-gradient(to left, rgba(245, 246, 252, 0), #fff),
            url('../assets/Hero.jpg');
        background-size: cover;
        background-position: bottom left;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 100px;
        left: 300px;
        opacity: 1;
        z-index: -100;
    }

    .book {
        margin: 0 100px;
        padding: 20px 120px;
    }

    .book h3 {
        margin-bottom: 10px;
    }

    /* ====================================== section02 =================================== */

    .section0 {
        margin: 40px 100px 80px 100px;
        display: flex;
        align-content: center;
        text-align: center;
    }

    .apropos {
        margin: 0 150px;

    }

    /* ====================================== Card =================================== */

    .section {
        background-color: var(--bg);
        padding: 40px 120px;
    }

    .articles {
        display: flex;
        justify-content: space-between;
    }

    article {
        max-width: 28%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        background-color: var(--wihte);
        transition: transform 250ms;
        transition-property: transform;
    }

    /* ====================================== Contact =================================== */

    .sectionContact {
        padding: 40px 120px;
    }

    .contact .text {
        padding-top: 40px;
        padding-left: 40px;
    }

    .contact .img {
        display: inline;
        background-image:
            linear-gradient(to left, rgba(245, 246, 252, 0), #e3eaff),
            url('../assets/Contact.jpg');
        width: 50%;
        height: 300px;
        background-size: cover;
        color: white;
        padding-left: 100px;
    }

    .button button {
        margin: 0 40px 20px 0;
    }

    /* ====================================== Footer =================================== */
    footer {
        padding: 160px 120px 0 120px;
    }

    .links {
        display: flex;
        justify-content: space-between;
    }

    .navbar-footer a {
        margin-right: 5px;
    }
}

/* ====================================== 768Px =================================== */


@media only screen and (min-width: 768px) and (max-width: 1000px) {
    article {
        max-width: 55%;
        justify-content: space-between;
    }
}