/* Font definitions */
@font-face {
  font-family: 'iAIconic';
  font-style: normal;
  font-weight: 400;
  src: local('iAIconic Regular'), 
       url('fonts/iAIconic-Light.woff') format('woff'), 
       url('fonts/iAIconic-Light.woff2') format('woff2');
}

/* Basic text styles */
h1 {
  text-transform: uppercase;
  font-size: 4.2em!important;
  line-height: 1.2em!important;
  text-align: center!important;
  margin-inline-start: auto!important;
  margin-inline-end: auto!important;
}

/* Style for emphasized text and its background icon */
em, em::before {
    color: #00A8FF !important;
    font-style: normal !important;
}

/* Dark mode adjustments - full color for both text and icon */
.dark em, .dark em::before {
    color: rgba(0, 168, 255, 1) !important;
}

/* Create the mirrored version using ::before */
em::before {
    content: attr(data-text) !important;
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    font-family: 'iAIconic' !important;
    font-size: 12rem !important;
    pointer-events: none !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    font-variant-ligatures: common-ligatures discretionary-ligatures historical-ligatures !important;
    z-index: -1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    em::before {
        font-size: 11rem !important;
    }
}

@media screen and (max-width: 768px) {
    em::before {
        font-size: 10rem !important;
        bottom: 30px !important;
        right: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    em::before {
        font-size: 8rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}
