@font-face {
    font-family: 'Qlassik';
    src: url('../font/qlassikbold.woff2') format('woff2'),
    url('../font/qlassikbold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Qlassik';
    src: url('../font/qlassik.woff2') format('woff2'),
    url('../font/qlassik.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

html {
    height: 100%;
    background-image: url("../img/bg.png");
}

html, body {
    margin: 0;
    padding: 0;
    font: 14px/1.35 'Qlassik';
    color: #fff;
    min-height: 100%;
    position: relative;
    min-width: 350px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    user-select: none;
}

.wp {
    min-width: 350px;
    width: calc(100vw - 50px);
    max-width: 500px;
    height: 300px;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    position: relative;
    transition: width .5s ease;
    display: flex;
    flex-flow: column nowrap;
}


header {
    background-image: url("../img/11.png"), url("../img/12.png"), url("../img/13.png");
    background-position: 0 0, 100px 0, right 0;
    background-size: 100px 80px, calc(100% - 200px) 80px, 100px 80px;
    background-repeat: no-repeat;
    height: 80px;
    display: flex;
    position: relative;
    flex-flow: column nowrap;
    justify-content: center;
    padding: 10px 10px 0;
}

.r2 {
    position: relative;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.r2:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;

    background-image: url("../img/21.png") /*, url("../img/22.png")*/, url("../img/23.png");
    background-position: 0 0 /*, 100px 0*/, right 0;
    background-size: 100px 100% /*, calc(100% - 200px) 100%*/, 100px 100%;
    background-repeat: no-repeat;
}

.r2:after {
    content: '';
    position: absolute;
    left: 5px;
    right: 5px;
    top: 0;
    bottom: 0;
    background: #1C6082;
    border-style: solid;
    border-width: 0 1px;
    border-color: rgba(45, 155, 190, 0.5);
    z-index: -1;
}

footer {
    background-image: url("../img/31.png"), url("../img/32.png"), url("../img/33.png");
    background-position: 0 0, 100px 0, right 0;
    background-size: 100px 45px, calc(100% - 200px) 45px, 100px 45px;
    background-repeat: no-repeat;
    height: 45px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    padding: 0 10px 5px;
}

h1 {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    vertical-align: middle;
    padding: 0 10px;
    line-height: 1.1em;
}

h2 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 300;
    vertical-align: middle;
    padding: 0 10px;
}

.icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    opacity: .5;
    margin: 5px;
    transition: opacity .5s ease, transform .5s ease;
}

.icon:hover {
    opacity: 1;
    transform: scale(1.2);

}

.linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 382 382'%3E%3Cpath fill='%23FFF' d='M347.4 0H34.6A34.6 34.6 0 0 0 0 34.6v312.9c0 19 15.5 34.5 34.6 34.5h312.9a34.6 34.6 0 0 0 34.6-34.6V34.6A34.8 34.8 0 0 0 347.4 0zM118.2 329.8a10 10 0 0 1-10.1 10.1H65.3a10 10 0 0 1-10.1-10.1V150.4a10 10 0 0 1 10.1-10.1h42.8a10 10 0 0 1 10.1 10.1v179.4zM86.7 123.4a40.7 40.7 0 1 1 0-81.3 40.7 40.7 0 0 1 0 81.3zm255.2 207.3c0 5.1-4.1 9.2-9.2 9.2h-45.9a9.2 9.2 0 0 1-9.2-9.2v-84.2c0-12.6 3.7-55-32.8-55-28.3 0-34.1 29.1-35.2 42.1v97.1c0 5.1-4.1 9.2-9.2 9.2H156a9.2 9.2 0 0 1-9.2-9.2V149.6c0-5.1 4.1-9.2 9.2-9.2h44.4c5.1 0 9.2 4.1 9.2 9.2v15.7c10.5-15.8 26.1-27.9 59.3-27.9 73.6 0 73.1 68.7 73.1 106.5l-.1 86.8z'/%3E%3C/svg%3E%0A");
}

.github {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 33 33'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M16.5 0a16.5 16.5 0 0 0-5.2 32.2c.8.2 1.1-.4 1.1-.8v-2.8c-4.6 1-5.6-2.2-5.6-2.2-.7-2-1.8-2.5-1.8-2.5-1.5-1 .1-1 .1-1 1.7.1 2.5 1.7 2.5 1.7 1.5 2.5 3.9 1.8 4.8 1.4.1-1.1.6-1.8 1-2.2C9.8 23.4 6 22 6 15.6a6 6 0 0 1 1.7-4.4c-.2-.4-.7-2.1.2-4.4 0 0 1.4-.4 4.5 1.7 1.3-.3 2.7-.5 4.1-.5 1.4 0 2.8.2 4.1.6 3.2-2.1 4.5-1.7 4.5-1.7.9 2.3.3 3.9.2 4.4a6.2 6.2 0 0 1 1.7 4.4c0 6.3-3.9 7.7-7.5 8.1.6.5 1.1 1.5 1.1 3.1v4.5c0 .4.3 1 1.1.8A16.5 16.5 0 0 0 16.5 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}