@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}
html, body {
    min-height: 100%;
}
body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.7em;
    background: #1A1D25;
    background: linear-gradient(162deg,rgba(26, 29, 37, 1) 0%, rgba(57, 63, 74, 1) 100%);
    color: #ceced5;
    padding-bottom: 100px;
}
a {
    color: #ceced5;

}
input, textarea, select, button {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    font-size: 16px;
}
h1, h2, h3 {
    font-weight: bold;
    line-height: 1.1em;
}
img {
    max-width: 100%;
}
.container {
    max-width: 1008px;
    margin: 0 auto;
}
.author__title {
    font-size: 24px;
    margin-bottom: 12px;
}
@media (max-width: 767px) {
    .author__title {
        text-align: center;
    }
}
.links {
    padding: 80px 40px;
}
@media (max-width: 767px) {
    .links {
        padding: 0 24px;
    }
}
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
@media (max-width: 767px) {
    .cards {
        justify-content: center;
    }
}
.card {
    position: relative;
    width: 320px;
    margin-bottom: 12px;
    z-index: 1;
}
@media (max-width: 1199px) {
    .card {
        width: calc(50% - 12px);
    }
}
@media (max-width: 700px) {
    .card {
        width: 100%;
    }
}
.card::before {
    content:'';
    position: absolute;
    z-index: -1;
    top: -4px;
    left: -4px;
    width: 0;
    height: 0;
    border-radius: 20px;
    background: #833AB400;
    opacity: 0;
    background: linear-gradient(135deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
    transition: .2s all;
}
.card:hover::before {
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    opacity: 1;
}
.card__image {
    display: block;
    border-radius: 18px;
}
.card__tags {
    position: absolute;
    bottom: -12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    left: 0;
    max-width: 100%;
    padding: 0 12px;
}
.card__tag {
    background-color: #1a1d25;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1em;
}
.card__tag--react {
    background-color: #087ea4;
}
.card__tag--html {
    background-color: #e54c21;
}
.card__tag--css {
    background-color: #46acff;
}
.card__tag--js {
    background-color: #fdcf08;
    color: #000;
}
.card__tag--wp {
    background-color: #3858e9;
}
.card__tag--lottie {
    background-color: #019d90;
}
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 40px;
}
.footer__link {
    color: #ceced5;
}


