body{
    text-decoration: none;
}

.typewriter .tw-text {
    display: inline-block;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.typewriter .tw-cursor {
    display: inline-block;
    width: .12em;
    height: 1em;
    background: blue; /* caret color */
    margin-left: .08em;
    vertical-align: middle;
    animation: tw-blink 1s steps(1) infinite;
}

@keyframes tw-blink {
    50% { opacity: 0; }
}

.pyndzel{
    height: 100px;
    border-radius: 100%;
}

body{
    margin: 0;
    background-image: url(/img/1.1checkerboard.jpg);
    background-color: rgb(0, 0, 0);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.container-top {
    background: #fc3030ab;
    padding: 50px;
    margin-bottom: 0px;
    text-align: center;
    align-items: center;
    color: white;
    border-radius: 30px; /* Rounded rectangle */
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
}

.container-row {
    display: flex;
    gap: 0px;
}

.x1stcont2, .x2ndcont2, .x3rdcont2 {
    background: #6d0052ab;
    padding: 10px;
    margin: 5px;
    text-align: center;
    color: white;
    border-radius: 20px; /* Rounded rectangle */
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    flex: 1;
}

.x1stcont{
    background-image: url(/img/1jonkler.jfif);
}

.container-row2 {
    display: flex;
    gap: 0px;
}

.x1stcont, .x2ndcont, .x3rdcont, .x2ndcont22 {
    background: #6f2cecab;
    padding: 10px;
    margin: 5px;
    text-align: center;
    color: white;
    border-radius: 20px; /* Rounded rectangle */
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.x1stcont, .x2ndcont, .x3rdcont{
    flex: 1;
}

.x2ndcont22 {
    flex: 2;
}

.contact-label {
    text-align: center;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #ffffff33;
    padding: 10px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-checkbox {
    display: block;
    cursor: pointer;
    text-align: center;
}

.contact-checkbox input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: auto;
}

.contact-checkbox-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    text-align: center;
    padding: 14px 28px;
}

.contact-checkbox-button.button1 {
    display: inline-flex;
    margin: 0;
    width: 25%;
}

.contact-checkbox-indicator {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-checkbox-button:hover .contact-checkbox-indicator {
    border-color: #dbeafe;
}

.contact-checkbox input[type="checkbox"]:focus-visible + .contact-checkbox-button {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.45);
}

.contact-checkbox input[type="checkbox"]:checked + .contact-checkbox-button .contact-checkbox-indicator {
    background: rgba(89, 43, 196, 0.7);
    border-color: rgba(89, 43, 196, 1);
}

.contact-checkbox-text {
    flex: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.contact-status {
    min-height: 18px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.contact-status.success {
    color: #34d399;
}

.contact-status.error {
    color: #f87171;
}

.x1stcont, .x3rdcont{
    flex: 2;
}


/* 

    POCZĄTEK AUDIO PLAYERA

*/

.buttonpp {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    margin: 8px 8px 0 0;
    border-radius: 20px;
    font-size: 12px;
    box-shadow: 0 2px 4px #1c0141a9;
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
    border: none;
    cursor: pointer;
}

.buttonpp:hover  {
    transform: scale(0.85);
    box-shadow: 0 2px 8px #520f45a9;
    background: #592bc4;
}

.buttonpp:active{
    transform: scale(0.7);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
    opacity: 0.7;
}

.audio-player {
    width: 100%; 
    box-sizing: border-box; 
}
.audio-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    justify-content: flex-start;
    width: 100%;
}


.audio-controls .btn-row {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 520px; /* group width */
    box-sizing: border-box;
    padding: 0 6px;
}


.audio-controls .btn-row .buttonpp,
.audio-controls .btn-row button {
    flex: 1 1 0;
    min-width: 56px;
    margin: 0;               /* remove site-wide button margins */
    padding: 8px 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;            /* consistent height for alignment */
    white-space: nowrap;
}

.audio-controls .btn-row .buttonpp:active,
.audio-controls .btn-row button:active {
    transform: scale(0.7);
}

.audio-controls .slider-row {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
}

.volume-control { width: 100%; max-width: 420px; display:flex; align-items:center; }
.volume-control input[type="range"] {
    width: 100%;
    max-width: 380px;
    appearance: none;
    -moz-appearance: none;
    background: transparent;
}

/* Webkit track */
.volume-control input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: #5d1586;
    border-radius: 999px;
}

/* Webkit thumb */
.volume-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;      /* replaced -webkit-appearance */
    -moz-appearance: none; /* Firefox */
    width: 16px;
    height: 16px;
    background: #4d1fb9; /* purple thumb */
    border-radius: 10px; /* oval */
    margin-top: -5px;
    box-shadow: 0 2px 6px rgba(77,31,185,0.35);
    cursor: pointer;
}

/* Firefox track/thumb */
.volume-control input[type="range"]::-moz-range-track {
    height: 6px;
    background: #5d1586;
    border-radius: 999px;
}
.volume-control input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #4d1fb9;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(77,31,185,0.35);
    cursor: pointer;
}

