
:root {
    --palette-main: rgb(0 0 0);
    --palette-sub: rgb(117 117 117);
    --palette-bg: rgb(37, 39, 39);
    --palette-comp: rgb(16, 46, 105);
    --palette-text: rgb(218, 218, 218);
}

a {
    color: var(--palette-text);
    background-color: var(--palette-comp);
    padding: 2px;
    font-weight: 900;
}

a:visited {

} 

* {
    font-family: 'NSimSun', 'Times New Roman', 'Monaco', Times, serif;
    text-rendering:optimizeSpeed;
}

body {
    background-color: var(--palette-bg);
    color: rgb(207, 207, 207);
    margin: 0;
    width: 100vw;
    height: 100vh;
}
.noselect {
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
  }

.shadowed {
    box-shadow: 4px 4px rgba(0, 0, 0, 0.384);
}
.shadowed-dark {
    box-shadow: 4px 4px rgba(97, 97, 97, 0.384);
}

#titlebar {
    display: flex;
    height: 30px;
    width: 100vw;
    
    flex-direction: column;
    align-items: left;
    justify-content: center;
    font-weight: bold;

    background-color: var(--palette-main);
    margin: 10px;
    margin-left: 20px;
    padding-left: 10px;
}

#navbar {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 150px;
    width: 200px;
    height: 100%;
    align-items: center;
    background-color: rgb(0, 0, 0);
    color: var(--palette-text);
}

#navbar-content {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 10px;
    width: 100%;
    border: 1px solid var(--palette-bg);
}

div { box-sizing: border-box; }

.content-item {
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden scroll;
    /* overflow: hidden; */
}

.main-box {
    display: flex;
    padding: 10px;
    background-color: var(--palette-main);
    border-left: 1px solid var(--palette-sub);
    
    width: 100%;
    height: 100%;
}

.fit-box {
    display: flex;
    padding: 10px;
    margin: 10px;
    height: fit-content;
    background-color: var(--palette-main);
    border: 1px solid var(--palette-sub);
}

.box-tl {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.box-v {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.box-h {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-list {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.gallery-img {
    max-width: 30vw;
    margin-left:auto;
    margin-right:auto;
}

.separator {
    width: 100%;
    border-bottom: 1px solid var(--palette-sub);
    margin-top: 4px;
    margin-bottom: 4px;
}

#main {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: center; 
    align-items: center; 
    overflow-x: hidden;
}

#main-content {
    display: flex;
    flex-direction: right;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--palette-sub);
    overflow: hidden;
    /* background-color: rgba(63, 0, 0, 0); */
}

#main-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* background-color: rgb(0, 0, 88); */
}

.el-box {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 10px;
    width: fit-content;
    height: fit-content;
    background-color: var(--palette-main);
}

.gallery-box {
    display: flex;
    width: 90%;
    align-content: flex-start;
}

.gallery-box img {
    max-width: 50%;
    height: auto;
    aspect-ratio: auto;
}



#tiling-bottom {
    position:absolute; 
    z-index: 0; 
    bottom: 0; 
    left: 0; 
    opacity: 10%; 
    overflow: hidden;
    width: 100%;
    height: 128px;
    background-image: url("assets/bottom.png");
    background-repeat: round; 

    animation: MOVE_BG 10s linear infinite;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    filter: invert()
}

@keyframes MOVE_BG {
   from {
     background-position-x: 0;
   }
   to { 
     background-position-x: 100vw;
   }
}