* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    transition: all .2s ease;
}

::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: lightgray;
    border: 4px solid white;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: darkgray;
    /* border-radius: 10px; */
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: white;
    overflow: hidden;
}

.left_container {
    /* border: 1px solid yellow; */
    height: 100vh;
    width: 80vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1.5rem;
    overflow: hidden;
    overflow-y: auto;
}

.left_container .img {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left_container img{
    max-width: 50vw;
    max-height: 70vh;
    border-radius: 10px;
    user-select: none;
    box-shadow: 0 0 10px 2px gray;
}

.left_container .colors {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 3rem;
    min-height: 50vh;
}

.left_container .color_container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.left_container .color_container .color {
    width: 12rem;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 0 5px gray;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    user-select: none;
}

.left_container .color .code_col {
    color: black;
    background-color: white;
    width: 100%;
    padding: .4rem;
    text-align: center;
    /* border-radius: 5px; */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.left_container .color_container .color:hover {
    transform: rotate(5deg);
}


.right_container {
    /* border: 1px solid red; */
    height: 100vh;
    width: 20vw;
    padding: .8rem;
    user-select: none;
    border-left: 1px solid lightgray;
    background-color: whitesmoke;
    /* box-shadow: -2px -2px 10px var(--color-2); */
}

.right_container .input {
    /* border: 1px solid white; */
    width: 100%;
    padding: .4rem 0;
    color: black;
    margin-top: .4rem;
}

.right_container .input .label {
    margin-bottom: .4rem;
    font-size: .9rem;
}

.right_container input {
    padding: .4rem;
    width: 100%;
    border-radius: 5px;
    border: none;
    outline: none;
    color: black;
    background: transparent;
    border: 1px solid darkgray;
}

.right_container input:focus {
    border-color: var(--color-4);
}


.right_container #status {
    padding: .5rem;
    color: red;
}

@media screen and (max-width: 800px) {
    body {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }
    .left_container {
        justify-content: flex-start;
    }
    body .right_container, body .left_container {
        width: 100vw;
        height: fit-content;
        overflow-y: visible;
    }
    img {
        max-width: 100% !important;
        max-height: 100% !important;
    }
    .left_container .colors {
        padding: 0 !important;
        /* border: 1px solid black; */
        justify-content: space-evenly;
        width: 100%;
    }
    .left_container .color {
        width: 100% !important;
        margin: 1rem !important;
        font-size: .8rem;
    }
}