* {
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
}

body, html {
    max-width: 100%;
    overflow-x: hidden; 
}

body {
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
}

header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    max-width: 100%;
    color: #52704D;
    z-index: 100;
    position: relative
}

header .logo img {
    width: 150px;
    padding: 0;
    margin-left: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #52704D;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
    overflow: ; 
}

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #52704D;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover::before, nav ul li a:focus::before {
    visibility: visible;
    transform: scaleX(1);
    left: 0;
}

.kontact-info {
    font-size: 1.1rem;
}

@media only screen and (max-width: 1100px) {
    header {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo, .kontact-info {
        margin-bottom: 10px;
        text-align: center;
    }

    nav ul {
        padding: 0;
        display: flex; 
        justify-content: center; 
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    nav ul li {
        display: inline; 
        margin: 5px;
    }
    
    .kontact-info {
        width: 100%;
        font-size: 1rem;
        text-align: center;
    }
}

/*header
/*baner*/

#banner {
    background-image: url('img/nowyban14042.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center; 
    align-items: center;
    color: white;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.banner-content {
    text-align: center; 
    font-family: "DM Sans", serif;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    font-weight: 500
}

.banner-content h3 {
    font-size: 2rem;
    font-style: italic;
    font-weight: 400
}

#llc {
    font-size: 3rem
}



#banner {
    position: relative;
    overflow: hidden; 
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center; 
    z-index: 2; 
}

#banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.65) 30%, transparent 70%);
    z-index: 1; 
}


@media only screen and (max-width: 426px) {
    #banner {
        height: 200px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 1.15rem;
        margin-bottom: 5px;
        margin-left: 5px
    }

    .banner-content h3 {
        font-size: 0.9rem;
        margin-left: 5px
    }


    .banner-contact p {
        margin-right: 5px; 
        font-size: 0.7rem;
    }

    .banner-contact i {
        display: none;
    }

    .banner-logo {
        display: none
    }
    
    #llc {
        font-size: 1rem
    }
}

@media only screen and (min-width: 426px) and (max-width: 570px) {
    #banner {
        height: 200px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 1.25rem;
        margin-bottom: 5px;
        margin-left: 5px
    }

    .banner-content h3 {
        font-size: 1rem;
        margin-left: 5px
    }


    .banner-contact p {
        margin-right: 5px; 
        font-size: 0.9rem;
    }

    .banner-contact i {
        display: none;
    }

    .banner-logo {
        display: none
    }
    
    #llc {
        font-size: 1rem
    }
}
@media only screen and (min-width: 570px) and (max-width: 700px) {
    #banner {
        height: 200px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 1.6rem;
        margin-bottom: 5px;
        margin-left: 5px
    }

    .banner-content h3 {
        font-size: 1rem;
        margin-left: 5px
    }


    .banner-contact p {
        margin-right: 5px; 
        font-size: 1rem;
    }

    .banner-contact i {
        display: none;
    }

    .banner-logo {
        display: none
    }
    
    #llc {
        font-size: 1.25rem
    }
}

@media only screen and (min-width: 701px) and (max-width: 876px) {
    #banner {
        height: 200px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 1.6rem;
        margin-bottom: 5px;
        margin-left: 5px
    }

    .banner-content h3 {
        font-size: 1.15rem;
        margin-left: 5px
    }


    .banner-contact p {
        margin-right: 5px; 
        font-size: 1rem;
    }

    .banner-logo {
        display: none
    }
    
    #llc {
        font-size: 1.3rem
    }
}

@media only screen and (min-width: 876px) and (max-width: 1024px) {
    #banner {
        height: 250px;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .banner-content h1 {
        font-size: 2rem;
        margin-bottom: 5px;
        margin-left: 5px
    }

    .banner-content h3 {
        font-size: 1.5rem;
        margin-left: 5px
    }


    .banner-contact p {
        margin-right: 5px; 
        font-size: 1.1rem;
    }

    .banner-logo {
        display: none
    }
    
    #llc {
        font-size: 1.6rem
    }
}
/*baner
aboutme*/

#about-me, #services, #contact {
    padding: 20px;
    text-align: center;
    width: 80%;
    margin: auto
}

#about-me h2 {
    text-align: left;
    margin-top: 30px;
    font-size: 2rem;
    font-family: "Lora", serif;
    font-weight: 300;
    margin-bottom: 30px;
}

#about-me .content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#about-me p {
    text-align: left;
    width: 55%;
    font-size: 1.05rem
}

#about-me a {
    color: #52704D;
    text-decoration: none;
    font-weight: 800;
}

#about-me img {
    width: auto;
    height: 250px;
}

