﻿/* 整個內容方塊 */
.index校園電視台22 {
    --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校園電視台22 .blockTitle {
        text-align: var(--title-align);
        color : #FFFFFF;
        text-shadow: 3px 1px 2px rgba(0,0,0,0.84);
    }

        .index校園電視台22 .blockTitle h2 {
        }

    /* 捷徑容器，每個捷徑都放在裡面 */
    .index校園電視台22 .loopElementList {
        height: var(--content-height-without-heading);
    }

    .index校園電視台22 .shortcutList {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .index校園電視台22 .eachShortcut {
        border-radius: var(--border-radius);
        overflow: hidden;
        margin: var(--margin);
    }


    .index校園電視台22 .innerShell {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .index校園電視台22 .pic {
        width: 100%;
        height: 100%;
        transition: all .5s;
    }

    .index校園電視台22 .eachShortcut:has(.absoluteCoverLinks:hover) .pic {
        transform: scale(1.2);
    }

    .index校園電視台22 .colorPlate {
        position: absolute;
        top: 0;
        left: 0;
        /*background-image: var(--shadow);*/
        width: 100%;
        height: 50%;
        transition: all .5s;
    }

    .index校園電視台22 .eachShortcut:has(.absoluteCoverLinks:hover) .colorPlate
    {
        height : 0%;
    }


    .index校園電視台22 .heading.hideText {
        display: none;
    }

    .index校園電視台22 .heading {
        position: absolute;
        top : 10%;
        right: 10%;
        color: #ffffff;
        text-shadow: 1px 1px 1px #000000;
        font-weight: 900;
        font-size: 1.5rem;
        padding: 0.2rem;
        transition: all .5s;
        transform: rotate(322deg) translateY(10px);
    }

.index校園電視台22 .eachShortcut:nth-of-type(4) .heading
{
   font-size: 1rem;
   transform: rotate(322deg) translateY(30px);
}


@media (max-width: 480px) {
    .index校園電視台22 .eachShortcut {
        width: calc(50% - 2em);
        height: auto;
    }
    .index校園電視台22 .shortcutList {
        flex-direction: row;
    }  
}

@media (min-width: 481px) and (max-width: 767px) {
    .index校園電視台22 .eachShortcut {
        width: calc(50% - 2em);
        height: auto;
    }
    .index校園電視台22 .shortcutList {
        flex-direction: row;
    }    
}

@media (min-width: 768px) and (max-width: 979px) {
    .index校園電視台22 .eachShortcut {
        width: calc(25% - 2em);
        height: auto;
    }
    .index校園電視台22 .shortcutList {
        flex-direction: row;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index校園電視台22 .eachShortcut {
        width: calc(25% - 2em);
        height: auto;
    }
    .index校園電視台22 .shortcutList {
        flex-direction: row;
    }
}
@media (min-width: 1200px) and (max-width:1919px) 
{
    .index校園電視台22 .eachShortcut {
        width: 70%;
        height: auto;
    }
}
@media (min-width: 1920px) 
{
    .index校園電視台22 .eachShortcut {
        width: 60%;
        height: auto;
    }
}
