:root{
    --bg: url('https://imgur.com/JbQIafb.png');
    --glassbackground: #fff2;
    --glassboarder: solid 1px #fff5;
    --warningglassbackground: #fb03;
    --warningglassboarder: solid 1px #fb07;

    --titlesize: 32px;
    --tilesize: 46px;
    --font: 'SF Mono', 'SFMono-Regular', ui-monospace,'DejaVu Sans Mono', Menlo, Consolas, monospace;
}

html{
    background-image: var(--bg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    -ms-overflow-style: none;
    scrollbar-width: none;
    font-family: var(--font);

    font-weight: 100;
    color: #fff8;
    font-size: 16px;
}
html::-webkit-scrollbar{
    display: none;
}

header{
    top: 10px;
    position: sticky;
}

*::selection{
    background-color: #fff2;
    text-shadow: 0px 0px 10px;
}

a{
    font-weight: 100;
    color: inherit;
    font-size: 16px;
}

.line{
    width: 100%;
    height: 1px;
    background-color: #fff1;
}

.page-container{
    width: 0%;
    min-width: fit-content;
    padding: 15px;
    margin: auto;

    transition: 0.5s;
}

.toolbar{
    background: #dddde0;

    display: grid;
    grid-template-columns:
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
        calc(var(--tilesize) + 2px)
    ;
    
    min-width: calc(80% - 21px);
    width: fit-content;
    max-height: 50px;
    
    font-weight: bold;
    font-size: var(--titlesize);
    font-family: var(--font);
    color: #fff8;
    
    border: #0000;
    border-radius: 15px 15px 0px 0px;

    padding-left: 2px;
    padding-right: 2px;
}
.tool-tile{
    min-height: 46px;
    min-width: 46px;
    height: 46px;
    width: 46px;
    max-height: 46px;
    max-width: 46px;

    font-size: 16px;
    font-family: var(--font);
    color: #0008;
    text-align: center;

    padding: 0px;
    margin-top: 1px;
    margin-bottom: 1px;

    background-color: #0000;

    border: solid 1px #0000;
    border-radius: 100px;

    transition: 0.5s;
}
.tool-tile:hover{
    background-color: #0001;

    transition: 0.5s;
}
.text-tile{
    height: 46px;
    width: max-content;
    min-height: 46px;
    min-width: max-content;
    max-height: 46px;
    max-width: 20%;

    font-size: 16px;
    font-family: var(--font);
    color: #0008;
    text-align: center;

    padding: 0px;
    padding-left: 23px;
    padding-right: 23px;
    margin-left: auto;
    margin-top: 1px;
    margin-bottom: 1px;

    background-color: #0000;

    border: solid 1px #0000;
    border-radius: 100px;

    transition: 0.5s;
}
.text-tile:hover{
    background-color: #0001;

    transition: 0.5s;
}
#uc-button{
    translate: 0px 1px;
}
.toolbar input{
    min-height: 24px;
    min-width:  24px;
    height:     24px;
    width:      24px;
    max-height: 24px;
    max-width:  24px;

    translate: 10px 12px;
}

.notepad-container{
    width: 0%;
    min-width: calc(100% - 21px);
    max-width: 100vw;
    padding: 10px;
    margin: auto;

    background-color: var(--glassbackground);
    backdrop-filter: blur(15px) brightness(60%);
    box-shadow: inset 0px 0px 100px #fff1, inset 0px 0px 10px #fff2;

    border: var(--glassboarder);
    border-radius: 0px 0px 15px 15px;

    transition: 0.5s;
}
.note-title{
    background: #0000;
    border: none;
    color: #fff8;

    width: calc(100% - 30px);
    max-height: 50px;

    font-weight: bold;
    font-size: var(--titlesize);
    font-family: var(--font);
    
    padding: 10px;
}
.note-title::placeholder{
    color: #fff8;
}
.note-title:focus{
    outline: none;
}
.notepad{
    height: 100%;
    background: #0000;
    border: #0000;
    color: #fff8;
    min-width: calc(100% - 20px);
    max-width: 100vw;
    margin-bottom: 15px;
    margin-top: 15px;
    font-family: var(--font);
    font-weight: 100;
    font-size: 16px;
    padding: 10px;
}
.notepad:focus{
    outline: none;
}
.htmlpad{
    min-height: 50vh;
    background: #0000;
    color: #fff8;
    width: 50vw;
    max-width: 100vw;
    margin-bottom: 15px;
    margin-top: 15px;
    font-family: var(--font);
    font-weight: 100;
    font-size: 16px;
    padding: 10px;
} 