@media only screen and (max-width: 650px) {
    .content {
        flex-direction: column;
    }

}

@media only screen and (max-width: 400px) {
    #about-me img {
        width: 100%;
        margin: 20px auto;
        height: auto
    }
}

@media only screen and (min-width: 401px) and (max-width: 650px) {
    #about-me img {
        width: 300px;
        margin: 20px auto 0;
        height: auto
    }
}

/*aboume
services*/

#services {
    padding: 20px;
    text-align: center;
}

#services h2 {
    text-align: center;
    margin: auto
}

#serp {
    width: 75%;
    margin: 20px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 500px) {
    .services-grid {
        grid-template-columns: 1fr; 
    }
}


.service-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-family: "Lora", serif;
    font-size: 1.25rem;
}

.service-item p {
    font-size: 0.9rem;
    color: #333;
}

.service-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/*servers
typyuslug*/

#serwices {
    padding: 20px;
    text-align: center;
    width: 80%;
    margin: auto
}

.serwices-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
    gap: 20px;
    margin-top: 20px;
}

.serwice-item {
    flex: 0 0 31%; 
    background: #fff;
    padding: 20px 0;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}

.serwice-item:hover {
    transform: translateY(-10px); 
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); 
}

@media (max-width: 800px) {
    .serwice-item {
        flex-basis: 100%; 
    }
}

.serwice-item h3 {
    color: #333;
    margin-bottom: 10px;
    font-family: "Lora", serif;
    font-size: 1.25rem;
}

.serwice-item p {
    font-size: 0.9rem;
    color: #333;
    width: 90%;
    margin: auto
}

.service-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .serwices-grid {
        grid-template-columns: 1fr;
    }
}


/*uslugi
baneruslug*/

.banneruslug {
    background-image: url('img/banner2.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: white;
    padding: 0 20px; 
    margin: 75px 0;
}

.banneruslug-text {
    background-color: rgba(0,0,0,0.5);
    width: 75%;
    margin: auto;
    padding: 20px 0px;
    border-radius: 50px
}

.banneruslug-text p {
    margin: 0; 
    font-size: 1rem;
    width: 90%;
    margin: auto;
    font-size: 1.15rem;
    padding: 10px;
    text-align: center
}

.banneruslug a {
    color: #fff; 
    text-decoration: underline; 
    font-weight: bold;
}

.banneruslug-call-to-action {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 15px; 
}

.br {
    margin-top: 2000px
}

@media (max-width: 330px) {
        .banneruslug-text {
        width: 100%;
        padding: 10px 0;
    }
    
    .banneruslug {
        height: 250px;
    }
    
    .banneruslug-text p {
        width: 90%;
        font-size: 0.7rem;
    }   
}

@media only screen and (min-width: 330px) and (max-width: 425px) {
    .banneruslug-text {
        width: 100%;
        padding: 10px 0;
    }
    
    .banneruslug {
        height: 250px;
    }
    
    .banneruslug-text p {
        width: 90%;
        font-size: 0.7rem;
    }   
}

@media only screen and (min-width: 425px) and (max-width: 635px) {
    .banneruslug-text {
        width: 95%;
        padding: 10px 0;
    }
    
    .banneruslug {
        height: 225px;
    }
    
    .banneruslug-text p {
        width: 90%;
        font-size: 0.7rem;
    }   
}

@media only screen and (min-width: 635px) and (max-width: 750px) {
    .banneruslug {
        height: 255px;
    }
    
    .banneruslug-text p {
        width: 90%;
        font-size: 0.8rem;
    }   
}

@media only screen and (min-width: 750px) and (max-width: 900px) {
    .banneruslug {
        height: 275px;
    }
    
    .banneruslug-text p {
        width: 90%;
        font-size: 1rem;
    }   
}

/*baneruslug
kontakkt*/

#contact {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    flex-direction: column;
}

.contact-header {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 20px; 
}

.contact-details, .mobile-service-map {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    margin-bottom: 20px
}

.contact-info i {
    color: #52704D;
    margin-right: 5px;
}

.contact-details {
    max-width: 50%; 
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px; 
    font-size: 16px;
    font-family: inherit; 
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px; 
}

.contact-form button[type="submit"] {
    padding: 12px 20px;
    background-color: #52704D;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button[type="submit"]:hover {
    background-color: #2a752a; 
}

.contact-image img {
    width: 80%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #52704D;
}

.mobile-service-map {
    max-width: 40%; 
}

.mobile-service-notice p {
    width: 80%;
    margin: auto;
    font-size: 1.15rem
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-details, .mobile-service-map {
        max-width: 100%;
    }
    
    .contact-image img {
        display: block; 
        margin: 20px auto; 
    }
}

