﻿html, body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#followersDisplay {
    font-size: 4.8rem;
    text-align: center;
}

.container {
    position: relative;
    text-align: center;
}

.container img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width:1400px) {
    #followersDisplay {
        font-size: 4rem;
    }
}

@media screen and (max-width:1200px) {
    #followersDisplay {
        font-size: 3.2rem;
    }
}

@media screen and (max-width:992px) {
    #followersDisplay {
        font-size: 2.5rem;
    }
    .HeartImg {
        max-width: 40px !important;
    }
}

@media screen and (max-width:992px) {
    #followersDisplay {
        font-size: 2.5rem;
    }
}

@media screen and (max-width:768px) {
    #followersDisplay {
        font-size: 1.7rem;
    }
}

@media screen and (min-width:980px) {
    .overlay-row {
        position: absolute;
        top: 155px;
        left: 5px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .HeartImg {
        max-width: 62px !important;
    }

    #followersDisplay {
        color: black !important;
    }
}


@media screen and (max-width:980px) {
    .overlay-row {
        position: absolute;
        top: 82px;
        left:-8px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    #followersDisplay {
        color: black !important;
    }
}
@media screen and (max-width:480px) {
    .overlay-row {
        position: absolute;
        top: 50px;
        left: -16px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .HeartImg {
        max-width: 20px !important;
    }

    #followersDisplay {
        margin-left: 50px;
        font-size: 1.5rem;
        color: black !important;
    }
}

@media screen and (max-width:390px){
    #followersDisplay {
        font-size: 1.3rem;
    }
}


#followersDisplay.animated-change {
    animation: pop 0.8s ease;
}

@keyframes pop {
    0% {
        transform: scale(1);
        color: #fff;
    }

    50% {
        transform: scale(1.2);
        color: #ffe600;
    }

    100% {
        transform: scale(1);
        color: #fff;
    }
}