.notice-container {
    right: 0;
    display: none;
}

.notice-container > p {
    text-align: center;
}

.notice-container input {
    display: block;
    margin: 1rem auto;
    font-family: 'Merriweather', serif;
}

table {
    table-layout: fixed;
}

table, tr, td {
    text-align: center;
}

#note {
    max-width: 100%;
    word-wrap: break-word;
}

.fa-trash {
    color: #ff0000;
    cursor: pointer;
}

.notice-container .fa-pencil-alt {
    color: #ff8418;
    cursor: pointer;
}

button {
    border: none;
    background-color: transparent;
}

.invisible {
    display: none;
}

@media screen and (max-width: 1920px) {
    .notice-container input[type='text'] {
        height: 1.5rem;
        width: 80%;
    }

    .notice-container input[type='submit'] {
        padding: 3px;
    }

    table {
        width: 100%;
        margin: 0 auto 1rem;
    }

    table, tr, td {
        padding: 10px;
    }

    #note {
        font-size: 1.2rem;
    }

    .fa-trash, .notice-container .fa-pencil-alt {
        font-size: 1rem;
    }
}

@media screen and (max-width: 500px) {
    .notice-container > h2 {
        margin-left: 0.5rem;
    }

    .notice-container input[type='text'] {
        font-size: 0.8rem;
    }

    .notice-container input[type='submit'] {
        padding: 2px;
        font-size: 0.8rem;
    }

    .notice-container > p {
        font-size: 0.8rem;
    }

    #note {
        font-size: 1rem;
    }

    table, tr, td {
        padding: 5px;
    }

    .fa-trash, .notice-container .fa-pencil-alt {
        font-size: 0.9rem;
    }
}
