body {
    color: black;
    background-color: lightgray;
    animation: bootUp 1.5s cubic-bezier(0.1, 0.7, 1.0, 0.1) forwards;
    min-height: 100vh;
    position: relative;
    z-index: 0;
    overflow-x: hidden;
    margin: 0;
}

body a {
    color: dimgrey;
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: -175px;
    left: -175px;
    bottom: -175px;
    right: -175px;
    background-image:
        linear-gradient(45deg, #000000 25%, transparent 25%, transparent 75%, #000000 75%, #000000),
        linear-gradient(45deg, #000000 25%, transparent 25%, transparent 75%, #000000 75%, #000000);
    background-position: 0 0, 1px 1px;
    background-size: 2px 2px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 999;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: -300px;
    left: -300px;
    bottom: -300px;
    right: -300px;
    background-image: url("https://i.ibb.co/GQvnGHfQ/chinese-landscape.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
    z-index: 0;
    animation: bootUp 1.5s cubic-bezier(0.1, 0.7, 1.0, 0.1) forwards;
}

@keyframes bootUp {
    0% {
        opacity: 0;
        filter: blur(10px) contrast(200%) grayscale(100%);
        text-shadow: 10px 0 #555, -10px 0 #888;
        transform: scale(1.02);
    }
    15% {
        opacity: 0.35;
        filter: blur(6px) contrast(160%) grayscale(80%);
        text-shadow: 3px 0 #666, -4px 0 #999;
        transform: scale(1.01);
    }
    30% {
        opacity: 0.5;
        filter: blur(4px) grayscale(50%);
        text-shadow: 4px 0 #777, -4px 0 #aaa;
    }
    50% {
        opacity: 0.65;
        filter: blur(2px) grayscale(30%);
        text-shadow: 2px 0 #999, -2px 0 #ccc;
    }
    70% {
        opacity: 0.8;
        filter: blur(1px) grayscale(10%);
        text-shadow: 1px 0 #aaa, -1px 0 #ddd;
    }
    100% {
        opacity: 1;
        filter: blur(0) grayscale(0%);
        text-shadow: 0 0 0 transparent;
        transform: scale(1);
    }
}

.corn {
    margin: 0 auto;
    margin-top: 50px;
    background-color: white;
    width: 1000px;
    height: 800px;
    padding: 15px;
    background-color: white;
    box-shadow: 0px 0px 40px black;
    border-bottom: 3px double black;
    border-top: 3px double black;
    border-right: 1px dashed black;
    border-left: 1px dashed black;
    display: flex;
    position: relative;
    z-index: 1;
}

.sidenav {
    background-color: white;
    box-shadow: 4px 4px 5px grey;
    padding: 10px;
    width: 110px;
    height: 780px;
    float: right;
    font-family: ms gothic;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-top: 1px black solid;
    border-bottom: 1px black solid;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.main {
    padding: 10px;
    margin-right: 10px;
    flex: 1;
    float: left;
    height: 780px;
    border: 1px solid black;
    box-shadow: 4px 4px 5px grey;
}

.tableof {

    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 4px;
    margin-right:2px; 
    width: 100px;
    font-family: ms pgothic;
    box-shadow: 4px 5px lightgray;



}

.tableof2 {

    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    margin-top:5px;
    margin-bottom:5px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 4px;
    margin-right:2px;
    width: 100px;

    box-shadow: 4px 5px lightgray;
    flex:auto;
}

.tableof3 {

    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    margin-top:5px;
    margin-bottom:5px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 4px;
    margin-right:2px;
    width: 100px;
    font-family:ms pgothic;
    box-shadow: 4px 5px lightgray;
    flex:auto;
}

.tableof4 {

    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    margin-top:5px;
    margin-bottom:5px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 4px;
    margin-right:2px;
    width: 100px;
    font-family:ms pgothic;
    box-shadow: 4px 5px lightgray;
    flex:auto;
}

.tableof5 {

    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    margin-top:5px;
    margin-bottom:5px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 4px;
    margin-right:2px;
    width: 100px;
    font-family:ms pgothic;
    box-shadow: 4px 5px lightgray;
    flex:auto;
}

.nav{

    margin-top:4px;
    padding:2px 3px;
    line-height:13px;
    font-size:12px;
    font-family:ms gothic;



}

.nav-section {
    display: none;
    overflow: hidden;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
}


.nav a {
    display: block;
    padding: 1px 0;
    text-decoration: none;
    color: dimgrey;
}

.nav a:hover {
    color: black;
}

.tableof-button {
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid black;
    font-size: 12px;
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 4px;
    margin-right: 2px;
    width: 100px;
    font-family: ms pgothic;
    box-shadow: 4px 5px lightgray;
    text-align: center;
}

.tableof-button a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    display: block;
}

.tableof-button:hover {
    background-color: #f0f0f0;
}

.ifwame {
    width: 100%;
    height: 100%;
    overflow:auto;
}


