@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Background */
.nm_background {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* display: none; */
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  animation: fadein 0.3s;
  z-index:99;
}

/* Container */
.nm_container {
  top: 25vh;
  left: 40vw;
  width: 20%;
  min-width: 200px;
  padding: 24px;
  border-radius: 8px;
  position: fixed;
  /* position: absolute; */
  /* position: relative; */
  border-top: 8px solid var(--primary-700);
  justify-content: center;
  background-color: var(--neutral-050);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
  z-index: 100;
}

/* 1/3 Header */
.nm_header {
  flex: 10;
  padding: 5px;
  width: 100% - 1px;
  display: flex;
  word-wrap: break-word;
  background-color: #fff;
  box-shadow: inset 2px 4px 4px rgba(0, 0, 0, 0.1);
}

.nm_header>.nm_title {
  flex: 9.5;
  padding: 2%;
  font-weight: bolder;
  font-size: 1.5em;
}

.nm_header>.nm_close {
  flex: 0.5;
  font-weight: normal;
  font-size: 1em;
  cursor: pointer;
  background-color: #191919;
  color: #fff;
  border: none;
}

.nm_header>.nm_close:hover {
  background-color: #19191970;
}

/* 2/3 Section */
.nm_section {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  word-wrap: break-word;
  white-space: pre-wrap;
  color: var(--black);
  gap: 8px;
}

/* Body */
.nm_content {
  font-weight: 500;
  border-radius: 4px;
  font-size: 16px;
}

.second_content {
  font-size: 14px;
}

.nm_input {
  width: 100%;
  height: 3vh;
}

/* 3/3 Footer */
.nm_footer {
  width: 100%;
  padding: 2% 0% 0% 0%;
  margin-top: 36px;
  word-wrap: break-word;
  /* display: none; */
}

.nm_footer_text {
  width: 50%;
  float: left;
  display: none;
}

.nm_footer_button {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.nm_footer_btns {
  padding: 8px 12px;
  gap: 8px;
  line-height: 20px;
  font-size: 14px;
  cursor: pointer;
  background: var(--primary-500);
  color: var(--white-abs);
}

.nm_footer_btns:hover {
  background: var(--primary-600);
}