@font-face {
    font-family: "IranSans";
    src: url(./../fonts/IranSans/IranSans.woff)
}

* {
    margin: 0;
    padding: 0
}

html {
    height: 100%;
    overflow: hidden
}

body {
    font-family: "IranSans"
}

canvas {
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

.caps {
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: as 8s linear infinite
}

.caps img {
    display: block;
    width: 100%;
    height: 100%
}

@keyframes as {
    0% {
        opacity: 0
    }

    10% {
        opacity: .3
    }

    20% {
        opacity: .1
    }

    30% {
        opacity: .5
    }

    40% {
        opacity: 0
    }

    50% {
        opacity: .8
    }

    55% {
        opacity: 0
    }

    55% {
        opacity: 0
    }
}

.frame {
    z-index: 3;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: -moz-radial-gradient(center,ellipse cover,#fff0 0%,#fff0 19%,rgb(0 0 0 / .9) 100%);
    background: -webkit-gradient(radial,center center,0,center center,100%,color-stop(0%,#fff0),color-stop(19%,#fff0),color-stop(100%,rgb(0 0 0 / .9)));
    background: -webkit-radial-gradient(center,ellipse cover,#fff0 0%,#fff0 19%,rgb(0 0 0 / .9) 100%);
    background: -o-radial-gradient(center,ellipse cover,#fff0 0%,#fff0 19%,rgb(0 0 0 / .9) 100%);
    background: -ms-radial-gradient(center,ellipse cover,#fff0 0%,#fff0 19%,rgb(0 0 0 / .9) 100%);
    background: radial-gradient(ellipse at center,#fff0 0%,#fff0 19%,rgb(0 0 0 / .9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#e6000000',GradientType=1)
}

.frame div {
    position: absolute;
    left: 0;
    top: -20%;
    width: 100%;
    height: 20%;
    background-color: rgb(0 0 0 / .12);
    box-shadow: 0 0 10px rgb(0 0 0 / .3);
    animation: asd 12s linear infinite
}

.frame div:nth-child(1) {
    animation-delay: 0
}

.frame div:nth-child(2) {
    animation-delay: 4s
}

.frame div:nth-child(3) {
    animation-delay: 8s
}

@keyframes asd {
    0% {
        top: -20%
    }

    100% {
        top: 100%
    }
}

h1 {
    z-index: 3;
    position: absolute;
    font: bold 200px/200px Arial,sans-serif;
    left: 50%;
    top: 50%;
    margin-top: -100px;
    width: 100%;
    margin-left: -50%;
    height: 200px;
    text-align: center;
    color: #fff0;
    text-shadow: 0 0 30px rgb(0 0 0 / .5);
    animation: asdd 2s linear infinite
}

h4 {
    z-index: 3;
    position: absolute;
    font: bold 100px/100px Arial,sans-serif;
    left: 50%;
    top: 50%;
    margin-top: -100px;
    width: 100%;
    margin-left: -50%;
    height: 200px;
    text-align: center;
    color: #fff0;
    text-shadow: 0 0 30px rgb(0 0 0 / .5);
    animation: asdd 2s linear infinite
}


@keyframes asdd {
    0% {
        text-shadow: 0 0 30px rgb(0 0 0 / .5)
    }

    33% {
        text-shadow: 0 0 10px rgb(0 0 0 / .4)
    }

    66% {
        text-shadow: 0 0 20px rgb(0 0 0 / .2)
    }

    100% {
        text-shadow: 0 0 40px rgb(0 0 0 / .8)
    }
}
