body {
    
    color: white;
    font-family: sans-serif;

    
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    }

body {
    margin: 0px;
    background-color: #080808;
}

#logo-text {
    width: auto;
    height: 67px;
    display: flex;
    align-items: left;
    padding-top: 24px;

}

.logo {
    height: 67px;
    width: 67px;
    fill: currentColor;
    color: white;
    display: inline-block;
    transition: color 0.3s ease;
}

.header {
    position: fixed;
    top: 0;
    display: flex;
    margin: 0;
    padding: 0;
}

nav {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9998;
    text-align: left;
    height: 100dvh;
    background-color: #171717;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

nav a, nav svg{
    font-size: 20px;
    padding: 15px;
    margin-left: 10px;
}

nav a:hover, nav svg:hover {
    color: #31FC00;
    cursor: pointer;
}

nav svg {
    justify-content: right;
    margin-left: auto;
}

.hidden {
    display: none;
}


.no-bg {
    background: transparent;
    pointer-events: none;
    width: auto;
    height: auto;
    min-width: 0;
}

.no-bg svg.hamburger {
    pointer-events: auto;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

header {
    background-image: url("hero-tel2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

#cta-buttons {
    display: flex;

}

#cta-button {
    background-color: #31FC00;
    padding: 12px 14px;
    width: calc(50% - 30px);
    border-radius: 18px;
    text-align: center;
    color: #080808;
    margin: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

#projects-button {
    background-color: transparent;
    padding: 12px 14px;
    width: calc(50% - 30px);
    border-radius: 18px;
    text-align: center;
    color: white;
    margin: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

#projects-button span, #cta-button span {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#projects-button span::after, #cta-button span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

#projects-button span::after {
    background-color: white;
}

#cta-button span::after {
    background-color: #080808;
}

#projects-button:hover span::after, #cta-button:hover span::after {
    width: 100%;
}


#text {
    font-size: 28px;
    margin: 0;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    font-weight: 700;
}


a {
    text-decoration: none;
    color: white;
}

#skills {
    display: flex;
    background-color: #31FC00;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 0;
        
}



h2 {
    color: #080808;
    margin: 12px;
}

#image {
    width: 100%;
    height: 10px;
}
.skills-pictures {
    width: 22px;
    height: 22px;
    background-color: #31FC00;
    
}


h5 {
    font-size: 24px;
    padding: 4px;
    
}

h3 {
    font-size: 35px;
    padding: 4px;
}

.color {
    color: #31FC00;
}

#avatar {
    width: 400px;
    height: 400px;
    border-radius: 50%;

}
#about-me {
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
}

#work-process {
    text-align: center;   
}


.to-flex {
    display: flex;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.work {
    padding: 20px;
}

.bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.bar.scrolled {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-divs a {
    display: flex;
    align-items: center;
}

#projects {
    text-align: center;
}


#work-process img {
    width: 100px;
    height: 100px;
}

#projects div {
    border: 0.2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
}

#projects div:hover{
    border: 0.3px solid #31FC00
}

#projects img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

h1 {
    font-size: 260%;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

#header-section p {
    font-size: 180%;
    padding-left: 15px;
    padding-right: 15px;
}

#header-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
    min-height: 100dvh;
}

#contact {
    background-color: #FFFCE1;
    color: #080808;
    padding: 35px 20px;
    margin: 10px;
    text-align: left;
    border-radius: 10px;
    min-height: 100dvh;
}

#contact h2 {
    font-size: 45px;
    margin: 0;
}


strong {
    font-size: 32px;
}

.contact-describe {
    display: flex;
    flex-direction: column;
}
input, textarea {
    padding: 12px 18px;
    border: 1.5px solid #080808;
    font: inherit;
    background-color: transparent;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #080808;
    color-scheme: light;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:not([type="radio"]) {
    height: auto;
    min-height: 54px;
}

input:not([type="radio"]):focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(8, 8, 8, 0.25);
}

#contact input:not([type="radio"]):-webkit-autofill,
#contact input:not([type="radio"]):-webkit-autofill:hover,
#contact input:not([type="radio"]):-webkit-autofill:focus,
#contact input:not([type="radio"]):-webkit-autofill:active,
#contact textarea:-webkit-autofill,
#contact textarea:-webkit-autofill:hover,
#contact textarea:-webkit-autofill:focus,
#contact textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #FFFCE1 inset;
    box-shadow: 0 0 0 1000px #FFFCE1 inset;
    -webkit-text-fill-color: #080808;
    caret-color: #080808;
    border: 1.5px solid #080808;
    color-scheme: light;
    transition: background-color 5000s ease-in-out 0s;
}

#contact input:not([type="radio"]):-webkit-autofill:focus,
#contact textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #FFFCE1 inset, 0 0 0 2px rgba(8, 8, 8, 0.25);
    box-shadow: 0 0 0 1000px #FFFCE1 inset, 0 0 0 2px rgba(8, 8, 8, 0.25);
}

