/****** General ***********/
* {
    font-family: 'Raleway', sans-serif;
}

:root {
    --main-color: #0065fc;
    --main-bg-color: #f2f2f2;
    --filter-bg-color: #deebff;
}

.fa-solid {
    color: var(--main-color);
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-container {
    width: 100%;
    max-width: 1440px;
    padding: 0 50px;
    box-sizing: border-box;
    /* 
    To put the footer down on the screen
    100vh is the whole screen and min height: to fill the screen. 
    */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* the middle part will take the available space */
.main-container main {
    flex-grow: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Remove native space on p y h1 */
h1 {
    margin: 0;
    line-height: 25.83px;
}

p {
    margin: 0;
    padding: 0;
    line-height: 18.78px;
}

figure {
    margin: 0;
    padding: 0;
}

.is-hidden-mobile {
    display: inherit;
}

.is-visible-mobile {
    display: none;
}

/* Le code ci-dessous correspond à la version responsive uniquement */

/****** Media queries ***********/
/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    .main-container {
        padding: 0;
    }

    /* to change word for icon osn the search bar */
    .is-hidden-mobile {
        display: none;
    }

    .is-visible-mobile {
        display: inherit;
    }
}
