/* 
body>svg+img{
        position: absolute;
        z-index: -1;
        top: 35px;
        left: 25%;
        width: 50%;
        opacity: 0.2;
        border: 0px solid;
        border-radius: 50%;
        animation: yinyangRotate 24s linear infinite,
        yinyangPulse 2s linear infinite;
        pointer-events: none; 
    } */
body {
    cursor: auto !important;
    background-image: url("media/yinyangbg.png");
    background-color: rgba(255,255,255,0.9);
    background-blend-mode: lighten;
    background-size: 4.2%;
    z-index: -1;
}
html {
    z-index: -1;
}
body>div>div>div {
    padding: 8px;
    display: flex;
    border: 8px dashed black;
    width: 360px;
    animation: mainBorderBlink 1s linear infinite;
    

    img   {   
        width: 32%;
        margin: 1%;
        margin-top: 8px;
        height: 100%;
        animation: rotate 5s linear infinite;
    }
    ul>li {
        font-size: 18px;

    }
    ul>li:nth-child(1) {
        animation: highlight 2.25s ease-in-out infinite;
    }
    ul>li:nth-child(3) {
        animation: highlight 2.25s ease-in-out infinite;
        animation-delay: 0.5s;
    }
    ul>li:nth-child(5) {
        animation: highlight 2.25s ease-in-out infinite;
        animation-delay: 1s;
    }
    
}
body>div>div>h2 {
    margin-left: -70px;
}
body>div:nth-child(2) {
    position: absolute;
    padding: 12px 4px 4px 12px;
    left: 0;
    top: 0;
    border-right: 5px black solid;
    border-bottom: 3px black solid;
    box-shadow: 6px 6px 2px 1px;
    cursor: grab;
    animation: smallTrail 2s linear infinite;

    span {
        font-size: 10px;
    }
}
body>div:nth-child(2):active {
    animation: bigTrail 1.5s linear infinite;
    cursor: grabbing;
}


body>div:nth-child(3) {
    display: block;
    margin-left: 20%;

}

body>div:nth-child(4) {
    position: absolute;
    left: 7.4%;
    top: 310px;
    padding: 105px 10px 0px 10px;
    width: 175px;
    height: 100px;
    border: 4px black solid;
    animation: longDescTilt 2s ease-in-out infinite;
}

div>label>span {
    position: absolute;
    display: block;
    text-align: center;
    width: 200px;
    rotate: -25deg;
    background-color: white;
    box-shadow: 5px 5px;
    top: 275px;
    left: 5%;
    padding: 10px;
    border: double black 16px;
    z-index: 1;

    animation-delay: 1.7s;
    animation: shortDescTilt 2s ease-in-out infinite;
    cursor:grabbing;
}

/* div>label>span::before {
    width: 150px;
    position: absolute;
    font-size: 12px;
    content: "If you don't know what any of this means, Google is free!";
    top: -60px;
    rotate: -0deg;
    left: -50px;
} */

div>span:nth-child(2) {
    top: 100px;
    position: absolute;
    left: 12%;
    font-size: 60px;

}
span>span{
    width: 0;
    position: absolute;
    bottom: 155px;
    right: -17px;
    rotate: 90deg !important;
    animation: arrowPointing 2s ease-in infinite;
}

@keyframes shortDescTilt {
    0% { rotate: -25deg; }
    50% { rotate: -20deg; }
    100% { rotate: -25deg; }
}

@keyframes longDescTilt {
    0% { rotate: -1deg; }
    50% { rotate: 1deg; }
    100% { rotate: -1deg; }
}

aside:nth-of-type(1) {
    text-align: center;
    position: absolute;
    left: 20.25%;
    width: 250px;
    height: 494px;
    top: 250px;
    border: 6px ridge rgb(0, 0, 0);
    animation: commentsBorder 2s linear infinite;
    font-size: 12px;

    h2 {
        border: 6px ridge black;
        width: 100%;
        margin: 0;
        width: 95.1%;
        margin-bottom: 30px;
        animation: commentsBorder 2s linear infinite;
    }
    span {
        font-size: 10px;     
    }
    /* border-top: none; */
}

