
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
body {
    background-color: #EBEEF1;
    font-family: "Inter", sans-serif;
}
hr {
    border-top: 1px solid #a9aaab;
    margin-bottom: 15px;
    margin-top: 8px;
}

.frontpage {
    display: flex;
    justify-content: center;
}

.frontpage-p {
    display: flex;
    text-align: center;
}

.sidenav {
    height: 100%;
    width: 15%;
    top: 0;
    left: 0;
    position: fixed;
    background-color: #3884ba;
    padding: 8px 8px 8px 8px;
    align-items: center;
    flex-direction: column;
}
.main {
    margin-left: 15%;
    height: 100%;
    width: 100%;
    padding: 0px 0px 0px 1.5%;
    float: left;
}
.title-btn-child {
    color: #3884ba;
    font-size: 24px;
    margin: 8px;
    margin-top: 12px;
}

.title-btn-holder {
    display: flex;
    justify-content: space-between;
    padding-right: 10%;
    width: 80%;
}


.sidenav img {
    /* width: 200px; */
    width: 90%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.main-title {
    float: left;
}

.column {
    height: 100%;
    width: calc(25% - 20px);
    float: left;
    margin: 10px;
    background-color: white;
    padding: 16px;
    padding-top: 12px;
    border-radius: 5px; /*curve corners*/
}
.column h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    color: #7e7e7e;
}
.column p {
    padding: 0px 0px 3px; /* top right bottom left */
}



/* YAYAYAYAYA */


.add-task-btn {
    background-color: #3884ba;
    border: none;
    color: white;
    padding: 5px; /* makes button bigger */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    /* Decrease font size */
    border-radius: 5px;
    /* Adjust border radius 
    for a softer look */
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-task-btn:hover {
    /* background-color: #5ea6d9; */
    transform: scale(1.1);
}


.delete-btn {
    float: right;
    cursor: pointer;
    color: #a9aaab;
}

.edit-btn {
    float: right;
    margin-right: 10px;
    cursor: pointer;
}

.taskTodo {
    background-color: white;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 2px solid #9cc7eb;
    border-left: 10px solid #9cc7eb;
    cursor: move;
}
.taskIn-progress {
    background-color: white;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 2px solid #9CE2EB;
    border-left: 10px solid #9CE2EB;
    cursor: move;   
}
.taskDone {
    background-color: white;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 2px solid #9CEBC3;
    border-left: 10px solid #9CEBC3;
    cursor: move;
}

h3 {
    font-size: 16px;
    font-weight: normal;
    margin: 2px;
}
.taskTodo p {
    color: black;
    font-size: 14px;
    margin: 2px;
}
.taskIn-progress p {
    color: black;
    font-size: 14px;
    margin: 2px;
}
.taskDone p {
    color: black;
    font-size: 14px;
    margin: 2px;
}

.taskTodo .description {
    color: #7e7e7e;
}
.taskIn-progress .description {
    color: #7e7e7e;
}
.taskDone .description {
    color: #7e7e7e;
}

.date {
    display: flex;
    align-items: center;
    /* vertical-align: middle; */
}
.date img {
    padding-right: 1px;
}


.Shorttask {
    /* #EBEEF1 */
    background-color: #F6F0BB;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
}
.Mediumtask {
    background-color: #F7D3BC;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
}
.Longtask {
    background-color: #F6C2D4;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 14px;
}

/* Modal stuffs below */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}
.modal-content {
    z-index: 1000;
    background-color: white;
    margin: 15% auto;
    padding: 8px 25px 20px 25px; /* top right bottom left */
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.stickyNote-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 8px 25px 20px 25px; /* top right bottom left */
    width: 80%;
    max-width: 320px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.modal-input {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}



/* Sticky notes */
#addStickyNote {
    /* vertical-align: bottom; */
    display: block;
    /* position: static; */
    /* margin-top: 100%; */
    /* margin: auto; */
    position: absolute;
    justify-content: center;
    font-size: 16px;
    padding: 8px 5px;
    border-radius: 5px;
    background-color: white;
    border-color: #9cc7eb;
    width: 60%;
    left: 0;
    bottom: 3%;
    margin: 20%;
}

#importButton {
    /* vertical-align: middle; */
    display: block;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    padding: 5px 0px;
    border-radius: 5px;
    background-color: white;
    width: 80%;
}
#inputToken{
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    border-radius: 5px;
    background-color: white;
    width: 80%;
}
.stickyNote{
    position: absolute;
    z-index: 9;
    background-color: #fffeaf;
    border: 1px solid #d3d3d3;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 200px;
    border-radius: 4px;
}

#stickyNoteHeader {
    padding-left: 8px;
    padding-top: 6px;
    width: 96%; /* Header takes full width */
    height: 26px; /* Adjusted height for header area */
    cursor: move;
    z-index: 10;
    color: #3b3a3a;
    font-size: 16px;
    text-align: left;
    background-color: #fffd85;
    box-shadow: 1px 2px 4px #b0b0b064;
    filter: brightness(0.9); /* Darken the header */
}
#stickyNoteInput {
    flex-grow: 1; /* Fills remaining space */
    display: flex;
    justify-content: center; /* Center the input horizontally */
    padding-top:10px;
}

#stickyNoteInput textarea {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
    padding: 5px; /* Adds padding to align text to the top */
    text-align: left; /* Aligns text to the left */
    vertical-align: top; /* Makes sure text aligns at the top */
    resize: none;
    border-radius: 6px;
    border-color: #a9aaab;
}
#closeButton {
    color: #a9aaab;
    font-weight: bold;
    cursor: pointer;
    margin-right: 5px;
    font-size: 18px;
    float:right;
}
#closeButton:hover{
    transform: scale(1.3);
}
.squareButton {
    width: 40px; 
    height: 40px; 
    border-radius: 5px; 
    cursor: pointer; 
    margin: 5px; /* Optional: adds space between buttons */
}
.colorHolder{
    display: flex;                /* Use flexbox */
    justify-content: center;      /* Center items horizontally */
    align-items: center;          /* Center items vertically */
    flex-wrap: wrap;              /* Allow buttons to wrap */
    margin: 10px 0;              /* Space above and below */
}

.icons {
    width: 18px;
    height: auto;
}