body {
    background-image: url(https://i.pinimg.com/736x/f2/7f/ae/f27fae3234a501bdbd6eaa0ea4e57d6f.jpg);
    background-size: 400px;
    padding: 40px;
}

/*scrollbar*/
::-webkit-scrollbar-track
{
	border-radius: 10px;
	background-color: transparent;
}

::-webkit-scrollbar
{
	width: 15px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #ffecf5;
  border: 3px solid #fcfcfb;
}

#sidebar::-webkit-scrollbar-track
{
	border-radius: 10px;
	background-color: transparent;
}

#sidebar::-webkit-scrollbar
{
	width: 0px;
	background-color: transparent;
}


/*normal*/


.key img {
    height: 15px;
    margin-bottom: -5px;
}

.container {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-areas: 'sidebar mainbox';
    width: 100%;
    height:100vh;
    min-width: 500px;
}

.container > * {
    color: rgb(90, 82, 78);
    box-sizing: border-box;
    padding: 10px;
    font-family: "Cormorant Garamond";
}

#sonico {
    position: fixed;
    bottom: -90px;
    right: -80px;
    z-index: 100;
    height: 50%;
}

#sidebar {
    grid-template-areas: sidebar;
    overflow-y: scroll;
    display: flex;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #fcfcfb;
    flex-direction: column;
}

#sidebar .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 10px; margin-bottom: 10px;
}

#sidebar button:hover {
    background-color: #ffecf5;
}

#sidebar button {
    color: #ff96c3;
    width: 100%;
    transition: all .5s ease;
    border-radius: 5px;
    text-align: left;
    border: none;
    background-color: transparent;
    height: 35px;
    font-size: 25px;
    font-family: "Cormorant Garamond";
    font-weight: bold;
}

#sidebar input {
    background-color: #fcfcfb;
    border: 1px dashed #ff96c3;
    border-radius: 5px;
    color: rgb(90, 82, 78);
    font-family: "Cormorant Garamond";
    font-size: 17px;
    margin-top: 10px;
}

.exp t {
    color: #ff96c3;
    font-size: 45px;
    line-height: 40px;
    font-family: imperial script; 
}

.key h {
    color: #ff96c3;
    font-size: 35px;
    font-family: imperial script;
}

#mainbox {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    grid-area: mainbox;
    background-color: #fcfcfb;
    overflow-y: auto;
    padding: 10px;
    min-height: 100%;
    overflow-y: scroll;
    max-height: 100vh;
}


/*default layout size*/
  .grid-sizer {
    width: 32%;
  }


.actor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid rgb(90, 82, 78);
    break-inside: avoid;
    width: 31%;
    box-sizing: border-box;
    float: left;
    gap:5px;
    justify-content: center;
    background-size: 100px;
    align-items: center;
    background-image: url(https://i.pinimg.com/736x/b7/97/80/b7978080eff28f25f85b34f2e35229a8.jpg);
}

/*responsive layout*/
@media (max-width: 900px) {
    .grid-sizer {
        width: 50%;
      }

    .actor {
        width: 46%;
    }

    #sidebar button {
        min-width:70%;
    }

    }
  
  @media (max-width: 600px) {
    .grid-sizer {
    width: 100%;
    }

    .actor {
    width: 95%;
    }

    #sidebar button {
    min-width:70%;
    }

    .container {
        max-width: 600px;
        min-width: 500px;
    }

    body {
        padding: 0px;
    }
  }

  /*from va page*/

.none {
    background-image: url(https://moekkis.neocities.org/pinkdot.jpg);
    background-size: 500px;
}

.eng {
    background-image: url(https://moekkis.neocities.org/plaidbg.jpg);
    background-size: 300px;
}

#img {
    width: 100%;
    height: 100%;
    transition: all .2s ease;
}

.imgactor {
    overflow: hidden;
    width:100%;
    height:100%;
    position: relative;
}

.imgactor:hover #img {
    transform: scale(1.4);
    opacity: 80%;
}

.tooltip {
    opacity: 0;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    position: absolute;
    top:0;
    background: rgba(255,255,255,0.7);
    color: rgb(37, 34, 33);
    text-shadow: 2 2 10px #fcfcfb,
                -2 -2 10px #fcfcfb;
    transition: opacity .2s ease;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.imgactor:hover .tooltip {
    opacity:1;
}

.actor span {
    grid-column: span 2;
    color:rgb(90, 82, 78);
    text-align: center;
}

span {
    text-align: center;
}

/*fonts*/
.imperial-script-regular {
    font-family: "Imperial Script", cursive;
    font-weight: 400;
    font-style: normal;
  }

  
.cormorant-garamond {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }