* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.hero {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(45deg, #010758, #490d61);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    padding: 20px; /* Added padding for responsiveness */
}

.hero h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ff2963;
}

/* Textarea */
textarea {
    width: 100%;
    max-width: 600px;
    height: 250px;
    background: #403d84;
    color: #fff;
    font-size: 15px;
    border: 0;
    outline: 0;
    padding: 20px;
    border-radius: 10px;
    resize: none;
    margin-bottom: 30px;
}

textarea::placeholder {
    font-size: 16px;
    color: #ddd;
}

/* Row for select (voice dropdown) */
.row {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Row for buttons (Play & Mic) */
.row.buttons {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* Button Styling */
button {
    background: #ff2963;
    color: #fff;
    border: 0;
    outline: 0;
    padding: 10px 30px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    max-width: 100%;
}

button i {
    font-size: 24px;
    margin-right: 10px;
}

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

/* Dropdown Styling */
select {
    flex: 1;
    color: #fff;
    background: #403d84;
    padding: 0 20px;
    border-radius: 35px;
    outline: 0;
    font-size: 16px;
    border: 0;
    height: 50px;
    appearance: none;
    width: 100%;
    max-width: 300px;
}

/* Media Queries for Responsiveness */

/* Mobile devices (up to 600px wide) */
@media screen and (max-width: 600px) {
    .hero h1 {
        font-size: 28px;
    }

    textarea {
        height: 150px; /* Reduce the height for smaller screens */
        font-size: 14px;
    }

    button {
        width: 100%; /* Make buttons full-width on mobile */
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    select {
        width: 100%; /* Ensure the dropdown takes full width on mobile */
    }
}

/* Tablets (600px to 900px wide) */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .hero h1 {
        font-size: 32px;
    }

    textarea {
        height: 200px;
        font-size: 15px;
    }

    button {
        width: 100%;
    }

    select {
        width: 100%;
    }
}

/* Larger Devices (Desktops) */
@media screen and (min-width: 901px) {
    .hero h1 {
        font-size: 36px;
    }

    textarea {
        height: 250px;
    }

    button {
        width: 200px;
    }

    select {
        width: 250px;
    }
}
