body {
    display: flex;
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
}

.sidebar {
    width: 33%;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
    width: 67%;
    border: none;
}

.title {
    font-size: 24px;
    margin-bottom: 10px;
}

.description {
    font-size: 16px;
    margin-bottom: 20px;
}

.textarea {
    width: calc(100% - 20px);
    height: 200px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    resize: none;
}

.controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.buttons {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    margin-top: 20px;
}
.featured{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.register-signin {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.char-counter {
    font-size: 14px;
}

.char-counter.orange {
    color: orange;
}

.char-counter.red {
    color: red;
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%!important;
        height: auto;
        box-shadow: none;
    }

    .content {
        width: 100%;
        height: calc(100vh - 350px); /* Adjust based on the total height of sidebar content */
    }

    .textarea {
        width: 100%;
    }

    .controls {
        justify-content: center;
    }

    .buttons, .register-signin {
        /*flex-direction: row;/**/
        justify-content: space-around;
        margin-top: 10px;
    }

    .abtn {
        margin: 5px;
    }
    .register-signin, .register-button {
        margin-top: 10px;
    }
}