<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="utf-8" />
    <title>Ошибка — MMO13</title>
    <meta name="MobileOptimized" content="width">
    <meta name="HandheldFriendly" content="true">
    <meta name="viewport" content="width=device-width">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <style>
        body{
            font-family: Tahoma,Helvetica,Arial,sans-serif;
        }
        .error-wrapper {
            background-color: #fff;
            color: #000;
            padding: 20px;
        }
        #logo {
            width: 125px;
            float: left;
        }
        img {
            border: 0;
            -ms-interpolation-mode: bicubic;
            max-width: 100%;
            height: auto;
        }
        h1{
            margin: 0;
            font-size: 80px;
        }
        #name-and-slogan {
            margin-top: 20px;
            float: left;
        }
        #site-name a {
            text-decoration: none;
            color: white;
            font-size: 2em;
        }
        .error_title{
            display: inline-block;
        }
        .menu-item img{
            width: 200px;
            border: 1px #fff solid;
        }
        .menu-item a{
            display: inline-block;
        }
    </style>
</head>
<body>
<div id="page">
    <div style="max-width: 80%; margin: 10% auto">
        <div class="error-wrapper">
            <div class="error_title">
                <a href="/" rel="home" id="logo"><img src="/images/logo.png" alt="MMO13 — Ваш информатор в мире игр"></a>
                <div id="name-and-slogan">
                    <div id="site-name">
                    </div>
                </div>
            </div>
            <style>
                body {
                    background: #fff;
                }
                #page {
                    background: #fff;
                }
                .header{
                    position: relative;
                }
                h1{
                }
                .links{
                    padding: 20px 0;
                }
                .link{
                    padding: 0 10px 0 0;
                    text-transform:uppercase;
                }
                .animal-tumbleweed {
                    width: 30px;
                    height: 30px;
                    animation: fa-spin 2s infinite linear;
                    animation-duration: 6s;
                    animation-iteration-count: infinite;
                    display: inline-block;
                    position: absolute;
                    left: -100px;
                    bottom: 0;
                    color: #ccc;
                    cursor: pointer;
                }
                @keyframes fa-spin {
                    0% {
                        -webkit-transform: rotate(0deg);
                        transform: rotate(0deg);
                        left: 0;
                        opacity: 1;
                    }
                    100% {
                        -webkit-transform: rotate(360deg);
                        transform: rotate(360deg);
                        left: 250px;
                        opacity: 0;
                    }
                }
            </style>
            <div class="header" id="header">
                <h1 id="count">404</h1>
                <div class="animal-tumbleweed" onclick="tumbClick()">
                    <svg xmlns="http://www.w3.org/2000/svg" fill="red" viewBox="0 0 640 512"><path d="M480 96H160C71.6 96 0 167.6 0 256s71.6 160 160 160c44.8 0 85.2-18.4 114.2-48h91.5c29 29.6 69.5 48 114.2 48 88.4 0 160-71.6 160-160S568.4 96 480 96zM256 276c0 6.6-5.4 12-12 12h-52v52c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-52H76c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h52v-52c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h52c6.6 0 12 5.4 12 12v40zm184 68c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-80c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z"/></svg>
                </div>
            </div>
            <div class="error">
                <p>Что-то случилось... но кто будет в этом разбираться?</p>
            </div>
            <div class="links">
                <a href="/" class="link">MMO13</a><a href="/games" class="link">Игры</a><a href="/news" class="link">Публикации</a>
            </div>
            <script>
                function tumbClick() {
                    let elCount = document.getElementById('count');
                    let count = parseInt(elCount.innerText) - 1;
                    if (count <= 0){
                        count = 404;
                        document.getElementById('header').innerHTML = '<img src="/images/error_win.gif">';
                    } else {
                        elCount.innerText = count;
                    }
                }
            </script>
        </div>
    </div>
</div>
<!-- Yandex.Metrika counter -->
<script>
    (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
        m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
    (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

    ym(23288863, "init", {
        clickmap:true,
        trackLinks:true,
        accurateTrackBounce:true
    });
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/23288863" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-39479909-1"></script>
<script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-39479909-1');
</script>
</body>
</html>