/**
Icons
 */
.icons {
    text-align: center;
    padding-bottom: 1rem;
}

.icons-block {
    padding-bottom: 2rem;
}

.icons-image {
    position: relative;
    cursor: pointer;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    max-height: 20rem;
}

.icons-image img {
    object-fit: contain;
    background-color: #FFFFFF;
}

.icons-image.ratio3x4 img {
    width: 100%;
    object-fit: contain;
    background-color: #FFFFFF;
}

.icons-name {
    display: inline-block;
    color: var(--theme-body-color);
    font-size: 20px;
    padding: 5px 0;
    font-weight: 500;
    line-height: 31px;
    height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.link-flex {
    display: flex;
}

.icons-complexity {
    font-size: 14px;
    line-height: 20px;
    color: #92999E;
}


.icons-results .slider-arrow {
    top: 13rem;
}

.icons-results {
    position: relative;
}

.icons-results .row {
    overflow-x: scroll;
    white-space: nowrap;
    position: relative;
}

.icons-results .row .icons-block {
    display: inline-block;
    float: none;
    vertical-align: top;
}

.icons-results .slider-arrow {
    top: 13rem;
}

.icons-image a:hover {
    opacity: 1;
}

.icons-image:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

.icons-image:hover .icons-info {
    display: flex;
}

.icons-info {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    z-index: 1;
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: rgba(13, 16, 22, .7);
}

.icons-info-buttons {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.icon-info-button {
    background: var(--theme-play-button-color);
    color: white;
    display: block;
    height: 4.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 5px;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.icon-info-text {
    color: white;
    text-shadow: 1px 1px 2px black;
    position: absolute;
    bottom: 10px;
    width: 100%;
    left: 50%;
    translate: -50%;
}

@media (max-width: 768px) {
    .icons-image {
        max-height: 100%;
    }

    .icons-image img {
        width: 100%;
    }

    .icon-info-button {
        height: 7rem;
        padding: 2.4rem;
        font-size: 4rem;
    }

    .icon-info-text {
        bottom: 30px;
        font-size: 3rem;
    }
}

@media (min-width: 769px) and (max-width: 1260px) {
    .icon-info-button {
        height: 2.5rem;
        padding: 0 10px;
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }

    .icon-info-text {
        bottom: 3px;
        font-size: 12px;
    }
}
