 @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif;
    font-size: 14px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  text-align: center;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  border-radius: 4px;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: #fff url('../img/login-background.jpg');
}
.main{

}
.content{
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    width : 400px;
}
.main .title{
    text-align: center;
    padding-bottom: 10px;
}
.main .title a{
    text-align: center;
    font-size: 40px;
    color: #fff;
    text-decoration: none;
}
.sublogin{
    width: 100%;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #17a2b8;
    border-radius: 25px;
    margin-bottom: 5px;
}
.sublogin label{
    font-size: 2rem;
    color: #000000;
}
.login{
    width: 100%;
    top:80px;
    background: #fff;
    font-size: 2rem;
    padding: 35px 20px;
    margin: 0 auto;
    border-radius: 0 0 25px 25px;
}
.login div{
    margin-bottom: 30px;
}
input{
    width: 100%;
    height: 40px;
    border-radius: 10px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    margin: 5px auto;
    padding: 5px 15px;
    border: 1px solid #17a2b8;
    outline: none;
}
input:hover{
    border: 1px solid #17a2b8;
    outline: none;
}
.input-checkbox input{
    width: 20px;
    height: 20px;
}
.login-btn{
    background: #17a2b8;
    width: 100%;
    padding: 8px 20px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-top: 18px;
    outline: none;
    border: none;
    border-radius: 10px;
    transition: .3s ease-in;
    cursor: pointer;
    box-shadow: 5px 20px 40px black;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}
.login-btn:hover{
    background: transparent;
    border: 1px solid #17a2b8;
    color: #17a2b8;
}
.input-box{
    position: relative;
}
.input-box label{
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 1.2rem;
    padding-left: 15px;
}

input:hover ~ label, input:valid ~ label{
    top: -20px;
    left: 0;

}
input:focus ~ label{
    top: -20px;
    left: 0;
}
.text{
    color:#a94442;
    font-size: 1.2rem;
}
.forgot{
    margin: 20px 0 0 0 !important;
    text-align: center;
}
.forgot a{
    text-decoration: none;
}

/* Petits écrans (smartphones) */
@media (max-width: 1368px) {

  .content {
    width: 300px;
  }
.sublogin {
    padding: 8px;
    border-radius: 25px;
    margin-bottom: 0px;
}

input {
  width: 100%;
  margin: 2px auto;
  padding: 5px;
}
}

/* Petits écrans (smartphones) */
@media (max-width: 768px) {
  
}

/* Très petits écrans (téléphones étroits) */
@media (max-width: 480px) {
  .content{
    width: 100%;
   }
}