/* NORMALIZE */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}body{
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}.previw_panel::-webkit-scrollbar{
    position: absolute;
    left: 10px;
    width: 20px;
    background: #383838;
}.previw_panel::-webkit-scrollbar-button{
    background: #1d1d1d;
}.previw_panel::-webkit-scrollbar-thumb{
    background: #867d7d;
    border-radius: 5px;
}

/* TOAST */
.toast{
    z-index: 5000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}.toast p{
    padding: 10px 20px;
    margin-bottom: 10px;
    background: #2b2b2b;
    color: #ffd900;
    font-weight: bolder;
    font-family: monospace;
}

/* WELCOME */
.welcome{
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 50px 20px;
    background: #9bdee7;
    color: #000000;
    text-align: center;
    font-weight: 900;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}.welcome h2, .welcome h3{
    font-family: monospace;
    text-transform: uppercase;
}.welcome h1{
    background: #42414152;
    text-shadow: 0 0 5px #000;
    border-radius: 20px;
    margin: 20px 0;
    color: #ffffff;
    padding: 10px;
}.w_wrap{
    padding: 50px 0;
}.lister{
    display: flex;
    text-align: center;
    justify-content: space-between;
    flex-direction: column;
    overflow-y: scroll;
}.lister span, .welcome span{
    position: relative;
    display: block;
    width: 60%;
    margin: 10px auto;
    user-select: none;
    cursor: pointer;
    padding: 10px;
    border: 5px #000 solid;
    overflow: hidden;
    background: #6e6e6e;
    color: #2c2c2c;
    border-radius: 10px;
}.lister span:hover, .welcome span:hover{
    transition: 300ms;
    background: #181818;
    color: #ffffff;
}.lister span button{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0 10px;
    border: 0;
    background: #202020;
}.lister span button:hover{
    background: #c91717;
}

/* VIWE PANEL */
.previw_panel{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    width: 100vw;
    height: 100%;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
}.page{
    scroll-snap-align: start;
    scroll-behavior: smooth;
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-grow: 1;
    flex-shrink: 0;
}.page_wrap{
    border-top: 5px solid #000;
    padding: 20px;
    width: 100vw;
    height: calc(100% - 50px);
    overflow: hidden;
}.page_cover{
    display: none;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    text-align: right;
}

/* CONTENTS */
.page_wrap h4{
    position: absolute;
    top: 10px;
    right: 30px;
    width: clamp(75px, 20%, 150px);
    line-height: 20px;
    padding: 3px 10px;
    text-align: center;
    font-size: xx-small;
    font-weight: 900;
    font-family: Georgia, 'Times New Roman', Times, serif;
    user-select: none;
    color: #020202;
    background: #b6b6b6d7;
}.page_wrap h2{
    font-size: 3em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: capitalize;
    text-align: center;
    font-weight: 900;
    text-decoration: underline;
}.page_wrap ul{
    padding-top: 20px;
    padding-left: 5%;
}.page_wrap ul li{
    margin: 20px 0;
    font-weight: 700;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}.page_wrap ul li input{
    display: inline;
    padding: 10px;
}.page_wrap ul li p{
    display: inline-block;
    font-size: 1.5em;
}

/* CONTROLS */
.controls{
    z-index: 50;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 30px 10px 10px;
    background: linear-gradient(#4b4b4b30 5%, #53535360 85%,  #69696990);
}.controls button{
    transition: 100ms;
    border-radius: 10px;
    padding: 5px;
    margin: 0 5px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 3px solid #000;
    font-size: small;
    font-family: monospace;
    font-weight: 900;
    text-align: center;
    color: #000000;
    background: #8888881e;
}.controls button:hover{
    transition: 300ms;
    color: #ffffff;
    background: #000000;
}
.edit{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}.edit button{
    flex-grow: 1;
    flex-shrink: 0;
}
.hud{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}.hud button{
    flex-grow: 1;
    flex-shrink: 0;
}
