html {
  width: 100vw;
  height: 100vw;
  overflow: hidden;
}
body {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
.main {
  background: url(image/gnp-desktop.jpg) no-repeat;
  background-position-x: center;
  background-position-y: top;
  background-size: contain;
  width: 100%;
  max-width: 1280px;
  height: 100vw;
}
.fpg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  animation: mainFadeIn 500ms ease-in-out forwards;
  animation-delay: 500ms;
}
.fpg-modal {
  background: #fff;
  width: 95%;
  max-width: 800px;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  animation: modalFadeIn 0.5s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}
.fpg-content {
  padding: 40px;
  flex: 1.2;
  color: #333;
  max-width: 50%;
}
.fpg-image {
  flex: 1;
  background: url(image/gnp_merge_desk.jpg) no-repeat;
  min-height: 500px;
  background-size: cover;
}
.fpg-accent-bar {
  width: 60px;
  height: 5px;
  background: #f3a940;
  margin: 15px 0;
}
.fpg-main-title {
  font-size: 35px;
  font-weight: 800;
  color: #f3a940;
  margin: 0;
}
.fpg-sub-title {
  font-size: 22px;
  color: #f3a940;
  font-style: italic;
  margin-bottom: 20px;
  margin-top: 0px;
}
.fpg-body-text {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}
.fpg-body-text a,
.fpg-btn {
  color: #444;
}
.fpg-body-text a:hover,
.fpg-btn:hover {
  color: #919191;
}
.yellow-text {
  font-size: 16px;
  color: #f3a940;
  font-weight: bold;
}
.fpg-footer-text {
  padding-bottom:10px;
}
.fpg-btn {
  text-decoration: none;
  background: #f3a940;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 7px;
  transition:250ms ease-in-out
}
.fpg-btn:hover {
  background: #444;
  transition:250ms ease-in-out
}
.fpg-btn > span {
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}
.fpg-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: #000;
  z-index: 10;
}
@keyframes mainFadeIn {
  from {
    backdrop-filter: blur(0px);
    background: rgba(0, 0, 0, 0);
  }
  to {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.8);
  }
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .main {
    background: url(image/gnp-mobile.jpg) no-repeat;
    background-position-x: center;
    background-position-y: top;
    background-size: cover;
    width: 100%;
    max-width: 470px;
    height: 100vw;
  }
  .fpg-modal {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }
  .fpg-image {
    min-height: 200px;
    order: -1; /* Puts image on top */
    background-image: url("image/gnp_merge_mobile.jpg");
  }
  .fpg-content {
    padding: 15px;
    max-width: 100%;
  }
  .fpg-close {
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }
}
