@font-face {
    font-family: 'Roboto-Medium';
    src: url('/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html, button {
    height: 100%;
    margin: 0;
    font-family: 'Roboto-Medium', sans-serif;
    overflow: hidden;
    color: var(--MainFontColor);
    background-color: var(--MainBackColor);
}

.logo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 350px;
    height: 100px;
    background-image: url('/images/logo.png');
    background-size: cover;
    background-position: center;
    margin-left: -175px;
    z-index: 1;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: -50;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login_legals{
    margin-top: 20px;
    gap: 10px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    animation: slideUp 1s cubic-bezier(.05,.95,.17,1) forwards;
}

.legal-container {
    position: absolute;
    top: 100px; 
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.legal-container p {
    margin: 4px 0;
}

.login-form {
    background-color: var(--FormBackColor);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    width: 300px;
    text-align: center;
    border: 2px solid var(--MainBorderColor);
}

.login-form a {
    margin-bottom: 50px;
    color: #ddd;
    font-size: medium;
    font-weight: bold;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #ddd;
    text-shadow: rgb(0, 0, 0) 2px 0 10px;
}

.errortext{
    margin-bottom: 20px;
    color: red;
}

.login-form input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.login-form button {
    width: 80%;
    padding: 10px;
    margin: 10px;
    border: none;
    background-color: #2eb432;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: large;
}

.login-form button:hover {
    background-color: #45a049;
}

.legalsA{
    font-size: smaller !important;
    margin: 5px;
    font-weight: normal !important;
}