html {
    font-family: Lucida Handwriting, cursive;
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    background-color: rgb(192, 184, 163);
    background-image: url("../images/bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.errormsg{
    position: absolute;
    top: 20%;
    left: 50%;
    color: rgb(57, 57, 57);
    background: rgba(192, 184, 163, 0.45);
    min-width: 400px;
    margin: 0 -200px 0 -180px;
    border: 2px rgba(192, 184, 163, 0.45);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.errormsg h2{
    text-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.login {
    color: rgb(57, 57, 57);
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -200px 0 0 -200px;
    text-align: center;
    display: flex;
    justify-content: center;
    background: rgba(192, 184, 163, 0.45);
    padding: 15px;
    border: 2px rgba(192, 184, 163, 0.45);
    border-radius: 45px 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.login h1 {
    text-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.login div {
    margin: 3px;
}

.login input[type="text"], .login input[type="password"] {
    width: 100%;
    margin: 2px;
    font-size: 18px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@-webkit-keyframes shake {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(0px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(3deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(2px, 1px) rotate(-3deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(2deg);
    }
    90% {
        transform: translate(2px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.shake {
    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.60s;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-iteration-count: infinite;
    display: inline-block
}

button {
    margin: 5px 0 0 0;
    background-color: rgb(100, 94, 79);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}