@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(#f3e9ff, #e9e9e9);
}

.title {
    font-size: 2.5rem;
    padding: 8px 0;
    color: darkslategray;
    text-shadow: 4px 4px rgb(191, 122, 255);
}

.text-center {
    text-align: center;
}

.content {
    display: flex;
    justify-content: space-evenly;
}

.board {
    min-width: 300px;
    min-height: 300px;
    width: 60vw;
    height: 60vw;
    max-height: 500px;
    max-width: 500px;
    display: grid;
    box-shadow: 0px 0px 10px grey;

}

.actions {
    display: flex;
    flex-direction: column;
    padding: 12px 34px;
    min-width: 250px;
}

#colorpicker {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    box-shadow: 2px 2px 10px grey;
}

#colorpicker::-webkit-color-swatch-wrapper {
    padding: 0;
}

#colorpicker::-webkit-color-swatch {
    border-radius: 50%;
    border: none;
}

.actions>input {
    margin: 10px auto;
}

.btn {
    padding: 6px 0;
    margin: 10px 0;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    border: 2px solid #6d24b1;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    color: white;
    background-color: #6d24b1;
}

.active{
    color: white;
    background-color: #6d24b1;
}

.slider-output {
    margin-top: 10px;
}

.size-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    outline: none;
    border: 1px solid #6d24b1;
    border-radius: 10px;
    cursor: pointer;
}

.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #6d24b1;
    cursor: pointer;
}

.size-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #6d24b1;
    cursor: pointer;
}

.grid {
    border: 1px solid rgb(200, 200, 200);
}

footer {
    padding: 23px 34px;
    background-color: #6d24b1;
    color: white;
    margin-top: 4%;
}


@media only screen and (max-width: 800px)
{
    .content{
        flex-direction:column-reverse;
        align-items: center;
    }
}
