* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Fjalla One', sans-serif;
}

body {
    background-image: url('bodyimg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
}

.form-div label {
    display: block;
    margin-top: 30px;
    font-size: 30px;
}

#pera {
    font-family: 'Indie Flower', cursive;
    margin-top: 10px;
}

#heading {
    margin-top: 5px;
    margin-left: 50px;
}

.datetime {
    color: red;
}
.main{
    display: flex;
    justify-content: center;
}
#main-title {
    margin-top: 20px;
    border: 2px solid black;
    background-color: rgb(228, 235, 235);
    box-shadow: 10px 2px 10px rgb(97, 97, 97), -10px -2px 10px rgb(97, 97, 97);
    width: 40vw;
    margin-left: 20px;
    margin-top: 10px;
    height: fit-content;
    display: flex;
    align-items: center;
    padding: 20px;
}

.input-area {
    height: 5vh;
    width: 35vw;
    border: 0px;
    font-size: 1.4rem;
    background-color: rgb(228, 235, 235);
    border-bottom: 2px solid rgb(4, 171, 171);
}

textarea::placeholder {
    font-size: 1.4rem;
}

textarea {
    resize: none;
    width: 35vw;
    height: 30vh;
    font-size: 1.4rem;
}

#setdate {
    margin-left: 50px;
    position: sticky;
    top: -12px;
    background-color: white;
    width: fit-content;
    font-size: 20px;
    font-family: 'Indie Flower', cursive;

}

.discription {
    border: 0px;
    background-color: rgb(228, 235, 235);
    border-bottom: 2px solid rgb(4, 171, 171);
}

#main-title .main-form .submit {
    margin-top: 30px;
    font-size: 50px;
    box-shadow: 3px 2px 5px gray, -3px -2px 5px gray;
    border-radius: 40px;
}


#pera {
    margin-left: 50px;
}

.box {
    border: 2px solid black;
    width: 300px;
    overflow-y: scroll;
    height: 300PX;
    margin: 30px 0px 0px 30px;
    padding: 20px;
    box-shadow: 10px 2px 10px rgb(97, 97, 97), -10px -2px 10px rgb(97, 97, 97);
    background-image: url('notepad.jpg');
    opacity: 2;
    background-size: cover;

}

.notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 100px;
    margin: 30px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px gray, -5px -5px 5px gray;
}

.notes:hover {
    cursor: pointer;
}

#addnote {
    font-size: 30px;
    margin-top: 20px;
}

.delete {
    font-size: 30px;
    padding: 5px;

}

.edit {
    margin-left: 20px;
    margin-right: 20px;
    color: black;
    padding: 5px;
    font-size: 30px;
}

#btn {
    background-color: rgb(222, 216, 216);
    position: sticky;
    bottom: -20px;
    padding: 10px;
    display: flex;
    border: 2px solid black;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-left: 50px;
    width: fit-content;
    border-radius: 20px;
}

#reset {
    margin-left: 40px;
    width: fit-content;
    font-size: 40px;
    margin-right: 50px;
    cursor: pointer;
}

@media (max-width:800px) {
  
    #main-title {
        
        width: 60vw;
       
        
    }
    textarea{
        width: 50vw;
    }
    .notes {
        
        
    box-shadow: 0px 0px 0px gray, -0px -0px 0px gray;

    }
    .input-area{
width: 50vw;
    }
    .box {
        margin: 30px 0px 0px 30px;
    }
}
@media (max-width:400px){
    .notes{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        justify-content: center;
        padding-bottom: 100px;
        margin: 30px;
        border-radius: 10px;
        
    box-shadow: 0px 0px 0px gray, -0px -0px 0px gray;
    }
    #main-title{
        width: 400px;
    }
    .main{
        width: 400px;
    }
    #title,#discription,#date{
        width: 340px;
    }
}
@media (min-width:400px)  {
    #main-title {
        margin-top: 20px;
        border: 2px solid black;
        background-color: rgb(228, 235, 235);
        box-shadow: 10px 2px 10px rgb(97, 97, 97), -10px -2px 10px rgb(97, 97, 97);
        width: 100vw;
        margin-left: 20px;
        margin-top: 10px;
        height: fit-content;
        display: flex;
        align-items: center;
        padding: 20px;
    }
    #title,#discription,#date{
        width: 300px;
    }
}
@media 
    (min-width:600px){
        #main-title {
            margin-top: 20px;
            border: 2px solid black;
            background-color: rgb(228, 235, 235);
            box-shadow: 10px 2px 10px rgb(97, 97, 97), -10px -2px 10px rgb(97, 97, 97);
            width: 700px;
            margin-left: 20px;
            margin-top: 10px;
            height: fit-content;
            display: flex;
            align-items: center;
            padding: 20px;
        }
        #title,#discription,#date{
            width: 650px;
        }  
}