.page-container #edit-bridge:checked ~ *#textbox{
    display: none;
}
.page-container #edit-bridge:checked ~ *#textout{
    display: inherit;
}
.page-container #edit-bridge:not(:checked) ~ *#textbox{
    display: inherit;
}
.page-container #edit-bridge:not(:checked) ~ *#textout{
    display: none;
}


.image{
    z-index: 1;
    font-size: 36px;
    font-weight: bold;
    color: #0008;
    background-color: #dddde0;

    position: sticky;
    top: 10px;

    border-radius: 15px;

    min-height: 60px;
    min-width: 60px;
    max-height: 60px;
    max-width: 60px;

    border: #0000;

    transition: 0.5s;
}
.image:hover{
    min-width: 360px;
    max-width: 360px;

    background-color: #ccccd0;

    transition: 0.5s;
}
.image input{
    height: 16px;
    border: #0000;
    background: #0000;
    translate: 60px -48px;

    font-weight: bold;
    font-family: var(--font);
    color: #0008;

    min-width: 0px;
    max-width: 0px;

    border-radius: 15px;
    padding-left: 10px;
    padding-right: 10px;
    transition: 0.25s;
}
.image:hover input{
    display: inline-flex;
    border: #0000;
    background: #0001;

    min-width: 260px;
    max-width: 260px;

    transition: 0.5s;
}
.image input:focus{
    outline: none;
}
.image svg{
    translate: 5px 10px;
    height: 50px;
    width: 50px;
}

.grid{
    display: grid;
    grid-template-columns: auto auto;
}

.hidden{
    display: none;
}

.warning{
    width: 0%;
    min-width: fit-content;
    max-width: 100vw;
    padding: 10px;
    margin: auto;
    margin-top: 10px;

    background-color: var(--warningglassbackground);
    backdrop-filter: blur(15px) brightness(60%);
    box-shadow: inset 0px 0px 100px #fff1, inset 0px 0px 10px var(--warningglassbackground);

    border: var(--warningglassboarder);
    border-radius: 15px 15px 15px 15px;

    transition: 0.5s;
}

#cookies{
    padding-left: 10px;
    padding-right: 10px;

    background-color:#0004;
    backdrop-filter: blur(15px);
    box-shadow: inset 0px 0px 100px #0001, inset 0px 0px 10px #0005;

    border: #0007;
    border-radius: 15px 15px 15px 15px;

    color: #fff8;
    font-family: var(--font);
    font-weight: 100;
    font-size: 16px;

    transition: 0.5s;
}
#cookies:hover{
    padding-left: 10px;
    padding-right: 10px;

    background-color:#fff4;
    backdrop-filter: blur(15px);
    box-shadow: inset 0px 0px 100px #fff1, inset 0px 0px 10px #fff5;

    border: #fff7;
    border-radius: 15px 15px 15px 15px;

    color: #0008;
    font-family: var(--font);
    font-weight: 100;
    font-size: 16px;

    transition: 0.5s;
}

pre{
    padding: 10px;
    margin: 0%;
    width: fit-content;

    font-size: 16px;
    background-color: #fff1;
    color: #fff5;
    border-radius: 5px;
    border: solid 1px #fff0;
    box-shadow: inset 0px 0px 20px #fff0;
    transition: all 1s;
}
pre:hover{
    color: #fff8;
    text-shadow: 0px 0px 5px #fff2;
    border: solid 1px #fff4;
    box-shadow: inset 0px 0px 20px #fff2;
    transition: all 1s;
}

spoil{
    font-size: 16px;
    background-color: #fff5;
    color: #fff0;
    border-radius: 5px;
    border: solid 1px #fff6;
    box-shadow: inset 0px 0px 20px #fff0;
    transition: all 1s;
}
spoil:hover{
    font-size: 16px;
    background-color: #fff1;
    color: #fff8;
    border-radius: 5px;
    border: solid 1px #fff0;
    box-shadow: inset 0px 0px 20px #fff2;
    transition: all 1s;
}

footer{
    margin: auto;

    transition: 0.5s;

    position: sticky;
    bottom: 10px;
    color: #fff8;
    font-family: var(--font);
    font-weight: 100;
    font-size: 16px;
}