﻿:root {
    --gold_color: #b95e86; /*pink*/
    --blue_color: white; /*black*/
    --green_color: #b95e86; /*pink2*/
    --red_color: #0d0d0d; /*black2*/
}

.html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    color: white;
    overflow-x: hidden;
    overflow-y: scroll;
    background-image: url('bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.home-background {
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: center;
    background-size: cover; /* Zapewnia rozciąganie tła */
    background-repeat: no-repeat; /* Zapobiega powtarzaniu obrazu */
    min-height: 100vh; /* Minimalna wysokość na wysokość ekranu */
    padding-bottom: 80px;
}

/*KOLORY*/
.green-text {
    color: var(--green_color);
}

.gold-text {
    color: var(--gold_color);
}

.blue-text {
    color: var(--blue_color);
}

.white-background {
    background-color: white;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wooden-background {
    background-image: url(../images/background_mobile.jpg);
    background-size: cover; /* Dopasowuje obraz do rodzica, zachowując jego proporcje */
    background-repeat: no-repeat; /* Zapobiega powtarzaniu obrazu */
    background-position: center; /* Wyśrodkowuje obraz */
    border: none;
    border-radius: 10px; /* Dodaje zaokrąglone rogi */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtelny cień */
    overflow: hidden; /* Ukrywa nadmiar obrazu przy zaokrąglonych rogach */
}

.blue-background {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* This creates the blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border-radius: 10px; /* Rounded corners */
    border: 1px solid rgba(17, 16, 16, 0.963); /* Light border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.green-background {
    background-color: var(--green_color);
}

.gold-background {
    background-color: var(--gold_color);
}

.red-background {
    background-color: var(--red_color);
    opacity: 0.9;
}

.custom-switch {
    appearance: none;
    width: 40px; /* Szerokość switcha */
    height: 20px; /* Wysokość switcha */
    background-color: #ccc;
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

    .custom-switch:checked {
        background-color: #4caf50;
    }

    .custom-switch:before {
        content: "";
        position: absolute;
        width: 18px; /* Szerokość wewnętrznego kółka */
        height: 18px; /* Wysokość wewnętrznego kółka */
        border-radius: 50%;
        background-color: white;
        top: 1px;
        left: 1px;
        transition: left 0.3s;
    }

    .custom-switch:checked:before {
        left: 21px; /* Przesunięcie kółka w prawo, gdy jest włączone */
    }

.forgot-password {
    font-size: 15px;
}

.img-container-custom {
    width: 200px;
    height: 200px;
    overflow: hidden;
}

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

.max-width {
    max-width: 500px;
}

.margin-left-nav-bar-text {
    margin-left: 15px;
}

.margin-right-nav-bar-text {
    margin-right: 10px;
}

.rounded-extra {
    border-radius: 10px;
}

.margin-right-img {
    margin-right: 20px;
}


.info-nav-bar-up {
    font-size: 25px;
    font-weight: bold;
    width: 100%; /* Zajmuje całą szerokość */
    z-index: 5;
    height: 3em; /* Minimalna wysokość */
    display: flex;
    align-items: center; /* Wyśrodkowanie w pionie */
    justify-content: space-between; /* Rozstawia zawartość od lewej do prawej */
    padding: 1em;
    box-sizing: border-box; /* Uwzględnia padding w wymiarach elementu */
    overflow: hidden; /* Ukrycie elementów wychodzących poza kontener */
}

    .info-nav-bar-up span {
        display: flex; /* Ustawienie jako flexbox */
        align-items: center; /* Wyrównanie w pionie */
        justify-content: center; /* Rozstawienie obrazków od lewej do prawej */
        width: 100%; /* Zajmuje pełną szerokość */
    }

    .info-nav-bar-up img {
        height: 2.5em; /* Dopasowanie wysokości obrazów */
        max-width: 55%; /* Ograniczenie maksymalnej szerokości obrazów */
        object-fit: contain; /* Zachowanie proporcji obrazów */
        margin: 0 5px; /* Dodanie odstępu między obrazkami */
        vertical-align: middle; /* Wyrównanie w pionie */
        margin: 7%;
    }

div.navbar-island a {
    color: white;
}

    div.navbar-island a.active {
        color: var(--gold_color);
    }

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-lg {
    height: 50px;
    font-size: 24px;
    color: black;
}

.btn-primary {
    background-color: var(--blue_color);
    border-color: transparent;
    color: black;
}

    .btn-primary:hover {
        border-color: transparent;
        color: white;
        background-color: var(--green_color);
    }

    .custom-disabled {
        border: 0px;
        background-color: #979797;
        color: #fff; 
        cursor: not-allowed; 
    }

.btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

    .btn-secondary:hover {
        border-color: transparent;
        color: var(--gold_color);
        background-color: var(--blue_color);
    }


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}


.container-fluid {
    display: flex;
    justify-content: space-between;
    overflow-y: scroll;
    height: 100vh;
    width: 100vw;
}

.collecting-order-map {
    max-width: 100%;
    height: auto;
    background-color: transparent;
}

/* LOADER */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 4px solid rgb(128, 128, 128);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    text-align: center;
}


