﻿/*  ---------
    ANIMATION
    --------- */

.animation__container {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000;
    transition: 500ms ease-in-out;
    z-index: 9998;
}

.animation__container .logo {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.animation__container .logo path:nth-child(2) {
    stroke-dasharray: 542;
    stroke-dashoffset: 542;
    animation: line-animation 1000ms ease forwards;
}

.animation__container .logo path:nth-child(3) {
    stroke-dasharray: 236;
    stroke-dashoffset: 236;
    animation: line-animation 1000ms ease forwards 300ms;
}

.animation__container .logo path:nth-child(4) {
    stroke-dasharray: 205;
    stroke-dashoffset: 205;
    animation: line-animation 1000ms ease forwards 600ms;
}

.animation__container .logo path:nth-child(5) {
    stroke-dasharray: 39;
    stroke-dashoffset: 39;
    animation: line-animation 1000ms ease forwards 900ms;
}

.animation__container .logo path:nth-child(6) {
    stroke-dasharray: 382;
    stroke-dashoffset: 382;
    animation: line-animation 1000ms ease forwards 1200ms;
}

.animation__container .logo path:nth-child(7) {
    stroke-dasharray: 215;
    stroke-dashoffset: 215;
    animation: line-animation 1000ms ease forwards 1500ms;
}

.animation__container .logo path:nth-child(8) {
    stroke-dasharray: 236;
    stroke-dashoffset: 236;
    animation: line-animation 1000ms ease forwards 1800ms;
}

.animation__container .logo path:nth-child(9) {
    stroke-dasharray: 245;
    stroke-dashoffset: 245;
    animation: line-animation 1000ms ease forwards 2100ms;
}

.animation__container .logo path:nth-child(10) {
    stroke-dasharray: 205;
    stroke-dashoffset: 205;
    animation: line-animation 1000ms ease forwards 2400ms;
}

.animation__container .logo path:nth-child(11) {
    stroke-dasharray: 162;
    stroke-dashoffset: 162;
    animation: line-animation 1000ms ease forwards 2700ms;
}

.animation__container .logo path:nth-child(12) {
    stroke-dasharray: 249;
    stroke-dashoffset: 249;
    animation: line-animation 1000ms ease forwards 3000ms;
}

.animation__container .logo path:nth-child(13) {
    stroke-dasharray: 236;
    stroke-dashoffset: 236;
    animation: line-animation 1000ms ease forwards 3300ms;
}

@keyframes line-animation {
    to {
        stroke-dashoffset: 0;
    }
}

.animation__container.close {
    transform: translateY(-100%);
}