@font-face {
    font-family: "Parisine";
    src: url('../fonts/Parisine-Regular.woff') format("woff");
    font-weight: 400;
}

@font-face {
    font-family: "Parisine";
    src: url('../fonts/Parisine-Bold.woff') format("woff");
    font-weight: 700;
}

@keyframes flash {
    from { opacity: 100 }
    50%  { opacity: 0 }
    to   { opacity: 100 }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Parisine", Arial, sans-serif;
    background: #000;
    color: #FFF;
    height: 100vh;
}

.main-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    max-width: 1000px;
    padding: 40px 20px;
    margin: 0 auto;
}

.lines-block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.line-block {
    color: #000;
    background: #FEFEFE;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.line-block-wrapper {
    width: 50%;
    padding: 0 20px;
}

.line-block-head {
    background: #777779;
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
}

.line-block-body {
    padding: 0 20px 20px;
}

.line-block .line-number {
    font-weight: bold;
    display: inline-block;
}

.line-block.line-8 .line-number {
    background: #E19BDF;
    padding: 4px 10px;
    border-radius: 50%;
}

.line-block.line-325 .line-number {
    background: #6EC4E8;
    border-radius: 5px;
    padding: 4px 10px;
}

.line-direction {
    font-weight: 700;
    color: #050D9E;
}

.line-block .line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.line-block .line-time {
    background: #000;
    color: #C9910D;
    border-radius: 4px;
    padding: 8px;
    width: 40px;
    text-align: center;
    margin-left: auto;
}

.line-block .line-time span[data-flash="true"] {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: flash;
}

.line-block-head .infos-container {
    top: 20px;
    left: 20px;
    position: absolute;
}

.line-block-head .info {
    position: relative;
    display: inline-block;
}

.line-block-head .info + .info {
    margin-left: 10px;
}

.line-block-head .info > div {
    display: none;
    position: absolute;
    top: 100%;
    background: #FFF;
    border-radius: 4px;
    z-index: 2;
    padding: 10px;
    width: 285px;
}

.line-block-head .toggle {
    height: 27px;
    width: 27px;
}

.line-block-head [data-severity="1"] .toggle {
    background: #C9910D;
}

.line-block-head [data-severity="2"] .toggle {
    background: #FF3333;
}

@media (max-width: 769px) {
    .line-block-wrapper {
        width: 100%;
    }

    .line-block-wrapper + .line-block-wrapper {
        margin-top: 40px;
    }
}
