@import url('https://fonts.googleapis.com/css?family=Lato');
@font-face {font-family: Pusab; src: url('https://gdcolon.com/assets/Pusab.ttf')}

html {
    --gdbrown: #995533;
    --gddarkbrown: #663722;
    --gdgold: #ffc800;
    --emptyspace: #BF723E;
    --compactbrown1: #9C552A;
    --compactbrown2: #904F27;
}

body {
    margin: 0 0 0 0;
    overflow: hidden;
}

p {
    line-height: 36px;
    margin: 0 0 0 0;
}

p, input, select {
    color: white;
    font-size: 25px;
    font-family: Helvetica, Aller, Lato, Arial, sans-serif;
}

a, a:visited {
    color: cyan !important;
}

h1, h2, h3, .gdInput {
    color: white;
    font-weight: normal;
    margin: 0 0;
    font-family: Pusab, Arial;
    -webkit-text-stroke-color: black;
}

h1 {
    color: var(--gdgold);
    font-size: 42px;
    -webkit-text-stroke-width: 2px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

h2 {
    color: var(--gdgold);
}

h2, h3, .gdInput {
    font-size: 36px;
    -webkit-text-stroke-width: 1.8px;
    text-shadow: 2.5px 2.5px 0px rgba(0, 0, 0, 0.3);
}

#main {
    display: flex;
    height: 100%;
}

.mainSection {
    background-color: var(--gdbrown);
}

#rightHalf {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    width: 100%;
}

#resultBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--gddarkbrown);
    text-align: center;
}

#result {
    margin-top: 20px;
    width: 95%;
    max-height: 200px;
    object-fit: contain;
}

#extraButtons {
    margin: 15px 0px;
    height: 70px;
}

#extraButtons img {
    cursor: pointer;
    margin: 0px 15px;
    max-width: 70px;
}

#propertyConfig {
    padding: 10px 2px 2px 2px;
    overflow-y: auto;
    margin-top: 5px;
    height: 100%;
    text-align: center;
    min-width: 1100px;
}

#propertyList {
    display: flex;
    flex-direction: column;
    padding: 0px 0px;
    width: 50%;
    overflow-y: auto;
    min-width: 300px;
    max-width: 400px;
    background-color: var(--emptyspace);
}

.commentProperty {
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.5);
    background-color: var(--compactbrown1);
}

.commentProperty:nth-child(2n) { background-color: var(--compactbrown2);}

.currentProperty { background-color: var(--gddarkbrown) !important; }
.commentProperty:not(.currentProperty):hover { box-shadow: inset 0 0 420px 420px rgba(255, 255, 255, 0.1); }
.commentProperty:not(.currentProperty):active { box-shadow: inset 0 0 420px 420px rgba(255, 255, 255, 0.2); }

.commentProperty img {
    width: 43px;
    margin-right: 20px;
    margin-left: 20px;
}

#properties {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-bottom: 25px;
    text-align: left;
}

.property {
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 10px 0px;
    width: 1000px;
}

.property h3 {
    margin-right: 30px;
}

.propertyName {
    width: 200px;
}

.advancedProperty .propertyName {
    color: var(--gdgold);
}

input, select {
    padding: 0px 8px;
    min-height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 9px;
    border: none;
    outline: none;
}

input {
    width: 500px;
}

select {
    min-width: 250px;
    padding-right: 50px;
}

option {
    background-color: var(--gddarkbrown);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.33)
}

.colorBox, .imageBox  {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 
    margin-right: 20px;
    user-select: none;
}

.colorBox {
    position: relative;
    width: 50px; 
    height: 50px; 
    background-color: white; 
    border-radius: 12px; 
    border: 3px solid black;
    outline: 2px solid rgba(0, 0, 0, 0);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.colorBox.selected {
    outline: 2px solid #cccccc;
}

.colorBox h1 {
    color: white;
    line-height: 0px;
}

.colorBox h3, .imageBox h3 {
    margin-right: 0px;
    color: white;
    font-size: 16px;
    -webkit-text-stroke-width: 1.1px;
    text-shadow: none;
}

.colorBox input[type="color"] {
    width: 0px;
    margin: 0px 0px;
    padding: 0px 0px;
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.imageBox h3 {
    font-size: 18px;
    -webkit-text-stroke-width: 1.2px;
}

.imageBox {
    width: 70px; 
    height: 70px; 
    background: url("check_off.png");
    background-size: 100%;
}

.imageBox img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.imageBox.selected {
    filter: brightness(0.5);
}

input[type="range"] {
    background-color: rgba(0, 0, 0, 0);
    appearance: none !important;
    height: 25px;
    min-height: 25px;
    border: 1px solid;
    cursor: pointer;
    border-image: url(track.png);
    border-image-slice: 21 22 22 21;
    border-image-width: 30px 30px 30px 30px;
    margin-right: 20px;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none !important;
    height: 55px;
    width: 55px;
    background-image: url("thumb.png");
    background-repeat: no-repeat;
    background-size: 100%;
}

input[type="number"] {
    width: 120px;
    text-align: center;
    font-size: 36px !important; 
}

input[type="file"] {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 0px;
}

input[type="file"]::file-selector-button {
    cursor: pointer;
    color: white;
    padding: 10px 12px;
    border: none;
    border-radius: 9px;
    background-color: rgba(0, 0, 0, 0.4);
    margin-right: 15px;
}

.sliderBtn, .imgUploadBtn {
    margin-left: 16px;
    width: 50px;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:active { background-image: url("thumb_active.png"); }

::-webkit-scrollbar {
    width: 7px;
    background-color: rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.25);
}

.gdButton:active, .gdButton:focus-visible, a:focus-visible .gdButton {
    animation: bounceButton 0.25s ease-in-out forwards;
}

.mobileOnly { display: none !important; }

#credits {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

#credits p {
    font-size: 22px;
    margin-bottom: 12px;
}

.greyscale { filter: saturate(0) }

cr { color: #ff5a5a }
co { color: #ffa54b }
cy { color: #ffff00 }
cg { color: #40e348 }
ca { color: #00ffff }
cb { color: #60abef }
cp { color: #ff00ff }

@keyframes bounceButton {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
    75% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1.1);
    }
  }

@media screen and (max-width: 1000px) {
    h1 { font-size: 32px; -webkit-text-stroke-width: 1.5px }
    .mobileOnly { display: initial !important; }
    #propertyList { width: 100%; max-width: 100%; display: none; }
    #propertyConfig { width: 100%; min-width: 100%; padding-left: 20px }
    #properties { align-items: flex-start; }
    #extraButtons { height: 100%; }
    #extraButtons img { width: 13%; }
    #rightHalf { margin-left: 0px; }
    .property { width: fit-content; padding-right: 20px; }
    .property input { max-width: 300px; font-size: 20px; }
    .propertyName { width: 140px; font-size: 30px; -webkit-text-stroke-width: 1.5px }
}