﻿/* 整個內容方塊 */
.index常用連結10 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    --margin: 10px;
    --border-radius: 10px;
    --shadow: linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0));
}

    /* 內容方塊標題 */
    .index常用連結10 .blockTitle {
        text-align: center;
    }

        .index常用連結10 .blockTitle h2 {
        }

    /* 捷徑容器，每個捷徑都放在裡面 */
    .index常用連結10 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index常用連結10 .elementContainer, .index常用連結10 .shortcutList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .index常用連結10 .eachShortcut {
        border-radius: var(--border-radius);
        overflow: hidden;
        margin: var(--margin);
        transition: all .5s;
        border : solid 2px #FFFFFF;
    }

    .index常用連結10 .innerShell {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .index常用連結10 .pic {
        width: 100%;
        height: 100%;
        transition: all .5s;
    }

    .index常用連結10 .eachShortcut:has(.link:hover) .pic {
        transform: scale(1.2);
    }

    .index常用連結10 .eachShortcut:has(.link:hover)
    {
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .index常用連結10 .colorPlate {
        position: absolute;
        top: 0;
        left: 0;
        background-image: var(--shadow);
        width: 100%;
        height: 50%;
        transition: all .5s;
    }

    .index常用連結10 .eachShortcut:has(.link:hover) .colorPlate
    {
        height : 0%;
    }


    .index常用連結10 .heading.hideText {
        display: none;
    }

    .index常用連結10 .heading {
        position: absolute;
        top : 5%;
        left: 5%;
        color: #ffffff;
        text-shadow: 1px 1px 1px #000000;
        font-weight: 900;
        font-size: 1.2rem;
        padding: 0.2rem;
        transition: all .5s;
    }

    .index常用連結10 .eachShortcut:has(.link:hover) .heading
    {
        font-size: 150%;
        text-shadow: 2px 2px 2px #000000;
        background-image: var(--shadow);
        border-radius: var(--border-radius);
    }

    .index常用連結10 .link {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

@media (max-width: 480px) {
    .index常用連結10 .eachShortcut {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index常用連結10 .eachShortcut {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index常用連結10 .eachShortcut {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index常用連結10 .eachShortcut {
        width: 200px;
        height: 100px;
    }
}

@media (min-width: 1200px) {
    .index常用連結10 .eachShortcut {
        width: 250px;
        height: 130px;
    }
}
