#main-area{
    width: 50%;
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    /* margin-left: 1rem; */
}
.writing-section{
    font-size: xx-large;
    padding: 1rem;
    /* background: linear-gradient(135deg,rgb(255, 172, 186),rgb(255, 241, 184)); */
    background: white;
    outline: none;
    border-width: 0.1px;
}
#title-section{
    text-align: center;
    outline: none;
    border: none;
    /* border-radius: 8px; */
}
#title-section.dark-mode{
    background: linear-gradient(90deg,rgb(2, 17, 12),rgb(0, 53, 0));
    color: beige;
}

li {margin-left: 16px;}
a {cursor: pointer;}

.container {
	max-width: 991px;
	width: 100%;
    background:rgb(235, 234, 234);
	border-radius: 8px;
	/* overflow: hidden; */
}

.toolbar {
	padding: 16px;
	background: #fbd2d2;
}
.toolbar.dark-mode{background-color: rgb(4, 61, 42);}
.toolbar .head {
	display: flex;
	grid-gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.toolbar .head > input {
	max-width: 100px;
	padding: 6px 10px;
	border-radius: 6px;
	border: 2px solid #676666;
	outline: none;
}
.toolbar .head select {
	background: #ffffff;
	border: 2px solid #000000;
	border-radius: 6px;
	outline: none;
	cursor: pointer;
}
.toolbar .head select.toolbar.dark-mode{
    color: white;
    background: #000000;
}
.toolbar .head .color {
	background: rgb(150, 123, 123);
	border: 2px solid #ffffff;
	border-radius: 6px;
	outline: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	grid-gap: 6px;
	padding: 0 10px;
}
.toolbar .head .color span {font-size: 14px;}
.toolbar .head .color input {
	border: none;
	padding: 0;
	width: 26px;
	height: 26px;
	background: #9c8686;
	cursor: pointer;
}
.toolbar .head .color input::-moz-color-swatch {
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
}
.toolbar .btn-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	grid-gap: 10px;
}
.toolbar .btn-toolbar button {
	background: #836a6a;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}
.toolbar .btn-toolbar button:hover {background: #f3f3f3;}
#content {
	padding: 16px;
	outline: none;
	height: 50vh;
	overflow: auto;
}
#content.dark-mode{
    color: white;
    background: linear-gradient(90deg,rgb(2, 17, 12),rgb(0, 53, 0));
}

/* Image insertion */
#imagePreview {
    margin-top: 20px;
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f9f9f9;
    grid-column: 1/2;
}
  #imagePreview img {
    width: 100%;
    height: auto;
}

.button{
    color: white;
    width: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 9px;
    padding-left: 10px;
    padding-right: 10px;
    border:none;
    outline: none;
    font-size: larger;
    margin-left: 2rem;
}
.button:active{transform: scale(0.9);}
#pub-dft-btns{
    text-align: center;
    margin-top: 2rem;
    font-size: larger;
}
#publish-btn{
    background-color: rgb(6, 199, 6);
    margin-left: 2rem;
}
#publish-btn:hover{background: rgb(7, 131, 7);}
#draft-btn{background-color: black;}
#draft-btn:hover{background: rgb(56, 55, 55);}


#dividing{
    margin-top: 150px;
    display: flex;
    justify-content: space-between;
}
/* Notes section */
#notes-section{padding-right: 2rem;}
.text-prt-notes{
    font-size: larger;
    margin-left: 1rem;
}
#notes,#note_it{
    font-size: larger;
    padding: 0.5rem;
    border-radius: 20px;
    border: none;
    outline: none;
    
}
#note_it:hover{background:linear-gradient(270deg,rgb(98, 98, 98),rgb(254, 240, 214)) ;}
#note_it:active{ transform: scale(0.9);}
.noting{
    width: auto;
    background-color: red;
    margin-top: 1rem;
    border-radius: 15px;
    padding: 10px;
}
.noting>span{
    float: right;
    cursor: pointer;
}
.image{margin-top: 3rem;}
#imglink{
    padding: 10px;
    outline: none;
    border-radius: 10px;
    border: none;
}
@media (max-width:600px){
    #dividing{
        flex-direction: column;
    }
    #main-area{
        width: 100%;
    }
}