/* --- FONT LOADING --- */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');



@font-face {
  font-family: 'VAGRounded';
  src: url('../fonts/VAGRoundedRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.custom-breadcrumb {
  font-size: 20px !important; /* or any size you prefer */
}

/* --- BASE TYPOGRAPHY --- */
body, html {
  font-family: 'Quicksand', sans-serif;
  font-family: "Arial Rounded MT", Arial, sans-serif;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: larger;
  height: 100%;
  margin: 0;
  padding: 0;
}

.smallprint {
  font-size: 0.8em;
}
#title {
  font-size: 1em;
}

/* Responsive text */
@media (max-width: 600px) {
  .smallprint { font-size: 0.5em; }
  #title { font-size: 0.7em; }
}

/* --- DROPDOWN MENU --- */
.dropdown-menu {
  position: absolute;
  top: 50px;
  left: 0;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu.ng-show {
  display: block;
}

/* --- FOOTER --- */
#footer {
  height: 40px;
  text-align: center;
  font-weight: 400;
  line-height: 40px;
  font-size: 0.7em;
  clear: both;
}

/* --- PAGE LAYOUT --- */
.page-container {
  min-height: calc(100vh - 40px);
  box-sizing: border-box;
}

#main {
  display: block;
  position: relative;
}

/* Angular animations */
#main.ng-leave {
  transition: 0.3s linear all;
  opacity: 1;
}
#main.ng-leave.ng-leave-active {
  opacity: 0;
}
#main.ng-enter {
  transition: 0.3s linear all;
  transition-delay: 0;
  opacity: 0;
  height: 0;
  min-height: 0;
}
#main.ng-enter-active {
  opacity: 1;
}

/* --- CONTROLS --- */
.controls-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

#page-count {
  color: #808080;
  pointer-events: none;
  min-width: 100px;
  text-align: center;
}

.disabled,
.disabled-btn {
  opacity: 0.2;
  pointer-events: none;
}

/* --- NAV BUTTONS --- */
.nav-btn {
  opacity: 1;
  cursor: pointer;
}
.nav-btn.disabled-btn {
  opacity: 0.2;
}
.nav-btn:hover {
  opacity: 0.5;
}

/* --- TEXT + SLIDE ELEMENTS --- */
.slide {
  width: 100%;
  overflow: hidden;
}

.slide-text {
  font-family: 'Quicksand', sans-serif;
  font-family: "Arial Rounded MT Bold", Arial, sans-serif;
  font-family: 'Nunito', sans-serif;
  font-size: 42px;
  line-height: 50px;
  color: #343a40;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.slide-text > b {
  font-weight: 700;
}

/* --- TRANSITIONS & EFFECTS --- */
.fadein {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.fadein.ng-hide {
  opacity: 0;
}

.fade-colour {
  transition: background 0.8s ease;
}

.grow {
  transition: all 0.2s ease-in-out;
}
.grow:hover {
  transform: scale(1.05);
}

/* --- MISC UTILITY CLASSES --- */
.pointer {
  cursor: pointer;
}

.no-select {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.bg-loader {
  display: block;
  position: relative;
  z-index: 1000;
  height: 100%;
  width: 100%;
  background-image: url('../images/svg-loader.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-color: white;
}


.bg-light {
  background: #f3f3f6 !important;
}

.card {
  cursor: pointer;
}

/* --- RESPONSIVE HEIGHT BLOCKS --- */
.custom-div {
  height: 300px;
}

@media (min-width: 768px) {
  .custom-div { height: 400px; }
}
@media (min-width: 992px) {
  .custom-div { height: 600px; }
}
@media (min-width: 1200px) {
  .custom-div { height: 700px; }
}


#topic-container {
  position: relative; /* So absolute children (like #loader) are placed relative to this */
}

#myloader {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex ;
  justify-content: center !important;
  align-items: center !important;
  background-color: rgba(255,255,255,0.5) !important;
  z-index: 1000 !important;
  pointer-events: none;
}

#myloader.hidden {
  display: none;
  opacity: 0;
  pointer-events: none; /* Optional */
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

#slideContainer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}