body {
    font-family: Arial, sans-serif;
    background-color: #efefef;
    color: #421d5e;
    margin: 0;
    padding: 20px;
}

#container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

#logo {
    display: block;
    margin: 0 auto 20px;
    width: 380px;
    height: 76px;
}

#leftSection {
    flex: 3;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

#userText {
    width: 100%;
    height: 400px;
    padding: 20px;
    box-sizing: border-box;
    resize: none;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.countElement {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.countElement div {
    width: 24%;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}


#wordCountResult,
#characterCountResult,
#sentenceCountResult,
#paragraphCountResult {
    font-size: 20px;
    color: #8b51b0;
}

#rightSection {
    flex: 2;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

#customKeywordInput {
    width: 100%;
    font-size: 16px;
}

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

.tablink {
    background-color: #efefef;
    color: black;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    width: 33.33%;
}

.tablink:hover {
    background-color: #8b51b0;
    color: #fff;
}

.tablink.active {
    background-color: #8b51b0;
    color: #fff;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

/* Default styles for desktop */
#container {
    display: flex;
    /* ... other styles ... */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    #container {
        flex-direction: column;
        /* ... adjust styles for mobile ... */
    }

    #rightSection {
        margin-left: 0;
        margin-top: 20px;
    }
}

.lengthCheck {
    margin-bottom: 20px;
}

.progressBar {
    height: 10px;
    background: #f0f7f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.progressBar div {
    height: 100%;
    background: green;
}

