@font-face {
    font-family: "KurdFont";
    src: url("font.ttf") format("truetype");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "KurdFont", sans-serif;
    box-sizing: border-box;
}

body {
    background: #212121;
    color: #fff;
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dots {
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 2px;
}

.dots span {
    opacity: 0;
    animation: blink 1.2s infinite;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridmove 6s linear infinite;
    opacity: .25;
    z-index: -3;
}

@keyframes gridmove {
    to {
        background-position: 100px 100px
    }
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.center-box h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

#typed {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #fff;
    font-size: 1.3rem;
}

footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

footer a {
    color: #fff;
    margin: 0 15px;
    font-size: 26px;
    transition: .3s;
}

footer a:hover {
    color: #999;
}