* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #8ea08e52;
}

.active1 {
    background-color: red;
    border: 2px solid red;
}

.main-block {
    margin-top: 1%;
}

.tool-header {
    display: flex;
    gap: 3%;
    justify-content: center;
}

.file-name {
    width: 12%;
    outline: none;
    border: 1px solid green;
}

input {
    border: 1px solid green;
    outline: none;
    background-color: transparent;
}

/* #font-num{
    border: 1px solid ;
    /* width: 9%; */
/* height: 30px; */


select {
    background-image: linear-gradient(rgba(0, 128, 0, 0.669), rgba(0, 255, 0, 0.106));
    border: 1px groove grey;

}

option {
    background-color: #bcc19ccb;
    color: #043800;
}

.btn-tools {
    margin-top: 1%;
    margin-bottom: 2%;
}

.first-line {
    display: flex;
    justify-content: center;
    gap: 3%;
    margin-bottom: 1%;
}

.second-line {
    display: flex;
    justify-content: center;
    gap: 3%;
}

.first-line div {
    display: flex;
    background-color: #b7b9b321;
    border-radius: 10px;
}

.second-line div {
    background-color: #99ae6f2a;
    border-radius: 10px;
}

button {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 10px;
    transition: 1000ms;
}

button:hover {
    background-color: #b3ff0065;
    transition: 1000ms;
    border-radius: 8px;
}


i {
    cursor: pointer;
    color: #6a6e00;
}

/* #word-count, #char-count{
    background-color: #0c73f069;
    padding: 2px;
} */

.font-size {
    height: 1rem;
    width: 2.8rem;
}

.color-container {
    display: flex;
    gap: 5%;
    justify-content: center;
    background-color: transparent;
}

.color-block {
    background-color: #24d8007f;
    border-radius: 10px 0 0 5px;
    /* font-size: 30px; */
    width: 65px;
    height: 26px;
    padding-left: 1%;
    margin-bottom: 2%;
}

.color-block span {
    font-size: 20px;
}

.color {
    background-color: transparent;
    border: none;
    /* height: min-content; */
}

#upCaseBtn,
#lowCaseBtn {
    background-color: #8bac8d8d;
    padding: 2px;
    height: 1rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border-radius: 5px;
}

#upCaseBtn:hover,
#lowCaseBtn:hover {
    background-color: #87ba195f;
    padding: 3px;
    height: 1rem;
    cursor: pointer;
}

#upCaseBtn {
    color: #065600f1;
}

#lowCaseBtn {
    color: #054700e9;
}

.text-content {
    width: 90%;
    height: 60vh;
    background-color: #2f540715;
    border: 1px solid green;
    outline: none;
    text-overflow: ellipsis;
    padding: 0.3% 1.5%;
    overflow: auto;
    margin: auto;
    border-radius: 20px;
    padding: 2%;
}

.add-img {
    display: none;
}

.img-ctn {
    resize: both;
}

img {
    width: 40%;
    height: 65vh;
    line-height: 2%;
    object-fit: fill;
}

.color {
    width: 30px;
    background-color: transparent;
    cursor: pointer;
}

.buttom-col {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20%;
}

.counter-block {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    font-size: 25px;
    border-top: none;
    padding: 0.5% 1%;
    margin-right: 8%;
    /* border: 1px solid #0fb20076; */
}

.counter-block b {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: light;
    color: #0a9d00ba;
}

.counter-block word-count {
    margin-left: 5%;
}

@media (max-width:600px){
    
select {
    background-image: linear-gradient(rgba(0, 128, 0, 0.669), rgba(0, 255, 0, 0.106));
    border: 1px groove grey;
    width: 5rem;
    font-size: 15px;
}

.text-content {
    width: 80%;
    height: 60vh;
    border-radius: 15px;
    padding: 2%;
    font-size: 13px;
}
}