body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f4; /* Set a background color */
}

h1 {
    margin-bottom: 20px;
    color: #333; /* Set heading color */
}

form {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: box-shadow 0.3s ease; /* Add a transition effect */
}

form:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Change box shadow on hover */
}

/* Add styling for input fields */
form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style the buttons with hover effects */
button {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease; /* Add a transition effect */
}

button:hover {
    background-color: #45a049;
}

/* Style the canvas container */
#roof-design {
    position: relative;
    width: 600px;
    height: 400px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    transition: opacity 0.3s ease; /* Add a transition effect */
}

canvas:hover {
    opacity: 0.8; /* Change opacity on hover */
}
