@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700&subset=cyrillic");
@import url("./hint.css");
:root {
    --content-width: 700px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
    color: inherit;
    font-family: inherit;
    scroll-behavior: smooth;
    word-break: break-word;
    box-sizing: border-box;
}

body {
    color: #707070;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', Arial, sans-serif;
    background-color: white;
    max-width: 100%;
    overflow-x: hidden;
    transition: opacity .3s;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header {
    background: #F8F8F8;
    padding: 40px;
}

header>.content {
    max-width: var(--content-width);
    margin: auto;
}

header .subtext {
    height: 1em;
    transition: all .5s ease-out;
}

header .subtext:empty {
    height: 0;
    color: transparent;
}

header>.content>.name {
    font-size: 70px;
    line-height: .8em;
}

h1 {
    font-weight: 300;
    font-size: 30px;
    text-align: center;
    padding: 30px 0 15px 0;
}

.shadow {
    width: 100%;
}

.row {
    margin: 20px 0;
    display: flex;
}

main {
    max-width: var(--content-width);
    margin: auto;
}

nav {
    margin-bottom: 40px;
}

.card {
    height: 120px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    width: calc(100% / 3);
    display: block;
    text-decoration: none;
    overflow: hidden;
    transition: all .2s;
    text-align: center;
}

@keyframes plump {
    0% {
        transform: scale(1)
    }
    30% {
        transform: scale(.9)
    }
    60% {
        transform: scale(1.1);
        z-index: 3;
    }
    100% {
        transform: scale(1)
    }
}

.cards-container nav .card {
    color: white;
    position: relative;
    display: flex;
    align-items: center;
}

.cards-container nav .card:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.15);
}

.cards-container nav .card:active {
    filter: brightness(85%);
    animation: plump .5s;
}

.card.featured {
    width: calc(100% / 1.5 + 20px);
    align-items: baseline !important;
}

.textme-container {
    margin: 10px;
}

.card.textme {
    box-shadow: 0px 10px 20px rgba(27, 163, 163, 0.18);
    display: flex;
    height: 150px;
    width: 100%;
    margin: 0;
}

.card.textme>.content {
    display: flex;
    flex-flow: row;
    width: 100%;
}

.img-container {
    display: flex;
    margin: 10px;
    align-items: center;
    margin-right: 50px;
}

.img-container>img {
    height: 140px;
    width: auto;
    margin-top: 20%;
}

.card.textme>.content>.content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card.textme>.content>.content>.title {
    font-weight: normal;
    font-size: 25px;
    margin-bottom: 5px;
}

.card.textme>.content>.content>.subtext {
    color: #969696;
}

.button-container {
    margin-top: auto;
    margin-left: auto;
}

