﻿/* 整個內容方塊 */
.index捷徑列7 {
    
    margin: 0;
}

    /* 內容方塊標題文字 (h2) */
    .index捷徑列7 .blockTitle {
    }

.index捷徑列7 .shortcutList
{
    border : none 0;
    margin : 0;
    padding : 1rem;

    display : flex;
    flex-direction : row;
    flex-wrap : wrap;
    justify-content : space-around;
    align-items : flex-start;
}

.index捷徑列7 .eachShortcut {
    display : block;
    position : relative;
    border-radius : 10px;
    overflow : hidden;
    margin : 10px;
}

.index捷徑列7 .child
{
    width : 100%;
    height : 100%;
    background-position: center;
    background-size: cover;
    transition: all .5s;
}

    .index捷徑列7 .eachShortcut:hover .child,
    .index捷徑列7 .eachShortcut:focus .child {
        transform: scale(1.2);
    }

    .index捷徑列7 .child::before {
        content: "";
        display: none;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(52, 73, 94, 0.2);
    }

    .index捷徑列7 .eachShortcut:hover .child:before,
    .index捷徑列7 .eachShortcut:focus .child:before {
        display: block;
    }

.index捷徑列7 .heading
{
    opacity: 0;
    position : absolute;
    bottom : 10%;
    left : 10%;
    color : #ffffff;
    text-shadow: 1px 1px 2px #000000;
    font-weight : 900;
    font-size : 1rem;
    padding : 0.2rem;
    
    transition: all .5s;
}

    .index捷徑列7 .eachShortcut:hover .heading {
        opacity: 1;
        background-color : #682121;
        padding : 3px;
    }

@media (max-width: 480px) {
    .index捷徑列7 .eachShortcut {
        width : 120px;
        height : 40px;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    .index捷徑列7 .eachShortcut {
        width : 140px;
        height : 40px;
    }
}
@media (min-width: 768px) and (max-width: 979px) {
    .index捷徑列7 .eachShortcut {
        width : 150px;
        height : 50px;
    }
}
@media (min-width: 980px) and (max-width:1199px) {
    .index捷徑列7 .eachShortcut {
        width : 180px;
        height : 60px;
    }
}
@media (min-width: 1200px) {
    .index捷徑列7 .eachShortcut {
        width : 200px;
        height : 70px;
    }
}



