@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: #323332;
}


body {
    width: 100vw;
    overflow-x: hidden;
    background: #0A0A0A;
    color: #fff;
    font-size: 16px;
}

.background {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1000;
    background: url('../assets/bg.webp');
    background-size: cover;
    height: 100vh;
    width: 100vw;
}

.background::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -999;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.15);
}

.header {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 50px 0 50px;
}

.logo {
    transition: all .3s ease-in-out;
    border: none;
}

.logo:hover,
.logo:focus {
    transform: scale(1.05);
    transform: translate(2px 7px);
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.index-ul li a,
.index-ul li {
    background: transparent;
    border: none;
    align-items: center;
    text-align: center;
    transform: translateX(42px);
    margin: -5px;
    margin-top: 50px;
    font-weight: bold;
    color: #888;
}

.logo h1 {
    position: relative;
    font-weight: 800;
    font-size: 36px;
    z-index: 10;
    left: 20px;
}

@keyframes logoAfter {
    from {
        transform: translate(0);
    }
    to {
        transform: translate(2px, 7px);
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease-in-out;
}

nav a:hover,
nav a:focus {
    color: var(--color-one);
    outline: none;
}

.header a {
    width: 250px;
    padding: 10px 20px;
    height: 60px;
    border-radius: 5px;
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.header button a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    display: block;
    width: 100%;
    height: 100%;
}

.logo .after {
    position: absolute;
    left: 0;
    transform: translate(2px, -10px);
    top: 0;
    color: var(--color-one);
    z-index: -1;
    margin-top: 0px;
    animation: logoAfter .3s ease-in-out;
}

.paragraph {
    width: 100vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 0 20%;
    position: relative;
    color: white;
}

.paragraph h1 {
    font-size: 60px; 
    font-weight: bold;
    height: auto;
}

.paragraph p {
    font-size: 18px;
    color: #d1d1d1; 
    line-height: 1.5; 
    max-width: 80%; 
}

.button-container {
    display: flex;
    gap: 10px; 
    justify-content: center;
    margin-top: 0px; 
}

.shop-button {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #1b1b1f;
    border: 1px solid #555; 
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, border-color 0.3s;
}

.shop-button .material-symbols-outlined {
    color: #555;
    font-size: 20px;
}

.shop-button:hover {
    border-color: #888;
}

.shop-button .material-symbols-outlined:hover {
    color: #fff;
    font-size: 20px;
}

.shop-button .tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.shop-button .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 3px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.shop-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


.connect-button {
    position: center;
    width: 200px;
    height: 50px;
    background-color: var(--color-one);
    border: 1px solid #000000; 
    border-radius: 7px;
    display: flex;
    font-size: 16px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, border-color 0.3s;
}

.connect-button:hover {
    background-color: #fff;
}

@keyframes paragraph {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-box {
    width: 60vw;
    background-color: rgba(25, 25, 30);
    border-radius: 5px;
    padding: 25px 50px;
}

nav button {
    color: #fff;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input,
.blocked-input {
    width: 100%;
    height: 50px;
}

textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 130px;
    max-height: 250px;
}

input,
textarea,
.blocked-input {
    padding: 10px 20px;
    color: #fff;
    font-size: 24px;
    background: rgb(20, 20, 25);
    border: none;
    border-radius: 3px;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--color-one);
    background: rgb(23, 23, 28);
}

form button {
    width: 300px;
    margin-top: 15px;
    font-size: 16px;
    background: var(--color-one);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    border: none;
}

form button:hover {
    background: var(--color-two);
}

form label {
    font-weight: 600;
    font-size: 28px;
    margin: 10px 0;
}

.l {
    margin: 50px 0;
    text-align: center;
}

.l label, .l h2, .label {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-one);
}

.app-ul {
    width: 60vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.button-app {
    width: 300px;
    border: none;
    border-radius: 5px;
    transition: all .5s ease-in-out;
    background: var(--color-two);
    padding: 10px 20px;
}

.button-app:hover {
    background: var(--color-one);
}

.button-app a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 20px !important;
}

.button-app a:hover {
    color: #fff;
}

.errs {
    color: #be0000;
    font-size: 20px;
    font-weight: 600;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #0A0A0A;
    border-top: 1px solid #2a2a2a;
    color: #fff;
    width: 100%;
    animation: fadeIn 1.5s ease-in-out;
  }
  
  .footer p {
    color: #c5c5c5;
    text-align: center;
  }
  
  .socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

.socials img {
    width: 30px;
    height: 30px;
}
  .links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 10px 0;
  }
  
  .links a {
    text-decoration: none;
    color: #fff;
    position: relative;
  }
  
  .links a:hover::after {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 15px;
  }


