@use '../utils' as *;

/*----------------------------------------*/
/*  Ranking badge css
/*----------------------------------------*/
.rankings-badge-item {
	margin: 0 auto;
	width: max-content;
}
.rankings-badge-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    width: 350px;
    height: 350px;
    @media #{$xxl} {
        width: 300px;
        height: 300px;
    }
    @media #{$md} {
        width: 320px;
        height: 320px;
    }
    @media #{$xxs} {
        width: 290px;
        height: 290px;
    }
    &::after {
        position: absolute;
        content: "";
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
        background: rgba($color: $white, $alpha: 0.08);
        transform: rotate(-30deg) skewX(30deg) scaleY(.866);
        background: linear-gradient(150deg, #39ef74, #4600f1 100%);
    }
}
.rankings-badge-icon {
    span {
        img {
            width: 60px;
            margin-bottom: 20px;
        }
    }
}
.rankings-badge-content {
	.title {
		font-size: 24px;
		margin-bottom: 15px;
        @media #{$xxs} {
            font-size: 20px;
        }
	}
    .description {
        font-size: 14px;
        color: rgba($color: $white, $alpha: 0.8);
    }
}
