* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #2c2f33;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/images/assets_images_background_tile_dark.png");
    background-repeat: repeat;
    background-size: 25% auto;
    z-index: -1;
}

@media only screen and (max-width: 500px) {
    .background {
        background-size: 100% auto;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 5% 0;
}

.card {
    background-color: #41454B;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    width: 50%;
    max-width: 600px;
    text-align: center;
    z-index: 50;
}

@media only screen and (min-width: 1450px) {
    .card {
        width: 40%;
    }
}

@media only screen and (max-width: 1200px) {
    .card {
        width: 70%;
    }
}

@media only screen and (max-width: 900px) {
    .card {
        width: 90%;
    }
}

.card-header {
    margin-top: 15px;
    margin-bottom: 20px;
}

.logo {
    width: 140px;
    height: 140px;
}

@media only screen and (max-width: 700px) {
    .logo {
        width: 100px;
        height: 100px;
    }
}

.title {
    color: white;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 0;
}

@media only screen and (max-width: 700px) {
    .title {
        font-size: 35px;
    }
}

.subtitle {
    color: #999;
    font-size: 18px;
    margin: 0 5% 20px 5%;
    font-weight: normal;
}

@media only screen and (max-width: 700px) {
    .subtitle {
        font-size: 15px;
    }
}

.hidden {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    width: 70%;
    background-color: transparent;
    padding: 0 20px;
    font-size: 18px;
    color: #AAA;
    margin-top: 20px;
    border: solid 2px #888;
    border-radius: 5px;
    height: 40px;
}

input:focus {
    border-color: #fc226e;
    outline: none;
}

input::placeholder {
    font-size: 18px;
    color: #888;
}

.button, button {
    border: 0;
    background-color: #fc226e;
    width: 20%;
    margin-top: 30px;
    padding: 15px;
    font-size: 17px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
    min-height: 50px;
}

@media only screen and (max-width: 500px) {
    .button, button {
        width: 70%;
    }
}

.button:hover, button:hover {
    background-color: #e31e63;
}

.button:disabled, button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff33;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
}

.footer-fill {
    height: 100%;
    width: 100%;
    background-color: transparent;
    position: relative;
}

.imprint {
    position: absolute;
    bottom: 15px;
    left: 1%;
    right: 1%;
    color: #999;
    font-size: 13px;
}

.imprint a {
    color: #999;
    text-decoration: none;
}

.imprint a:hover {
    text-decoration: underline;
}
