

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('https://projektika.org/fonts/Roboto-Condensed-Bold.woff2') format('woff2'),
        url('https://projektika.org/fonts/Roboto-Condensed-Bold.woff') format('woff');
}

#parentCol {
    /*background-image: url('https://projektika.org/gamesImg/hexmat/kamyczki.webp');*/
    position: relative;
    padding: 5px;
    margin-bottom: 5px;
    margin: 0 auto 0;
    display: block;
    justify-content: center;
}

#canvas-wrap {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 950px;
    max-height: auto;
    aspect-ratio: 19 / 14;
    margin: 0 auto 0;
    display: block;
    border-bottom: none;
    border-top: 3px solid green;
    border-right: 3px solid green;
    border-left: 3px solid green;
    border-radius: 1% 1% 0px 0px;
    -webkit-border-radius: 1% 1% 0px 0px;
    -moz-border-radius: 1% 1% 0px 0px;
}

.frogBack {
    background-image: url("https://projektika.org/gamesImg/hexmat/frogBackLoading.svg");
    background-color: rgb(110, 208, 244);
    background-repeat: no-repeat;
    background-size: cover;
}

.pasek {
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 2.6rem;
    background-color: rgb(51, 168, 206);
    margin: 0 auto 0;

    font: normal 1.8rem Arial, sans-serif;
    align-self: center;
    box-sizing: border-box;
}

#informacjePasek {
    flex: 1;
    text-align: center;
    margin: 0 5px;
}

#honeycomb,
#textcomb,
#canvasWater,
#canvasFrog,
#hexTopCanva {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 1% 1% 0px 0px;
    -webkit-border-radius: 1% 1% 0px 0px;
    -moz-border-radius: 1% 1% 0px 0px;
    image-rendering: -moz-crisp-edges;
    /*image-rendering: pixelated;*/
    border: none;
    image-rendering: crisp-edges;
    /* Firefox */
    image-rendering: -webkit-optimize-contrast;
    /* Older WebKit */
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout paint;
}

#canvasWater {
    z-index: 5;
}

#honeycomb {
    z-index: 10;
}

#canvasFrog {
    z-index: 50;
    pointer-events: none;
}

#textcomb {
    pointer-events: none;
    z-index: 20;
}

#hexTopCanva {
    pointer-events: none;
    z-index: 25;
}


.header-title {
    font-size: 2.2rem;
    color: rgb(18, 55, 21);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 700px) {
    .header-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem !important;
    }

    .pasek {
        padding-top: 2%;
        font: normal 0.8rem Arial, sans-serif;
    }
}

.pasekDolny {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    align-self: center;
}

#rotate-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    z-index: 9999;
    text-align: center;
    padding-top: 20%;
    font-family: sans-serif;
}

#rotate-warning svg {
    width: 200px;
    height: 200px;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    #rotate-warning {
        display: block;
    }

    body {
        overflow: hidden;

    }
}


#info-overlay,
#countdown-overlay {
    position: absolute;
    inset: 0;
    /*background: rgba(10, 10, 15, 0.22);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
    width: 100%;
    margin: 0 0 0;
}

#infoBody {
    min-width: 60%;
    max-width: 80%;
    min-height: 20em;
    overflow-y: auto;
    opacity: 1;
    pointer-events: all;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

#info-overlay.visible,
#countdown-overlay.visible {
    opacity: 1;
    pointer-events: none;
    z-index: 200;
}

/********************* okienko start ********************/

/* Główne */
.okienko {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /*transition: opacity 0.6s;*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
}


.flipH {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.task-container {
    padding-left: 25%;
}

.zaba {
    position: absolute;
    bottom: 0;
    left: 2%;
    width: 200px;
    aspect-ratio: 3/4;
    max-width: 300px;
    /*border: solid red 2px;*/
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.zaba img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* show */
#okienko.visible {
    pointer-events: auto;
}

/* inner */
.okienko .innerOkienko {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: min(80%, 600px);
    min-height: 30%;
    /*max-height: 90%;*/
    /*min-width: 50%;
    min-height: 30%;*/
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(85, 84, 84, 0.7);
    color: #0a360a;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s;
}

#okienko.visible .innerOkienko {
    opacity: 1;
}

