@font-face {
  font-family: halvethaica;
  src: url(./view/assets/alert/DBHelvethaicaMon.ttf);
}

.popup {
  display: none !important;
  font-family: halvethaica;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  filter: drop-shadow(16px 16px 10px rgba(0, 0, 0, 0.3));
}

body.show-popup-exchange #popup-exchange {
  display: flex !important;
}

body.show-popup-noti #popup-noti {
  display: flex !important;
}
body.show-popup-register #popup-register {
  display: flex !important;
}
.popup-container {
  color: #333333;
  width: 50vw;
  aspect-ratio: 1.5/1;
  margin: auto;
  /* background-color: white; */
  border-radius: 2vw;
  overflow: hidden;
}
.cols {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.header {
  position: relative;
  flex-grow: 0;
  min-height: 12vw;
  min-width: 100%;
  background-image: url("./view/assets/alert/background.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.content {
  flex-grow: 1;
  background-color: #f2f2f2;
  height: 0;
  width: 100%;
  text-align: center;
}
.circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  bottom: 0%;
  width: 15vw;
  aspect-ratio: 1/1;
  background-color: #f2f2f2;
  border-radius: 100vh;
}

.icon-container {
  position: relative;
}

.effect {
  position: absolute;
  left: 50%;
  width: 100%;
  transform: translateX(-53%) scale(1.4);
  opacity: 0.8;
}

.icon {
  position: absolute;
  aspect-ratio: 1/1;
  width: 10vw;
  top: 1.5vw;
  left: 50%;
  transform: translateX(-50%);
}

.footer {
  background-color: #f2f2f2;
  height: fit-content;
  width: 100%;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1vw;
  gap: 0.8vw;
}

.btn-theme {
  display: flex;
  padding-left: 2vw;
  padding-right: 2vw;
  font-size: max(3vw, 12px);
  background-color: #ffb000;
  width: fit-content;
  gap: 0.5vw;
  border-radius: 100vh;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.btn-theme:hover {
  background-color: #f9c659;
}
.btn-theme img {
  width: 2vw;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-grow: 0;
}
.content-text {
  margin-top: 5vw;
  position: relative;
  z-index: 10;
  font-size: max(5vw, 12px);
  line-height: 1;
}
.skip {
  cursor: pointer;
  font-size: max(2.5vw, 12px);
  text-decoration: underline;
}

.close-container {
  position: absolute;
  right: 1.5vw;
  top: 1.5vw;
  cursor: pointer;
}

.close-container:hover img {
  opacity: 0.8;
}
.close-container img {
  aspect-ratio: 1/1;
  width: 3vw;
  object-fit: contain;
}

.icon-animation {
  animation-delay: 0.75s;
}

body.lang-vt .popup-container .content-text , body.lang-en .popup-container .content-text {
  font-size: max(4vw, 12px) !important;
}
