body {
    background-color: #2f2f2f;
}

h1 {
    color: #fff;
    font-size: 2em;
    font-weight: bold;
}

label {
    color: #fff;
}

form {
    border: 3px solid #f1f1f1;
}

input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 49%;
}


button:hover {
    opacity: 0.8;
}

.registerbtn {
    background-color: #f44336;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 49%;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

img.logo {
    width: 20%;
    border-radius: 50%;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}

#notification-container {
    position: fixed;
    z-index: 999;
    top: 0;
    right: 0;
    margin: 20px;
    max-width: 300px;
    font-size: 1.2em;
}

#notification {
    background-color: #5d5d5d;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.26);
    position: relative;
    padding: 16px;
    margin-bottom: 16px;
    width: 15vw;
}

.slide-left {
    -webkit-animation: slide-left 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
    animation: slide-left 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

@-webkit-keyframes slide-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
    25% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-1.2em);
        transform: translateX(-1.2em);
    }
}

@keyframes slide-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
    25% {
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-1.2em);
        transform: translateX(-1.2em);
    }
}

.slide-right {
    -webkit-animation: slide-right 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
    animation: slide-right 0.5s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

@-webkit-keyframes slide-right {
    0% {
        opacity: 1;
        -webkit-transform: translateX(-1.2em);
        transform: translateX(-1.2em);
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
}

@keyframes slide-right {
    0% {
        opacity: 1;
        -webkit-transform: translateX(-1.2em);
        transform: translateX(-1.2em);
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
    }
}
