:root {
    --main-color: #3584e4;
    --dark-color: #333;
    --background-color: #f4f4f4;
    --light-color: #ccc;
    --animation-duration: 0.3s;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--background-color);
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 30vw;
    min-height: 200px;
    vertical-align: middle;
}

h1 {
    margin-bottom: 20px;
    color: var(--main-color);
}

input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--light-color);
    border-radius: 4px;
}

button {
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: color-mix(in hsl, var(--main-color), var(--light-color) 20%);
}

div#sso-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

div#sso-button-container > * {
    text-decoration: none;
    display: inline-block;
    margin-left: 1em;
}

.sso-button {
    margin-top: 1.5em;
    padding: 1em;
    color: white;
    opacity: 0; /* Start transparent, animation will make it visible */
    animation: fadeIn var(--animation-duration) forwards;
    /* Removed no-animation and animation-delay here, will be handled by JS if needed */
}

.info-message { /* For paragraph messages */
    opacity: 0; /* Start transparent */
    animation: fadeIn var(--animation-duration) forwards;
    margin-top: 1.5em; /* Consistent with buttons */
    color: var(--dark-color); /* Example color, adjust as needed */
}

.fade-out-animation {
    animation: fadeOut var(--animation-duration) forwards !important;
}

.no-animation {
    opacity: 1;
    animation: none !important; /* Ensure no animation runs */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(5px); }
}

.sso-button img.favicon {
    vertical-align: middle;
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    height: 150px;
    opacity: 0;
    animation: fadeIn var(--animation-duration) forwards;
}

.logo {
    max-width: 200px;
    min-width: 90px;
    width: 40%;
    height: auto;
    margin-bottom: 0px;
    /* Corresponds to var(--main-color) */
    filter: brightness(0) saturate(100%) invert(44%) sepia(61%) saturate(2078%) hue-rotate(195deg) brightness(94%) contrast(89%);
}

@media screen and (max-width: 600px) {
    .container {
        border-radius: 0%;
        width: 100%;
        padding: 10px;
        margin: 0;
    }

    input[type="email"] {
        width: 90%;
        margin: 0;
        margin-left: auto;
        margin-right: auto;
    }

    button {
        width: 80%;
    }
    
}