/* template */
body,html {
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    overflow-x: hidden; /* Disable horizontal scroll */
  }

  /* hidden spacer before sections for proper offset */
  section:before {
      height: 30px;
      content: "";
      display:block;
  }

  /* helpers */
  .vh-50 {
      min-height: 50vh;
  }
  .vh-75 {
      min-height: 75vh;
  }
  .vh-100 {
      min-height: 100vh;
  }

  .header-image {
    display: flex; /* Flexbox layout for centering */
    justify-content: center; /* Centers child horizontally */
    align-items: center; /* Centers child vertically */
    position: relative; /* Keeps it positioned correctly */
    background-image: url('../images/header_background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw; /* Full width of the viewport */
    min-height: 100dvh; /* Minimum height to cover the screen */
    overflow: visible; /* Ensure the parent can grow if needed */
  }


  .max-fig {
    max-width: 500px;
    height: auto;
  }

  [data-toggle="collapse"].collapsed .if-not-collapsed {
    display: none;
  }
  [data-toggle="collapse"]:not(.collapsed) .if-collapsed {
    display: none;
  }

  .anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
  }

  .navbar-toggler {
    border: 0px;
  }

  .header-lang-alert {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px
  }

  .lang-toggle-box {
    position:absolute;
    bottom:0;
    right:0;
  }

  .logo {
    width:200px;
  }