body {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #f2c8e6;
    padding: 10px 20px;
    color: black;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-buttons {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.nav-button {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    position: relative;
}

.nav-button::first-letter {
    text-decoration: underline;
}

.nav-button:hover {
    background-color: #e7e7e7;
    border: 1px solid #a6a6a6;
    text-decoration: none;
    color: black;
}

.paint-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #d3d3f3;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
}

.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.tool-button {
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
}

.tool-button img {
    width: 35px;
    height: auto;
}

.current-color {
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff;
    margin: 0 5px;
    border-radius: 4px;
}

.tool-button.active {
    background-color: #9a9a9a;
}

.color-picker {
    display: center;
}

.color-button {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    margin: 0 2px;
    border: 1px solid #ccc;
    cursor: pointer;
}

#paint-canvas {
    border: 2px solid #b6b6b6;
    background-color: white;
}

#download-button {
    background-color: white;
    padding: 5px;
    margin: 10px 5px;
    border-radius: 4px;
    cursor: pointer;
}

#clear-button {
    background-color: white;
    padding: 5px;
    margin: 10px 5px;
    border-radius: 4px;
    cursor: pointer;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 600px;
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d3d3f3;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.carousel img {
    max-width: 66.6%;
    max-height: 100%;
    display: block;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
    line-height: 1;
}

.carousel-button.left {
    left: 10%;
}

.carousel-button.right {
    right: 10%;
}

.carousel-side-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 30%;
    opacity: 0.5;
    z-index: 1;
}

.carousel-side-image.previous {
    left: -20%;
}

.carousel-side-image.next {
    right: -20%;
}

.footer {
    background-color: #f2c8e6;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    width: 100%;
    bottom: 0;
}

.footer p {
    margin: 0;
    font-size: 1em;
}

.two-column-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.text-column {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.image-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-column img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 850px) {
    .two-column-layout {
        flex-direction: column;
        align-items: center;
    }

    .text-column, .image-column {
        max-width: 100%;
    }

    .text-column {
        margin-bottom: 20px;
        text-align: center;
    }

    .carousel-container {
        height: 400px;
    }
}

.contact-form {
    background-color: #d3d3f3;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 20px auto;
}

.contact-form h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #d3d3f3;
    color: black;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #e7e7e7;
}

.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 300px;
    margin: 20px auto;
    background-color: #d3d3f3;
}

.links-container h2 {
    margin-bottom: 10px;
}

.links-container p {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.links-container img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.links-container a {
    color: #0073e6;
    text-decoration: none;
}

.links-container a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0.67em 0;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    margin: 0.75em 0;
}

h3 {
    font-size: 1.75em;
    font-weight: 700;
    margin: 0.83em 0;
}

h4 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 1.12em 0;
}

h5 {
    font-size: 1.25em;
    font-weight: 700;
    margin: 1.5em 0;
}

h6 {
    font-size: 1em;
    font-weight: 700;
    margin: 1.67em 0;
}