main {
    position: absolute;
    left: 35%;
    top: 250px;
    width: 721px;
    height: 490px;
    border: 8px solid black;
    animation: mainBorderEffect 3s ease-in-out infinite;
    
}

header {
    position: absolute;
    border: black 13px solid;
    left: 41.3%;
    top: 67px;
    width: 600px;
    height: 147px;
    overflow: visible;
}
header>ul {
    list-style: none;
    display: flex; 
    height: 100%;
    li {
        position: relative;
        z-index: 100;
        background-color: white; 
        text-align: center;
        margin-left: 2.5%;
        margin-right: 9.5%;
        margin-top: -17px;
        width: 12%;
        height: 100%;
        border: 2px black solid;
        font-size: 36px;
        overflow-wrap: anywhere;
        transition: 0.2s;
        transform: translate(-2px, 1px);
        box-shadow: 2px -2px 0px 2px; 
        label {
            cursor: pointer;
        }       
    }:hover {
            /* transform: scale(1.2);
            transition: 0.2s; */
    }

    
}

main>section:nth-child(2)>table {
    display: block;
    margin-left: 40px;

    tr>td {
        text-align: center !important;
        font-size: 20px;
        width: 30%;
        border: 2px ridge rgb(48, 46, 46);
        img {
            width: 98%;
        }
    }

    tr:nth-child(3)>td {
        font-size: 14px;
    }
}

main>section:nth-child(3)>table {
    display: flex;
    margin-left: 40px;
    text-align: left;
    margin-top: 50px;
    margin-left: 20px;
    overflow-x: scroll;
    tr>td {
        font-size: 18px;
        margin-right: 40px;
        img {
                width: 200px;  
            }  
    }

    }
    tr {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        td {
                display: flex;
                flex-direction: row;
                /* justify-content: space-between; */
            
                ul {
                    list-style: none;
                    border-left: 1px black solid;
                    padding-left: 2%;
                    margin-left: 2%;
                    margin-top: 0;
                    width: 180px;
                }
        }
    }


body>aside:last-of-type {
    position: absolute;
    top: 600px;
    left: -215px;
    width: 200px;
    border: 2px solid black;
    border-right: 25px solid black;
    border-radius: 15px;
    cursor: pointer;
    transition: 2s;

    ul {
        list-style: none;


        h4,li {
            font-size: 12px;
            margin-left: -20px;
        }
    }



}
body>aside:last-of-type:hover {
        left: -15px;
    }

:root {
    --gt: 1;
    --borderGradDegs: 45deg;
}

label > input:checked + span {
    animation: 
        grab-impulse 0.75s ease-in,
        spin 2s linear 0.75s infinite; 
    cursor: no-drop;
}

section>h3 {
    margin-left: 10px;
}

b>textarea {
    position: absolute;
    border: none;
    resize: none;
    background-color: rgba(102, 51, 153, 0);
    font-weight: bolder;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Times New Roman";
    width: 90px;
    cursor: col-resize;
}



body>aside:first-of-type {
    
    div {
        margin-top: 0px;
        padding-top: 5px;
        border-top: 6px black ridge;
        animation: commentsBorder 2s linear infinite;
    }
    h2 {
        margin: 0;
    }
    ul {
        /* width: 100%; */
        margin-top: 0;
        overflow-y: scroll;
        height: 71.75%;
        list-style: none;
        font-weight: bold;
        font-size: 14px;
        li {
            margin-left: -35px;
        }
    }
}

