*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: sans-serif;
    background-color: rgb(50, 50, 120);
}

.card{
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    flex-direction: column;
    width: 90%;
    max-width: 470px;
    margin: 180px auto 0px;
    background-color: white;
    border-radius: 8px;
    padding: 30px 30px 40px;
    gap: 20px;
}

.heading{
    display: flex;
    flex-direction: row;
    justify-content: left;
    color: rgb(2, 2, 67);
    /* font-size: 60px; */
    gap: 10px;
    font-size: 15px;
}
.heading img{
    height: 35px;
    width: 25px;
}

.inputfield{
    display: flex;
    align-items: center;
    width: 100%;
    background: #d8d1d1;
    border-radius: 30px;
    overflow: hidden;
}

.inputfield input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 18px 20px;
    font-size: 16px;
}
.inputfield button{
    border: none;
    outline: none;
    padding: 18px 35px;
    background: green;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 30px;

}

.notes{
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}
.button-content {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.cross{
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 15px;
}
.notes button:hover{
    background-color: rgb(211, 196, 196);
}
.notes img{
    height: 30px;
    width: 30px;
}


/* Media Query */

/* =========================
   TABLETS
========================= */
@media (max-width: 768px) {
    .card {
        width: 95%;
        margin: 120px auto 0;
        padding: 25px;
    }

    .heading {
        font-size: 14px;
    }

    .heading img {
        width: 22px;
        height: 30px;
    }

    .inputfield input {
        font-size: 15px;
        padding: 15px;
    }

    .inputfield button {
        padding: 15px 25px;
        font-size: 15px;
    }

    .notes {
        font-size: 18px;
    }

    .notes img {
        width: 28px;
        height: 28px;
    }
}

/* =========================
   MOBILE PHONES
========================= */
@media (max-width: 480px) {
    .card {
        width: 95%;
        margin: 80px auto 0;
        padding: 20px;
    }

    .heading {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .heading h1 {
        font-size: 28px;
    }

    .heading img {
        width: 20px;
        height: 28px;
    }

    .inputfield {
        flex-direction: row;
    }

    .inputfield input {
        padding: 14px;
        font-size: 14px;
    }

    .inputfield button {
        padding: 14px 18px;
        font-size: 14px;
    }

    .notes {
        font-size: 16px;
        gap: 10px;
    }

    .button-content {
        gap: 8px;
        max-width: 80%;
        word-break: break-word;
    }

    .note {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .notes img {
        width: 24px;
        height: 24px;
    }

    .cross {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
}
