*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Caveat", cursive;
}

::-webkit-scrollbar {
    width: 5px;
    background-color: rgb(0, 0, 0);
}
::-webkit-scrollbar-thumb{
    border-radius: 20px;
    height: 20px;
    background: orange;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
html{
    scroll-behavior: smooth;
}
body {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    margin: 0;
    /* padding: 20px; */
    transition: background 0.3s, color 0.3s;
}

body.dark {
    background: #1e1e1e;
    color: #eee;
}

header {
    width: 98%;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
}
header h1{
    font-family: "Shadows Into Light", cursive;
    font-size: 30px;
    text-align: center;
    /* width: 100%; */
}
header img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
    filter: invert(1);
}
header h1 span {
    font-size: 12px;
    color: #ccc;
}
.cover{
    background: #000;
    width: 98%;
    margin: 20px auto;
    border-radius: 30px;
    padding: 15px;
}
#note-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

textarea {
    width: 100%;
    height: 200px;
    max-height: 200px;
    margin-bottom: 10px;
    padding:15px;
    font-size: 30px;
    border-radius: 20px;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: scroll;
    
}
.btn-grp{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

button {
    padding: 12px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 20px;
    font-weight: bold;
}


button:hover {
    background-color: #434343;
}
button:nth-child(2){
    background-color: rgb(255, 172, 17);
    color: #000;
}
button:nth-child(2):hover{
    background-color: #ff8c00;
}

.s2{
    width: 100%;
    margin: 20px 0 15px;
    font-size: 30px;
    border-radius: 20px;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;

}
.s2 h2{
    padding-left: 15px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    margin: 10px;
}
ul {
    list-style: none;
    padding: 0;
}

li {
    background: #2a2a2a;
    margin:5px 5px 10px;
    padding: 10px 15px;
    /* border: 1px solid #ddd; */
    border-radius: 10px;
}
li span{
    font-family: monospace;
}

.dark li {
    background: #2e2e2e;
    color: #eee;
}

.note-actions {
    float: right;
    cursor: pointer;
    color: red;
    font-weight: bolder;
}
p{
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}