@font-face {
    font-display: swap;
    font-family: RazerF5;
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/RazerF5.eot);
    src: local("â˜º"),url(/fonts/RazerF5.woff) format("woff"),url(/fonts/RazerF5.ttf) format("truetype"),url(/fonts/RazerF5.svg) format("svg")
}

html {
    width:100%;  
    height:100%;
}
html, body {
    margin:0;
    padding:0;
}

body {
    font-family: Roboto,sans-serif;
    background-color: #111;
    color: #999;
    font-size: 1em;
    border: 5px solid #44d62c;
    box-sizing: border-box;
    min-height:100%;
}
body.blinking {
    animation-duration: 1s;
    animation-name: blinking;
    animation-iteration-count: infinite;
}

h1 {
    font-family: RazerF5,sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #44d62c;
}

.slide {
    display:none;
    padding:20px;
}
.slide.active {
    display:block;
}

p.important {
    color: #f03a17;
    text-align: center;
    border: 1px solid red;
    padding:10px;
}
p.title {
    font-size: 1.1em;
    color: #44d62c;
}

#timeline {
    position: sticky;
	top:20px;
	z-index:1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: center;
    height:30px;
    border: 1px solid #111;
	background-color: rgba(0,0,0,0.8);
}

#timeline.ok {
    border-color: #44d62c;
}
#timeline.warning {
    border-color: orange;
}
#timeline.critical {
    border-color: red;
}

#timeline > #timeline-title {
    position: absolute;
    display: flex;
    flex:1;
    color:white;
    margin-top:5px;
    text-shadow: 0 0 5px black;
}
#timeline > #timeline-bar {
    width:95%; 
    height:30px;
    flex:none;
    position: absolute;
}
#timeline.ok > #timeline-bar {
    background-color: #44d62c;
    box-shadow: 0 0 10px #44d62c;
}
#timeline.warning > #timeline-bar {
    background-color: orange;
    box-shadow: 0 0 10px orange;
}
#timeline.critical > #timeline-bar {
    background-color: red;
    box-shadow: 0 0 10px red;
}

#questions {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    padding-top:20px;
    padding-bottom:20px;
}
.question {
    position: relative;
    display:flex;
    flex: 1;
    flex-direction: column;
    border-top: 1px solid #44d62c;
    padding:20px;
    padding-left:0;
    padding-right: 50px;
    min-width:300px;
    justify-content: space-between;
}
.question > span.question-title {
    font-size: 1.2em;
    margin-bottom:10px;
    color: #44d62c;
}

#questions > .question:after {
    position: absolute;
    right:0;
    top:0;
    display: flex;
    width:40px;
    height:40px;
    justify-content: center;
    align-items: center;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 20px;
    background: #44d62c;
    color: black;
    font-weight: bold;
}
#questions > .question:nth-child(1):after {
    content: '1';
}
#questions > .question:nth-child(2):after {
    content: '2';
}
#questions > .question:nth-child(3):after {
    content: '3';
}

select {
    background-color: #040404;
    color: #44d62c;
    border: 1px solid #44d62c;
    padding:5px;
    font-size: 1.2em;
    width:100%;
}
button {
    font-family: RazerF5,sans-serif;
    width:100%;
    background-color: #44d62c;
    color: #040404;
    border: 1px solid #040404;
    padding:20px;
    font-size: 20px;
    margin-top:20px;
}
button.inactive {
    background-color: grey;
    color: rgb(201, 201, 201);
}

#results {
    font-size: 2em;
    text-align: center;
}
#results.ok {
    color:#44d62c; 
}
#results.ok a {
    display:block;
    background-color: #44d62c;
    padding: 10px;
    margin-top: 20px;
    color: black;
    text-decoration: none;
    box-shadow: 0 0 10px #44d62c;
    border: 1px solid black;
    animation-duration: 1s;
    animation-name: glowing;
    animation-iteration-count: infinite;
    font-size: 0.8em;
}
#results.ok a:before {
    content: "👇";
    display:block;
}
#results.ok a:after {
    content: "🖕";
    display:block;
}


#results.nok {
    color: red;
}
#results.nok button {
    background-color: red;
    color:white;
}

audio {
    display:none;
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 10px #44d62c
    }
    50% {
        box-shadow: 0 0 50px #44d62c
    }
    100% {
        box-shadow: 0 0 10px #44d62c
    }
}
@keyframes blinking {
    0% {
        background-color: #111;
    }
    50% {
        background-color: #313131;
    }
    100% {
        background-color: #111;
    }
}