@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
    display: flex;
    border-radius: 16px;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d1117;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

.nav-logo {
    max-width: 100px;
}

.nav-logo h2 {
    display: inline-block;
    color: #f0f6fc;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a {
    position: relative;
    padding-bottom: 0.75rem;
    color: #f0f6fc;
}

.link a::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #238636;
    transition: all 0.3s ease;
}

.link a:hover::after {
    width: 70%;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #f0f6fc;
    background-color: #238636;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #2ea043;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.blur {
    position: absolute;
    box-shadow: 0 0 1000px 50px #238636;
    z-index: -100;
}

header {
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4 {
    margin-bottom: 1rem;
    color: #8b949e;
    font-size: 1rem;
    font-weight: 600;
}

header .content h1 {
    color: #f0f6fc;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h1 span {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #f0f6fc;
}

header .content p {
    margin-bottom: 2rem;
    color: #8b949e;
}

header .image {
    position: relative;
}

header .image img {
    max-width: 600px;
    margin: auto;
}

section .header {
    margin-bottom: 1rem;
    color: #f0f6fc;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 1rem; /* Odstęp między przyciskami */
}

.social-buttons {
    margin-top: 20px;
}

.social-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-right: 10px;
    background-color: #1e1e1e;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.social-buttons .btn:hover {
    background-color: #333;
}


.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skills-group h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
}

.skills-group ul {
    list-style: none;
    padding: 0;
}

.skills-group li {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #1e1e1e;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 6px;
}


.statistics {
    display: flex;
    justify-content: space-around;
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.statistics > div {
    text-align: center;
}

.statistics strong {
    display: block;
    color: #f0f6fc;
    font-size: 16px;
    margin-bottom: 5px;
}

.statistics div {
    flex: 1;
}

.views, .subscriptions, .followers {
    padding: 10px;
}

.views {
    border-right: 2px solid #30363d;
}

.subscriptions {
    border-right: 2px solid #30363d;
}

.views strong, .subscriptions strong, .followers strong {
    color: #f0f6fc;
    font-size: 20px;
}

.features {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.features .card {
    background-color: #161b22;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.features .card:hover {
    background-color: #21262d;
    border-color: #f0f6fc;
}

.features .card span {
    display: inline-block;
    background-color: #238636;
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #f0f6fc;
    border-radius: 5px;
}

.features .card h4 {
    margin-bottom: 0.5rem;
    color: #f0f6fc;
    font-size: 1.2rem;
    font-weight: 600;
}

.features .card p {
    color: #8b949e;
    margin-bottom: 1rem;
}

.features .card a {
    color: #f0f6fc;
    transition: all 0.3s ease;
}

.features .card a:hover {
    color: #58a6ff;
}

.sub-header {
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: #8b949e;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-card {
    background-color: #161b22;
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    background-color: #21262d;
    border-color: #f0f6fc;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    padding: 1rem;
    color: #8b949e;
}

.project-info h4 {
    margin-bottom: 0.5rem;
    color: #f0f6fc;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-info p {
    color: #8b949e;
}

footer {
    position: relative;
    display: grid;
    grid-template-columns: 300px repeat(4, 2fr);
    gap: 2rem;
}

footer .column .logo {
    max-width: 50px;
    margin-bottom: 2rem;
}

footer .column p {
    color: #8b949e;
    margin-bottom: 2rem;
}

footer .column .socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .column .socials a {
    color: #8b949e;
    border: 1px solid #8b949e;
    padding: 5px 10px;
    font-size: 1.25rem;
    border-radius: 100%;
    transition: all 0.3s ease;
}

footer .column .socials a:hover {
    color: #f0f6fc;
    background-color: #238636;
    border-color: #238636;
}

footer .column h4 {
    color: #f0f6fc;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

footer .column > a {
    display: block;
    color: #8b949e;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover {
    color: #58a6ff;
}

.copyright {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: #f0f6fc;
    font-size: 0.8rem;
    text-align: center;
}

.copyright a {
    color: #238636;
    position: relative;
    text-decoration: none;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #238636;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.copyright a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

@media (width < 900px) {
    .nav {
        padding: 50px 0;
    }
    .nav-logo h2 {
        display: none;
    }
    h1 {
        font-size: 2rem;
        line-height: 3.5rem;
    }
    nav .nav-links {
        display: none;
    }
    .nav-links {
        display: none;
    }
    header {
        grid-template-columns: repeat(1, 1fr);
    }
    header .image {
        grid-area: 1/1/2/2;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing {
        grid-template-columns: repeat(2, 1fr);
    }
    footer {
        grid-template-columns: 1fr 200px;
    }
}

@media (width < 600px) {
    h1 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    header .image::before {
        display: none;
    }
    .features {
        grid-template-columns: repeat(1, 1fr);
    }
    .pricing {
        grid-template-columns: repeat(1, 1fr);
    }
    footer {
        grid-template-columns: 1fr 150px;
    }
}

.opinions {
    text-align: center;
    padding: 50px 20px;
    color: #8b949e;
    border-radius: 10px;
    margin-top: 50px;
}

.opinions .header {
    margin-bottom: 2rem;
    color: #f0f6fc;
    font-size: 2.25rem;
    font-weight: 600;
}

.testimonials-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}

.testimonials-carousel::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

.testimonial {
    background-color: #21262d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 250px;
    max-width: 350px;
    scroll-snap-align: center;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial:hover {
    transform: scale(1.05);
    background-color: #30363d;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #8b949e;
    font-size: 1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author img, .author i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #8b949e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; 
}

.author span {
    font-weight: bold;
    color: #f0f6fc;
    font-size: 1rem;
}

/* Responsywność */
@media (max-width: 600px) {
    .testimonial {
        min-width: 200px;
        padding: 15px;
    }
    .opinions .header {
        font-size: 1.75rem;
    }
    .testimonials-carousel {
        flex-direction: column;
        align-items: center;
    }
}

/* COPYRIGHT © 2024 mtokarczyk.studio. ALL RIGHTS RESERVED. */
/* DESINGED BY mtokarczyk.studio  */