:root {
  --primary-color: #1f59d6;
  --primary-color-light: #1f59d6d4;
  --white: #fff;
  --transition: all .2s ease-in-out;
}

#ethnp-popup {
  position: fixed;
  width: 90%;
  right: 5%;
  bottom: 3%;
  padding: 2rem;
  z-index: 999999;
  background: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .5);
  transform: translateY(100px);
}

#ethnp-popup.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#ethnp-close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 100%;
  line-height: 0;
  border: 0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .25);
  color: #777;
  transition: var(--transition);
}
#ethnp-close:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.ethnp-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

#ethnp-btn {
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  display: block;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  transition: var(--transition);
}
.ethnp-btn:hover,
.ethnp-btn:active {
  color: #fff;
  background-color: var(--primary-color-light);
}

.ethnp-icon {
  width: 100px;
  display: block;
  margin: 0 auto 2rem auto;
}

@media only screen and (min-width: 768px) {
  #ethnp-popup {
    width: 400px;
  }
}