.button-container>a {
    padding: 10px;
    display: inline-block;
    width: 180px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 15px;
    background: cornflowerblue;
    color: white;
    border-radius: 2em 2em 8px 2em;
    background: #488ae0;
    background: -moz-linear-gradient(-45deg, #488ae0 0%, #17a1f0 100%);
    background: -webkit-linear-gradient(-45deg, #488ae0 0%, #17a1f0 100%);
    background: linear-gradient(135deg, #488ae0 0%, #17a1f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#488ae0', endColorstr='#17a1f0', GradientType=1);
    box-shadow: 0px 5px 10px rgba(23, 161, 240, .2);
    transition: all .2s;
}

.button-container>a:hover {
    box-shadow: 0px 8px 12px rgba(23, 161, 240, .3);
}

.button-container>a:active {
    filter: brightness(85%);
    animation: plump .5s;
}

.links-container>.row {
    display: flex;
    justify-content: center;
}

.links-container a {
    padding: 10px 15px;
    border-radius: 2em;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    background: #fff;
    transition: all .2s;
}

.links-container a:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.15);
}

.links-container a:active {
    filter: brightness(85%);
    animation: plump .5s;
}

footer {
    margin: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.author-card {
    padding: 15px 20px;
    border-radius: 2em;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    display: inline-block;
    text-decoration: none;
    background: #fff;
    display: flex;
    align-items: center;
}

.author-card>img {
    height: 18px;
    margin-right: 10px;
}

.cards-container nav .card>.content>.subtext {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.cards-container nav .card>.content>.title {
    font-size: 30px;
}

/* Cards */

.cards-container .card.temply {
    background-color: #007F60;
    background-image: url("assets/temply.svg");
    background-repeat: no-repeat;
    background-size: 15%;
    background-position: 90% 50%;
}

.cards-container .card.temply:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: -moz-linear-gradient(-45deg, rgba(0, 127, 96, 0) 0%, rgba(0, 112, 82, 0.5) 50%, rgba(0, 83, 54, 1) 100%);
    background: -webkit-linear-gradient(-45deg, rgba(0, 127, 96, 0) 0%, rgba(0, 112, 82, 0.5) 50%, rgba(0, 83, 54, 1) 100%);
    background: linear-gradient(135deg, rgba(0, 127, 96, 0) 0%, rgba(0, 112, 82, 0.5) 50%, rgba(0, 83, 54, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00007f60', endColorstr='#005336', GradientType=1);
}

.cards-container .card.mono-pwa {
    background-color: #333333;
    background-image: url("assets/cards.png");
    background-position: 200% 50%;
    background-size: 70%;
    background-repeat: no-repeat;
}

.cards-container .card.mono-pwa:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(45deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
}

.cards-container .card.mono-pwa .content {
    z-index: 2;
}

.cards-container .card.procsec {
    background-color: #00AB69;
    background-image: url("assets/procsec.svg");
    background-repeat: no-repeat;
    background-size: 25%;
    background-position: -1px 50%;
}

.cards-container .card.procsec:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: -moz-linear-gradient(45deg, rgba(27, 129, 90, 1) 0%, rgba(27, 129, 90, 1) 12%, rgba(27, 129, 90, 0) 88%, rgba(27, 129, 90, 0) 100%);
    background: -webkit-linear-gradient(45deg, rgba(27, 129, 90, 1) 0%, rgba(27, 129, 90, 1) 12%, rgba(27, 129, 90, 0) 88%, rgba(27, 129, 90, 0) 100%);
    background: linear-gradient(45deg, rgba(27, 129, 90, 1) 0%, rgba(27, 129, 90, 1) 12%, rgba(27, 129, 90, 0) 88%, rgba(27, 129, 90, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b815a', endColorstr='#001b815a', GradientType=1);
}

.cards-container .card.procsec>.content>.title {
    margin-left: 60px;
}

.cards-container .card.procsec>.content {
    z-index: 1;
}

.cards-container .card.telegram {
    background: #e6e654;
    background: -moz-linear-gradient(top, #e6e654 0%, #de1372 100%);
    background: -webkit-linear-gradient(top, #e6e654 0%, #de1372 100%);
    background: linear-gradient(to bottom, #e6e654 0%, #de1372 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6e654', endColorstr='#de1372', GradientType=0);
}

.cards-container .card.vk {
    background: #3345e8;
    background: -moz-linear-gradient(left, #3345e8 0%, #a430c2 100%);
    background: -webkit-linear-gradient(left, #3345e8 0%, #a430c2 100%);
    background: linear-gradient(to right, #3345e8 0%, #a430c2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3345e8', endColorstr='#a430c2', GradientType=1);
}

/* LINKS */

.links-container a {
    color: white;
}

.links-container a.twitter {
    background: #15b3db;
    background: -moz-linear-gradient(-45deg, #15b3db 0%, #79dbf3 100%);
    background: -webkit-linear-gradient(-45deg, #15b3db 0%, #79dbf3 100%);
    background: linear-gradient(135deg, #15b3db 0%, #79dbf3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#15b3db', endColorstr='#79dbf3', GradientType=1);
}

.links-container a.dt {
 background: linear-gradient(135deg, #db1595 0%, #a9282e 100%);   
}

.links-container a.itest {
 background: linear-gradient(135deg, #5815db 0%, #000000 100%); 
}
.links-container a.nebula {
 background: linear-gradient(135deg, #26db15 0%, #d09e1c 50%, #c5551a 100%); 
}

.links-container a.shim-share {
 background: linear-gradient(135deg, #db1515 0%, #d01c9f 50%, #791ac5 100%);
}