body:has(header>ul>li:nth-child(1)>label>input:checked)
main>section:nth-child(n+2) { display: none !important;} 
body:has(header>ul>li:nth-child(1)>label>input:checked) 
main>section:nth-child(1) { display: block !important;}
body:has(header>ul>li:nth-child(2)>label>input:checked)
main>section:nth-child(1),
main>section:nth-child(3),
main>section:nth-child(4) { display: none !important;}
body:has(header>ul>li:nth-child(2)>label>input:checked)
main>section:nth-child(2) { display: block !important; }
body:has(header>ul>li:nth-child(3)>label>input:checked)
main>section:nth-child(1),
main>section:nth-child(2),
main>section:nth-child(4) { display: none !important;}
body:has(header>ul>li:nth-child(3)>label>input:checked)
main>section:nth-child(3) { 
    display: block !important; 
}
body:has(header>ul>li:nth-child(4)>label>input:checked)
main>section:nth-child(-n+3) { display: none !important;}
body:has(header>ul>li:nth-child(4)>label>input:checked)
main>section:nth-child(4) { display: block !important; }


body:has(header>ul>li:nth-child(1)>label>input:checked) 
header>ul>li:nth-child(1) {
transform: translate(-15px, 10px);
        box-shadow: 10px -10px 0px 10px; 
}
body:has(header>ul>li:nth-child(2)>label>input:checked) 
header>ul>li:nth-child(2) {
        transform: translate(-15px, 10px);
        box-shadow: 10px -10px 0px 10px;
}
body:has(header>ul>li:nth-child(3)>label>input:checked) 
header>ul>li:nth-child(3) {
        transform: translate(-15px, 10px);
        box-shadow: 10px -10px 0px 10px; 
}
body:has(header>ul>li:nth-child(4)>label>input:checked) 
header>ul>li:nth-child(4) {
        transform: translate(-15px, 10px);
        box-shadow: 10px -10px 0px 10px;
}




@keyframes smallTrail {
    0% { 
        box-shadow: 6px 6px 2px 1px rgba(0,0,0,0.7);
        border-color: rgba(0,0,0,0.7);
    }
    25% { 
        box-shadow: 6px 6px 8px 3px rgba(0,0,0,0.8);
        border-color: rgba(0,0,0,0.8);
    }
    50% { 
        box-shadow: 6px 6px 12px 6px rgba(0,0,0,0.1);
        border-color: rgba(0,0,0,0.1);
    }
    75% { 
        box-shadow: 6px 6px 8px 3px rgba(0,0,0,0.5);
        border-color: rgba(0,0,0,0.5);
    }
    100% { 
        box-shadow: 6px 6px 2px 1px rgba(0,0,0,0.3);
        border-color: rgba(0,0,0,0.3);
    }
}

@keyframes bigTrail {
    0% { 
        box-shadow: 6px 6px 2px 1px rgba(0,0,0,0.7);
        border-color: rgba(0,0,0,0.7);
    }
    20% { 
        box-shadow: 
                    10px 10px 30px 15px rgba(0,0,0,0.8),
                    15px 15px 40px 20px rgba(0,0,0,0.6);
        border-color: rgba(0,0,0,0.8);
    }
    40% { 
        box-shadow: 6px 6px 2px 1px rgba(0,0,0,0.7),
                    15px 15px 50px 25px rgba(0,0,0,0.1),
                    25px 25px 70px 35px rgba(0,0,0,0.08),
                    35px 35px 90px 45px rgba(0,0,0,0.05);
        border-color: rgba(0,0,0,0.1);
    }
    60% { 
        box-shadow:
                    12px 12px 40px 20px rgba(0,0,0,0.5),
                    20px 20px 60px 30px rgba(0,0,0,0.3);
        border-color: rgba(0,0,0,0.5);
    }
    80% { 
        box-shadow: 
                    8px 8px 25px 12px rgba(0,0,0,0.3);
        border-color: rgba(0,0,0,0.3);
    }
    100% { 
        box-shadow: 6px 6px 2px 1px rgba(0,0,0,0.7);
        border-color: rgba(0,0,0,0.7);
    }
}
@keyframes grab-impulse {
    0% { transform: rotate(-10deg) }
    25% { transform: rotate(-25deg) }
    50% { transform: rotate(-45deg) }
    100% { transform: rotate(25deg) }
}

