* {
    margin: 0;
    font-family: 'pixel';
}

body {
    background-color: #003766;
    background-image: url(files/img/nyancat.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@font-face {
  font-family: pixel;
  src: url(files/fonts/BoldsPixels.ttf);
}

main {
    padding: 10px;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid white;
    border-radius: 20px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

article {
    width: 100%;
    clear: both;
}

footer {
    clear: both;
    color: gray;
    margin-top: 50px;
    text-align: center;
    font-size: 32px;
}

h1 {
    font-size: 64px;
    color: white;
    text-align: center;
}

h2 {
    font-size: 32px;
    color: white;
}

p {
    color: white;
    font-size: 20px;
}

h1, h2 {
    margin-bottom: 20px;
}

.rainbowText {
    background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.rainbowBar {
    height: 3px;
    border: 0px;
    background: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
}

a {
    text-decoration: none;
    color: rosybrown;
}

a:hover {
    color: red;
}

.gifBar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shortText {
    display: none;
}

/*
.chomik {
    position: fixed;
    left: 90%;
    top: 80%;
}
*/

@media (max-width: 1000px) {
    main {
        width: 85%;
    }

    .gifBar {
        display: none;
    }

    .longText {
        display: none;
    }

    .shortText {
        display: block;
    }

/*    .chomik {
        display: none;
    }
*/
}