.card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.menu-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 83%; /* Zapewnia, że obraz zajmuje 1/3 wysokości */
    width: 100%; /* Zapobiega zbyt dużemu skalowaniu */
    margin-right: 1rem;
}

.menu-image-size {
    max-width: 100%; /* Zapewnia proporcjonalne dopasowanie szerokości */
    object-fit: contain;
}

.img-fluid {
    max-width: 100% !important;
    height: 10rem !important;
}

.custom-td {
    white-space: nowrap;
}

.custom-td-ingredient {
    color: gray;
}

/*button pokaz/ukryj qr itd*/
.qr-image {
    height: 200px;
    display: none;
}

.card.expanded .qr-image {
    display: block;
}

.show-text {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.expanded .show-text {
    display: none;
}

.card.expanded .show-description {
    display: grid;
}

.h-45 {
    height: 35px;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
}

.h-100 {
    height: 100px;
}

.error-background {
    background-color: lightgray;
}

.qr-code-container {
  padding: 0rem 1rem 17% 1rem;
}

.qr-code-container .d-grid.justify-content-center {
  display: grid;               
  grid-template-columns: 1fr;  
  justify-items: center;       
  row-gap: 1rem;           
  margin-bottom: 1rem;
}

.qr-code-container .d-grid.justify-content-center .card {
  width: 100%;      
  max-width: 600px;       
  min-width: 300px;         
  box-sizing: border-box;     
}

.modal-min-height {
    min-height: 200px;
    margin-bottom: 5%
}

.navbar-island {
    margin: 10px 15px;
}

.card-custom-width {
    width: 300px;
}

.btn-toggle-password {
    top: 50%;
    border: none;
    background-color: transparent;
}

.container {
    text-align: center;
}

.img-success {
    width: 200px;
    height: 200px;
}

.thicc-font {
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
}


.gold-background-index {
    background-repeat: no-repeat; /* Zapobiega powtarzaniu tła */
    background-size: 100% 100%; /* Rozciąga obraz na 100% szerokości i wysokości */
    background-position: top center; /* Centruje tło */
    width: 100%; /* Ustawia szerokość elementu na 100% */
    max-width: 100vw;
}

.image-container {
    object-fit: contain; /* Dopasowanie obrazu bez przycinania */
}

    .image-container img {
        max-height: 90%;
        max-width: 90%;
    }

@font-face {
    font-family: 'Titillium'; /* This is the name you will use in CSS */
    src: url('/fonts/TitilliumText22L003.otf') format('opentype'); /* Path to the font file */
    font-weight: normal; /* You can specify normal or bold */
    font-style: normal; /* You can specify normal, italic, or oblique */
}

@font-face {
    font-family: 'Titillium thick'; /* This is the name you will use in CSS */
    src: url('/fonts/TitilliumText22L006.otf') format('opentype'); /* Path to the font file */
    font-weight: normal; /* You can specify normal or bold */
    font-style: normal; /* You can specify normal, italic, or oblique */
}

.set-block {
    color: black
}

.standalone-block {
    color: black
}

@media (min-height: 670px) {
    .home-background {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-position: center;
        background-size: cover; /* Zapewnia rozciąganie tła */
        background-repeat: no-repeat; /* Zapobiega powtarzaniu obrazu */
        min-height: 100vh; /* Minimalna wysokość na wysokość ekranu */
        padding-bottom: 190px;
    }
}
