@font-face {
    font-family: "koufi";
    src: url('koufi.ttf') format('truetype');
}

body {
    background: #181A1B;
    color: #fff;
    font-family: "iransans";
    overflow-x: hidden;
    direction: rtl;
}

h1 {
    font-family: "koufi";
    font-weight: 200;
    font-size: 3.5em;
    color: #fff;
}

p {
    font-size: 1.5em;
    font-weight: 300;
}

.warning-content {
    position: absolute;
    top: 25%;
    width: 100%;
    height: 300px;
    text-align: center;
    margin: 0;
}

#akbariyehLogo {
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    transition: all ease 0.2s;
    opacity: 0.5;
}

#akbariyehLogo:hover {
    opacity: 1;
}

.noMargin {
    margin: 0;
}

.socialLogo {
    top: 0px;
    display: inline-block;
    position: relative;
    padding: 0.2em;
    opacity: 0.8;
    -webkit-transition: all ease 0.1s;
    -moz-transition: all ease 0.1s;
    transition: all ease 0.1s;
}

.socialLogo:hover {
    opacity: 1;
    top: -5px;
}

.socialFlex {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.typewriter {
    display: flex;
    justify-content: center;
}

.typewriter p {
    color: #fff;
    font-size: 1em;
    overflow: hidden;
    border-left: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    -webkit-animation: typingDesk 2s steps(20, end), blink-caret 0.5s step-end infinite;
    -moz-animation: typingDesk 2s steps(20, end), blink-caret 0.5s step-end infinite;
    animation: typingDesk 2s steps(20, end), blink-caret 0.5s step-end infinite;
}

@media only screen and (max-width: 800px) {
    .typewriter p {
        -webkit-animation: typingPhone 2s steps(20, end), blink-caret 0.5s step-end infinite;
        -moz-animation: typingPhone 2s steps(20, end), blink-caret 0.5s step-end infinite;
        animation: typingPhone 2s steps(20, end), blink-caret 0.5s step-end infinite;
    }
}

@-webkit-keyframes typingDesk {
    from {
        width: 0
    }
    to {
        width: 7%
    }
}

@-moz-keyframes typingDesk {
    from {
        width: 0
    }
    to {
        width: 7%
    }
}

@keyframes typingDesk {
    from {
        width: 0
    }
    to {
        width: 7%
    }
}

@-webkit-keyframes typingPhone {
    from {
        width: 0
    }
    to {
        width: 36%
    }
}

@-moz-keyframes typingPhone {
    from {
        width: 0
    }
    to {
        width: 36%
    }
}

@keyframes typingPhone {
    from {
        width: 0
    }
    to {
        width: 36%
    }
}

@-webkit-keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: orange
    }
}

@-moz-keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: orange
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: orange
    }
}