* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #fefef0;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-height: 100dvh;
    height: 100dvh;
    width: 100%;
}

.ad {
    border: 0;
    height: 50px;
    width: 100%;
    resize: vertical;
}

.row {
    display: flex;
    flex-direction: row;
    height: 100%;
    max-height: 100%;
    width: 100%;
    position: relative;
}

hr {
    all: unset;
    border-top: 1px solid #808080;
    width: 100%;
}


.sidebar {
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 5px;
    flex-basis: 220px;
    width: 220px;
    overflow-y: none;
    height: 100%;
    border-right: 1px solid #808080;
}

@media screen and (max-width: 600px) {
  .sidebar {
    background-color: #fefef0;
    width: 300px;
    min-width: 300px;
    position: absolute;
    height: 100%;
  }
}

.sidebar_fixed {
    position: fixed;
    padding: 5px;
    width: 150px;
}


.sideframe {
    border: 0;
    height: 100%;
}

.mainframe {
    border: 0;
    height: 100%;
    width: 100%
}