@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500&display=swap');

:root {
    --white: #fafffd;
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0e1012;
    color: var(--white);
    height: 100vh;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    -webkit-tap-highlight-color: rgba(26, 160, 89, 0.25);
}

::-moz-selection {
    /* Code for Firefox */
    background: rgba(26, 160, 89, 0.25);
}

::selection {
    background: rgba(26, 160, 89, 0.25);
}

img,
button,
section {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

ul {
    list-style: circle;
    padding-right: 30px;
}

ul li {
    text-align: left;
}

ul li span.highlight {
    color: #15824B;
    text-decoration: underline;
}

.file-upload {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: var(--white);
    background: #1FB264;
    border: none;
    padding: 10px;
    border-radius: 10px;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.file-upload-btn:hover {
    background: #1AA059;
    color: var(--white);
    transition: all .2s ease;
    cursor: pointer;
}

.file-upload-btn:active {
    border: 0;
    transition: all .2s ease;
}

.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    left: 0;
    opacity: 0;
}

.image-upload-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 4px dashed transparent;
    position: absolute;
    cursor: default;
    display: none;
}

.image-dropping {
    display: block;
    background-color: rgba(31, 178, 100, 0.1);
    border: 4px dashed var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 100;
    pointer-events: none;
    text-transform: uppercase;
    color: transparent;
}

.image-dropping .drag-text {
    color: var(--white);
}

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.controls {
    display: inline;
}

.up,
.down {
    font-size: 28px;
    color: var(--white);
    background-color: #15824B;
    outline: none;
    border: none;
    padding: 20px;
    border-radius: 20px;
}

.up:active,
.down:active {
    background-color: var(--white);
    color: #15824B;
}

.down {
    transform: rotate(90deg) scale(0.6);
}

.up {
    transform: rotate(-90deg) scale(0.6);
}

input[type="text"] {
    background-color: #15824B;
    color: var(--white);
    border: none;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    padding: 5px 0;
    outline: none;
    width: 40px;
}

input[type="text"]:focus,
button:focus {
    box-shadow: 0 0 0 2px rgba(31, 178, 100, 0.4);
    transition: .1s;
}

input[type="text"]::placeholder {
    color: var(--white);
    opacity: 0.5;
}

.codeSnippetOutput {
    display: flex;
    position: relative;
    font-family: 'Source Code Pro', monospace;
    width: 700px;
    max-width: 90vw;
    background-color: #282A36;
    padding: 40px 10px 20px 10px;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: 0 13px 27px -5px rgba(50, 50, 93, 0.151), 0 8px 16px -8px rgba(0, 0, 0, 0.132), 0 -6px 16px -6px rgba(0, 0, 0, 0.031);
    text-align: left;
    align-items: center;
    justify-content: center;
    margin: 20px auto 10px auto;
}

.codeSnippetOutput .snippet {
    width: 98%;
}

.codeSnippetOutput .color1 {
    color: #BD93F9;
}

.codeSnippetOutput .color2 {
    color: #45F072;
}

.codeSnippetOutput .color3 {
    color: #FF79C6
}

.codeSnippetOutput .color4 {
    color: #5C6B9A
}

.codeSnippetOutput .circles {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
}

.codeSnippetOutput .circles span {
    padding-right: 3px;
}

.codeSnippetOutput .circles span:nth-of-type(1) {
    color: #FF5F56;
}

.codeSnippetOutput .circles span:nth-of-type(2) {
    color: #FFBD2E;
}

.codeSnippetOutput .circles span:nth-of-type(3) {
    color: #27C93F;
}

.clipboard * {
    position: absolute;
    top: 10px;
    right: 16px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.clipboard .tick {
    right: 23px;
    top: 13px;
    color: #45F072;
    background-color: #282A36;
    font-size: 12px;
    padding: 0 2px;
    display: none;
}

.clipboard2:before {
    content: "Copied";
    position: absolute;
    top: -35px;
    right: 0px;
    background: #15824B;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 15px;
}

.clipboard2:after {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    width: 15px;
    height: 15px;
    background: #15824B;
    transform: rotate(45deg);
}