body {
    font-family:Arial;
    margin: 0;
    padding: 0;
    background-image: url("../images/pencil-background.jpg");
    background-size: 100%;
    background-position-y: top;
    background-repeat: repeat;
    background-color: rgb(255, 255, 255);
    color: #000000;
}

@media (prefers-color-scheme: dark) {
    body {
        background-image: url('../images/pencil-backgroundDARK.jpg');
    }
}
@media (max-width: 650px) {
    body {
        background-image: url("");
      
    }
}

@media (max-width: 650px) and (prefers-color-scheme: dark) {
    body {
        background-image: url("");
        background-color: #363636;
    }
}



/* Notepad Input */
.noted{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* margin-left:-230px ; */
}
.notepad{
    background-color: rgba(184, 184, 184, 0.7);
    margin: 20px;
    height: 90%;
    width: 50vw;
    /* top: 50px; */
    border: #000000 1px solid;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    align-items: center;
    flex-direction: column;
    
}
@media (max-width: 750px) {
    .noted {
        margin-left:0px ;
    }
}
@media (max-width: 750px) {
    .notepad {
        width: 100% ;
    }
}
.notepad-title{
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    padding: 0px;
    font-size: 30px;
    font-weight: 700;
    justify-content: center;
}
#title-input{
    width: 90%;
    background-color: rgba(184, 184, 184, 0.7);
    font-family: kanit, sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
#your-note{
    border: #000000 2px solid;
    justify-content: center;
    width: 84%;
    min-height: 35vw;
    
}
@media (max-width: 750px) {
    #your-note {
        min-height: 60vw;
    }
}

/* Popup login */
#popup-box{
    display: none; /* disabled for now */
    padding: 0px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    z-index: 10;
}
.popup-login{
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.1);
    background-color: #f1f1f1;
    border: #fff 15px solid;
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto; 
}
@media (max-width: 600px) {
    .popup-login {
        width: 90%; 
        padding: 10px; 
        font-size: 0.8em; 
    }
}
.popup-login p {
    font-family: kanit, sans-serif;
    font-size: 30px;
    display: flex;
    font-style: normal;
    text-align: center;
}
.popup-login h3 {
    font-family: kanit, sans-serif;
    font-size: 50px;
    font-style: normal;
    text-align: center;
}


.style-buttons button {
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-flex;
    /* justify-content: center; */
    justify-content: space-evenly;
}

@media (max-width: 750px){
    .style-buttons button {
        display: wrap;
        width: 130px;
        height: 50px;
        max-width: 99%;
    }
}
.style-buttons{
    display: none;
    
    transition: transform 0.5s ease;
}

.style-buttons button:hover {
    background-color: #ddd;
}