#loginform, #backtoblog, #login-message, #language-switcher, .gif-block, .login-block {
    display: none !important;
}

#connexion_middle {
    width: 800px;
    height: 480px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.txt_right_connexion {
    padding: 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.txt_right_connexion h2 {
    font-size: 2.5rem;
    line-height: 40px;
    font-weight: 700;
}

.txt_right_connexion p {
    font-size: 1rem;
    line-height: 24px;
    font-weight: 300;
}

.txt_right_connexion a {
  background-color: #ED8B00;
  width: fit-content;
  padding: 10px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  text-decoration: none;
  color: #FFF;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1px solid #ED8B00;
}

.txt_right_connexion a:hover {
  background-color: #FFF;
  color: #ED8B00;
  border: 1px solid #ED8B00;
}

.txt_right_connexion a:focus {
    box-shadow: 0 0 0 2px #ED8B00;
}

.background {
    background-image: url('../img/BG_basic2cols.png');
    background-repeat: repeat;
    width: 100vw;
    height: 100vh;
}

.background_left {
    background-image: url('../img/BG_chiffres_cles.png');
    background-repeat: repeat;
    height: 100vh;
    width: 45%;
}

@media screen and (max-width: 992px) {
    #connexion_middle {
        flex-direction: column;
        max-width: 350px;
        height: auto;
    }

    #connexion_middle img {
        max-width: 350px;
    }

    .txt_right_connexion {
        text-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 500px) {
    #connexion_middle {
        max-width: 300px;
    }
    #connexion_middle img {
        display: none !important;
    }
    .txt_right_connexion {
        padding: 20px 20px !important;
    }
}

.wp-auth-check #connexion_middle img,
.wp-auth-check .txt_right_connexion {
    display: none;
}