* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    
  }

  body{
    background-color: #f7f6f6;
    background-image: url(Img/Back.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

  }

  #error-message {
    font-size: 0.8em;
    color: red;
    margin-bottom: 10px;
}

  
  li {
    list-style-type: none;
  }

  .header{
    display: flex;
    background-color: black;
    color: #fff;
    padding: 0.7rem;
    justify-content: end;
    margin-bottom: 3rem;
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .header {
        display: none;
    }
  }
  .header p a{
    color: white;
    padding-right: 2rem;
    font-size: 12px;
  }

  .small-header{
    display: none;
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .small-header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* border-bottom: 5px thin black; */
      }
    
    .small-header-fr{
        padding-right: 16px;
        font-size: 14px;
      }
      .small-header-fr a{
        text-decoration: none;
        color: #222222;
      }
  }

  .small-header-fr{
    padding-right: 16px;
    font-size: 14px;
  }
  .small-header-fr a{
    text-decoration: none;
    color: #222222;
  }

  .card {
    margin-top: 3rem;
    background-color: white !important;
    margin: auto;
    width: 39%;
    padding-bottom: 48px;
    margin-bottom: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 600px; 
    min-width: 600px;  
  }
  @media screen and (max-width: 1036px) {
    .card {
      max-width: 600px; 
      min-width: 600px;
    }
  }
  @media only screen and (min-width: 768px) and (max-width: 1024px) {
    .card {
      max-width: 600px; 
      min-width: 600px;
    }
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .card {
      max-width: 100%; 
      min-width: 100%; 
    }
  }

  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .card-img{
        display: none;
        
      }
    }

  .card-body{
    padding: 40px 60px 20px;
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .card-body{
        padding: 40px 25px 15px;
        
      }
    }


  .card-connection h2{
    font-size: 25px;
    margin-bottom: 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
  }

  .form-id p{
    font-weight: bolder;
    font-family: "Open Sans", sans-serif;
    margin-bottom: 8px;
    color: black;
  }
  .form-id p:active{
    color: #c14d00;
  }

  .form-id input {
    padding: 12px 12px;
    margin-bottom: 15px;
    width: 100%;
    background-color: white;
    border: ;
    border-radius: 2px;
  }

  .form-id-username a{
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
   display: flex;
   justify-content: flex-end;
   color: #222222;
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .form-id-username a{
        justify-content: flex-start;
        
      }
    }

    .form-password{
       margin-top: 1rem; 
    }
  .form-password input {
    padding: 12px 12px;
    margin-bottom: 15px;
    width: 100%;
    border: ;
    border-radius: 5px;
  } 

  .form-password p{
    font-family: "Open Sans", sans-serif;
    font-weight: bolder;
    margin-bottom: 8px;
    color: black;
  }
  .form-password p:active{
    color: #c14d00;
  }

  .form-id-password{
    font-family: "Open Sans", sans-serif;
    display: flex;
    justify-content: space-between;

  }
  .form-id-password a{
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    color: #222222;
  }

  .public-computer{
    display: flex;
    margin: 0 12px 0;
    margin-left: 0; 
  }
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .public-computer{
        display: none;
        
      }
    }

    .public-computer input[type="checkbox"] {
      margin-right: 8px; /* Optional: Add space between checkbox and next element */
  }

  .public-computer label{
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    white-space: nowrap;
    margin-right: 8px; 
  }

  .form button{
    background-color: #222222;
    font-family: "Open Sans", sans-serif;
    width: 100%;
    padding: 12px 12px;
    color: white;
    border-radius: 5px;
    margin-top: 1rem;
    margin-bottom: 1.7rem;
    font-size: 14px;
    cursor: pointer;
  }

  .form button:hover{
    background-color: rgb(252, 237, 24);
    color: black;
  }

  .card-footer{
    padding-top: 1rem;
  }

  .no-videotron-id{
    margin: 16px 0 20px;
  }

  .no-videotron-id p{
    font-size: 12px;
    text-align: center;
  }

.card-footer-button button{
    width: 100%;
    padding: 12px 12px;
    background-color: white;
    font-size: 14px;
    margin-top: 5px;
    border-radius: 8px;
    cursor: pointer;
}

.card-footer-button button:hover{
    background-color: #222222;
    color: white;
}

.footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1.5rem 40px;
    font-size: 13px;
    font-family: "Open Sans", sans-serif;
    background-color: white !important;
}
  @media only screen and (min-width: 300px) and (max-width: 767px) {
    .footer {
        flex-direction: column-reverse;
        flex-wrap: wrap;
        justify-content: center;
    }
  }

.footer-copy{
    padding-top: 15px;
    text-align: center;
}

.footer-link ul{
    display: flex;
    justify-content: center;
    padding-top: 15px;
    
}
@media only screen and (min-width: 300px) and (max-width: 767px) {
    .footer-link ul {
        flex-wrap: wrap;
    }
  }

.footer-link ul li {
    margin-bottom: 16px;
    padding: 0 24px;
  }
  
  .footer-link ul li a {
    text-decoration: none;
    color: black;
  }


/* Add this CSS to style the loading button */
.loading {
  background-color: #f3f3f3; /* Change the button background to a loading color */
  color: #999; /* Change the text color to indicate loading */
  cursor: not-allowed; /* Change the cursor to not-allowed */
  pointer-events: none; /* Disable further clicks */
}

.loading::after {
  content: '...'; /* Add ellipsis to indicate loading */
  animation: dots 1s steps(5, end) infinite; /* Create a dot animation */
}

@keyframes dots {
  0%, 20% {
      color: rgba(255, 255, 255, 0);
      text-shadow:
          .25em 0 0 rgba(255, 255, 255, 0),
          .5em 0 0 rgba(255, 255, 255, 0);
  }
  40% {
      color: #999;
      text-shadow:
          .25em 0 0 rgba(255, 255, 255, 0),
          .5em 0 0 rgba(255, 255, 255, 0);
  }
  60% {
      text-shadow:
          .25em 0 0 #999,
          .5em 0 0 rgba(255, 255, 255, 0);
  }
  80%, 100% {
      text-shadow:
          .25em 0 0 #999,
          .5em 0 0 #999;
  }
}
