html,
body {
    padding: 0;
    margin: 0;
    font-family: 'Goldman', cursive;
}

* {
    box-sizing: border-box;
}

body {
    background-color: #344a72;

}

button {
    font-family: 'Goldman', cursive;
}

.btn {
    padding: 5px 10px;
    background-color: #000000;
    border: 2px solid #84b0ff;
    color: #ffffff;
    transition: all 0.5s;
}
.btn:hover {
    background-color: #84b0ff;
    border: 2px solid #000000;
    color: #ffffff;
}

textarea{
    font-family: Arial, Helvetica, sans-serif;
}
textarea:focus{
    outline: none;
}
/* form section */
#note-form {}

.container {
    max-width: 400px;
    margin: 0 auto;
}

.main-title {
    text-align: center;
    font-size: 42px;
    background: -webkit-linear-gradient(rgb(255, 255, 255), rgb(90, 147, 253));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;


}

.form-wrap {
    height: 385px;
    padding: 15px 50px;
    background-color: #fff;
    border-radius: 20px;
    background-image: url("../img/line-paper.jpg")
}

.form-group {
    padding: 10px 0;
}

.form-group:nth-child(1) {
    padding-bottom: 18px;
}
.form-group:nth-child(2) {
    padding-top: 15px;
}

.form-group:nth-child(3) {
    padding-top: 32px;
}

.form-wrap label {
    display: block;
}

.form-wrap textarea {
    width: 100%;
    resize: none;
    font-size: 16px;
    line-height: 1.8;
    background: transparent;
    border: transparent;
    padding: 0 2px;

}


.form-wrap input {
    width: 100%;
    background-color: transparent;
}

.form-submit {
    text-align: center;
    padding-top: 18px;
}

.error {
    color: #ff0000;
    margin: 0;
    padding-top: 8px;
}

.clearNotes {
    margin-top: 50px;
    text-align: center;
}


/* display note section */
#note-display {
    margin-top: 20px;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.note {
    /* background-color: yellow; */
    background-image: url("../img/note.png");
    background-size: cover;
    height: 200px;
    margin: 40px;
    padding: 25px 20px 5px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.note:hover {
    transform: scale(1.2, 1.2);
    transition: transform 1s;
}

.note:hover .remove-container {
    display: block;
}

.note textarea {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 70%;
    resize: none;
    margin-bottom: 20px;
}

.note p {
    margin: 0;
    font-size: 12px;
}

/* remove icon */
.remove-container {
    position: absolute;
    right: 0;
    top: -20px;
    display: none;
}

.fa-remove {
    color: red;
    font-size: 40px
}

/* animition */
.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 1s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}