:root {
    --default-radius: 1em;
    --font-size: 12pt;

    /* Colors */
    --prometeo-red: #F30A0A;
    --content-background: #DDDD;
    --bot-color: #99D6F0;
    --link-color: #EEE;
    --user-color: #FFCF99;
}

.--round {
    border-radius: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    font-size: var(--font-size);
}

#main-page {
    background: url("images/Chatbot.png") right bottom / 70% no-repeat fixed, black url("images/Fondo-2-scaled.jpg") top/cover no-repeat fixed;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

.hidden {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    pointer-events: none;
}

#top-banner {
    background: #000000AA;
    border-radius: 10px;
    margin: 0.5em;
    display: flex;
    align-items: center;
}

#prometeo-link {
    flex: 0;
    margin-right: auto;
    object-fit: none;
}

#prometeo-logo {
    height: 3em;
}


.content-box {
    background: var(--content-background);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1em;
}

.message {
    border-radius: var(--default-radius);
    margin: 0.2em;
    max-width: 80%;
    padding: 0.5em 1em;
    white-space: pre-wrap;
    word-wrap: anywhere;
}

.info {
    background: var(--bot-color);
    border-radius: var(--default-radius);
    padding: 1em;
    text-align: center;
}

.menu {
    align-items: center;
    flex-grow: 0;
    margin-left: auto;
    margin-right: auto;
}

.modal {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;

    display: flex;

    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background-color: var(--content-background);
    border-radius: var(--default-radius);
    padding: 1em;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 50%;
    margin: auto;
}

.modal-show {
    opacity: 1;
    visibility: visible;
}

.close.button {
    margin-left: auto;
    padding: 0;
    border-radius: 100%;
    width: 1.2em;
    height: 1.2em;
    font-size: calc(2 * var(--font-size));
}

#login-form {
    display: flex;
}

#modal-form {
    display:flex;
    flex-direction: column;
}

#modal-form > * {
    margin: 0.5em;
}

.button {
    background: var(--prometeo-red);
    color: black;
    border: none;
    border-radius: var(--default-radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.input-field {
    border: 1px solid #0000;
    border-radius: 10px;
    flex-grow: 1;
    font-size: var(--font-size);
    margin-right: 4px;
    padding: 6px;
}

.input-field:focus {
    box-shadow: 0 0 5px #00BEBE;
    border: 1px solid #00BEBE;
    outline: 0;
}

.spinner {
    animation: spinner 1s infinite linear;
    border: 0.25rem solid #eee;
    border-radius: 50%;
    border-top-color: #ccc;
    width: 2em;
    height: 2em;
}

@keyframes spinner {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