/* header */
.innerHeader {
    padding: 12px 16px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.innerHeader h3 {
    font-size: 1.6rem;
    font-weight: 500;
}

.innerContent h2 {
    font-size: 2rem;
    font-weight: 600;
}

/* content */
.innerContent {
    padding: 16px;
    flex-grow: 1;
    /* Zajmuje całe dostępne miejsce */
    overflow-y: auto;
    /* Jeśli treść za długa – przewijanie */
}

/* bottom */
.innerFooter {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    text-align: right;
    flex-shrink: 0;
}

/* button  */
.btn-outline-secondary {
    background: transparent;
    border: 1px solid #033905;
    color: #033905;
    border-radius: 8px;
    padding: 4px 12px;
    cursor: pointer;
}

.btn-outline-secondary:hover {
    background: #033905;
    color: white;
}

.answers-container {
    margin-top: 1.5rem;
}

.answers-container-text {
    min-height: 1.5rem;
    font-size: 1.5rem;
}

.answer-btn {
    padding: 4px 12px;
    border: 1px solid #033905;
    color: #033905;
    border-radius: 8px;
    font-size: 1.6rem;
    margin: 1rem;
    text-decoration: none;
}

.redButton {
    background: red;
    color: #fff;
}

.greenButton {
    background: rgb(7, 165, 7);
    color: #fff;
    border: 2px solid #ffffff;
}


@media screen and (min-width: 576px) {
    /*.container{
        max-width: 90% !important;
    } */

}

/*
        @media screen and (min-width: 900px) {

        }
*/

@media screen and (max-width: 768px) {
    .innerHeader h3 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .innerHeader h3 {
        font-size: 1.2rem;
    }

    .zaba {
        opacity: 0;
    }

    .task-container {
        padding-left: 0;
    }


}

@media screen and (max-width: 480px) {
    .innerHeader h3 {
        font-size: 1rem;
    }
}

/*
        @media screen and (min-width: 320px) {
            .content {}
        }
*/


/************** okienko end ********************/

.countdown-num {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(3.5rem, 15vw, 8rem);
    font-weight: 900;
    color: white;
    line-height: 1;
    animation: pulse-num 2.5s ease-out;
    z-index: 500;
    pointer-events: none;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.countdown-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 12px;
    pointer-events: none;
}

@keyframes pulse-num {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }


    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.licznikOuter {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 0.5em;
    background-color: yellow;
}

.licznikInner {
    height: 100%;
    background-color: rgb(33, 132, 6);
    width: 50%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    padding: 0 2px;
    text-align: right;
    line-height: 10px;
    alignment-baseline: top;
    /*line-height: 10px;*/
    color: #fff;
}

#dolnyPasek {
    border-top: 0px;
    border-right: 3px solid green;
    border-left: 3px solid green;
    border-bottom: 3px solid green;
    margin-left: auto;
    margin-right: auto;

}

input[type="range"].volume-wedge {
    -webkit-appearance: none;
    appearance: none;
    width: 250px;
    height: 30px;
    background: linear-gradient(to top left,
            #4c60e0 0%,
            #4c60e0 45%,
            transparent 55%,
            transparent 100%);
    cursor: pointer;
}

input[type="range"].volume-wedge::-webkit-slider-runnable-track,
input[type="range"].volume-wedge::-webkit-slider-thumb,
input[type="range"].volume-wedge::-moz-range-thumb,
input[type="range"].volume-wedge::-ms-thumb {
    width: 15px !important;
    height: 30px !important;
    background: #ffffff !important;
    border: 3px solid #000;
    margin-top: 10px;
}

.volume-bars {
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    background: var(--bs-body-bg, #f8f9fa);
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: var(--bs-border-radius, 4px);
    width: fit-content;
}

.rangeBar,
.bar {
    width: 24px;
    height: 32px;
    background: var(--bs-secondary-bg, #dee2e6);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.operace {
    width: 32px;
    height: 32px;
    background: var(--bs-secondary-bg, #dee2e6);
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.1s ease;
}

.operace.active {
    background: var(--bs-primary, #0d6efd);
    color: #fff;
}

.rangeBar:hover,
.operace:hover,
.bar:hover {
    transform: scaleY(1.08);
    filter: brightness(0.95);
}

.bar.active {
    background: var(--bs-primary, #0d6efd);
}

.rangeBar.active {
    background: var(--bs-success, #056509);
    color: #fff;
}

/* poziomy */
.bar.active[data-value="7"] {
    background: #41d239;
}

.bar.active[data-value="6"] {
    background: #aff122;
}

.bar.active[data-value="8"] {
    background: #0a870e;
}

.bar.active[data-value="9"] {
    background: rgb(208, 184, 2);
}

.bar.active[data-value="10"] {
    background: #e3162a;
}

.form-switch .form-check-input {
    background-color: rgb(155, 155, 155);
    --bs-form-check-bg: var(--bs-body-bg);
    border-color: #e3162a;
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: rgb(74, 116, 243)
}

#soundOff {
    padding: 7px 12px !important;
}

#countDownPath {
    padding: 7px 12px !important;
    font-size: 1rem;
}

#froggie-description p {
    padding-left: 2rem;
}


#froggie-description p,
#froggie-description li {
    font-size: 1.2rem;
}

#myHeroSection ul,
#froggie-description ul {
    list-style-type: none;
}

#froggie-description h4,
#froggie-description h3 {
    margin-top: 2rem;
}