@keyframes spin {
    0% {
        transform: rotate(25deg);
    }
    100% {
        transform: rotate(385deg);
    }
}


@keyframes mainBorderEffect {
    0% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgba(0, 0, 0, 0.245) 10%, rgba(0,0,0,0.9) 30%) var(--gt); }
    20% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgb(0, 0, 0.245) 10%, rgba(0,0,0,0.9) 40%)  var(--gt); }
    40% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgba(0, 0, 0, 0.245) 10%, rgba(0,0,0,0.9) 60%)  var(--gt); }
    60% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgba(0, 0, 0, 0.245) 10%, rgba(0,0,0,0.9) 80%)  var(--gt); }
    80% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgba(0, 0, 0, 0.245) 10%, rgba(0,0,0,0.9) 60%)  var(--gt); }
    100% { border-image: repeating-linear-gradient(var(--borderGradDegs), rgba(0, 0, 0, 0.245) 10%, rgba(0,0,0,0.9) 30%)  var(--gt); }
}

@keyframes commentsBorder {
    0% {
        border: 6px ridge rgb(0, 0, 0);
    }
    50% {
        border: 6px ridge rgb(218, 218, 218);
    }
    100%{
        border: 6px ridge rgb(0, 0, 0);
    }
}

@keyframes arrowPointing {
    0% { right: -17px; }
    50% { right: -47px; }
    100% { right: -17px; }
}

@keyframes mainBorderBlink {
    0% { border-style: dotted; }
    100% { border-style: dashed; }
}
@keyframes rotate {
    0% { rotate: 0deg; }
    100% { rotate: 360deg; }
}

@keyframes highlight {
    0% {
        transform: scale(1);
        font-weight: normal;
        opacity: 1;
    }

    15% {
        transform: scale(1.15);
        font-weight: bold;
        opacity: 1;
    }

    30% {
        transform: scale(1);
        font-weight: normal;
        opacity: 1;
    }

    100% {
        transform: scale(1);
        font-weight: normal;
        opacity: 1;
    }
}
@media (min-width: 1800px) {
    body>p {
        display: none;
    }
}

body>p {
    position: absolute;
    background-color: rgba(14, 10, 10, 0.8);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1000;
    text-align: center;
    font-size: 100px;
    color: rgb(255, 255, 255);
    font-weight: bolder;
}


footer {
    position: absolute;
    top: 750px;
    left: 500px;
    z-index: 1001;
}
footer>div>span {
    background-image: radial-gradient(black 30%, white 60%);
    position: relative;
    margin-top: -45px;
    margin-left: -110px;
    width: 70px;
    height: 70px;
    border-radius: 35px;
    offset-path: path('M 20 80 C 40 20 80 20 100 80 Q 180 100 180 40 L 280 80 L 380 40 C 460 0 406.666 66.666 480 80 S 500 -20 620 40 L 640 80 L 700 20');offset-distance: 0%;
    offset-rotate: auto;
    transition: 1s ease;
    cursor: grab;
}
footer>div>span:hover{
    cursor: grabbing;
        animation: moveAlongPath 7s linear infinite;
}

footer>h3 {
margin-left: -110px;
}

@keyframes moveAlongPath {
    0% {offset-distance: 0%; }
    100% {offset-distance: 100%; }
}
#temp {
    position: absolute;
    font-size: 13px;
    top: 800px;
    left: 500px;
}
@keyframes yinyangRotate {
	0% { transform: rotate(45deg); }
	100% { transform: rotate(405deg);}
}

@keyframes yinyangPulse {
	0% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.6); }
	70% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.2); }
	100% { box-shadow: 0 0 0 50px rgba(255, 255, 255, 0); }
}