@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');





* {
    box-sizing: border-box;

    padding: 0;

    margin: 0;

    font-family: 'Barlow', sans-serif;
    outline: none;
}




body {
    margin: 20px auto;

    text-align: center;
}

h1 {
    margin: 0;
    margin-bottom: 24px;

    font-size: 2.5rem;
}

h2 {
    font-size: 1.3rem;
}


.logo {
    max-height: 180px;
}


canvas {
    width: 600px;
    max-width: 100%;

    margin-bottom: 20px;

    background: #ececec;
}


.title p + p {
    margin-top: 12px;
}




.editor-buttons {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;

    padding: 12px;
}

.editor-buttons button {
    padding: 1rem 2rem;

    margin-left: 10px;

    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;

    background: black;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.editor-buttons button:hover {
    opacity: 0.8;
}





[type="file"] {
    display: none;
}




[type="file"] + label {
    display: inline-block;

    padding: 1rem 2rem;

    margin-right: 10px;

    color: white;
    font-weight: 700;
    text-transform: uppercase;

    background: #E15199;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

[type="file"] + label:hover {
    opacity: 0.8;
}






.brightness-section {
    width: 100%;
    overflow: hidden;

    margin-top: 40px;
    margin-bottom: 100px;
}

.brightness-section p {
    width: 100%;
    max-width: 600px;

    padding-right: 20px;
    padding-left: 20px;

    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;

    text-align: left;
}



.ticks {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;

    width: 100%;
    height: 35px;

    margin-top: 10px;
}


.ticks > span {
    width: 1px;
    height: 25px;

    margin-right: calc((100% - 41px) / 82);
    margin-left: calc((100% - 41px) / 82);

    background-color: #4980E0;

    opacity: 0.3;
}


.ticks > span:nth-child(21) {
    height: 35px;

    opacity: 1;
}


.ticks > span:nth-child(1),
.ticks > span:nth-child(6),
.ticks > span:nth-child(11),
.ticks > span:nth-child(16),
.ticks > span:nth-child(26),
.ticks > span:nth-child(31),
.ticks > span:nth-child(36),
.ticks > span:nth-child(41) {
    height: 35px;

    opacity: 1;
}


.nums {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    align-items: flex-end;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;

    width: calc(100% + (100% / 9));
    height: 20px;

    margin-right: calc(100% / -9 / 2);
    margin-left: calc(100% / -9 / 2);
    margin-top: 30px;
}

.nums > span {
    width: calc(100% / 9);
}


.no-br {
    white-space: nowrap;
}












input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-ms-track {
    width: 100%;

    color: transparent;

    background: transparent;
    border-color: transparent;

    cursor: pointer;
}






/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 40px;
    width: 40px;

    margin-top: -18px;
    margin-left: -1px;

    border-radius: 50%;
    background: #4980E0;

    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    opacity: 0.8;
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
    width: 40px;
    height: 40px;

    margin-top: -20px;

    background: #4980E0;
    border-radius: 50%;

    cursor: pointer;
}

input[type=range]::-moz-range-thumb:hover {
    opacity: 0.8;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    height: 40px;
    width: 40px;

    margin-top: -20px;

    border-radius: 50%;
    background: #4980E0;

    cursor: pointer;
}

input[type=range]::-ms-thumb:hover {
    opacity: 0.8;
}







input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;

    margin-top: 0px;
    margin-bottom: 20px;

    background: #4980E0;
    border-radius: 3px;

    cursor: pointer;
}



input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;

    background: #4980E0;
    border-radius: 3px;

    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 5px;

    color: transparent;

    background: transparent;
    border-color: transparent;
    cursor: pointer;
}

input[type=range]::-ms-fill-lower {
    background: #4980E0;
    border-radius: 3px;
}

input[type=range]:focus::-ms-fill-lower {
    background: #4980E0;
}

input[type=range]::-ms-fill-upper {
    background: #4980E0;
    border-radius: 3px;
}

input[type=range]:focus::-ms-fill-upper {
    background: #4980E0;
}




.grid-50 {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    max-width: 600px;

    margin: auto;
    margin-bottom: 24px;
}


.grid-50 > div {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 50%;

    padding: 12px;
}

.grid-50 > div:first-child {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.grid-50 > div:last-child {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}



.grid-50 > div:first-child * {
    text-align: left;
}


@media screen and (max-width: 445px) {
    .grid-50 {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .grid-50 > div {
        width: 100%;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .grid-50 > div:last-child {
        width: 100%;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }





}

footer > a {
    text-decoration: none;
    
    color: #4980E0;
    font-weight: 700;
}

footer > a:hover {
    opacity: 0.8;
}