@import url('https://fonts.googleapis.com/css2?family=Lakki+Reddy&display=swap');

*{
    user-select: none;
}

html{
    scroll-behavior: smooth;
}

/* LIGHT MODE COLORS */
body{
    --background-color: #c4dcea;
}

/* DARK MODE COLORS */
body.dark{
    --background-color: #313030;
}

@media (prefers-color-scheme: dark) {
    /* LIGHT MODE COLORS */
    body.light{
        --background-color: #c4dcea;
    }

    /* DARK MODE COLORS */
    body{
        --background-color: #313030;
    }
}


body{
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 2.5vw;
    margin-bottom: 2.5vw;
    background: radial-gradient(circle at top left,transparent 9%, #f9f9ff 10% ,#f9f9ff 15% , transparent 16%) , radial-gradient(circle at bottom left,transparent 9%, #f9f9ff 10% ,#f9f9ff 15% , transparent 16%), radial-gradient(circle at top right ,transparent 9%, #f9f9ff 10% ,#f9f9ff 15% , transparent 16%) , radial-gradient(circle at bottom right,transparent 9%, #f9f9ff 10% ,#f9f9ff 15% , transparent 16%),radial-gradient(circle, transparent 25%, var(--background-color)  26%),linear-gradient(45deg, transparent 46%, #f9f9ff 47%, #f9f9ff 52%, transparent 53%), linear-gradient(135deg, transparent 46%, #f9f9ff 47%, #f9f9ff 52%, transparent 53%);
        background-size: 2em 1.9em;
        background-color: var(--background-color);
        opacity: 1;
    margin: 0;
    overflow-x: hidden;
    transition: 333ms;
    transition-property: filter;

    animation: 1s load;
}

body.medium-zoom--opened .container{
    filter: blur(3px);
    transition: 333ms;
    transition-property: filter;
}

a{
    text-decoration: none;
}

.container{
    width: 900px;
    margin: 0 auto;
    text-wrap: wrap;



    font-family: "Lakki Reddy", serif;
    font-weight: 400;
    font-style: normal;


    min-height: 100vh;

    border: 20px solid;
    border-image-outset: 17px;

    background-color: #ffffff;

    background-clip: padding-box;

    box-sizing: border-box;
    
    border-image: url("../../img/yuqingtangs/whitelace.png") 17 round ;

    padding: 5px;








}

.banner{
    background: linear-gradient(180deg,rgba(237, 187, 224, 1) 0%, rgba(242, 240, 223, 1) 50%, rgba(255, 240, 102, 1) 94%, rgba(255, 255, 255, 1) 100%);
    width: 100%;
    height: 15vh;

    display: flex;

    box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
    -webkit-box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
    -moz-box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
    
}

.chibi{
    position: absolute;
    align-self: flex-start;
    transform: translateY(3vh);
    margin-left: .2vw;
}

.chibi img{
    height: calc(15vh / 1.2);
    transition: 333ms;
    transition-property: filter;
}

.chibi img:hover{
    filter: brightness(110%);
}

.timezone{
    align-self: flex-start;
    margin-left: auto;
    display: inline;
    position: relative;
    margin-right: -97%;
}

#whatTime{
    color: #f83636;
    font-size: 1em;
}

.immyName{
    align-self: flex-end;
    margin-left: auto;
    font-size: 2em;
    margin-right: 30px;
    color: rgb(235, 139, 209);
}

#immyNameImg:hover{
    cursor: pointer;
}


.immySubtitle{
    color: rgba(220, 51, 175, 0.573);
    margin-top: -20px;
    font-size: .6em;
}

.immySubtitle a{
    text-decoration: none;
    color: rgba(220, 51, 175, 0.573);
}

.immySubtitle a:hover{
    opacity: 60%;
}

.currentlyReading{
    font-size: 1em;
}


.links{
    width: 100%;
    text-align: center;
    margin-bottom: -8px;
    padding: 5px;
}

.links a{
    display: inline;
    /* margin-left: 30px; */
    text-decoration: none;
    color: #6ccecc;
    font-size: .9em;
    transition: 333ms;
    transition-property: opacity;
}

.links a.comingSoon{
    text-decoration: line-through;
}

.links a.comingSoon:hover{
    cursor: not-allowed;
    opacity: 100% !important;
}

.links a::after{
    content: " !";
}

.links a:hover{
    opacity: 60%;
}

.links a:nth-child(2){
    color: rgb(247, 157, 175);
}

.links a:nth-child(3){
    color: rgb(240, 107, 232)
}

.links a:nth-child(4){
    color: rgb(14, 225, 162)
}

.links a:not(:last-child){
    margin-right: 30px;
}

hr.dashed{
    border: 4px dotted rgba(237, 187, 224, 1);
    border-style: none none dotted; 
}

