@font-face {
    font-family: "Harrington";
    src: url("/resources/fonts/Harrington.eot");
    /* IE9*/
    src: url("/resources/fonts/Harrington.eot?#iefix") format("embedded-opentype"),
        /* IE6-IE8 */
        url("/resources/fonts/Harrington.woff2") format("woff2"),
        /* chrome、firefox */
        url("/resources/fonts/Harrington.woff") format("woff"),
        /* chrome、firefox */
        url("/resources/fonts/Harrington.ttf") format("truetype"),
        /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
        url("/resources/fonts/Harrington.svg#Harrington") format("svg");
    /* iOS 4.1- */
}



html,
body {
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

body {
    background-color: rgb(65, 65, 65);
    font-size: 20px;
    font-family: Harrington !important;
    color: white;

}


.login-container {
    width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 0 auto;

}

.registration-container {
    width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
}

label,
input[type="submit"] {
    width: 100%;
}

input[type="email"],
input[type="text"],
input[type="password"] {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px;
    margin-bottom: 20px;
}

input[type="submit"] {
    background-color: #4caf50;
    color: white;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

#noReg {
    margin-top: 20px;
    text-align: center;
}

#noReg a {
    color: white;
}

#tornaLog {
    margin-top: 20px;
    text-align: center;
}

#tornaLog a {
    color: white;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* ---- particles.js container ---- */

#particles-js {
    z-index: -1000;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom,
            #000033,
            #4b0082,
            #660099,
            #800080,
            #990099,
            #000000);
}

.error {
    color: #E10600;
    height: auto;
    margin-top: 15px;
    text-align: center;
}

.container-login {
    position: fixed;
    top: calc((100% - 400px)/2);
    left: calc((100% - 442px)/2);
    background-color: #000000b3;
}

.container-registration {
    position: fixed;
    top: calc((100% - 495px)/2);
    left: calc((100% - 442px)/2);
    background-color: #000000b3;
}

.login-container h1 {
    text-align: center;
}

.registration-container h1 {
    text-align: center;
}