@font-face {
    font-family: DMMonoLight;
    src: url(fonts/DMMono-Light.ttf);
}

/* Basic Layout and Typography */
body {
    background-color: #d9d8d8;
    top: 0;
    margin: 0;
    font-family: DMMonoLight;
}
p {
    font-size: 10px;
}
h1 {
    font-size: 20px;
    font-family: DMMonoLight;
    margin: 0px;
}
h2 {
    font-family: DMMonoLight;
    font-size: 15px;
    margin-bottom:10px;
}

/* Toolbar */
#toolbar {
    position: fixed;
    display: flex;
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px;
    bottom: 20px;
    width: 112px;
    gap: 10px;
    align-items: center;
}

/* Button */
.button {
    /*position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;*/
    background-color: #000000;
    color: #ffffff;
    font-size: 12px;
    z-index: 1000;
    padding: 10px;
    border-radius: 5px;
    border: 0.5px solid #000000;
    cursor: pointer;
    display: inline-block;
    user-select: none;
}
.button:hover {
    background-color: #ffffff;
    color: #000000;
}
.small {
    font-size: 10px;
    padding: 8px;
}
/* Scrolling Banner */
#scrolling-banner {
    position: fixed;
    background-color: #ffffff;
    border-bottom: 0.5px solid #000000;
    padding: 5px;
    font-family: DMMonoLight;
    font-size: 12px;
    z-index: 2000;
    top: 0px;
    width: 100%;
}
#scrolling-text {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  
    -moz-animation: my-animation 45s linear infinite;
    -webkit-animation: my-animation 45s linear infinite;
    animation: my-animation 45s linear infinite;
}

@-webkit-keyframes my-animation {
    from { -webkit-transform: translateX(100%); }
    to { -webkit-transform: translateX(-100%); }
}
  
@keyframes my-animation {
    from {
      -moz-transform: translateX(100%);
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
    }
    to {
      -moz-transform: translateX(-100%);
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
    }
}

#time {
    display: inline;
}

/* Artboard */
#artboard {
    background-color: #ffffff;
    width: 320px;
    height: 484px;
    margin: 100px auto auto auto;
}

/* Layers Window */
.layers-heading {
    position: fixed !important;
    background-color: #e2e1e1b7;
    padding: 10px;
    backdrop-filter: blur(10px);
    border-radius: 5px;
}
#layers-container {
    position:absolute;
    top: 0px;
    right: 0px;
    font-size: 12px;
    overflow-y: scroll;
    height: 100%;
    padding: 50px 20px 50px 20px;
    background-color: #ffffff3a;

    display:flex;
    flex-direction: column;
    gap:20px;
    box-sizing: border-box;
}
#layers {
    margin-top: 55px;
    display: flex;
    flex-direction: column-reverse;
    border-radius: 5px;
    width: 300px;
    padding: 0px;
    background-color: #ffffff;
}
.layer {
    display: flex;
    border-bottom: 1px solid #D9D9D9;
    padding:10px;
    justify-content: space-between;
}
.layer-details {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    gap: 5px;
    align-items: center;
}

/* Solid Background Panel */
.container, .color-container {
    background-color: #ffffff;
    border-radius: 5px;
    width:300px;
    padding: 10px;
}
.color-container {
    display: flex;
    flex-wrap: wrap;
    gap:10px;
    border: 1px solid #D9D9D9;
}
.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 100px;
    cursor: pointer;
}

/* Background Pattern Panel */
.thumbnail-container {
    position: relative;
    padding: 10p 0px 10px 0px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    width: 300px;
    height: 250px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap:10px;
    overflow-y: visible;
    overflow-x: scroll;
}

/* Dropdown Selection */
.selection-dropdown {
    margin-top:10px;
    border: 0.5px solid #D9D9D9;
    border-radius: 5px;
    padding:2px;
    font-size:10px;
    cursor: pointer;
    overflow: visible;
    position: relative;
}
.selectedColorway {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 5px;
    box-sizing: border-box;
    overflow: visible;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    width:96px;
    border: 0.5px solid #D9D9D9;
    margin-left:-2px;
    z-index:1000;
}
.dropdown-option {
    display:flex;
    flex-direction: row;
    gap:5px;
    background-color: #ffffff;
    padding:2px;
}
.dropdown-option:hover {
    background-color: #D9D9D9;
}
.selection-dropdown:hover .dropdown-content {
    display: block;
}
.color-circle-small {
    width: 14px;
    height: 14px;
    max-width: 14px;
    min-width: 14px;
    max-height: 14px;
    min-height: 14px;
    border-radius: 100px;
    cursor: pointer;
}
.thumbnail > img {
    width:100px;
}
.thumbnail {
    position: relative;
    display: inline-block;
}
#left-panel {
    display:flex;
    flex-direction: column;
    gap:50px;
    position:absolute;
    padding: 50px 20px 50px 20px;
    height:100%;
    overflow-y: scroll;
    top:0px;
    background-color: #ffffffaa;
    box-sizing: border-box;
}
.add-to-artboard-button, .add-to-artboard-button-sticker {
    margin-top:5px;
    background-color: #000000;
    color: #ffffff;
    border: 0.5px solid #000000;
    border-radius: 5px;
    padding:4px;
    font-size:10px;
    cursor: pointer;
    box-sizing: content-box;
}
.add-to-artboard-button:hover, .add-to-artboard-button-sticker:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Prompt Generator */
#prompt-container {
    font-size: 12px;
}

/* Mobile Responsive Screen */
#help-window {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff5a;
    z-index: 100001;
    backdrop-filter: blur(10px);
}
#help-text {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 0.5px solid #000000;
    width: 500px;
    padding: 20px;
    gap: 20px;
}
.close {
    margin-left: auto;
    align-self: flex-end;
    width: 24px;
    cursor: pointer;
}
#mobile-screen {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff5a;
    z-index: 100000;
    backdrop-filter: blur(10px);
}
#mobile-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
@media screen and (max-width: 1000px) {
    #mobile-screen {
        display: block;
    }
  }