* {
    margin: 0;
    padding: 0;
  }
  
  body {
    height: 100%;
    width: 100%;
  }
  
  .main-container {
    width: 70%;
    height: auto;
    margin: 10px auto;
    padding: 10px;
    /* border: 1px solid #000; */
  }

#search-btn {
    padding: 5px;
    margin-top: 5px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    letter-spacing: 3px;
    background-color: #A85CF9;
    border: 1px solid transparent;
    color: #fff;
    transition-property: background-color, color, border;
    transition-duration: 0.3s, 0.3s,0.3s;
}

#search-btn:hover {
    background-color: transparent;
    color: #A85CF9;
    border: 1px solid #A85CF9;
}

#note-header {
    margin: 10px auto 10px auto;
}

#note-header textarea {
    overflow: hidden;
}

.note-area {
    width: 100%;
    height: 100vh;
    scroll-behavior: smooth;
}

.note-area h1 {
    letter-spacing: 3px;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
}

.note-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

span {
    color: #A85CF9;
}

.note-section textarea {
    width: 70%;
    height: auto;
    padding: 10px;
    background-color: #ECECEC;
    border: none;
    border-radius: 5px;
    overflow: scroll;
    resize: none;
}

.btns {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin: 5px auto;
}

.btns button {
    padding: 8px;
    margin-top: 5px;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    letter-spacing: 3px;
}

#add {
    font-size: 1rem;
    font-weight: 600;
    background-color: #A85CF9;
    color: #fff;
    border: 1px solid #A85CF9;
    transition-property: color, background-color;
    transition-duration: 0.3s, 0.3s;
}

#add:hover {
    color: #A85CF9;
    background-color: transparent;
}

#clear {
    font-size: 1rem;
    font-weight: 600;
    color: #FF2442;
    background-color: transparent;
    border: 1px solid transparent;
    transition-property: color, background-color;
    transition-duration: 0.3s, 0.3s;
}

#clear:hover {
    color: #fff;
    background-color: #A85CF9;
}

.your-notes-section {
    width: 95%;
    margin: 50px auto;
    /* border: 1px solid red; */
}

.your-notes-section h1 {
    text-align: center;
}


 .line{
    display: inline-block;
    height: 50px;
    width: 100%;
    margin: auto;
    border-top: 2px solid #A85CF9;
}

.show-notes {
    height: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    
    /* border: 1px solid black; */
}

.show-notes .added-note-area {
    width: auto;
    height: auto;
    padding: 15px;
    margin: 10px;
    font-size: 1.1rem;
    word-spacing: 3px;
    transition-property: border;
    transition-duration: 0.5s;
    border: 2px solid transparent;
    border-radius: 5px;
    box-shadow: 0 0 3px #A85CF9;
    overflow: visible;
    display: flex;
    flex-flow: column nowrap;
}

.show-notes .added-note-area:hover {
    border: 2px solid #A85CF9;
    border-radius: 5px;
}


.show-notes .added-note-area nav {
    /* border: 1px solid blue; */
    padding: 5px;
    text-align: end;
}

.show-notes .added-note-area nav button {
    border: none;
    background-color: transparent;
    color: #FF2442;
    font-size: 2rem;
}

.show-notes .added-note-area p {
    /* border: 1px solid red; */
}