.elementor-kit-3221{--e-global-color-primary:#000000;--e-global-color-secondary:#666666;--e-global-color-text:#CCCCCC;--e-global-color-accent:#ED252A;--e-global-color-3581043:#FFFFFF;--e-global-typography-primary-font-family:"Alike";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Cerebri sans regular";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-3221 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Mono&display=swap');

/* ---- Prevent Horizontal Scrollbar ---- */
html, body {
  overflow-x: hidden;
}

/* Horizontal loop carousel */
.elementor-kit-3221 .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Horizontal scroll container */
.horizontal-parent {
  overscroll-behavior: none;
}

/* Lightbox CSS */
.elementor-lightbox .elementor-lightbox-image {
  border: 3px solid rgba(255, 255, 255, 1) !important;
  border-radius: 3px !important;
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.25) !important;
}

/* Typing Effect */
.typing-effect-1 {
  font-family: "PT Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-transform: none;
}

.typing-effect-2 {
  font-family: "PT Mono", monospace;
  font-size: 1.7rem;
  color: #ffffff;
  line-height: 1.1;
  text-transform: none;
}

/* Blinking cursor effect */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typing-effect-1,
.typing-effect-2 {
  display: inline-block; /* Ensure the container behaves like inline text */
  position: relative; /* Ensure the container is positioned */
}

.typing-effect-1::after,
.typing-effect-2::after {
  content: "|"; /* Cursor character */
  display: inline-block; /* Make the cursor inline */
  vertical-align: bottom; /* Align with the text */
  margin-left: 2px; /* Add a small space between text and cursor */
  animation: blink-cursor 0.7s infinite; /* Blinking animation */
}

