@font-face {
    font-family: "Lemonada";
    src: url(../fonts/lemonada.woff2);
}

@font-face {
    font-family: "Baloo 2";
    src: url(../fonts/baloo2.woff2);
}

@font-face {
    font-family: "Roboto";
    src: url(../fonts/roboto.woff2);
}

body {
    margin:0;
    background-color: #e4d3ff;
}
main {
    display:block;
}
a {
    background-color:transparent;
    text-decoration:none;
    color: #000;
}
img {
    border-style:none;
    height:auto;
}

.intro__title, .pets__title {
    margin: 20px auto 20px;

    font-size: 60px;
    font-family: "Lemonada", cursive;
    color: #b054b3;
    text-transform: uppercase;
    text-align: center;

    user-select: none;
}

.pets__title {
    font-size: 40px;
    animation: 0.8s 0s slideInFromBottom--title;
}

.intro__text {
    max-width: 50vw;
    font-size: 18px;
    text-align: center;
    margin: 0 auto 50px;
    font-family: "Roboto", sans-serif;
}

.intro__potates {
    padding: 0 40px 40px;
    display: flex;
    justify-content: center;
    column-gap: 100px;
    row-gap: 40px;
    align-items: center;
}

.intro__potate, .intro__pet {
    padding: 20px;
    width: 300px;
    position: relative;

    border: 2px solid #fff;

    user-select: none;
    background-color: #e4d3ff;
}

.intro__potate {
    transition: .1s;
    animation: 0.8s 0s slideInFromBottom;
}

.intro__pet {
    transition: .1s;
    animation: 0.8s 0s slideInFromBottom;
}

.intro__potate:hover, .intro__pet:hover {
    box-shadow: 0px 0px 3px 0px #00000050;
}

.intro__potate:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    background-position: top;
    background-size: cover;
    z-index: -1;
    opacity: 0;
    transition: .4s;
}

.intro__potate.fuzias:after {
    width: 140px;
    height: 100px;
    background-image: url('../images/prinny.png');
    left: 20px;
}

.intro__potate.setsuni:after {
    width: 120px;
    height: 80px;
    background-image: url('../images/umaru.png');
    right: 20px;
}

.intro__potate:hover:after {
    opacity: 1;
}

.intro__potate.fuzias:hover:after {
    top: -90px;
}

.intro__potate.setsuni:hover:after {
    top: -80px;
}

.potate__pp, .pet__image {
    margin: 0;
}

.potate__pp img, .pet__image img {
    width: 80%;
    border-radius: 50%;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.potate__name, .pet__name {
    display: block;
    margin: 24px 0;

    text-align: center;
    font-family: "Baloo 2", cursive;
    font-size: 24px;
    color: #b054b3;
}

.pet__name {
    margin-bottom: 0;
}

.intro__potate.setsuni .potate__link:after {
    animation: animated-color_trans 2s infinite;
}

.potate__links {
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
}

.potate__link {
    font-family: "Roboto", sans-serif;
    position: relative;
    cursor: pointer;
}

.potate__link:after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background-color: #b054b3;
    transition: .2s;
}

.potate__link:hover:after {
    width: 100%;
}

.potate__link::before {
    content: '';
    display: block;
    position: absolute;
    background-size: cover;

    background-repeat: no-repeat;
}

.potate__link.steam::before {
    height: 22px;
    width: 22px;
    left: -32px;
    top: -2px;
    background-image: url('../images/icons/steam.png');
}

.potate__link.spotify::before {
    height: 18px;
    width: 18px;
    left: -29px;
    background-image: url('../images/icons/spotify.png');
}

.landing__pets {
    margin-top: 50px;
}

.intro__pets {
    padding: 0 40px 80px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1112px;
    column-gap: 40px;
    row-gap: 40px;
}

.intro__pet > * {
    flex-basis: 300px;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 40px;
    background-color: #efe5ff;
}

.footer__contact {
    margin: 0;
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #242424;
}

.footer__contact .potate__link {
    color: #b054b3;
}

.footer__contact .potate__link::before {
    content: none;
}

@keyframes slideInFromBottom {
    0% {
        pointer-events: none;
        transform: translateY(30%);
        opacity: 0;
    }
    100% {
        pointer-events: none;
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom--title {
    0% {
        pointer-events: none;
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        pointer-events: none;
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes animated-color_trans {
    0% { background-color: #F5A9B8; }
    50% { background-color: #5BCEFA; }
    100% { background-color: #F5A9B8; }
}

@keyframes animated-title {

}

@media (max-width: 720px) {

    .intro__text {
        max-width: unset;
        padding: 0 40px;
    }

    .intro__potates {
        column-gap: 20px;
    }
}

@media (max-width: 500px) {

    .intro__potates {
        padding: 0 20px 20px;
        column-gap: 20px;
    }

    .potate__pp img{
        width: 100%;
    }

    .footer {
        height: 55px;
    }
}

@media (min-width: 1360px) {

    .intro__text {
        max-width: 40vw;
    }
}

@media (max-width: 1192px) {

    .intro__pets {
        max-width: 728px;
    }
}

@media (max-width: 808px) {

    .pets__title {
        font-size: 30px;
    }

    .intro__pets {
        max-width: 344px;
    }
}