﻿/* 整個內容方塊 */
.index捷徑列3 {
    --margin: 10px;
    --border-radius: 10px;
    --shadow: linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0));
    --title-align: left;

    /* --For simpleBar Start-- */
    --content-height-without-heading: auto;
    --whole-block-height: auto;
    /* --For simpleBar End-- */

    height: var(--whole-block-height);
}

    /* 內容方塊標題 */
    .index捷徑列3 .blockTitle {
        text-align: var(--r-index-block-title-align, --title-align);
    }

        .index捷徑列3 .blockTitle h2 {
        }

    /* 捷徑容器，每個捷徑都放在裡面 */
    .index捷徑列3 .loopElementList {
        height: var(--content-height-without-heading);
    }

    .index捷徑列3 .shortcutList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .index捷徑列3 .eachShortcut {
        border-radius: var(--border-radius);
        overflow: hidden;
        margin: var(--margin);
    }

    .index捷徑列3 .innerShell {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .index捷徑列3 .pic {
        width: 100%;
        height: 100%;
        transition: all .5s;
    }

    .index捷徑列3 .eachShortcut:has(.absoluteCoverLinks:hover) .pic {
        transform: scale(1.2);
    }

    .index捷徑列3 .colorPlate {
        display : none;
        position: absolute;
        top: 0;
        left: 0;
        background-image: var(--shadow);
        width: 100%;
        height: 50%;
        transition: all .5s;
    }

    .index捷徑列3 .eachShortcut:has(.absoluteCoverLinks:hover) .colorPlate
    {
        height : 0%;
    }


    .index捷徑列3 .heading.hideText {
        display: none;
    }

    .index捷徑列3 .heading {
        display : none;
        position: absolute;
        top : 10%;
        left: 10%;
        color: #ffffff;
        text-shadow: 1px 1px 1px #000000;
        font-weight: 900;
        font-size: 1rem;
        padding: 0.2rem;
        transition: all .5s;
    }

@media (max-width: 480px) {
    .index捷徑列3 .eachShortcut {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index捷徑列3 .eachShortcut {
        width: 186px;
        height: 100px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index捷徑列3 .eachShortcut {
        width: 200px;
        height: 100px;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index捷徑列3 .eachShortcut {
        width: 200px;
        height: 100px;
    }
}
@media (min-width: 1200px) and (max-width:1919px) 
{
    .index捷徑列3 .eachShortcut {
        width: 240px;
        height: 120px;
    }
}
@media (min-width: 1920px) 
{
    .index捷徑列3 .eachShortcut {
        width: 250px;
        height: 130px;
    }
}
