/**
 *
 * Copyright (c) 2020 Alexander Bazhanov
 * https://github.com/bazhanius/
 *
 */

.result-screen {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: calc(100% - 0.5px);
    height: calc(100% - 0.5px);
    border: 0;
    background-color: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.result-screen__highlights {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    padding: 0 0 0 10px;
    margin-bottom: calc(var(--tile-width) / 2);
}

.result-screen__highlights::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 75%;
    top: 5%;
    left: 0;
    z-index: -2;
    background-color: var(--gray-super-lite);
    transform: rotate(-1deg);
}

.highlights__input-container {
    display: flex;
    flex-direction: column;
}

.input-container__label {
    font-size: 0.8em;
    color: var(--gray-lite);
}

.input-container__input {
    font-family: "Exo 2", sans-serif;
    font-size: 18px;
    height: 36px;
    padding: 0 10px;
    margin: 5px 0 10px;
    outline: none !important;
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.input-container__input:focus {
    box-shadow: 0 0 0 2px var(--blue-btn);
}

.input-container__input::placeholder {
    color: var(--gray-lite);
}

.result-screen__header {
    position: absolute;
    top: 0;
}

#check-mark {
    width: calc(var(--tile-width) * 3);
    height: calc(var(--tile-width) * 3);
    filter: drop-shadow(2px 1px 0 white);
    overflow: visible;
}

.check-mark-fig-1, .check-mark-fig-2 {
    fill: none;
    stroke: var(--green);
    stroke-width: calc(var(--tile-width) / 2);
    stroke-linecap: butt;
    stroke-linejoin: arcs;
}
.check-mark-fig-1 {
    stroke-dasharray: 0, 2357;
    animation: dash-1 500ms 1 forwards ease-in;
    animation-delay: 0ms;
}

@keyframes dash-1 {
    to {
        stroke-dasharray: 2357, 2357;
    }
}

.check-mark-fig-2 {
    stroke-dasharray: 320, 320;
    stroke-dashoffset: 320;
    animation: dash-2 300ms 1 forwards ease-in;
    animation-delay: 450ms;
}

@keyframes dash-2 {
    to {
        stroke-dashoffset: 0;
    }
}