@font-face {
    font-family: 'Kelson Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson Regular'), url('fonts/Armasen - Kelson.woff') format('woff');
}


@font-face {
    font-family: 'Kelson Thin';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson Thin'), url('fonts/Armasen - Kelson-Thin.woff') format('woff');
}


@font-face {
    font-family: 'Kelson Light';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson Light'), url('fonts/Armasen - Kelson-Light.woff') format('woff');
}


@font-face {
    font-family: 'Kelson Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson Medium'), url('fonts/Armasen - Kelson-Medium.woff') format('woff');
}


@font-face {
    font-family: 'Kelson Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson Bold'), url('fonts/Armasen - Kelson-Bold.woff') format('woff');
}


@font-face {
    font-family: 'Kelson ExtraBold';
    font-style: normal;
    font-weight: normal;
    src: local('Kelson ExtraBold'), url('fonts/Armasen - Kelson-ExtraBold.woff') format('woff');
}

body {
    font-family: 'Kelson Regular';
    text-align: center;
}

.container {
    position: relative;
    /*max-width: 800px;*/
    margin: auto;
}

.bill-image {
    width: 100%;
    display: block;
}
.bill-image-wrapper {
  position: relative;
  display: inline-block; /* passt sich der Bildgröße an */
}


.highlight {
    position: absolute;
    background: #03aeab1d;
    border: 0px solid #03aeaa;
    cursor: pointer;
}

.highlight.hovered {
    outline: 2px solid #cd112f;

    background: #cd113016;
}

.tooltip {
    text-align: left;
    position: absolute;
    background: #ffffff;
    color: rgb(0, 0, 0);
    /* outline: 2px solid #03aeaa; */
    padding: 15px;
    border-radius: 0px;
    display: none;
    /* pointer-events: none; */
    white-space: normal;
    width: 95%;
    /* Ensure it does not exceed 100% of the viewport width */

    z-index: 9999;
    box-sizing: border-box;
    /* Ensure padding does not push width beyond max width */

    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
}

.tooltip h3 {
    font-family: 'Kelson Bold';
    margin-top: 5px;
    margin-bottom: 0px;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    /* optional, anpassbar */
    margin-inline: auto;
    /* zentriert den Block horizontal */
}

.pagination button {
    all: unset;
    color: #fff;
    background-color: #05b9b5;
    border-radius: 3px;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.pagination button:hover {
    background-color: #049e9b;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#pageNumber {
    text-align: center;
    flex-grow: 1;
    font-size: 16px;
}

.highlight::before {
    content: "?";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 20px;
    height: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #03aeaa;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    animation: shadowPulse 1.8s ease-in-out infinite;
    cursor: help;
    z-index: 10;
}

.page-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.page-nav button {
    all: unset;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #e0f7f6;
    color: #03aeaa;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.page-nav button:hover {
    background-color: #c1efed;
}

.page-nav .active {
    background-color: #db003b;
    color: #fff;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.45);
    }

    100% {
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    }
}

.meter-types {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.meter-item {
  flex: 1;
  min-width: 30%;
  text-align: center;
}

.meter-title {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.meter-img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
  border: none;
  display: block;
 
}

.meter-desc {
  font-size: 13px;
  margin: 0;
}
.meter-img-wrapper {
  padding: 1em;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .meter-types {
    display: block;
  }

  .meter-item {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #ccc;
  }

  .meter-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .meter-title {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .meter-img-wrapper {
    width: 100%;
    margin-bottom: 5px;
  }

  .meter-img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .meter-desc {
    font-size: 14px;
    line-height: 1.4;
  }
}
