﻿html {
    overflow: hidden;
}

input[type=email] {
    width: 40ch;
}

#inputUsername {
    width: calc(100% - 1em);
}

#inputPassword {
    width: calc(100% - 1em);
}

.signInBlock {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.banner-container {
    grid-row: 1;
    display: flex;
    overflow: hidden;
}

.banner-image {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.banner-title {
    width: max-content;
    margin: 0.25ch auto;
}

.background-image {
    position: absolute;
    object-fit: cover;
    min-width: 100%;
    height: 100%;
    z-index: -1;
}

.signin-window {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr max-content max-content max-content;
    width: 35em;
    max-width: calc(100% - 2em);
    height: max-content;
    max-height: calc(100% - 2em);
    margin: 1em;
    background-color: hsla(69, 0%, 100%, 0.95);
    padding: 1em;
    border: solid black 1px;
    border-radius: 1em;
    box-shadow: 1px 1px 5px #000;
    overflow: hidden
}

@@media only screen and (min-width: 30em) {
    .signin-window {
        width: max-content;
    }
}

.inputBlock {
    width: 100%;
    justify-self: center;
}

.control-block {
    justify-self: center;
    background-image: linear-gradient( 0deg, rgba(255,255,255,0.1) 0%, rgba(242,242,242,1) 95%, rgba(161,161,161,1) 100%);
    margin-top: 1ch;
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-unavailable-message {
    display: flex;
    flex-direction: column;
    row-gap: 0.25em;
    max-width: 100% ;
    color: var(--theme-color-text-dark);
    border: 3px solid var(--theme-color-red-dark);
    padding: 1em;
    border-radius: 0.5em;
    font-size: 1.25em;
}

    .team-unavailable-message .message {
    }

    .team-unavailable-message .btn {
        margin: 1em auto 0 auto;
    }