@font-face {
    font-family: 'universlight';
    src: url('fileadmin/documents/virtmet2021/universlight.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'universlight', sans-serif;
}

body.login-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/*svg style*/
.st0{fill:url(#SVGID_1_);}
.st1{fill:url(#SVGID_2_);}
.st2{fill:url(#SVGID_3_);}
.st3{fill:url(#SVGID_4_);}
.st4{fill:url(#SVGID_5_);}
.st5{fill:url(#SVGID_6_);}
.st6{fill:url(#SVGID_7_);}
.st7{fill:url(#SVGID_8_);}

/*Startanimation*/
.start-screen {
    width: 100%;
    height: 100vh;

    display: grid;

    position: absolute;
    top: 0;
    left: 0;

    --stagger-delay: 100ms;

    z-index: 0;
}

#VirtMetLogo {
    width: 40%;
    min-width: 210px;

    justify-self: center;
    align-self: center;

    position: relative;
    top: 0;
    left: 0;

    animation: scaleDown 1200ms 2500ms ease-in-out forwards;
    transform-origin: 50% 50%;
}

.svg-text {
    animation: fadeIn 750ms 1000ms 1 linear forwards;
    opacity: 0;
}

.shape {
    position: relative;

    animation: shapeEntrance 1000ms ease forwards;
    transform-origin: 5% 45%;

    transform: scale(0);
}

.st0.shape, .st1.shape {
    transform-origin: 0 100%;
    animation: fadeIn 1000ms linear forwards;
    transform: scale(1);
    opacity: 0;
}

.st3 {animation-delay: calc(10*var(--stagger-delay));}
.st2 {animation-delay: calc(11*var(--stagger-delay));}
.st4 {animation-delay: calc(11*var(--stagger-delay));}
.st5 {animation-delay: calc(12*var(--stagger-delay));}
.st6 {animation-delay: calc(12*var(--stagger-delay));}
.st7 {animation-delay: calc(13*var(--stagger-delay));}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

@keyframes shapeEntrance {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes scaleDown {
    0% {
        transform: scale(1);
        top: 0;
        left: 0;
    }
    100% {
        transform: scale(0.3);
        top: -40%;
        left: -42%;
    }
}

/*Auswahlseite*/
.choice-screen {
    width: 100%;
    height: 100vh;

    position: relative;

    display: grid;
    grid-template-rows: 1fr 2fr 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
            ". ."
            "title title"
            "buttonLeft buttonRight"
            ". ."
    ;

    z-index: 1;

    animation: fadeIn 1000ms 4s ease-in forwards;
    opacity: 0;
}


a.button, .title {
    display: flex;
    justify-content: center;
    align-items: center;

    justify-self: center;
    align-self: center;

    width: 100%;
    height: 100%;

    text-decoration: none;
    color: black;
}

a.button:hover {
    background: linear-gradient(90deg, rgba(0,136,194,1) 0%, rgba(0,159,227,1) 100%);
    color: white;
}

h1.headline {
    margin-bottom: 70px;
    font-size: 2vw;
}

h2 {
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: 0.05rem;
}

.button1 {
    grid-area:buttonLeft;
    border-right: 1px solid black;
}
.button2 {
    grid-area:buttonRight;
    border-left: 1px solid black;
}

.title {
    grid-area: title;
    font-size: 5rem;
    text-align: center;
}
div.logo {
    position: absolute;
    top:2vh;
    left: 2vh;
}
div.logo img { width: 10vw;}

/*Login*/
div#c2078 legend {display: none;}

div#login-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: right;
    align-items: center;
}
div#login-page svg#schwung {
    width: 20%;
    height: auto;
    opacity: 0;
    animation: popup2 ease-in 0.75s forwards;
    animation-delay: 4s;
}
div#c2078 {
    opacity: 0;
    width: 50%;
    height: auto;
    animation: popup ease-in 1s forwards;
    animation-delay: 4.5s;
    margin-bottom: 5vw;
    font-family: 'universlight', sans-serif !important;
    background: url("../images/schwung.svg") no-repeat;
  	padding: 0px 0 130px 280px;
  min-width: 955px;
}

div#c2078 header h1 {
    font-size: 4rem;
    margin-bottom: 50px;
    font-weight: 800;
}
div#c2078 header h1 sup {
    font-size: 2.5rem ;
}

div#c2078 fieldset {
    border: none;
    width: 35vw;
  min-width: 600px;
}
div#c2078 fieldset div{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
div#c2078 fieldset div label {
    font-size: 3rem;
    color: rgb(0,159,227);
}

div#c2078 fieldset div:nth-child(4) input {
    width: 100%;
    height: 70px;
    border: none;
    color: white;
    background-color: rgba(0,159,227,1);
    font-size: 2rem;
    margin-top: 10px;
    cursor: pointer;
}

div#c2078 fieldset div input#pass,
div#c2078 fieldset div input#user {
    width: 60%;
    border-radius: 0;
    border: solid 1px black;
}

@keyframes popup {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes popup2 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.1;
    }
}