@media screen and (max-width: 768px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #myHeroSection li,
    #froggie-description p,
    .heroFrogArticle p,
    #froggie-description li {
        font-size: 1rem;
    }

    #froggie-description h4 {
        font-size: 1.1rem;
    }

    .heroFrogArticle img {
        width: 100% !important;
        height: auto;
    }

    #froggie-description p {
        padding-left: 0.5rem !important;
    }

    .container {
       /* padding: 0; */
    }

    .responsive-tabs {
        padding: 0 !important;
    }
}

/************* zakladki article ******************/
.hexagonInfo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='green' class='bi bi-hexagon-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.5.134a1 1 0 0 0-1 0l-6 3.577a1 1 0 0 0-.5.866v6.846a1 1 0 0 0 .5.866l6 3.577a1 1 0 0 0 1 0l6-3.577a1 1 0 0 0 .5-.866V4.577a1 1 0 0 0-.5-.866z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 16px;
    height: 16px;
    color: #056509;
}

.heroFrogArticle h4 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.heroFrogArticle h2 {
    border-bottom: 2px solid #1b702f;
    padding-bottom: 5px;
    display: inline-block;
    margin-top: 3rem;
    font-size: 2rem;
}

.heroFrogArticle p {
    font-size: 1.1rem;
}

.responsive-tabs {
    padding: 1rem;
}

.responsive-tabs .nav-tabs {
    display: none;
}

@media (min-width: 768px) {
    .responsive-tabs .nav-tabs {
        display: flex;
    }

    .responsive-tabs .card {
        border: none;
    }

    .responsive-tabs .card .card-header {
        display: none;
    }

    .responsive-tabs .card .collapse {
        display: block;
    }
}

.heroFrogArticle h6 {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-link.black {
    color: #000 !important;
}

.nav-link.black.active {
    background-color: beige;
}

.scrollToHero svg {
    width: 100%;
    max-width: 48px;
    padding:4px;
    color: #056509;
}

.scrollToHero {
    cursor: pointer;
    border: 2px solid rgb(160, 192, 160);
    border-radius: 5px;
    padding: 0 !important;
    padding-top:3px;
}

.modelSmall{
    max-width: 500px;
}
.modelSmallFish{
    max-width: 600px;
}

@media (max-width: 767px) {
    .responsive-tabs .tab-pane {
        display: block !important;
        opacity: 1;
    }

    .scrollToHero svg {
        max-width: 40px;
        max-height: 40px;
    }
}


@media (max-width: 991px) {
    .tab-content>.tab-pane {
        display: block;
        opacity: 1;
    }
 .modelSmallFish,
  .modelSmall{
        max-width: 100%;
        width: 100% !important;
    }
}

.img-responsive{
    display:block;
}

.button3D{
    position: absolute;
    right:0;
    bottom: 0;
    width: 5rem;
    height: auto;
    display: block;
    border: 2px solid var(--bs-border-color, #086604);
    cursor: pointer;
}

.placeholderModels {
    position: relative;
}

.model-notice {
  position: absolute;
  top: 8px;
  left: 0;
  /*transform: translateX(-50%);*/
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}

/* kontener linku */
.fb-share-btn,
.pinterestShareBtn,
.scrollToHero {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

a.froggie-tooltip{
    text-decoration: none;
}

/* Tworzenie dymka */
.froggie-tooltip::after {
  content: attr(data-tooltip); 
  position: absolute;
  bottom: 125%; /* Pozycja nad grafiką */
  left: 50%;
  transform: translateX(-50%);
  
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.froggie-tooltip:hover::after {
  opacity: 1;
}

.category-wrapper{
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

#dynamicCategories{
    flex: 1; 
    text-align: center; 
    margin: 0;
}

#testFont{
    font-family: Roboto; 
    position: absolute; 
    left:0;
    top:0;
    visibility: hidden; 
    pointer-events: none;
}

.span-lista {
    display: block;

}

.btn-small{
    padding: 6px 12px;
    min-height: 28px;
}