body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    min-height: 100vh; 
    margin: 0; 
    background-image: url(tlo.png);
    background-position: center;
    font-family: 'Merriweather', sans-serif;
}
article{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: whitesmoke;
    width: 100%;  
    height: 100%;
}
main{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
form{
    
    text-align: center;
    justify-content: center;
    align-items: center;
}
.kontrolki{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}
footer{
   
    position: fixed;
    bottom: 0;
    height: 20px;
    text-align: right;
    width: 100%;
    transition: 0.4s ease;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}
footer:hover{
    background-color: rgba(128, 27, 27);
    
  position: fixed;
  bottom: 0;
  transform: scale(1);
  
  height: 20px;
  text-align: right;
  width: 100%;
  visibility: visible;
}
.podpowiedzi {
  list-style: none;
  padding: 0;
  margin: 0;
}

.podpowiedzi li {
  font-size: 18px;
  margin: 8px 0;
  padding: 6px 0;
  position: relative;
  cursor: pointer;
  color: #eee;
}

.podpowiedzi li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: #0ff;
  box-shadow: 0 0 6px #0ff;
  transition: 0.3s;
}

.podpowiedzi li:hover::after {
  width: 100%;
}

ul{
    max-height: 250px; /* wysokość po której ma się pojawić suwak */
    overflow-y: auto;  /* pionowy scroll */
    overflow-x: hidden; /* brak poziomego suwaka */
}
.podpowiedzi2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.podpowiedzi2 li {
  font-size: 18px;
  margin: 8px 0;
  padding: 6px 0;
  position: relative;
  cursor: pointer;
  color: #eee;
}

.podpowiedzi2 li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: #0ff;
  box-shadow: 0 0 6px #0ff;
  transition: 0.3s;
}

.podpowiedzi2 li:hover::after {
  width: 100%;
}
a{
  position: fixed;
  top: 0;
  right: 0;
}

.godzina {
    display: inline-block !important;
    font-family: 'Inter', sans-serif;

    font-size: 40px;
    padding: 10px;
    transition: transform 0.25s ease;
}

.godzina.hover {
    transform: translateY(-5px) scale(1.35);
    color: #0077ff;
}

.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.gora, .dol {
    text-align: center;
}

.wys_godz {
    display: block !important;
    
}

section[name="wynik"] {
    display: inline-block !important;
}
.wynik{
  font-size: 35px;
  font-family: 'Roboto Condensed', 'Inter', sans-serif;




}
.btn {
  
    background: linear-gradient(135deg, rgba(85, 145, 255, 0.35), rgba(160, 205, 255, 0.35));
    backdrop-filter: blur(8px);


    border: 2px solid rgba(255, 255, 255, 0.45);
    


    color: black; 
    font-family: "Tahoma", "Segoe UI", sans-serif;
    letter-spacing: 0.4px;
    font-size: 18px;
    padding: 10px 28px;
    border-radius: 12px;

    cursor: pointer;
    transition: 0.25s ease-out;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(110, 170, 255, 0.45), rgba(190, 225, 255, 0.45));
    transform: scale(1.04);

  
}

.btn:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, rgba(65, 130, 230, 0.35), rgba(140, 180, 240, 0.35));
}
.input-styl {
    /* glass + XP niebieski */
    background: rgba(200, 230, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* ramka retro XP */
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;

    /* delikatny połysk */
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        0 3px 10px rgba(0, 0, 0, 0.25);

    color: #002266; /* XP vibe */
    font-family: "Tahoma", "Segoe UI", sans-serif;
    font-size: 17px;
    padding: 10px 14px;

    width: 260px; /* zmień jeśli chcesz */
    transition: 0.25s ease-out;
}

/* placeholder w stylu XP */
.input-styl::placeholder {
    color: rgba(0, 40, 100, 0.55);
}

/* podświetlenie jak Windows XP */
.input-styl:focus {
    outline: none;
    background: rgba(220, 245, 255, 0.35);

    border-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(80, 150, 255, 0.6),
        0 3px 10px rgba(0, 0, 0, 0.3);

    transform: scale(1.02);
}
.input-styl::placeholder {
    color: rgba(0, 30, 80, 0.8);  
    font-weight: 600;             
    letter-spacing: 0.3px;        
}
.select-styl {
    
    background: rgba(200, 230, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* owalny (XP style) */
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;

    /* lekki połysk */
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.9),
        0 3px 10px rgba(0, 0, 0, 0.25);

    color: #002266;
    font-family: "Tahoma", "Segoe UI", sans-serif;
    font-size: 17px;

    padding: 10px 14px;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    width: 260px;

    background-image: url("data:image/svg+xml;utf8,<svg width='14' height='14' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><polyline points='4,7 10,13 16,7' stroke='%23002266' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;

    transition: 0.25s ease;
}


.select-styl option {
    color: #002266;
    background: #e9f2ff;
}


.select-styl:focus {
    outline: none;

    background: rgba(220, 245, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.75);

    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 1),
        0 0 12px rgba(80, 150, 255, 0.6),
        0 3px 10px rgba(0, 0, 0, 0.3);

    transform: scale(1.02);
}
/* Kontener — wyrównanie i font */
.xp-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 25px;
    cursor: pointer;
    user-select: none;
    margin: 10px;
}


.xp-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Styl okienka */
.xp-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #1a4ba3;
    background: linear-gradient(135deg, #dfeaff, #b4c9ff);
    box-shadow:
        inset 0 0 3px rgba(255, 255, 255, .8),
        0 0 4px rgba(0, 0, 0, .25);
    transition: all 0.25s ease;
    backdrop-filter: blur(3px);
}

/* Efekt hover */
.xp-checkbox:hover .checkmark {
    background: linear-gradient(135deg, #eef5ff, #c8d7ff);
    box-shadow:
        inset 0 0 4px rgba(255, 255, 255, .9),
        0 0 6px rgba(0, 80, 200, .4);
}

/* Zaznaczone */
.xp-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, #bcd4ff, #8fb3ff);
    border-color: #003d99;
    box-shadow:
        inset 0 0 2px rgba(255, 255, 255, .9),
        0 0 6px rgba(0, 90, 255, .5);
}

/* Symbol "ptaszka" */
.xp-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Styl ptaszka */
.xp-checkbox input:checked + .checkmark::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #003d99;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
