/* indez999.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    overflow-y: auto;
}

h1{
  display: inline-block;
  font-size: 26px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  bottom: 0; /*下寄せの指定*/
  background: linear-gradient(90deg, #58c6ff 0%, #076ad9 40%, #ff3bef 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
overflow: hidden;
text-align:center;
margin-left: 6px; /* 好きなpxに調整できます */
}

h1 a{
  display: inline-block;
  font-size: 26px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  bottom: 0; /*下寄せの指定*/
  background: linear-gradient(90deg, #58c6ff 0%, #076ad9 40%, #ff3bef 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
overflow: hidden;
text-align:center;
margin-left: 6px; /* 好きなpxに調整できます */
}

#controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 15px 0;
    gap: 10px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.control-group label,
.control-group span {
    font-size: 14px;
}

#controls input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#controls input[type="color"] {
    width: 40px;
    height: 30px;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
}

.color-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}

#thickness-slider {
    width: 100px;
    cursor: pointer;
}

button {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #e0e0e0;
}

#draw-canvas {
    border: 2px solid #333;
    background-color: #fff;
    touch-action: none;
    max-width: 100%;
}

#footer-link {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    font-size: 14px;
    color: #555;
}