* {box-sizing: border-box;}
body {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    font-family: Tahoma;
}
.header {
    padding: 10px;
}
.profile-name {
    font-size: 20px;
    font-weight: bold;
}
.top-buttons {
    font-size: 32px;
}
.profile-info {
    width: 98%;
    margin: 0 auto;
}
.profile-stats {font-size: 13px}
.microstat {justify-content: center;align-items: center;}

/* Nav*/
.navtb {
    justify-content: center;
    align-items: center;
    flex: 1 1 50%;
}
.media-button {
    width: 33%;
    justify-content: center;
    padding: 5px;
    font-size: 32px;
}
.media-button.selected {
    border-bottom: 2px solid #555;
}

.modal {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    width: 350px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
.modal-header {
    border-bottom: 1px solid #444;
    padding: 0 10px;
}
.modal h3 {
    padding: 20px 15px 15px 15px;
    margin: 0;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
}
.closemodal {
    display: block;
    padding: 5px 10px;
    border-radius: 6px;
    background: #121212;
    color: #fff;
    margin-left: 20px;
}
.grid {
    display: flex;
    flex: 1 1 32.9%;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    margin: 0 auto;
}
.grid img {
    min-width: 125px;
    max-width: 400px;
    min-height: 170px;
    max-height: 250px;
    width: 100%;
    height: 100%;
    cursor: grab;
    object-fit: cover;
}
.grid-item {
    width: 32.9%;
}
.oauth-btn {
    display: flex;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    width: 100px;
    height: 30px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
    border: 2px solid #eee;
    align-items: center;
    justify-content: center;
}
.oauth-btn img {
    width: 100%;
}
.conbox {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    width: 300px;
    margin: 0 auto;
    justify-content: center;
    z-index: 9;
    gap: 10px;
}
.sortable-drag {
    border: 1px  solid red;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    opacity: 1;
}
.conbox img {
    height: 200px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
/*context menu*/
.gc-menu {
    background: #fff;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.gc-menu a {
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 5px 10px;
}
.gc-menu a:not(:last-child) {
    border-bottom: 1px solid #ccc;
}
.blackout {
    display: none;
    position: absolute;
    top: 0;
    opacity: 0.9;
    backdrop-filter: blur(15px);
    z-index: 2;
    background: #ccc;
    width: 100%;
    height: 100%;
}

.img-uploader {
    padding: 15px;
}
/* CSS */
.btn {
  align-items: center;
  appearance: none;
  border-radius: 4px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 1px -2px,rgba(0, 0, 0, .14) 0 2px 2px 0,rgba(0, 0, 0, .12) 0 1px 5px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: Roboto,sans-serif;
  font-size: .875rem;
  font-weight: 500;
  height: 36px;
  justify-content: center;
  letter-spacing: .0892857em;
  line-height: normal;
  min-width: 64px;
  outline: none;
  overflow: visible;
  padding: 0 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  will-change: transform,opacity;
}

.btn:hover {
  box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.btn:disabled {
  background-color: rgba(0, 0, 0, .12);
  box-shadow: rgba(0, 0, 0, .2) 0 0 0 0, rgba(0, 0, 0, .14) 0 0 0 0, rgba(0, 0, 0, .12) 0 0 0 0;
  color: rgba(0, 0, 0, .37);
  cursor: default;
  pointer-events: none;
}

.btn:not(:disabled) {
  background-color: #6200ee;
}

.btn:focus {
  box-shadow: rgba(0, 0, 0, .2) 0 2px 4px -1px, rgba(0, 0, 0, .14) 0 4px 5px 0, rgba(0, 0, 0, .12) 0 1px 10px 0;
}

.btn:active {
  box-shadow: rgba(0, 0, 0, .2) 0 5px 5px -3px, rgba(0, 0, 0, .14) 0 8px 10px 1px, rgba(0, 0, 0, .12) 0 3px 14px 2px;
  background: #A46BF5;
}
/* sortable */
.sortable-ghost {opacity:0}

.row {
    display: flex;
}
.column {
    display: flex;
    flex-direction: column;
}
.g5 {gap:5px}
.g10 {gap: 10px}
.g20 {gap:20px;}
.ac {align-items: center;}
.sb {justify-content: space-between;}
.sa {justify-content: space-around;}
.hidden {
    display: none;
}