@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
}

body {
  font-family: 'Vollkorn', serif !important;
  background: linear-gradient(0deg, rgba(255,255,255,1) 64%, rgba(199,237,255,1) 100%);
  max-width: 560px;
  width: 100%;
  margin: 0 auto !important;
}

body p {
  font-size: 15px !important;

}

small {
  font-size: 12px;
}

ul {
  padding-left: 30px !important;
}

/* content */

.content {
  width: 100%;
  padding: 0px 9px;

  
}

img {
  max-width: 100%;
  width: 100%;
}

.article_content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

/* header */
header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  background: #ebf9ff;
  padding: 20px 0;
}

.attention-block {
  text-align: left !important;
  border-radius: 10px;
  border: 10px solid red;
  background-color: #fff;
  padding: 10px;
}

header .country-flag {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .country-flag img {
  width: 33%;
  height: auto;
}

header .text-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

header .text-header p {
  font-weight: 500;
  font-size: 16px;
}

/* popup */

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 85%;
  aspect-ratio: 1 / 0.5;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;

  z-index: 1001;

  pointer-events: none;
  opacity: 0;

  background-color: #fff;
  padding: 16px;
  border-radius: 10px;
}

.popup-trigger.disabled {
  opacity: 0.2 !important;
  pointer-events: none !important;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.popup.active {
  opacity: 1;
  pointer-events: all;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
