body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 7rem;
    background: linear-gradient(0deg, #ea9d3e, #eec33d);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 150vh;
    color: #333;
    overflow: hidden;
}

nav {
    background: #21272c;
    width: 100%;
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 5rem;
    margin-right: 1em;
    margin-left: 0.5em;
}

nav a {
    color: #ea9d3e;
    margin: 0 1em;
    text-decoration: none;
    font-weight: bold;
}

.nav-left a {
    color: #ea9d3e;
    margin: 0 1em;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-left a:hover {
    color: #eec33d;
}

.nav-left a.active {
    color: #eec33d;
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right .username {
    margin-right: 1em;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-right .username:hover {
    color: #eec33d;
    text-decoration: underline;
}

.logout-button, .login-button {
    background-color: #ea9d3e;
    color: #fff;
    padding: 0.5em 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-button:hover, .login-button:hover {
    background-color: #eec33d;
}

main {
    padding-top: 2rem;
    padding: 2em;
    max-width: 75%;
    min-width: 75%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
}

form label {
    margin-bottom: 0.5em;
    font-weight: bold;
}

form input {
    margin-bottom: 1em;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

form button {
    padding: 0.5em;
    font-size: 1em;
    background-color: #4caf50;
    color: #0000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1em;

}

form button:hover {
    background-color: #eec33d;
    cursor: pointer;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        bottom: 0;
    }
    10% {
        opacity: 1;
        bottom: 20px;
    }
    90% {
        opacity: 1;
        bottom: 20px;
    }
    100% {
        opacity: 0;
        bottom: 0;
    }
}

.logout-message, .login-message {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    /*transform: translate(-50%, -50%);*/
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    color: #333;
    animation: fadeInOut 3s ease-in-out forwards;
}

#bmr-results {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#bmr-results th, #bmr-results td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#bmr-results th {
    background-color: #f2f2f2;
}

:root {
  --bulma-primary-h: 33.14deg;
  --bulma-primary-s: 80%;
  --bulma-primary-l: 58%;
  --bulma-tabs-link-active-color: hsl(33.14,80%,58%);
}

.table {
  --bulma-table-striped-row-even-background-color: #eec33d57;
  --bulma-table-cell-border-color: hsl(221,14%,34%);
}

.tabs {
    --bulma-tabs-link-active-color: #ea9d3e
}

.progress {
--bulma-progress-bar-background-color: hsl(42 34% 62% / 1);
}

.modal-background {
background-color: hsl(221deg 14% 4% / 0%);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #ea9d3e;
}

::-webkit-scrollbar-thumb {
    background: #a4671c;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #824e0f;
}

.image-container {
    width: 100%;
    overflow: hidden;
    transition: transform 0.7s ease-in-out;
}

.image-container:hover {
    transform: scale(1.85) translateY(-20%);
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

#bee-container {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
}

#flying-bee {
    width: 50px;
    pointer-events: auto;
    cursor: pointer;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffffff69;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px #ea9d3e00;
    animation: sparkle-animation 0.9s ease-out forwards;
    pointer-events: none;
    z-index: 999;
}

@keyframes sparkle-animation {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.modalbee {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modalbee-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.modalbee.is-active {
    display: flex;
}

html.is-clipped {
  overflow: auto !important;
}

.advice-bubble {
    position: absolute;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    max-width: 200px;
    word-wrap: break-word;
    z-index:999;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ea9d3e;
    cursor: pointer;
}

@media (max-width: 1024px) {
    main {
        max-width: 90%;
        padding: 1.5em;
    }

    .image-container img {
        object-fit: cover;
    }

    .columns {
        flex-wrap: wrap;
        justify-content: center;
    }

    .columns .column {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 0.5em 1em;
    }

    .nav-left a {
        margin: 0.5em;
    }

    main {
        max-width: 95%;
        padding: 1em;
    }

    .image-container {
        width: 100%;
    }

    .image-container img {
        object-fit: contain;
    }

    .hamburger {
        display: block;
    }

    .nav-left, .nav-right {
        display: none;
        flex-direction: column;
    }

    .nav-left.active, .nav-right.active {
        display: flex;
    }

}

/* małe ekrany */
@media (max-width: 480px) {
    nav {
        height: auto;
        align-items: center;
        padding: 1em;
    }

    .logo {
        height: 3rem;
    }

    .nav-left, .nav-right {
        flex-direction: column;
        align-items: center;
    }

    .nav-left a, .nav-right a {
        margin: 0 .5em 0;
    }

    main {
        max-width: 100%;
        padding: 1em;
    }

    .box {
        padding: 1em;
    }

    .logout-message, .login-message {
        bottom: 10px;
        right: 10px;
        font-size: 0.9em;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    .hamburger {
        margin-left: 1rem;
    }
}


/* @media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-left, .nav-right {
        display: none;
        flex-direction: column;
    }

    .nav-left.active, .nav-right.active {
        display: flex;
    }
}
*/

.mobile-navbar .mobile-menu {
    display: flex;
    flex-direction: row;
    background: #21272c;
}

.mobile-navbar .hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    color: #ea9d3e;
    cursor: pointer;
    /*margin: 0 auto;*/
}

/* desktop */
.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.navbar-menu a {
    margin-right: 1em;
    text-decoration: none;
    color: #ea9d3e;
}

.navbar-menu a.active {
    font-weight: bold;
    border-bottom: 2px solid #eec33d;
}

.mobile-menu a {
    margin: 0 0.4em 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 0.65rem;

}




