body {
    font-family: Segoe UI, sans-serif; 
    font-size: 12px; 
    color:#4e5355;
    overflow: auto;
    display: flex;
    flex-direction: column;
    margin: 0; 
    padding: 0; 
    height: 100vh; 
}

.overlay {
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: top center;
    background-image: url("resource/iv/shutterstock_mit_ipad_small.jpg");
    filter: blur(20px);
}

.header__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 46px;
    background: linear-gradient(
        100deg, 
        rgba(255,255,255,.9) 250px, 
        rgba(255,255,255,.2) 100%
    );
    border-bottom: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 3px .5rem  rgba(0,0,0,.4); /* 6e ^= .4 (opacity) */
}

.header__container__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.header__logo {
    height: 46px;
    opacity: 0;
    transition: opacity .5s;
    animation: fade-in 1s;
    animation-fill-mode: forwards;
    border-right: 1px solid #4e5355;
    background-color: white;
}

.header__invent {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    line-height: 0;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 0 .3rem;
    opacity: 0;
    animation: fade-in .6s .3s;
    animation-fill-mode: forwards;
}

.header__container__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    clip-path: polygon(7% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.language-select__container {
    padding: 0 1rem 0 2rem;
}

.language-select:hover {
    cursor: pointer;
}

.language-select {
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 0 6px #4e5355;
    overflow: visible;
    outline: none;
    border: none;
    background-color: transparent; /* rgba(0,0,0,.1); */
    margin: 0 1rem 0 1rem;
    padding-right: .5rem;
}

.language-select > option {
    background-color: #4e5355;
    font-size: 1rem;
}

.main-view__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.row__container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
}

.login__card {
    z-index: 10;
    min-height: 250px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background-color: rgba(255,255,255,.8);
    border-radius: 5px 0 0 5px;
    box-shadow: 0 3px .5rem rgba(0,0,0,.4); /* 6e ^= .4 (opacity) */
    opacity: 0;
    animation: fade-in .5s .4s, from-bottom .5s .4s;
    animation-fill-mode: forwards;
}

.card__left__side {
    position: relative;
    width: 400px;
    height: auto;
    background-image: url(resource/iv/shutterstock_mit_klemmbrett_small.jpg);
    background-size: cover;
    background-position: right;
    clip-path: polygon(0 0, 100% 0, 87% 100%, 0 100%);
    border-radius: 5px 0 0 5px;
}

.card__left__side__logo {
    position: absolute;
    bottom: 0;
    height: 40px;
}

.login__card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.66rem;
}

.login__heading {
    display: block;
    padding: 0;
    margin: 0 0 2rem;
    flex: 1 1 auto;
}

.form {
    display: flex;
    flex: .66 1 auto;
    flex-direction: column;
    justify-content: space-between;
}

.login__section {
    display: flex;
    flex-direction: column;
    position: relative;
}

.login__section:not(:last-child) {
    margin-bottom: 2.5rem;
}

.login__section:nth-last-child(2) {
    margin-bottom: 2rem;
}


.login__input {
    z-index: 0;
    width: 180px;
    border: none;
    transition: all .3s;
    background-color: transparent;
}

.login__input:focus {
    outline: none;
}

.login__label {
    position: absolute;
    top: 0;
    transition: transform .3s;
    user-select: none;
}

.input__underline {
    position: relative;
}

.login__label:hover {
    cursor: text;
}

.input__underline::after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 1px;
    background-color:  rgba(0,0,0,.4);
    transition: all .3s;
}

:not(.login__input--empty) ~ .login__label,
.login__input:focus ~ .login__label {
    transform: translateY(-110%);
}

.login__input--error ~ .login__label,
.login__input--empty .login__input:focus ~ .login__label {
    color: red;
}

.login__input--ok ~ .login__label {
    color: #0090a7;
}

.login__input:focus ~ .input__underline::after {
    background-color: #0090a7;
    height: 2px;
}

button {
    padding: .5rem 1rem .5rem 1rem;
    background-color: #0090a7;
    color: aliceblue;
    box-shadow: 0 1px 3px#4e5355;
    border: none;
    border-radius: 3px;
    display: block;
    width: 100%;    
    outline: none;
}

button:active {
    background-color: #0090a7;
    box-shadow: 0 2px 3px #4e5355;
}

button:hover {
    cursor: pointer;
}

.newsFeed__container {
    box-sizing: border-box;
    max-width: 555px; 
    min-width: 300px;
    background-color: rgba(30,30,30,.6);
    box-shadow: 0 3px .5rem rgba(0,0,0,.4); /* 6e ^= .4 (opacity) */
    border-radius: 0 5px 5px 0;
    padding: 1.5rem;
    opacity: 0;
    animation: fade-in .5s .4s, from-bottom .5s .4s;
    animation-fill-mode: forwards;
}

.newsFeed {
    color:rgba(255,255,255,.85);
    text-shadow: 0 0 8px #4e5355;
    margin: 0;
    text-align: justify;
}

.newsFeed > p:last-child {
    margin-bottom: 0;
}

.error-box {
    max-width: 500px;
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 5px;
    box-shadow: 0 3px 6px #4e5355;
    padding: 1rem;
    color: orangered;
    opacity: 0;
    animation: fade-in .5s .6s, from-bottom .5s .6s;
    animation-fill-mode: forwards;
    display: none;
}

.footer__container {
    background-color: rgba(255,255,255,.8);
    border-top: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 3px .5rem  rgba(0,0,0,.4); /* 6e ^= .4 (opacity) */
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer__text {
    text-decoration:none;
    margin: 0 5px 0 5px;
    animation: fade-in 1s;
}

a, 
a:visited {
    color:#4e5355;
}
a:hover.footer {
    text-decoration:underline; 
}

@keyframes fade-in {
    0% {
        opacity: 0; 
        transform: scale(.8)
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes from-bottom {
    0% {
        transform: translateY(2rem);
    }
    100% {
        transform: translateY(0);
    }
}
