html, body {
    height: 100%;
    background-color: #EBEDF8;
    overflow-y: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.logo {
    background-image: url("/img/lbcp-blanc-texte.png");
    background-repeat: no-repeat;
    background-color: #1f495b;

}

h1 {
    display: flex;
    flex-direction: column;
    font-family: sans-serif, Poppins;
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    line-height: 3rem;
    color: #1B2B67;
}

h2 {
    display: flex;
    flex-direction: column;
    font-family: sans-serif, Rubik;
    font-style: normal;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.5rem;
    color: #23333C;
}

.message {
    margin-bottom: 1rem;
}

.right-side {
    background-image: url("/img/bg-home.png");
    background-repeat: no-repeat;
    height: 15.5rem;
    width: 35.5rem;
    background-size: 35.5rem 15.5rem;
}

@media only screen and (max-width: 900px) and (orientation: landscape) {
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo {
        background-position: center;
        background-size: 10rem 3rem;
        margin: auto;
    }

    h1 {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    h2 {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    .right-side {
        display: none;
    }
}

@media only screen and (max-width: 900px) and (orientation: portrait) {
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo {
        background-position: center;
        background-size: 10rem 3rem;
        margin: auto;
    }

    h1 {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    h2 {
        font-size: 1.2rem;
        line-height: 1.3rem;
    }

    .right-side {
        width: 100%;
        height: 50%;
        background-size: 19.5rem 9.5rem;
        background-position: center;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1280px) and (orientation: landscape) {
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .logo {
        background-position: center;
        background-size: 14rem 4rem;
        margin: auto;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 1.5rem;
    }

    .right-side {
        display: flex;
        height: 15.5rem;
        width: 39.5rem;
        background-size: 32.5rem 16.5rem;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1280px) and (orientation: portrait) {
    .container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .logo {
        background-position: center;
        background-size: 14rem 4rem;
        margin: auto;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 1.5rem;
    }

    .right-side {
        display: flex;
        height: 15.5rem;
        width: 35.5rem;
        background-size: 35.5rem 15.5rem;
    }
}