.mainBox{
    background: linear-gradient(0deg,#edbbe0 25%, transparent 26%, transparent 49%, #edbbe080 50%, #edbbe080 75%, transparent 76% );
    background-size: 5em 5em;
    background-color: #d7edf9;
    opacity: 1;

    width: 100%;
    /* height: 25vh; */

    display: flex;

    box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
    -webkit-box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
    -moz-box-shadow: 1px 1px 0px 2px rgba(255,255,255,1) inset;
}

.innerMainBox{
    background-color: #ffffff;

    display: flex;

    /* flex-direction: row-reverse; */
    
    margin: 25px;

    width: 100%;
}


.innerMainBox .right{
    position: relative;
    margin-top: 10px;
    margin-right: 10px;
}

.innerMainBox .right img{
    height: 19.5vh;
}

.innerMainBox .left {
    position: relative;
    align-self: flex-start;
    margin-right: auto;
    margin-left: 15px;

    width: 25%;

    /* border: 10px solid;
    border-image-outset: 17px;


    box-sizing: border-box;
    
    border-image: url("../../img/yuqingtangs/pinklace.png") 18 round ; */

}


.innerMainBox .left h2{
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 3px;
}

.innerMainBox .left img{
    height: 20px;
}

.innerMainBox .left img.h2SideLeft{
    transform: scaleX(1);
}
.innerMainBox .left img.h2SideRight{
    transform: scaleX(-1);
}

.innerMainBox .left p {
    font-size: .9em;
    text-align: center;
    width: 100%;
    margin-top: -10px;
    margin-bottom: -8px;
}


.usahanaLeftEar{
    color: #0288cf;
}

.usahanaRightEar{
    color: #ee5b88;
}

.usahanaLeftArm{
    color: #9995c9;
}

.usahanaLeftLeg{
    color: #6bc07c;
}

.usahanaRightLeg{
    color: #f6941e;
}


.flex{
    display: flex;
    flex-direction: row-reverse;
}

.recentlyRead{
    display: flex;
    flex-direction: column;
    width: 300px;
}

.recentlyRead .h2Wrapper {
    background: linear-gradient(90deg,transparent 50%,#f8ffcc 50%);
        background-size: 1em 1em;
        background-color: #fdff99;
        opacity: 1;
    width: 220px;
    padding-left: 10px;
    margin-top: 0;
    color: rgb(235, 139, 209);
}

.h2Wrapper h2 {
    margin: 0;
    margin-bottom: -10px;
    font-size: 1.3em;
}

table{
    margin: 0;
    margin-top: 5px;
    padding: 0;
    border-collapse: collapse;
    width: 100%;
    border-spacing: 0;
}

table tr{
    border-bottom: 2px dotted #f6941e;
}


table td, th {
    padding-top: 10px;
    /* border: 2px solid black; */
    text-align: left;
    margin-bottom: -10px;
    padding-right: 10px;
    width: 40px;
    vertical-align: top;



    font-size: .8em;
}

table td, th p{
    padding: 0;
    margin: 0;
}



table h2{
    font-size: 1.1em;
    margin: 0;
    color: rgb(235, 139, 209);;
}

table h3{
    font-size: .8em;
    margin: 0;
    margin-top: -8px;
    color: #0288cf;
}


table img{
    max-width: 100%;
}

.bigGif{
    padding: 10px;
}


.bigGif img{
    outline: 5px #192159 solid;
    width: 100%;
}

.emoji {
    position: absolute;
    font-size: 2rem;
    pointer-events: none;
    animation: fall 2s linear forwards;
    z-index: 0;
    text-align: center;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    padding: 0;
    margin: 0;
}



footer{
    width: 100%;
    text-align: center;
    font-size: .6em;
    opacity: 60%;
    transition: 333ms;
    transition-property: opacity;
}

footer img{
    width: 10px;
    transform: translateY(2px);
    transition: 333ms;
    transition-property: background-color;
}

footer:hover{
    opacity: 80%;
}

#argil{
    color: #4698cc;
    transition: 333ms;
    transition-property: color;
}

#argil:hover{
    color: #16c8f9;
}

footer img:hover{
    opacity: 110%;
    background-color: #00000081;
}

.centeredText{
    text-align: center;
}


@keyframes spin {
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;
    }
}

@keyframes fall {
    0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    }
    100% {
    transform: translateY(100vh) rotate(190deg);
    opacity: 0;
    }
}

@keyframes load {
    0%{
        opacity: 0;
        transform: translateY(-100vh);
    }

    10%{
        opacity: 0.3;
    }

    80%{
    }

    100%{
        opacity: 1;
    }
}

@media (max-width: 900px){

    body{
        background: none;
        background-color: var(--background-color);
    }

    .container{
        width: 100vw;
        margin: 0;
    }
}

@media  (max-width: 600px){
    .flex{
        display: block;
    }

    .recentlyRead{
        width: 100%;
        margin-left: 5px;
        margin-right: 5px;
    }

    .recentlyRead .h2Wrapper{
        width: 60%;
    }

    .innerMainBox h2{
        font-size: 1em !important;
        margin: 0 auto;
        margin-top: 15px;
        margin-bottom: 15px;

    }

    .innerMainBox p {
        font-size: .8em !important;
        width: 95% !important;
        margin: 0 auto;
    }

    .innerMainBox {
        display: block;
    }

    .innerMainBox .right{
        margin: 0 auto;
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .innerMainBox .right img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
    }

    .innerMainBox .left{
        width: 100%;
        margin-left: 2.5px;
        margin-right: 2.5px;        
    }

}

