@keyframes move {
    from {
        top: 40%;
    }
    to {
        top: 50%;
    }
}

@keyframes move_cookie {
    from {
        top: 71%;
    }
    to {
        top: 85%;
    }
}

body {
    height: 100vh;
    /*background: rgb(49,122,191);
  background: linear-gradient(133deg,rgba(49,122,191,1), rgba(25,39,128,1) 100%);*/
    margin: 0;
    padding: 0;
    font-family: 'jetbrains_monoregular';
    background: #F0F2F5;
}

.box {
    -webkit-box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.12);
    animation-name: move;
    animation-duration: 0.5s;
    width: 380px;
    padding-bottom: 40px;
    padding-top: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fafbfc;
    /*background: linear-gradient(135deg,rgba(250, 251, 252,1), rgb(202, 202, 206) 100%);*/
    text-align: center;
    border-radius: 5px;
}

.box h1 {
    font-family: 'jetbrains_monoextra_bold';
    font-size: 35px;
    color: #252526;
    text-transform: none;
    font-weight: 500;
}

.box input[type="email"],
.box input[type="text"],
.box input[type="password"] {
    font-family: 'jetbrains_monoregular';
    border: 0;
    background: #f0f1f3;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #317ABF;
    padding: 14px 0px;
    width: 200px;
    outline: none;
    color: #252526;
    border-radius: 24px;
    transition: 0.25s;
}

.box input[type="email"]:focus,
.box input[type="text"]:focus,
.box input[type="password"]:focus {
    width: 280px;
    border-color: #2ecc71;
}

.box input[type="submit"] {
    font-family: 'jetbrains_monoextra_bold';
    background: #f0f1f3;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid #2ecc71;
    padding: 14px 40px;
    outline: none;
    color: #252526;
    border-radius: 24px;
    transition: 0.25s;
    cursor: pointer;
}

.box input[type="submit"]:hover {
    background: #2ecc71;
}

.error {
    color: #df3424;
}

.redir {
    font-family: 'verdana';
    font-size: 20px;
    color: #2c59bb;
    text-decoration: none;
    float: right;
    margin-right: 28px;
}

.logo {
    display: block;
    text-align: center;
    margin-top: 3%;
    margin-left: 3%;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.err_lbl {
    display: block;
    margin-top: 45px;
    font-family: 'jetbrains_monoextra_bold';
    font-size: 20px;
    color: #252526;
    text-transform: none;
    font-weight: 500;
}

.cookie-banner {
    animation-name: move_cookie;
    animation-duration: 0.7s;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 650px;
    padding: 5px 14px;
    justify-content: space-between;
    background: #fafbfc;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.close {
    float: right;
    margin-top: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    height: 20px;
    background-color: #777;
    border: none;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.25s;
}

.close:hover {
    background-color: rgb(63, 61, 61);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 99%;
    text-align: center;
}

.footer_text {
    vertical-align: middle;
    width: 100%;
    font-family: 'jetbrains_monoregular';
    font-size: 15px;
    color: #5eb34d;
}

@media screen and (max-width: 768px) {
    /* For mobile phones: */
    .logo {
        margin-left: auto;
        margin-right: auto;
        margin-top: 12%;
    }
    .box {
        width: 360px;
    }
    .cookie-banner {
        width: 85%;
    }
    .box input[type="submit"] {
        cursor: none;
    }
}

@media screen and (orientation:landscape) and (max-height: 410px) {
    .box {
        position: relative;
        width: 360px;
        height: 100%;
        margin: 0 auto;
    }
    .box input[type="submit"] {
    	cursor: none;
    }
}