/* current label (under slider) */
#audio-current {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #fff;
    text-align: center;
}

.audio-current,
#audio-current {
    width: 100%;
    max-width: 640px;
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
    margin-top: 4px;
    padding: 0 8px;
    box-sizing: border-box;
}

/* small screens: reduce gaps and stack if needed */
@media (max-width: 520px) {
    .audio-controls .btn-row { gap: 6px; padding: 0 4px; }
    .audio-controls .btn-row .buttonpp { min-width: 44px; height: 40px; font-size: 0.95rem; }
    .volume-control input[type="range"] { max-width: 100%; }
}

/* 

    KONIEC AUDIO PLAYERA

*/

footer{
    text-align: center;
    align-items: center;
    background: #000000df;
    font: 12px 'comic sans ms';
    color: rgb(255, 255, 255);
}

.button1 {
    display: inline-block;
    background: blue;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    margin: 8px 8px 0 0;
    border-radius: 16px;
    font-size: 1.1em;
    font-family: inherit;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(34,197,94,0.15);
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
    border: none;
    cursor: pointer;
}

.button1:hover  {
    transform: scale(0.96);
    box-shadow: 0 1px 4px rgba(2, 255, 94, 0.25);
    background: #1374c4;
}

.button1:active{
    transform: scale(0.8);
}
.tvoy-stary {
    text-align: center;
    font-size: 15px;
    color: white;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

#orientation-overlay {
    position: fixed;
    inset: 0;
    display: none;               /* toggled by script */
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    padding: 20px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.orientation-message {
    background: #0b0b0b;
    color: #fff;
    padding: 22px;
    border-radius: 12px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    text-align: center;
}

.orientation-text {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.4;
}

/* reuse .button1 styling already in file; override small adjustments */
.orientation-actions .button1 {
    padding: 10px 18px;
    border-radius: 10px;
}
hr {
    border: none;
    border-top: 1px solid #444;
    margin: 15px 0;
}
.abt-me-lst {
    text-align: left;
    display: inline-block;
    font-size: 16px;
}


.buttonfooter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: blue;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    margin: 8px 8px 0 0;
    border-radius: 16px;
    font-size: 1.1em;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(34,197,94,0.15);
    transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
    border: none;
    cursor: pointer;
    flex: 1 1 14%;
}

.buttonfooter:hover  {
    transform: scale(0.96);
    box-shadow: 0 1px 4px rgba(2, 255, 94, 0.25);
    background: #1374c4;
}

.buttonfooter:active{
    transform: scale(0.8);
}

.przyciski_stopki_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.pfooter {
    font: 15px 'arial serif';
}
.q35px{
    font-size: 35px;
}

.smth-w-white{
    color: white;
    font-weight: bold;
    font-family: comic sans ms, sans-serif;
}

.iframe-rounded{
    border-radius: 15px;
}
.footer-iframe{
    border-radius: 15px;
    width: 100%;
    height: 315px;
    border: none;
    margin: 10px 0;
}
.white-bold-link{
    color: white;
    font-weight: bold;
    text-decoration: none;
}
.img-footer{
    height: 20px;
    margin-right: 4px;
    border-radius: 4px;
}
.spinning-milk{
    width: 500px;
}