/* Text Glow Effect */
@keyframes glow {
  0%, 90% { text-shadow: none; }
  95% { text-shadow: 0 0 2px #ffffff, 0 0 4px #ff00ff; }
  97% { text-shadow: 0 0 4px #ffffff, 0 0 8px #ff00ff; }
  99% { text-shadow: 0 0 6px #ffffff, 0 0 12px #ff00ff; }
  100% { text-shadow: none; }
}

.glowing-text {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  animation: glow 10s infinite;
  transition: text-shadow 5s ease-in, text-shadow 5s ease-out;
}

.glowing-text:hover {
  animation: none;
  text-shadow: 0 0 6px #ffffff, 0 0 12px #ff00ff;
  transition: text-shadow 0.5s ease-in, text-shadow 2.5s ease-out;
}

/* Flickering Text Effect */
@keyframes flicker {
  0%, 85% { text-shadow: none; }
  86% { text-shadow: none; }
  88% { text-shadow: 0 0 3px #ffffff, 0 0 6px #ff00ff; }
  90% { text-shadow: none; }
  92% { text-shadow: 0 0 4px #ffffff, 0 0 8px #ff00ff; }
  94% { text-shadow: none; }
  96% { text-shadow: 0 0 6px #ffffff, 0 0 12px #ff00ff; }
  99% { text-shadow: 0 0 10px #ffffff, 0 0 20px #ff00ff; }
  100% { text-shadow: none; }
}

.flickering-text,
.flickering-text2 {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  transition: text-shadow 0.5s ease-in-out;
}

.flickering-text {
  animation: flicker 5s infinite;
}

.flickering-text2 {
  animation: flicker 7s infinite;
}

.flickering-text:hover,
.flickering-text2:hover {
  animation: none;
  text-shadow: 0 0 8px #ffffff, 0 0 16px #ff00ff;
  transition: text-shadow 1s ease-in-out;
}

/* background image zoom in out */
.containerzoom {
    background-size: 110%; /* Initially zoomed in */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional parallax effect */
    transition: background-size 0.6s ease-out;
}

 /* Background image zoom in out */
#background-container {
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 100%;
      position: relative;
      overflow: hidden;
      z-index: 1; /* Ensure the container is above other elements */
  }


  
  #background-container-whole {
      background-image: url('https://jms.philippine-studies.net/wp-content/uploads/2024/04/cropped-jms20140802jonb-1.jpg'); /* Fallback image */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      width: 100%;
      height: 100vh; /* Adjust height as needed */
      position: relative;
      overflow: hidden;
      z-index: 1; /* Ensure the container is above other elements */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: white; /* Adjust text color as needed */
  }
  
  #background-container-whole h1,
  #background-container-whole p {
      position: relative;
      z-index: 2; /* Ensure text is above the background */
  }
  

/* Blockquote */
blockquote {
  position: relative;
  padding: 40px 100px 20px 40px;
  margin: 20px 0;
  font-size: 1.1rem;
  line-height: 1.3em;
  overflow: hidden;
  font-style: italic;
}

blockquote:after {
  content: '\2019';
  position: absolute;
  font-size: 300px;
  right: 5px;
  top: 40%;
  transform: translateY(-50%);
  color: #cccccc;
  z-index: 1;
  line-height: 1;
  pointer-events: none;
}

blockquote p {
  display: inline;
  position: relative;
  z-index: 2;
  margin: 0;
}

@media (min-width: 480px) {
  blockquote {
    font-size: 1.2rem;
  }

  blockquote:after {
    font-size: 150px;
  }
}

@media (min-width: 768px) {
  blockquote {
    font-size: 1.3rem;
  }

  blockquote:after {
    font-size: 250px;
  }
}

@media (min-width: 1024px) {
  blockquote {
    font-size: 1.4rem;
  }

  blockquote:after {
    font-size: 300px;
  }
}

:root {
  --negative-margin: max(-200px, -13vw);
  --max-width: min(70%, 600px);
}

/* Mobile Mode (screens smaller than 700px) */
@media (max-width: 699px) {
    .single-post figure.alignleft,
    .page figure.alignleft,
    .single-post figure.alignright,
    .page figure.alignright {
      width: 100%;
      max-width: 100%;
      height: auto;
      margin: 0 auto 10px; /* Center the image */
      padding: 0 15px; /* Add padding for better spacing */
    }

    /* Apply border-radius and debugging styles to the img element */
    .single-post figure.alignleft img,
    .page figure.alignleft img,
    .single-post figure.alignright img,
    .page figure.alignright img {
      border-radius: 5px; /* Ensure this is applied */
      border: 1px solid #f7f7f7; /* Debugging: Add a border to confirm styles are applied */
    }
}

/* Desktop/Tablet Mode (screens 700px and wider) */
@media (min-width: 700px) {
    .single-post figure.alignleft,
    .page figure.alignleft,
    .single-post figure.alignright,
    .page figure.alignright {
      width: auto;
      max-width: var(--max-width);
      height: auto;
    }

    .single-post figure.alignleft,
    .page figure.alignleft {
      float: left;
      margin-left: var(--negative-margin);
      margin-right: 20px;
      padding-left: 15px;
    }

    .single-post figure.alignright,
    .page figure.alignright {
      float: right;
      margin-right: var(--negative-margin);
      margin-left: 20px;
      padding-right: 15px;
    }

    /* Apply border-radius and debugging styles to the img element */
    .single-post figure.alignleft img,
    .page figure.alignleft img,
    .single-post figure.alignright img,
    .page figure.alignright img {
      border-radius: 5px; /* Ensure this is applied */
      border: 1px solid #f7f7f7; /* Debugging: Add a border to confirm styles are applied */
    }
}
/*
 Apply grayscale to all <img> elements 
img {
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease-in-out;
}

 Apply grayscale to background images 
.bg-filter, [class*="bg-filter"] {
    position: relative;
    filter: grayscale(100%) !important;
}

 Force grayscale for Elementor background images 
[class*="elementor-background"] {
    filter: grayscale(100%) !important;
}

 Ensure background images inside containers also get grayscale 
.bg-filter::before, [class*="bg-filter"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: grayscale(100%);
    z-index: 1;
    pointer-events: none;
}
*/

.background-container {
  background-size: 110%;
  background-position: center;
  animation: kenburnsZoom 15s ease-in-out infinite alternate;
}

@keyframes kenburnsZoom {
  0% {
    background-size: 110%;
    background-position: center center;
  }
  50% {
    background-size: 120%;
    background-position: center center;
  }
  100% {
    background-size: 110%;
    background-position: center center;
  }
}

html {
      scroll-behavior: auto !important;
    }/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Cerebri sans regular';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('http://theocon.ndfp.info/wp-content/uploads/2025/08/cerebri-sans-regular.eot');
	src: url('http://theocon.ndfp.info/wp-content/uploads/2025/08/cerebri-sans-regular.eot?#iefix') format('embedded-opentype'),
		url('http://theocon.ndfp.info/wp-content/uploads/2025/08/cerebri-sans-regular.woff2') format('woff2'),
		url('http://theocon.ndfp.info/wp-content/uploads/2025/08/cerebri-sans-regular.woff') format('woff');
}
/* End Custom Fonts CSS */