:root {
    --izaya: linear-gradient(0deg, rgba(255,175,208,0.15) 0%, rgba(255,54,138,0.15) 100%);
    --izaya2: #ff368a;
    /* --shizuo:  */
}


body {
    margin: 0;
    padding: 0;
    background-image: url('../bg/tumblr_inline_mqga3lxvmL1qz4rgp540.gif');
}

a {
    text-decoration: none;
    color:rgb(255, 112, 160);
}

a:hover {
    text-decoration: underline wavy;
}

h1 {
    font-family: BILLO_Dream;
    font-size: 5em;
    margin-top: -.5em;
    margin-bottom: 1em;
    margin-left: 2em;
    font-weight: normal;
    position: relative;
    filter: drop-shadow(5px 5px 0px white) drop-shadow(1px 1px 0px black);
}

h1::after {
    content: 'my favorite characters';
    font-family: billo;
    position: absolute;
    left:-3px;
    top: 6px;
    font-size: calc(1em + 7.25px);
    white-space: nowrap;
    z-index: -1;
    color: rgb(255, 112, 160);
;}

h2 {
    font-family: "FancyHeart";
    font-size: 2em;
    word-spacing: -5px;
    margin: 0;
    margin-top: -0.15em;
}

.lace {
    border-width: 5px !important;
}

.netabare {
    color: gray;
    background: gray;
    padding: 0 5px 2px 5px;
}

.netabare:hover {
    color: white;
}

#hi {
    display: flex;
    align-items: center !important;
    overflow: hidden;
}

.content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    overflow: auto;
    scrollbar-width: none;
    height: 100%;
    position: relative;
    /* margin-top: 4em; */
}

.sidebar {
    width: 300px;
    background: white;
    position: absolute;
    left: 5em;
    top: 3em;
    border-radius: 30px;
    background: white;
    border: 2px pink dotted;
    box-shadow: 5px 5px 0px 0px white;
    font-family: chalk;
}

.sidebar a {
    font-family: 'Reglisse';
    text-decoration: none;
    font-size: 2.5em;
    letter-spacing: 2px;
    color: #ff63ac;
    text-shadow: 1px 1px 0px rgb(34, 0, 16);
    transition: all .2s ease;
    display: block;
}

.sidebar a:hover {
    text-shadow: 2px 2px 0px #d44588, 4px 4px 0px #a82663, 6px 6px 0px #6b0736;
}

.sidebar a:active {
    transform: translateX(6px) translateY(6px);
    text-shadow: 1px 1px 0px rgb(34, 0, 16);
}

.yay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
}

.chara {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 65%;
    flex-wrap: wrap;
    gap: 5em;
    position: relative;
    margin-left: 10em;
    /* padding-top: 2.5em; */
}




.character {
    padding: 10px;
    background: white;
    /* margin-right: 4em; */
    position: relative;
    transition: all .2s ease;
}

.izaya {
    animation: glow 2s infinite alternate;
}


.icon {
    outline: 1px solid;
}

.icon img {
    display: block;
    width: 250px;
}

.emoj {
    position: absolute;
    top: .6em;
    right: .6em;
    padding: 10px 9px;
    background: white;
    /* border-radius: 50px; */
    border-bottom-left-radius: 20px;
    /* border: 1px solid black; */
}

.name {
    outline: 1px solid black;
    margin-top: .75em;
    padding: 0px 0 5px 0;
    font-family: "FancyHeart";
    font-size: 1.5em;
    text-shadow: 2px 2px white;
    /* font-weight: bold; */
}

.textbox {
    position: absolute;
    width: calc(100% + 6em - 20px);
    height: calc(500px - 20px);
    top: -5em;
    left: -3em;
    z-index: 5;
    transform: scale(0);
    background: rgb(255, 255, 255);
    opacity: 0;
    transition: all .2s ease;
    padding: 10px;
    font-family: chalk;
}

.character:hover .textbox {
    transform: scale(1);
    opacity: 1;
}

.textbox>.head {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    width: calc(95% - 10px);
    margin: auto;
    padding: 5px;
}

.head div:first-of-type {
    width: 30%;
}

.head div:last-of-type {
    width: 70%;
}

.textbox>.head img {
    height: 90px;
}

.text {
    width: 95%;
    margin: auto;
    height: 375px;
    overflow: auto;
    scrollbar-width: none;
}

.chara2 {
    width: 35%;
    height: 46em;
    overflow: auto;
    padding-right: 1em;
    scrollbar-color: #ff91c1 #ffffff;
}

.chara2>.character {
    margin-bottom: 2em;
}

.chara2>.character>.inside {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2em;
}

.chara2>.character>.inside>.icon img {
    width: 90px;
}

.chara2>.character>.inside>.name {
    padding: 5px 10px 10px 10px;
    margin-top: 0;
    text-align: left;
}

.chara2>.character>.textbox {
    width: 96%;
    top: 9em;
    left:-.275em;
    transform: scale(1);
    height: 0;
    overflow: auto;
}

.chara2>.character:hover .textbox {
    height: 250px;
    opacity: 1;
}

.chara2>.character>.textbox>.text p:first-of-type {
    margin-top: .1em;
}
.chara2>.character>.textbox>.text p:last-of-type {
    margin-bottom: .1em;
}



.outoffocus {
    opacity: .5;
    filter: blur(2px) brightness(.95);

}

@keyframes glow {
    0% {
        box-shadow: 0px 0px 5px 0px rgba(255, 54, 138, 0.25);
    }

    100% {
        box-shadow: 0px 0px 10px 5px rgba(255, 54, 138, 0.5);
    }
}


@media screen and (max-width: 1920px) {

    h1 {
        margin-top: -.75em;
        margin-bottom: 0em;
    }


    .sidebar {
        width: 275px;
    }

    .sidebar p:first-of-type {
        height: 155px;
        overflow: auto;
        scrollbar-width: none;
    }

    .chara {
        gap: 3.5em;
    }

    .icon img {
        width: 200px;
    }

    .textbox {
        height: calc(450px - 20px)
    }

    .text {
        height: 330px;
    }

    .name {
        font-size: 1.25em;
    }

}