#contact input:not([type="radio"]):autofill,
#contact textarea:autofill {
    background-color: #FFFCE1;
    color: #080808;
    box-shadow: 0 0 0 1000px #FFFCE1 inset;
    border: 1.5px solid #080808;
    color-scheme: light;
}

textarea{
    resize: vertical;
    margin-bottom: 10px;
}

button {
    background-color: #080808;
    color: white;
    border: 2px solid #080808;
    border-radius: 40px;
    padding: 18px 32px;
    font-size: 18px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-status {
    margin: 14px 0 0 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    color: #0b5e00;
    background-color: rgba(49, 252, 0, 0.2);
    border: 1px solid #138a00;
    padding: 12px 16px;
    border-radius: 10px;
}

.form-status.error {
    color: #9e1c1c;
    background-color: rgba(200, 30, 30, 0.1);
    border: 1px solid #9e1c1c;
    padding: 12px 16px;
    border-radius: 10px;
}

#contact hr{
    width: 100%;
    border: 0.01px solid #080808;
}


.group-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
  padding-top: 20px;
  display: inline-block;
}

.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Odstępy między przyciskami */
}

/* 1. Ukrywamy domyślne kółko (z zachowaniem dostępności dla klawiatury) */
.pills-container input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* 2. Stylizujemy label jako przycisk-pigułkę */
.pills-container label {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid #222222;
  border-radius: 40px; /* Duża wartość tworzy kształt pigułki */
  color: #1a1a1a;
  background-color: transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  user-select: none; /* Zapobiega zaznaczaniu tekstu przy szybkim klikaniu */
  transition: all 0.2s ease;
}

/* Efekt po najechaniu myszką */
.pills-container label:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* 3. Styl dla zaznaczonej opcji (+ oznacza sąsiadujący label) */
.pills-container input[type="radio"]:checked + label {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Opcjonalnie: ramka fokusu przy nawigacji klawiaturą (Tab) */
.pills-container input[type="radio"]:focus-visible + label {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

#intro {
    height: auto;
    margin: 50px 20px;
}

#intro p {
    font-size: 30px;
    color: #FFFCE1;
}

.word {
  animation: fade-in linear both;
  animation-timeline: view();
  /* Animacja zaczyna się, gdy element wchodzi od dołu (entry 0%), 
     a kończy pełną widocznością, gdy osiągnie 40% wysokości ekranu (cover 40%) */
  animation-range: entry 0% cover 40%;
}

@keyframes fade-in {
  from {
    opacity: 0.15;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer img {
    height: 20px;
    width: auto;
}

#about-me p {
    font-size: 20px;
}

#about-me img {
    height: 18px;
    width: auto;
}

.skills {
    display: inline-block;
    padding: 10px 20px;
    border: 0.2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 5px;
}

.kontener {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kontener > .skills {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.skills:hover {
    border: 0.3px solid #31FC00;
}

#skills_group {
    display: inline-block;

    justify-content: center;
}

pre {
    font-size: 2px;
    background-color: #171717;
    text-align: center;
    border-radius: 10px;
    line-height: 1.3;
}

#after-pre {
    background-color: #171717;
    border-radius: 10px;
    padding: 10px;
}

#in-price svg, footer svg, #offert svg {
    color: #31FC00;
    padding: 7px;
}

section{
    margin: 10px;
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 10px;
}

#in-price {
    background-color: #171717;
}

#in-price h3, #offert h3 {
    padding-left: 15px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;

}

#contact-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;

}

#mail, #phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

footer a:hover {
    color: #31FC00;
}

footer p {
    font-size: 16px;
}

#projects a:hover{
    color: #31FC00;
}

#projects{
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#price {
    color: #171717;
    font-weight: 600;
    background-color: #FFFCE1;
    border: 1px solid #171717;
    border-radius: 40px;
    text-align: center;
    padding: 18px;
    width: calc(100% - 35px);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

#price span {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#price span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #171717;
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

#price:hover span::after {
    width: 100%;
}

#contact p {
    font-size: 18px;
}

.mail {
    color: #171717;
    text-decoration: underline;
}

.old {
    display: none;
}

.subpage header {
    background-image: none;
}

#price-factors {
    padding-top: 90px;
    padding-bottom: 40px;
}

#price-factors .price-heading {
    font-size: 35px;
    padding: 4px 0;
    margin: 0 0 12px 0;
}

.price-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 0 28px 0;
    max-width: 760px;
}

.price-lead strong {
    font-size: inherit;
    color: #31FC00;
}

.custom-list {
  list-style: none; /* Ukrywa domyślną numerację */
  counter-reset: my-counter; /* Tworzy własny licznik */
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #ffffff;
}

.custom-list li {
  counter-increment: my-counter; /* Zwiększa licznik przy każdym elemencie */
  display: flex;
  align-items: flex-start;
  gap: 16px; /* Odstęp między numerem a tekstem */
  padding: 20px;
  background-color: #171717;
  border: 0.2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  line-height: 1.5;
  transition: border-color 0.25s ease;
}

.custom-list li:hover {
  border-color: #31FC00;
}

