﻿/*頁面框架的CSS*/

    * {
        margin: 0px;
        padding: 0px;
        list-style: none;
    }

    .head{
        padding: 10px;
        min-height: 10vh;
        display: flex;
        font-size: 20px;
        align-items: end;
        box-shadow: 0px 0px 10px #f4dc5c;
        position: relative;
    }

    .head:after{
        content: '';
        height: 3px;
        background-color: white;
        position: absolute;
        bottom: 5px;
        right: 10px;
        left: 10px;
    }

    #menu-switch{
        display:none;
    }

    .head-icon{
        width: 100px;
        height: 2em;
        overflow: hidden;
        background: url("../logo2.png");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .head-icon img{
        width: 100%;
        vertical-align: middle;
    }

    .head-item{
        margin-left: 10px;
        font-weight: 700;
    }

    .head-item a{
        margin-left: 10px;
        color: black;
        text-decoration: none;
        position: relative;
    }

    .content {
        min-height: 80vh;
        position: relative;
    }

    .foot{
        font-size: 18px;
        font-weight: 700;
        width: 100%;
        height: 10vh;
        padding: 10px;
        position: absolute;
        bottom: -10vh;
        right: 0;
        text-align: right;
        box-shadow: 0px 0px 10px #f4dc5c;
    }

    .foot label{
        width: 100%;
        position: relative;
    }

    .foot label:before{
        content: '';
        width: 100%;
        height: 3px;
        background-color: white;
        position: absolute;
        top: -5px;
        left: 0;
    }


    @media (min-width: 720px) {
        .head-item a:after {
            content: '';
            width: 0%;
            height: 3px;
            background-color: black;
            position: absolute;
            left: -5%;
            bottom: -2px;
            transition: width .2s;
        }

        .head-item a:hover:after {
            width: 110%;
        }

        .head-button {
            display: none;
        }
    }

    @media (max-width:720px){
        .head {
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .head-icon{
            width: 180px;
            height: 90px;
        }

        .head-item {
            width: 100%;
            min-height: 90vh;
            padding: 10px;
            position: absolute;
            top: 90px;
            left: -10px;
            width: 100%;
            z-index: 2;
            background-color: rgba(255, 193, 7, .7);
            backdrop-filter: blur(5px);
            display: none;
        }

        #menu-switch:checked + .head-item {
            display: flex;
            flex-direction: column;
        }

        .head-item a{
            margin: 0px;
            padding: 10px;
        }

        .head-item a + a{
            border-top: 2px solid white;
        }

        .head-button{
            width: 40px;
            height: 40px;
            font-size: 25px;
            text-align:center;
            vertical-align: middle;
            padding: 3px;
            border: 5px solid black;
            border-radius: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            position:absolute;
            right: 10px;
            top: 10px;
        }

        .background-img{
            width: 100%;
            background-position: center center;
        }

        .foot{
            text-align: center;
        }
    }