body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    line-height: 1.7rem;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
header {
    width: 100%;
    margin-bottom: 2rem;
    max-width: 840px;
    background: #35424a;
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
}


.canvasContainer {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: auto; 
    margin-bottom: 20px; 
}

canvas {
    border: 1px solid #35424a;
    margin-bottom: 10px;
}


select {
    padding: 10px 15px; 
    border: 2px solid #35424a;
    border-radius: 5px; 
    background-color: #fff;
    color: #35424a; 
    font-size: 16px; 
    cursor: pointer; 
    transition: border-color 0.3s;
}

select:hover {
    border-color: #4A6A76; 
}

select:focus {
    outline: none; 
    border-color: #6C8A97; 
    box-shadow: 0 0 5px rgba(108, 138, 151, 0.5); 
}


.instructions, .coloring-info {
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 800px; /* Max width same as canvas */
    margin: 20px auto; /* Center content and add margin */
}

h2 {
    color: #35424a;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

/* strong dentro de um ul */
ul strong {
    font-size: 1.2rem;
}

li {
    margin-bottom: 1rem;
}

.zoomControls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background: #35424a;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background: #2c3e50;
}

nav {
    margin-top: 10px;
}

.lowerButtons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}


.speedControl {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    background: #ffffff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label {
    margin-right: 10px;
    font-weight: bold;
    color: #35424a;
}

#speedRange {
    -webkit-appearance: none;
    width: 150px;
    height: 8px;
    border-radius: 5px;
    background: #35424a;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

#speedRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #35424a;
    cursor: pointer;
}

#speedRange::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #35424a;
    cursor: pointer;
}

#speedRange:hover {
    background: #4A6A76;
}

.import {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background: #35424a;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.import:hover {
    background-color: #2c3e50; /* Cor do botão quando o mouse está sobre ele */
}

.import:active {
    background-color: #2c3e50; /* Cor do botão quando clicado */
}
