@charset "utf-8";

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
em,
img,
fieldset,
form,
label,
legend,
ul,
ol {
    margin: 0px;
    padding: 0px;
    border: 0px;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    margin: 0px auto;
    padding: 0;
    width: auto;
    font-family: Play, Verdana, Tahoma, Helvetica;
    font-size: 14px;
    line-height: 22px;
    text-align: justify;
    color: #ddd;
    /*background: #000;*/
    background: url(http://fatykhov.ru/images/stripe2.gif) center center repeat;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 15px 5px 5px;
    padding: 0px;
    text-align: center;
}
h1 {
    font-size: 20px;
}
h2 {
    font-size: 16px;
}
p {
    margin: 2px 5px;
}
a {
    color: #555;
    text-decoration: none;
}
a:hover {
    color: #999;
    text-decoration: none;
}
.dark {
    color: #555;
}
.yellow {
    color: #f9fd62;
}
.invisible {
    color: #000;
}

div#main {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -15%;
    margin-left: -20%;
    width: 40%;
    /*border: 1px solid #333;*/
}
div#avatar {
    margin: 5px auto 10px;
    width: 90px;
    height: 90px;
    border: 2px solid #333;
    -webkit-border-radius: 50%;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 50%;
    -moz-background-clip: padding;
    border-radius: 50%;
    background: url(http://fatykhov.ru/images/fat.png) center center no-repeat;
    background-size: 90px;
    background-clip: padding-box;
    border-color: #555;
    opacity: 0.7;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
}
div#avatar:hover {
    border-color: #f9fd62;
    opacity: 1;
    transform: rotate(3deg) scale(1.1);
    -ms-transform: rotate(3deg) scale(1.1); /* IE 9 */
    -moz-transform: rotate(3deg) scale(1.1); /* Firefox */
    -webkit-transform: rotate(3deg) scale(1.1); /* Safari and Chrome */
    -o-transform: rotate(3deg) scale(1.1); /* Opera */
}
div#logo {
    font-weight: 400;
    font-size: 36px;
    line-height: 36px;
    margin: 10px auto;
    width: 200px;
    padding-left: 54px;
    /*border: 1px solid pink;*/
}
div#icons {
    margin: 10px auto;
    width: 200px;
    /*height: 120px;*/
    padding-left: 54px;
    overflow: hidden;
}
div#icons a i {
    width: 22px;
    margin-right: 2px;
    text-align: center;
    color: #999;
    transition: all 0.25s ease 0s;
    -webkit-transition: all 0.25s ease 0s;
    -ms-transition: all 0.25s ease 0s;
    -moz-transition: all 0.25s ease 0s;
    -o-transition: all 0.25s ease 0s;
}
div#icons a:hover i {
    color: #f9fd62;
}

/* iPhone 6 / 6 Plus */
@media only screen and (min-device-width: 375px) and (max-device-width: 736px) and (orientation: portrait) {
    body {
        font-size: 44px;
        line-height: 40px;
    }

    div#main {
        top: 50%;
        left: 50%;
        margin-top: -50%;
        margin-left: -40%;
        width: 80%;
    }

    div#avatar {
        width: 180px;
        height: 180px;
        background-size: 180px;
    }

    div#logo {
        margin: 25px auto;
        width: 400px;
        font-size: 72px;
        line-height: 72px;
    }

    div#icons {
        width: 620px;
        padding-left: 88px;
        line-height: 60px;
    }

    div#icons a i {
        width: 60px;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 736px) and (orientation: landscape) {
    div#main {
        margin-top: -20%;
    }
}

/* iPad Retina */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-size: 44px;
        line-height: 40px;
    }

    div#main {
        margin-top: -50%;
        margin-left: -40%;
        width: 80%;
    }

    div#avatar {
        width: 180px;
        height: 180px;
        background-size: 180px;
    }

    div#logo {
        margin: 25px auto;
        width: 400px;
        font-size: 72px;
        line-height: 72px;
    }

    div#icons {
        width: 620px;
        padding-left: 88px;
        line-height: 60px;
    }

    div#icons a i {
        width: 60px;
    }
}

/* iPad Retina */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    div#main {
        margin-top: -20%;
    }
}
