
body {
    /*background-color: rgb(200,200,200);*/
    background-color: #cccccc;
    
}

h1, h2, h3, h4, h5, h6 ,p ,a
{
            font-family: 'Roboto', sans-serif;

            line-height: 24px;

}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

form{
width: 300px;
margin-left: 20px;
}

.login, .signup{
    /*to center H and V*/
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 360px;

margin: auto;
/*background: #565e64;*/
border-radius: 5px;
text-align: center;
padding: auto;
font-size: 15px;
/*border: 1px solid #979797;*/
}

.login{
height: 350px;
}

.signup{
height: 500px;
}

  .err {
    background-color: rgb(255, 165, 165);
  }

h2{
text-align: center;

}
form input{
width: 100%;
padding: 7px;
border: 1px solid grey;
background-color: rgb(249, 255, 220);
border-radius: 5px;
margin-top: 20px;
}

.err {
width: 100%;
background-color: rosybrown;
border-radius: 5px;
}

.form-control{
border: 1px solid grey;
border-radius: 5px;
outline: none;
}

button[type="submit"]{
width: 320px;
height: 35px;
margin-top: 20px;
border: none;
border-radius: 5px;
background-color: blue;
color: white;
font-size: 18px;
cursor: pointer;
}

button[type="submit"]:hover{
background-color: green;
color: white;
}

 #toast {
    visibility: hidden;
    width: 100%;
    max-width: 450px;
    background: #f8ffff;
    border: 1px solid #bedfe6;
    border-left: 5px solid #2185d0;
    border-radius: 5px;
    padding: 15px;
  
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  @keyframes fadein {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
  
    to {
      transform: translateY(0px);
      opacity: 1;
    }
  }
  
  @keyframes fadeout {
    from {
      transform: translateY(0px);
      opacity: 1;
    }
  
    to {
      transform: translateY(20px);
      opacity: 0;
    }
  }
  
  #toast.top {
    top: 20px;
    bottom: auto;
  }
  
  #toast.right {
    left: auto;
    right: 20px;
  }
  
  #toast.left {
    left: 20px;
    right: auto;
  }
  
  #toast.success {
    background: #fbfff8;
    border: 1px solid #bee6bf;
    border-left: 5px solid #38d021;
  }
  
  #toast.error {
    background: #fff8f8;
    border: 1px solid #e6bebe;
    border-left: 5px solid #d02121;
  }
  
  #toast.warning {
    background: #fffbf8;
    border: 1px solid #e6d0be;
    border-left: 5px solid #d06421;
  }
