﻿html {
    height: 100%;
}

body {
    background-color: black;
    background-image: url('../Images/Фон уровень 1.png');
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: auto 100%;
    min-height: 100%;
}

img, article {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    font-family: 'Arial Unicode MS'
}

article {
    width: 550px;
    height: 100%;
    color: white;
    margin-top: 150px;
}

h2 {
    text-align: center;
}

p {
}

@media only screen and (max-width: 630px) {
    img, article {
        position: -webkit-sticky; /* Safari */
        position: sticky;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: auto;
        width: 80%;
        font-family: 'Arial Unicode MS'
    }

    article {
        width: 90%;
        height: 100%;
        color: white;
        margin-top: 30%;
    }
    p {
        font-size:small;
    }
}
