* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    overflow: hidden;

  }


  .background-image > img{
      width: 100%;
      position:fixed;
      opacity: 0.5;
  }

  .login-panel{
      height: 450px;
      width: 400px;
      position: relative;
      background-color: white;
      margin: 0 auto;
      margin-top: 25%;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      border-radius: 25px;

    }

.login-panel-label{
    padding-top: 25px;
    width: 100%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 25px;
    font-weight: bold;
    padding-bottom: 30px;
}

.login-panel-username{
    margin-top:25px;
    border: 1px solid #d4d4d4;;
    border-radius: 25px;
    width: 50%;
    margin-left: 25%;
    height: 50px;
    
}

.login-panel-username > label{
    font-size: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    margin-left: 15px;
    
}

.login-panel-username > input{
    border: 0;
    margin-left: 15px;
    outline: none;
    height: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.login-panel-password{
    margin-top:25px;
    border: 1px solid #d4d4d4;
    border-radius: 25px;
    width: 50%;
    margin-left: 25%;
    height: 50px;
    
}

.login-panel-password > label{
    font-size: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    margin-left: 15px;
}

.login-panel-password > input{
    border: 0;
    width: 170px;
    margin-left: 15px;
    outline: none;
    height: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.login-panel-button > button{
    margin-top: 25px;
    width: 50%;
    margin-left: 25%;    
    border-radius: 25px;
    height: 35px;
    border: 0;
    color: white;
    font-size: 15px;
    background-color: #007bff;
    animation-name: reverse;
    animation-duration: 3s;
    
}
.login-panel-button > button:hover{
    animation-name: change;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

.login-panel-footer{
    width: 100%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 15px;
    margin-top: 50px;
}

.login-panel-error{
    border-left: 3px solid red;
    background-color: lightcoral;
    width: 75%;
    margin-left: 10%;
}

.login-panel-error > p{
    color: white;
    margin-left: 5px;
    font-size: 15px;
    
}

.logo{
    width: 250px;
    height: 50px;
    margin: 0 auto;
}

.logo > img{
    width: 100%;
}

@keyframes change{
    from {background-color: #007bff;}
    to {background-color: #0069d9;}
}

@keyframes reverse {
    from{background-color: #0069d9;}
    to {background-color: #007bff;}
}



/* 27 inch iMac ----------- */
@media only screen and (min-width : 2400px) {
    .login-panel{
        height: 450px;
        width: 400px;
        position: relative;
        background-color: white;
        float: right;
        margin-top: 350px;
        margin-right: 300px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        border-radius: 25px;
  
      }
}