div:target {
    display: block;
    background: black;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:hidden;
    z-index:1;
    padding-top: 39%;
    line-height: 3em;
}

body {
    background: black!important;
    color: white;
    width: 100%;
    max-width: 999px;
    margin:0 auto;
}

/*#project {*/
/*    max-width: 33%;*/
/*}*/

#mainSingle p {
    margin-top: 0.5em!important;
    margin-bottom: 1em!important;
}

#main h1 {
    font-size: 4em;
}

#main p code {
    color: #a55ae9;
    font-family: 'NitW', serif;
}

strong {
    font-weight: 400!important;
}

#main strong,em {
    color: #e91e63;
}

#TableOfContents {
    font-size: 24px;
}

h2 {
    font-size: 48px!important;
}

h3 {
    font-size: 24px!important;
}

html, body, h1, h2, h3, h4, h5, h6 {
    font-family: 'NitW', serif;
}

hr {
    margin:auto;
    max-width:876px;
}

::selection {
    text-shadow: 0 0 10px #e9abe4;
    background-color: #e91e63;
    color: white;
}

/*hr ~ h2:not(hr) {*/
/*    background-color: #e91e63;*/
/*    color: white;*/
/*}*/

#mainSingle h2 {
    /*background-color: #e91e63;*/
    border-bottom: solid 1px #e91e63;
    border-top: solid 1px #e91e63;
}

#mainSingle h3 a:before {
    content: "\"";
}

#mainSingle h3 a:after {
    content: "\"";
}

/*h2 ~ p:not(h2) {*/
/*    background-color: #3a3a3a;*/
/*}*/

/* Yandex donate icon */
#mainSingle > p:nth-child(7) > a:nth-child(2) > img:nth-child(1) {
    width: 10%;
}

/* Qiwi donate button */
#mainSingle > p:nth-child(7) > a:nth-child(1) > img:nth-child(1) {
    width: 30%;
}

/* YaSoberu donate button */
#mainSingle > p:nth-child(7) > a:nth-child(3) > img:nth-child(1) {
    width: 20%;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

hr ~ h3:not(hr) {
    color: #e91e63;
    letter-spacing: 3px;
}

div.w3-xxlarge {
    line-height: 0;
}
div h1.w3-jumbo a {
    font-size: 2em;
}

#main h1, h2, h3, h4, h5, h6, p, #mainSingle h1, h2, h3, h4, h5, h6, p {
    text-align: center;
}

#mainSingle p {
    text-align: justify;
    text-align-last: center;
}

#mainSingle hr {
    margin-top: 1em;
    margin-bottom: 1em;
}

th {
    font-size: 20px;
    color: #e91e63;
}

th, td {
    border: 1px solid #911543;
    text-align: center;
}

table {
    margin-top: 1em;
    margin-bottom: 1em;
}

#mainSingle p {
    max-width: 777px;
    margin: auto;
}

#mainSingle a {
    color: #e91e63;
}

#mainSingle p {
    line-height: 30px;
    font-size: 22px;
}

#mainSingle h1 {
    font-size: 3em;
}

#mainSingle p code {
    color: #a55ae9;
    font-family: 'NitW', serif;
}

#mainSingle strong,em {
    color: #e91e63;
}

#main p {
    line-height: 30px;
    font-size: 28px;
}

#mainSingle img {
    width: 50%;
}

a {
    text-decoration: none;
}

div#mainSingle a {
    text-shadow: 0 0 10px #e91e63;
}

div:focus {
    /*padding: 0.1em;*/
    outline: 3px solid #e91e63 !important;
    /*box-shadow: 0 0 25px #e9abe4;*/
}

a:focus {
    color: #e91e63!important;
    /*text-shadow: 0 0 10px #e9abe4, 0 0 25px #e9e5e7;*/
    outline: none;
}

pre {
    overflow-y: hidden;
    overflow-x: scroll;
}

ul {
    font-size: 24px;
    text-align: left;
    width: 50%;
    margin: auto;
}

@media screen and (max-width: 1280px) {
    #main h1 {
        font-size: 3em;
    }
    #main h2 {
        font-size: 2.7em;
    }
    #main h3 {
        font-size: 2.3em;
    }
    #main p {
        font-size: 1.8em;
    }
    /* Yandex donate icon */
    #mainSingle > p:nth-child(7) > a:nth-child(2) > img:nth-child(1) {
        width: 15%;
    }

    /* Qiwi donate button */
    #mainSingle > p:nth-child(7) > a:nth-child(1) > img:nth-child(1) {
        width: 30%;
    }

    /* YaSoberu donate button */
    #mainSingle > p:nth-child(7) > a:nth-child(3) > img:nth-child(1) {
        width: 30%;
    }
}

@media screen and (max-width: 400px) {
    ul {
        text-align: center;
        width: 100%;
    }
    #post {
        font-size: 27px;
        line-height: 0!important;
        letter-spacing: 0.012em;
        font-weight: 300;
        font-style: normal;
    }
    #socialButtons {
        line-height: 30px;
    }
}