*{
    margin: 5px;;
    padding: 2px;
    box-sizing: border-box ;
    font-family: 'Times New Roman', Times, serif;
   
   
}

body{
    background-image:url(notebook.jpg)  ;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    
}

button{
    cursor: pointer;
    color: rgb(255, 255, 255);
    border: 2px solid;
    border-radius: 5px;
    font-size: 16px;
    padding: 5px 10px;
    transition: all 0.3s ease-in;
    background-color: rgb(0, 0, 0);
    
}

button:hover{
    background-color: rgb(0, 0, 0) !important;
    color: rgb(255, 255, 255) !important;
}

input,textarea{
    color: black;
    font-size: 1rem;
    
}

::placeholder{
    font-size: 0.9rem;
    color: rgb(82, 77, 77);
}

header{
    color: aliceblue;
    background-color: rgb(1, 1, 1);
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    border: 5px double;
}

header .logo h1{
       color: rgb(255, 255, 255);
       padding: 2px;
}

header .search input{
   height: 30px;
   width: 200px;
 
}
.search{
    display: flex;
    
    justify-content: center;
   
    
   
}

.container{
    background-color: transparent;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 25px;
}

.container .noteTable #items {    
    background-color:rgb(192, 193, 189);
    margin-left: 50px;
    overflow: auto;
    max-height: 350px;
    border-collapse: collapse;
    
}

.container .noteTable .note-body{
    display: none;
}

.container .noteTable #items,
.container .noteTable td,
.container .noteTable th{
    border: 2px solid;
    padding: 5px;
    
}


.container .noteTable #items th{   
    font-size: 20px;
    padding: 5px 15px;
    text-align: center;
    background-color: beige;
        
}

.container .noteTable #items td{
    min-width: 150px;
    overflow: hidden;
    text-overflow:ellipsis;
    font-size: 20px;    
}


.container .input-form{
    background-color: rgb(192, 193, 189);
    color: black;
    margin: auto;    
}

.container .input-form input{
    width: 250px;
    padding: 5px;
}

.container .input-form textarea{
    padding: 5px;
    resize: none;
}

.container .noteTable .cellView button,
.container .input-form #save{
    background-color: rgb(7, 126, 84);
}

.container .noteTable .cellDelete button,
.container .input-form #reset{
    background-color: rgb(137, 12, 12);
}

.container .noteTable .cellView button,
.container .noteTable .cellDelete button{
   margin:  5px 50px;
}


@media(max-width:1200px){
    .container{
        flex-direction: column;
        align-items: center;
        
    }

    .container .input-form form,
    .container .noteTable table{
        margin-bottom: 10px;
        min-width: 250px;
        margin-left: 0;
        margin-right: 0;
        
    }

    .container .input-form{
        max-width: 500px;
    }

    #noteBody{
        max-width: 300px;
    }

}