body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 5px 0; /* Adjust padding */
}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    
}

.top-menu img.logo {
    max-height: 40px; /* Adjust logo height */
}

.top-menu nav {
    display: flex;
}

.top-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px; /* Adjust font size */
    padding: 5px 10px; /* Adjust padding */
    transition: color 0.3s;
}

.top-menu a:hover {
    color: #007BFF;
}

/* Main */
main {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
}

.hero-image {
    flex-grow: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
}

.designer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.preview {
    width: 300px; /* Adjusted width to be 10% smaller */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    position: relative;
}

#label-canvas {
    width: 270px; /* Adjusted size to be 10% smaller */
    height: 117px;
}

.label-size {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}

.text-edit {
    text-align: left;
    margin-top: 20px;
}

.text-edit label {
    display: block;
    margin-bottom: 10px;
    color: #555;
}

.text-edit input[type="text"],
.text-edit input[type="color"],
.text-edit select {
    width: calc(100% - 10px);
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.text-edit input[type="checkbox"] {
    margin-left: 5px;
}

.steps {
    width: 100%;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    transition: background-color 0.3s;
}

.tab.active {
    background-color: #ddd;
}

.tab-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.label-option {
    width: 50px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.label-option:hover {
    transform: scale(1.1);
}

.btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.testimonials {
    text-align: center;
    margin-top: 40px;
}

.testimonials h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }

    .hero-text, .hero-image {
        max-width: 100%;
    }

    .text-edit label {
        margin-bottom: 15px;
    }

    .label-option {
        width: 40px;
        height: 40px;
    }

    .tab-content {
        justify-content: space-around;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        width: 100%;
        text-align: center;
    }
}
