body, html{
    width: 100vw;
    height: 100vh;
    margin: 0px;
    padding: 0px;

    font-family: Arial;
    position: relative;
}

.normalContainer{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.normalContainer::before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
    
    background: linear-gradient(232deg,#2c00fe,#00fef9);
    background-size: 120% 120%;
    animation: gradient-animation 12s ease infinite;
    /*filter: blur(5px);*/ /*meh*/
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.loginContainer{
    width: 35rem;
    height: 20.5rem;
    border: 2px solid rgba(0, 69, 230, 1);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
    color: white;
}

.headerBar{
    font-size: 0.75rem;
    line-height: 2.5rem;
    height: 2.5rem;
    width: 100%;

    background: linear-gradient(0deg,rgba(0, 136, 255, 1) 0%, rgba(0, 69, 230, 1) 40%, rgba(0, 69, 230, 1) 60%, rgba(0, 136, 255, 1) 100%);
}

.headerBar h2{
    margin: 0px;
    padding-left: 0.75rem;
}

.previewBar{
    height: 8.25rem;
    width: 100%;
    background-color: rgba(0, 136, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 0.25rem solid orange;
}

.previewBar img{
    height: 7rem;
}

.previewBar p{
    position: absolute;
    height: 2rem;
    top: calc(100% - 2.5rem);
    left: calc(0px + 0.5rem);
}

.loginContainer form{
    width: 100%;
    background-color: beige;
    height: 9.5rem;
}

.inputContainer{
    /*display: flex;*/
    color: black;
    padding: 0.75rem
}

.inputContainer p{
    width: 80%;
}

.inputContainer input{
    float: right;
    width: calc(100% - 7.5rem);
}

.submitContainer{
    padding: 0.75rem;
    width: calc(100% - 1.5rem);
    text-align: right;
}

.submitContainer > *{
    margin-right: 0.75rem;
}

button:hover, input[type="submit"]:hover{
    cursor: pointer;
}

#slideContainer{
    z-index: 9999;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    
    background: linear-gradient(232deg,#2c00fe,#00fef9);
    background-size: 120% 120%;
    animation: gradient-animation 12s ease infinite;
}

.clockContainer > *{
    margin: 0px;
    text-align: center;
    font-size: 300%;
}

#indicator{
    font-size: 90%;
    font-style: italic;
}




.systemSelectContainer{
    width: calc(100% - 6rem);
    /*min-height: calc(100% - 6rem);*/
    /*height: fit-content;*/ /*6 (2*bar) + 7 + 4 + 2.5*/
    height: calc(100% - 6rem);
    color: white;
    background-color: black;
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: lighter;
    padding: 1.5rem 3rem 4.5rem 3rem;
    position: relative;
    user-select: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

h1{
    font-size: 3rem;
}

.systemSelectContainer > p:first-of-type{
    margin-top: 0px;
}

.sysSelBar{
    height: 3rem;
    width: calc(100% - 3rem);
    color: black;
    background-color: rgb(200,200,200);
    line-height: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.sysSelBar > h1{
    font-size: 2rem;
    margin: 0px;
    padding: 0px;
    font-weight: normal;
}

.systemSelectContainer form{
    overflow: auto;
    background-color: black;
    z-index: 9999;
}

.bootOpt{
    padding: 0.5rem;
    /*width: calc(100% - 2.5rem);*/
    width: fit-content;
    margin-left: 1.5rem;
    margin-bottom: 3rem;
    height: 4rem; /*total = 8rem */
}

.bootOpt h2, .bootOpt p{
    margin: 0px;
    padding: 0px;
}

.optSelected{
    background-color: rgb(200,200,200);
    color: black;
    animation-name: selAnimInverse;
    animation-duration: 1s;
    animation-timing-function: steps(1, end);
    animation-iteration-count: infinite;
}

@keyframes selAnim{
    0%{
        background-color: black;
        color: white;
    }
    50%{
        background-color: rgb(200,200,200);
        color: black;
    }
    100%{
        background-color: black;
        color: white;
    }
}

@keyframes selAnimInverse{
    0%{
        background-color: rgb(200,200,200);
        color: black;
    }
    50%{
        background-color: black;
        color: white;
    }
    100%{
        background-color: rgb(200,200,200);
        color: black;
    }
}

#overrideDisplayContainer{
    position: absolute;
    width: fit-content;
    height: fit-content;
    left: 0px;
    top: 0px;
    z-index: 9999;
    color: white;
}




/*kurva toe chonker - hodne stary copy paste kod, mozna by bylo lepsi komplet predelat ale zatim staci*/

#errorMsg{
    position: absolute;
    top: calc(50% - 125px);
    left: calc(50% - 250px);
    background-color: rgb(0, 0, 0);
    z-index: 9999;
    color: white;
    text-align: center;
    height: 240px;
    width: 490px;

    display: grid;
    grid-template-areas: 
        "vykr zprava zprava zprava"
        "vykr zprava zprava zprava"
        "vykr zprava zprava zprava"
        "vykr zprava zprava zprava"
        "vykr tlacit tlacit tlacit";
    gap: 5px;
    padding: 5px;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 4fr 1fr;
    border-radius: 10px;
}

#em1{
    grid-area: vykr;
    font-weight: bold;
    font-size: 10rem;
    user-select: none;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 0px 0px 10px;
}

#errorMsg div span{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#errorMsg div{
    background-color: rgb(50, 50, 50);
}

#errorMsg #em3 button{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 10px;
    transition: 100ms;
    border-radius: 0px 0px 10px 0px;
    background-color: rgb(50, 50, 50);
}

#errorMsg #em3 button:hover{
    cursor: pointer;
    background-color: rgb(100, 100, 100);
    transition: 100ms;
}

#em2{
    grid-area: zprava;
    padding: 20px;
    border-radius: 0px 10px 0px 0px;
}

#em3{
    grid-area: tlacit;
    border-radius: 0px 0px 10px 0px;
}

#krizek{
    display: block;
    position: absolute;
    height: 25px;
    width: 25px;
    border-bottom-left-radius: 15px;
    border: 1px solid black;
    line-height: 25px;
    font-size: 18px;
    top: 0px;
    right: 0px;
    text-align: center;
    text-decoration: none;
    background-color: red;
    color: white;
    z-index: 100;
}