.logged-via-dsc {
    background: #1b1b1f;
    border-radius: 5px;
    outline: none;
    color: #fff;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 22px;
    padding: 10px 35px;
    justify-content: center;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

.logged-via-dsc:hover {
    background: rgb(37, 37, 56);
}

.logged-via-dsc:hover~nav,
.logged-via-dsc:focus~nav,

.logged-via-dsc .dsc-avatar {
    display: grid;
    place-items: center;
}

.logged-via-dsc img {
    height: 50px;
    width: 50px;
    border-radius: 100%;
}


a.logout {
    color: #9b1515;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    z-index: 10;
    cursor: pointer;
}

a.logout:hover {
    color: #be0000;
}

.color-bar .dsc-avatar {
    position: absolute;
    left: 50px;
    bottom: 0;
    transform: translateY(50%);
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    background: #27272b;
    border-radius: 100%;
}

.color-bar .dsc-avatar img {
    width: 86px;
    height: 86px;
    border-radius: 100%;
}




main {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rules-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.regulaminy {
    display: flex;
    flex-direction: row;
    gap: 20px; 
    margin-bottom: 10px;
}

.dokumenty {
    display: flex;
    flex-direction: row;
    gap: 20px; 
    margin-bottom: 500px;
}

.rules-box h1 {
    margin: 50px 0 1px 0;
    font-size: 30px;
    font-weight: bolder;
}

.rules-box button {
    display: flex;
    align-items: center;
    width: 400px;
    height: 50px;
    background-color: #171717;
    border: 1px solid #404040; 
    border-radius: 7px;
    font-size: 14px; 
    font-weight: bolder;
    color: white;
    cursor: pointer;
    text-align: left;
    margin-top: 20px;
    transition: background-color 0.3s, border-color 0.3s;
    padding: 0 10px;
}

.rules-box button span.material-symbols-outlined {
    border: 1px solid black;
    border-radius: 7px;
    font-size: 20px;
    margin-right: 10px;
    padding: 5px;
}

.rules-box button.przycisk1 span.material-symbols-outlined {
    background-color: darkgreen;
}

.rules-box button.przycisk2 span.material-symbols-outlined {
    background-color: darkred;
}

.rules-box button.przycisk3 span.material-symbols-outlined {
    background-color: #6366F1;
}

.rules-box button.przycisk4 span.material-symbols-outlined {
    background-color: #63acf1;
}

.rules-box button:hover {
    background-color: #262626;
}

.rules-box button.przycisk3 {
    background-color: #171717;
    cursor: not-allowed; 
    opacity: 0.6; 
}

.rules-box button.przycisk3.on {
    cursor: pointer;
    background-color: #171717;
    opacity: 1;
}

.fazeteam-only {
    color: black;
    background-color: white;
    border: 2px solid black;
    border-radius: 50px;
    font-weight: bold;
    align-items: center;
    margin-left: 15%;
    text-align: center;
    padding: 3px 6px;
}

.dokumenty-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.spis-tresci-container {
    position: fixed;
    left: 5%;
    display: block;
    flex-direction: column;
    width: 14.5%;
    height: 40%;
    border: 1px solid #404040;
    border-radius: 10px;
    margin-right: 10%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.6s forwards;
    animation-delay: 0.3s; 
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spis-tresci-container a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s; 
}

.spis-tresci-container a:hover {
    color: #00D1FF ; 
}

.spis-tresci-container h6 {
    font-size: 20px;
    margin-top: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 0.5s forwards;
    opacity: 0; 
    animation-delay: 0.3s;
}

.spis-tresci-container h6 {
    animation-delay: 0s;
}

.spis-tresci-container p {
    font-size: 13px;
    margin-top: 10px;
    justify-content: left;
    margin-left: 15px;
    color: gray;
    opacity: 0; 
    transform: translateY(10px); 
    animation: fadeInRise 0.4s forwards; 
}

@keyframes fadeInRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spis-tresci-container p:nth-child(1) { animation-delay: 0.5s; }
.spis-tresci-container p:nth-child(2) { animation-delay: 0.6s; }
.spis-tresci-container p:nth-child(3) { animation-delay: 0.7s; }
.spis-tresci-container p:nth-child(4) { animation-delay: 0.8s; }
.spis-tresci-container p:nth-child(5) { animation-delay: 0.9s; }
.spis-tresci-container p:nth-child(6) { animation-delay: 1s; }
.spis-tresci-container p:nth-child(7) { animation-delay: 1.1s; }
.spis-tresci-container p:nth-child(8) { animation-delay: 1.2s; }
.spis-tresci-container p:nth-child(9) { animation-delay: 1.3s; }
.spis-tresci-container p:nth-child(10) { animation-delay: 1.4s; }
.spis-tresci-container p:nth-child(11) { animation-delay: 1.5s; }

.dokumenty-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 1000px;
    border: 1px solid #404040;
    border-radius: 7px;
    margin-bottom: 100px;
}

.dokumenty-box.ogolny {
    height: 4400px;
}

.dokumenty-box.crime {
    height: 3350px;
}

.dokumenty-box.taryfikator {
    height: 750px;
}

.dokumenty-box.permisje {
    height: 10550px;
}

.dokumenty-box h1 {
    color: var(--color-one);
    font-size: 50px;
    text-align: center; 
    align-self: flex-start; 
    width: 100%; 
    margin-top: 30px; 
}

.dokumenty-box h2 {
    color: var(--color-one);
    font-size: 30px;
    text-align: center; 
    width: 100%; 
    margin-top: 25px; 
    margin-bottom: 10px;
}

.dokumenty-box h3 {
    color: var(--color-one);
    font-size: 20px;
    text-align: center; 
    width: 80%; 
    margin-top: 100px; 
    margin-bottom: 10px;
}

.dokumenty-box p {
    color: gray;
    font-size: 15px;
    text-align: left; 
    width: calc(100% - 50px);
    margin-top: 5px; 
    margin-left: 50px;
    padding-right: 50px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.dokumenty-box h4 {
    color: gray;
    font-size: 15px;
    text-align: left; 
    font-weight: normal;
    width: calc(100% - 130px);
    margin-top: 5px; 
    margin-left: 50px;
    padding-right: 50px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.dokumenty-box h5 {
    color: white;
    font-size: 15px;
    text-align: left; 
    font-weight: normal;
    width: calc(100% - 50px);
    margin-top: 20px; 
    margin-left: 50px;
}

.dokumenty-box h6 {
    color: gray;
    font-size: 15px;
    text-align: left; 
    font-weight: normal;
    width: calc(100% - 10px);
    margin-left: 50px;
}


.table-container {
    width: 95%;
    overflow-x: auto; 
    margin: 20px 0;
    border: 1px solid #323332;
    border-radius: 10px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse; 
    margin: 0 auto;
}

.table-container th, .table-container td {
    border: 1px solid #323332; 
    padding: 10px; 
    text-align: center;
}

.table-container th {
    background-color: #0A0A0A;
    color: white;
}

.table-container td {
    background-color: #0A0A0A;
    color: #fff;
}

.table-container tr:nth-child(even) td {
    background-color: #0A0A0A;
}


.dokumenty-box button.exit-button {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #1b1b1f;
    border: 1px solid #555;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.dokumenty-box button.exit-button .material-symbols-outlined {
    color: #fff;
    font-size: 20px;
}

.dokumenty-box button.exit-button:hover {
    border-color: #888;
}

.dokumenty-box button.exit-button:hover .material-symbols-outlined {
    color: #fff;
}

.dokumenty-box button.exit-button .tooltip {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.dokumenty-box button.exit-button .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 40%;
    margin-left: -5px;
    border-width: 3px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.dokumenty-box button.exit-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


.glowna h1 {
    margin-top: 600px; 
    margin-left: 15%;
    text-align: left;
    font-size: 56px; 
    color: #fff; 
}

.glowna p {
    margin-top: 200px; 
    margin-left: 15%;
    text-align: left;
    font-size: 15px;
    color: gray;
    word-break: break-word;
    overflow-wrap: break-word;
    width: calc(100% - 130px);
    margin-top: 5px; 

}

.polacz-button {
    position: center;
    width: 220px;
    height: 40px;
    background-color: #fff;
    border: 1px solid #000000; 
    border-radius: 7px;
    display: flex;
    font-size: 16px; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 15%;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

.zdjecia {
    position: absolute;
    right: 15%; 
    top: 70%; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .zdjecia:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
} */

.container-glowna{
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 300px;
}

.custom-hr {
    border: 0;
    border-top: 1px solid #323332;
    margin: 250px auto;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 75px;
}

.nowy-hr {
    border: 0;
    margin: 50px auto;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 190px;
}

.faq-box {
    width: 80%;
    margin: 0 auto;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.faq-box h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.faq-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
    margin-left: 0px;
}

.faq-item {
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #0A0A0A;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
    font-weight: normal;
    font-size: 18px;
    color: white;
    transition: transform 0.3s ease; 
}

.faq-question .material-symbols-outlined.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: grey;
    padding-top: 0;
}

.faq-answer a {
    color: white;
    text-decoration: none;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-help {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    background-color: #2a2a2a;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-help-text {
    text-align: center;
}

.faq-help-button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #f1f1f1;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-help-button:hover {
    background-color: #ddd;
}

.avatar {
    width: 60px;
    height: 60px; 
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    top: 25px;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-menu {
    display: none;
    position: absolute;
    top: 100px;
    right: 0;
    background-color: #1a1a1a;
    width: 400%;
    height: 100px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid #404040;
    z-index: 1;
    border-radius: 20px;
}

.avatar-menu h1 {
    font-size: 15px;
    position: absolute;
    left: 5%;
    top: 10%;
}

.avatar-menu hr {
    color: #404040;
}

.avatar-menu a {
    color: red;
    text-decoration: none;
    display: block;
    position: absolute;
    top: 54%;
}

.avatar-menu hr {
    border: 0;
    border-top: 1px solid #404040;
    margin: 50px 0%;
    width: 100%;
}

.avatar-menu.show {
    display: block;
}

.section-3 {
    width: 100vw;
    height: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .about-title {
    font-size: 45px;
    font-weight: bold;
    position: relative;
    text-align: center;
    color: var(--color-one);
  }

  .about-title.founders {
    margin-top: -60px;
  }

  .about-title.ceo {
    margin-top: 20px;
  }
  
  .about-boxes {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 1000px;

  }
  
  .about-box {
    background-color: transparent;
    width: 400px;
    height: 250px;
    perspective: 1000px;
    margin: 25px 30px;
  }
  
  .about-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1s;
    transform-style: preserve-3d;
  }
  
  .about-box:hover .about-box-inner {
    transform: rotateY(180deg);
}

  .about-box-front, .about-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  .about-box-front {
    background-color: rgb(0, 0, 0, 0.3);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.55) 0px 5px 15px;
  }
  
  .about-box-back {
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.55) 0px 5px 15px;
    background-color: rgb(20, 20, 20, 1);
    color: var(--color-one);
    transform: rotateY(180deg);
    position: relative;
    overflow: hidden;
  }

  .about-box-back .about-box-back-bg {
    width: 400px;
    height: 250px;
    position: absolute;
  }
  
  .about-avatar {
    width: 150px;
    height: 150px;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    margin-top: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 1) 0px 0px 30px;
  }
  
  .about-name {
    position: relative;
    color: var(--tekst-ciemniejszy);
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    margin-top: 15px;
    text-shadow: rgba(0, 0, 0, 1) 0 5px 4px;
  }

  .about-name.bartus {
    font-family: 'Courier New', Courier, monospace;
    color: #4D7EE8;
    text-shadow: 0 0 5px #4D7EE8, 0 0 10px #4D7EE8, 0 0 20px #4D7EE8, 0 0 40px #4D7EE8;
    animation: goradolAnimacja 5s infinite;
}
  
  .about-back-text {
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.about-back-text.bartus {
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


  .about-back-contact {
    color: white;
    font-weight: normal;
    font-size: 18px;
    font-family: 'Open sans', sans-serif;
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: 20px;
    user-select: all;
    cursor: pointer;
  }

  .about-back-contact.bartus {
    animation: fadeIn 3s ease-in-out;
}


  .about-back-contact a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}


@keyframes goradolAnimacja {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-70px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes backgroundAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Montey Dodatki */
.particle-container {
    position: relative;
    width: 100%;
    height: 200px; 
    overflow: hidden;
    background: #141414;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.customText {
    position: relative;
    z-index: 2; 
    text-align: center;
}

.customText p {
    color: #fff;
    font-family: monospace;
    overflow: hidden;
    border-right: 0.15em solid #00D1FF;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    width: 0;
    animation: none;
}

/* Animations */
@keyframes typing {
    from { width: 0; }
    to { width: 50%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color:#00D1FF; }
}

/* Trigger animation on hover */
.about-box-back:hover .customText p {
    animation: 
        typing 3.5s steps(30, end) forwards,
        blink-caret 0.5s step-end infinite;
}

.text {
    font-family: 'Fira Mono', monospace;
    font-size: 30px;
    position: relative;
    display: inline-block;
    color: #016BAD;
    text-shadow: 0 0 10px #016BAD, 0 0 20px #016BAD, 0 0 30px #7CE9ED, 0 0 40px #7CE9ED;
    animation: glow 5s infinite alternate;
    line-height: 1em; 
    margin: 0 auto; 
    text-align: center; 
    transform: translate(-50%, -50%); 
    position: absolute; 
    left: 50%; 
    top: 80%; 
}

@keyframes glow {
    0% {
        color: #0193ad;
        text-shadow: 0 0 10px #016BAD, 0 0 20px #016BAD, 0 0 30px #7CE9ED, 0 0 40px #7CE9ED;
    }
    100% {
        color: #7CE9ED;
        text-shadow: 0 0 15px #7CE9ED, 0 0 25px #7CE9ED, 0 0 35px #51afe9, 0 0 50px #279ae2;
    }
}

canvas { 
    overflow: hidden;
    width: 400px;
    height: 250px;
 }


 .koncowka {
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 0;
    width: 100%;
}

.koncowka::before {
    content: '';
    position: absolute;
    top: 760px;
    left: 50%;
    width: 460%;
    height: 350px;
    background: linear-gradient(to bottom, #003366, #007acc);
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: -1;
}

.koncowka-tekst {
    position: relative;
    z-index: 1;
    text-align: center;
}

.koncowka h1 {
    font-size: 26px;
    position: relative;
    top: 680px;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center; 
}

.koncowka h2 {
    font-size: 20px;
    font-weight: normal;
    color: rgb(158, 158, 158);
    position: relative;
    top: 700px;
    left: 50%;
    transform: translate(-50%, -50%); 
    text-align: center; 
}

.discord-button {
    position: absolute;
    top: 790px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 40px;
    background-color: #5aa5e0;
    border: 1px solid #003366; 
    color: black;
    border-radius: 7px;
    font-size: 16px; 
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}
.discord-button:hover {
    background-color: #0295df; 
    border: 1px solid #007acc; 
    color: black; 
}

.discord-button:hover:active {
    background-color: #FF3D00; 
    border-color: #C70039; 
    color: black; 
}



.footer.glowna {
    margin-top: 1100px;
    align-items: center;
}

.footer.glowna p {
    color: #c5c5c5;
    text-align: center;
    margin: 0;
    margin-left: 60px;
  }


  .key {
    font-size: 66px;
    display: inline-block;
    letter-spacing: 0px;
    font-weight: bold;
    transition: transform 0.2s;
  }


@keyframes pressDown1 {
    30%,
    40%,
    100% {
      transform: translateY(0);
    }
    35% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown2 {
    70%,
    80%,
    100% {
      transform: translateY(0);
    }
    75% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown3 {
    30%,
    40%,
    100% {
      transform: translateY(0);
    }
    35% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown4 {
    40%,
    50%,
    100% {
      transform: translateY(0);
    }
    45% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown5 {
    20%,
    30%,
    100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown6 {
    60%,
    70%,
    100% {
      transform: translateY(0);
    }
    65% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown7 {
    10%,
    20%,
    100% {
      transform: translateY(0);
    }
    15% {
      transform: translateY(10px);
    }
  }
  
  @keyframes pressDown8 {
    35%,
    45%,
    100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(10px);
    }
  }
  
  
  
  .key:nth-child(1) {
    animation: pressDown1 2s infinite;
  }
  
  .key:nth-child(2) {
    animation: pressDown2 3s infinite;
  }
  
  .key:nth-child(3) {
    animation: pressDown3 4s infinite;
  }
  
  .key:nth-child(4) {
    animation: pressDown4 2.5s infinite;
  }
  
  .key:nth-child(5) {
    animation: pressDown5 2.5s infinite;
  }
  
  .key:nth-child(6) {
    animation: pressDown6 3.5s infinite;
  }
  
  .key:nth-child(7) {
    animation: pressDown7 2.2s infinite;
  }
  
  .key:nth-child(8) {
    animation: pressDown8 3.2s infinite;
  }


  .text-animation {
    position: relative;
    bottom: 155px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 20px;
    z-index: 2;
    white-space: pre-line;
}

.text-animation span {
    position: relative;
    opacity: 0;
    display: inline-block;
    animation: none;
}

.about-box-back:hover .text-animation span {
    animation: textAnimation 4s ease-in-out forwards;
    text-shadow: 0 0 5px #4D7EE8, 0 0 10px #4D7EE8, 0 0 20px #4D7EE8, 0 0 40px #4D7EE8;
}

.text-animation .space {
    display: inline-block;
    width: 10px;
}

@keyframes textAnimation {
    from {
        transform: translate(var(--random-x), var(--random-y)) rotate(var(--random-rotation));
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

/* GUZIK ZALOGUJ ANIMATION */
.glow-on-hover {
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    background: #111;
    border: 1px solid #353434;
    border-radius: 5px;
    outline: none;
    margin-top: 25px;
    transition: all .55s ease-in-out;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #00D1FF, #00A3CC, #007F99, #005F66, #003F33, #0066ff, #00FFD5, #00FF8C, #00D1FF);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


@media (max-width: 700px) {
    .header {
        flex-direction: column; /* Stosuj układ kolumnowy w nagłówku */
        padding: 10px; 
    }
    .after,.spis-tresci-container,.faq-help,.zdjecia {
        display: none;
    }
    .index-ul {
        flex-direction: column; /* Ułożenie pionowe linków */
        align-items: center; /* Wyśrodkowanie linków */
    }
    .exit-button {
        transform: translateX(-35px);  /* Przesunięcie w lewo o 10 pikseli */
    }
    .keyboard {
        margin-top: 100px;
    }
    .section-3 {
        margin-bottom: 350px;
    }
    .index-ul li {
        margin-top: 2px; 
        margin-bottom: 2px; 
        transform: translateX(0px);
    }
    .regulaminy,.dokumenty {
        flex-direction: column;
    }
    .paragraph {
        padding: 0 10%; 
        font-size: 20px; 
    }
    .container-glowna {
        flex-direction: column;  /* Układ pionowy zamiast poziomego */
        padding-top: 100px;  /* Zmniejszenie górnego paddingu */
        gap: 10px;  /* Zmniejszenie odległości między elementami */
        width: 90%;  /* Zmniejszenie szerokości kontenera */
        margin: 0 auto;  /* Wyśrodkowanie kontenera */
    }

    .paragraph h1 {
        font-size: 40px; /* Mniejsze rozmiary nagłówka */
    }

    .button-container {
        flex-direction: column; /* Ułożenie przycisków w kolumnie */
        margin-top: 25px;
    }

    .shop-button,
    .connect-button,
    .polacz-button {
        width: 100%; /* Szersze przyciski */
        margin: 2px 0; /* Odstęp między przyciskami */
    }

    .faq {
        width: 100%; /* Pełna szerokość FAQ */
    }

    .faq-container {
        flex-direction: column; /* Ułożenie FAQ w kolumnie */
        margin: 0; /* Reset marginesu */
    }

    .about-box {
        width: 90%; /* Szerokość dla sekcji "O nas" */
        margin: 15px 0; /* Odstęp między pozycjami */
    }

    .glowna h1 {
        margin-top: 50px; /* Mniejsze marginesy na ekranach mobilnych */
        font-size: 30px;
        text-align: center;
        transform: translateX(-28px);
    }

    .glowna p {
        margin-top: 20px; /* Mniejsze marginesy */
        margin-bottom: 20px;
        width: 70%; /* Pełna szerokość */
        text-align: center;
    }

    .zdjecia {
        position: relative; /* Usunięcie pozycji absolutnej */
        margin: 10px 0; /* Odstęp */
        width: 100%; /* Pełna szerokość */
    }

    .about-avatar {
        width: 100px; /* Mniejsze avatary */
        height: 100px;
    }
}