.consent-checkbox {
    margin-bottom: 20px;
}

.consent-checkbox label {
    display: block; 
    font-size: 14px; 
    color: #333; 
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

/*kontakt
certyfikaty*/

#certifications {
    padding: 20px;
    text-align: center;
    background-color: #f7f7f7; 
}

#certifications h2 {
    margin-bottom: 20px;
}

.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.certification-item {
    width: calc(33.333% - 40px); 
    padding: 15px;
}

.certification-item img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

/*certyfikaty
footer i separator i inne*/

footer {
    text-align: center;
    padding-bottom: 50px;
    color: #333;
}

.section-separator {
    height: 2px; 
    background-color: #52704D; 
    margin: 50px auto; 
    width: 70%;
}

#about-me h2 , #services h2, #contact h2, #certifications h2, #serwices h2 {
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 1.75rem
}

/*footer
coockie*/

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    animation: slideIn 0.5s forwards
}

.cookie-consent.hide {
    animation: slideOut 0.5s forwards;
}

.cookie-consent button {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    font-family: "DM Sans", sans-serif;
    background-color: #52704D;
    color: #fff;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    border: none;
    margin-top: 10px;
}

.cookie-consent button:hover {
    color: #52704D;
    background-color: #fff;
}

/*cookie
animacja pisania*/

.typed-cursor {
    opacity: 1;
    animation: blink-cursor 0.7s infinite; 
}

@keyframes blink-cursor {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/*animacjapisania
media*/

@media only screen and (max-width: 768px) {
    #services .service-list, #contact .form-row {
        flex-direction: column;
    }
    
    #about-me h2 , #services h2, #contact h2, #certifications h2 {
        text-align: center;
        font-size: 1.75rem
    }
    
    #about-me h2 {
        margin-bottom: 20px;
    }
    
    #about-me p, .service p, .contact-info p {
        font-size: 1rem;
    }
    
    #serp {
        text-align: center;
        margin: 0 auto 25px;
    }

    #about-me p, .service, #contact .form-group input, 
    #contact .form-group textarea {
        width: 100%; 
    }


    .service {
        margin: 10px 0px;
        padding: 10px 0;
    }
    
    .service h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .service p {
        font-size: 0.9rem;
        width: 90%;
        margin: auto
    }
    
    #contact {
        display: flex;
        flex-direction: column;
        padding: 20px; 
    }

    .form-row {
        flex-direction: column; 
    }
    
    footer {
        padding: 10px 0;
        width: 100vw;
        margin-top: 25px;
    }

    .popup {
        width: 80%; 
        left: 10%; 
        right: auto;
    }
    
    #contact .form-group, #contact form {
        width: 90%;
        padding: 0 15px; 
    }

    #contact label, #contact input, #contact textarea {
        margin: 10px 0; 
        box-sizing: border-box; 
    }
    
    .contact-form form {
        gap: 0px; 
    }
    
    .cookie-consent {
        padding: 10px 0
    }

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #typed-strings {
        margin-bottom: 20px;
    }
    
    #about-me h2, #services h2, #contact h2 {
        font-size: 1.75rem
    }
    
    #about-me p, #serp, .service p {
        font-size: 0.9rem
    }
    
    .service h3 {
        margin-bottom: 5px;
    }
    
    nav ul li {
        margin-right: 15px; 
    }
    
    nav ul li a, .contact-info {
        font-size: 0.9rem       
    }

    #about-me, #services, #contact {
        width: 90%;
        margin: auto; 
    }

    .service, #contact .form-group input, #contact .form-group textarea {
        width: 95%; 
        margin: 10px auto; 
    }
    
    .contact-info p {
        font-size: 1rem
    }
}



@media only screen and (max-width: 470px) {
    .certificates-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .certification-item {
        width: 100%; 
        margin-bottom: 0px; 
    }
}

@media only screen and (min-width: 878px) and (max-width: 1324px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 500px) { 
    .contact-image img {
        margin: 15px auto;
        max-width: 85%;
    }
}


@media only screen and (min-width: 501px) and (max-width: 768px) {
        .contact-image img {
        margin: 15px auto;
        max-width: 300px;
    }
}

#services h2, #contact h2 {
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
}

.kontact-info span {
    color: #52704D;
    text-decoration: none; 
}

span.no-link {
    pointer-events: none;  /* Zapobiega wszelkim działaniom myszki, w tym kliknięciu */
    color: inherit;       /* Ustawia kolor tekstu dziedziczony z rodzica lub inny pożądany kolor */
    text-decoration: none; /* Usuwa podkreślenie, jeśli by było zastosowane */
}