html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
}

.main-container {
    text-align: center;
    margin: 60px auto;
    background-color: #3f3838;
    color: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 1000px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    height: 550px;
}

#intro-container {
    flex-direction: column;
}
#intro-container h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
#intro-container h6 {
    font-size: 1.2em;
    margin-bottom: 30px;
}
#intro-container > button {
    padding: 10px 20px;
    font-size: 1.2em;
    margin-top: 40px;
    background-color: white;
    color: #3f3838;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
#intro-container > button:hover {
    background-color: #807474;
    color: white;
    transform: scale(1.05);
}
a {
    text-decoration: none;
    color: inherit;
}

#size-container {
    flex-direction: column;
}
#size-container > h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
#size-container > #size-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
#size-container button {
    display: inline-block;
    padding: 10px 15px;
    font-size: 1.2em;
    margin: 10px;
    background-color: white;
    color: #3f3838;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
#size-container button:hover {
    background-color: #807474;
    transform: scale(1.05);
    color: white;
}

#size-container > #inputContainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}
#size-container > #inputContainer input {
    padding: 10px;
    font-size: 1em;
    border: 2px solid #3f3838;
    border-radius: 5px;
    width: 300px;
}

#canvas-container {
    flex-direction: row;
    gap: 40px;
}
#canvas-container > #tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}
#canvas-container > #canvas {
    background-color: white;
    height: 500px;
    width: 600px;
    margin: 20px;
}
#canvas-container > #tools button {
    display: inline-block;
    padding: 10px 15px;
    font-size: 1em;
    margin: 10px;
    background-color: #3f3838;
    color: white;
    border: none;
    border-radius: 5px;
    width: 130px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}
#canvas-container > #tools button:hover {
    background-color: #807474;
    transform: scale(1.05);
}
#canvas-container > #tools button.active {
    background-color: #807474;
    transform: scale(1.05);
    color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.c-picker {
    appearance: none;
    outline: none;
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;  
    border: solid 2px #ffffff;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
    align-self: center;
    transition: all ease 0.3s;
    margin-bottom: 15px;
  }
  
.c-picker::-webkit-color-swatch-wrapper {
    padding: 0; 
    border: none; 
  }
  
.c-picker::-webkit-color-swatch {
    border: none; 
    border-radius: 50%;
  }
  
.c-picker:hover {
    cursor: pointer;
    transform: scale(1.1);
  }

#canvas {
   display: flex;
   flex-direction: column;
   width: max-content;
   margin: 20px auto;
   border-radius: 10px;
}
  
.row {
   display: flex;
   flex: 1;
}
  
.cell {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    flex: 1;
}

footer {
    background-color: #3f3838;
    color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    font-size: large;
    border-bottom: 1px black solid;
    justify-content: space-around;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 70px;
}
footer > .name, .contact {
    flex: 1;
    margin: 10px;
}