.custom-list li::before {
  /* Wyświetla licznik z zerem wiodącym (01, 02, 03...) */
  content: counter(my-counter, decimal-leading-zero);
  color: #31FC00;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0; /* Zapobiega ściskaniu numeru przy długim tekście */
}

.custom-list-content {
  min-width: 0;
  overflow-wrap: break-word;
}

.custom-list .custom-list-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.custom-list p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  margin: 0;
}

.price-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.price-cta-primary,
.price-cta-secondary {
  padding: 14px 24px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

.price-cta-primary {
  background-color: #31FC00;
  color: #080808;
}

.price-cta-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.25s ease;
}

.price-cta-secondary:hover {
  border-color: #31FC00;
}

.price-cta-primary span,
.price-cta-secondary span {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.price-cta-primary span::after,
.price-cta-secondary span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}

.price-cta-primary span::after {
  background-color: #080808;
}

.price-cta-secondary span::after {
  background-color: #ffffff;
}

.price-cta-primary:hover span::after,
.price-cta-secondary:hover span::after {
  width: 100%;
}

footer p {
    text-align: center;
    padding: 0 15px;
}

main {
    min-height: 100dvh;
}

@media (min-width: 768px) {
    #intro p {
        font-size: 40px;
    }

    #pre {
        display: flex;
        
    }
    #about-me p {
        font-size: 28px;
    }

    pre{
        font-size: 0.22rem;
    }

    #price-factors .price-heading {
        font-size: 48px;
    }

    .custom-list li {
        gap: 24px;
        padding: 24px;
    }

    .custom-list li::before {
        font-size: 2.5rem;
    }

    .custom-list .custom-list-title {
        font-size: 24px;
    }

    .custom-list p {
        font-size: 17px;
    }

    .price-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .price-cta-primary,
    .price-cta-secondary {
        min-width: 220px;
    }

}

@media (min-width: 1100px) {
    .old {
        display: flex;
        flex-direction: column;
    }

    #intro p {
        font-size: 50px;
    }
    pre {
        font-size: 3.5px;
    }

    #about-me p {
        font-size: 32px;
    }

    nav,
    nav.no-bg {
        position: fixed;
        right: 25px;
        top: 0;
        height: 70px;
        width: calc(100% - 300px);
        min-width: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        background: transparent !important;
        pointer-events: auto !important;
        z-index: 1001;
    }

    nav svg.hamburger,
    nav svg.x {
        display: none !important;
    }

    nav a,
    nav a.hidden {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        padding: 6px 0;
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: #31FC00;
        border-radius: 2px;
        transition: width 0.3s ease-in-out;
    }

    nav a:hover::after {
        width: 100%;
    }

    nav a:hover {
        color: #31FC00;
    }

    .menu-overlay {
        display: none !important;
    }

    h1 {
        font-size: 100px;
    }

    #header-section p {
        font-size: 200%;
    }

    #header-section a {
        font-size: 150%;
        font-weight: 600;
    }

    h3 {
        font-size: 67px;
    }

    main > section {
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 120px;
        padding-right: 120px;
        box-sizing: border-box;
    }

    #intro {
        width: calc(100% - 30px);
        margin: 80px auto;
        padding-left: 120px;
        padding-right: 120px;
    }

    #projects {
        max-width: none;
        width: calc(100% - 30px);
        margin: 60px auto;
        padding-left: 120px;
        padding-right: 120px;
    }

    #projects div {
        max-width: 800px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    #about-me {
        width: calc(100% - 30px);
        margin: 60px auto;
        padding-left: 120px;
        padding-right: 120px;
        background-color: #171717;
    }

    #offert {
        width: calc(100% - 30px);
        margin: 60px auto;
        padding-left: 120px;
        padding-right: 120px;
    }

    #in-price {
        width: calc(100% - 30px);
        margin: 60px auto;
        padding-left: 120px;
        padding-right: 120px;
        border-radius: 16px;
    }

    #in-price h3, #offert h3 {
        padding-left: 0;
    }

    #contact {
        width: calc(100% - 30px);
        margin: 80px auto;
        padding-left: 120px;
        padding-right: 120px;
        border-radius: 16px;
        min-height: auto;
        display: flex;
        gap: 30px;
    }

    .contact-describe {
        max-width: 45%;
        position: sticky;
        top: 90px;
        align-self: flex-start;
    }
    #contact h3 {
        margin: 0;
    }

    #contact-footer {
        display: flex;
        flex-direction: row;
        gap: 50px;
    }

    .kontener {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    #first, #second {
        width: calc(50% - 10px);
    }

    #third, #fourth, #fifth {
        width: calc((100% - 40px) / 3);
    }

    #secondb, #thirdb {
        width: calc(50% - 10px);
    }

    #firstb {
        width: 100%;
    }

    #price {
        max-width: 200px;
    }

    #price-factors {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    #price-factors .price-heading {
        font-size: 67px;
    }

    .price-lead {
        font-size: 20px;
        margin-bottom: 36px;
    }




}

@media (min-width: 1500px) {
    #about-me p {
        font-size: 45px;
    }
}

