/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #1C1C24;
    color: #FFF;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.containerA {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
}

#togglePortfolio {
    display: flex;
    gap: 10px;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

/* Header Styles */
header {
    background-color: #282C35;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FDB813;
}

header nav a {
    color: #FFF;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

header nav a:hover {
    color: #FDB813;
}

/* Intro Section Styles */
.intro {
    text-align: center;
    padding-top: 10em;
}

.intro h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1em;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.intro a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FDB813;
    color: #1C1C24;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.intro a:hover {
    background-color: #FFA500;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FDB813;
    text-align: center;
}

.card {
    background-color: #282C35;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-title {
    font-size: 1.5rem;
    color: #FDB813;
    margin-bottom: 10px;
}

.card-description {
    font-size: 1rem;
    color: #A0A0A0;
}

/* Footer Styles */
footer {
    background-color: #282C35;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
    color: #A0A0A0;
}

/* Blog Section Styles */
.blog-title {
    color: #FDB813;
}

.quote {
    font-style: italic;
    color: #A0A0A0;
    border-left: 4px solid #FDB813;
    padding-left: 10px;
    margin: 20px 0;
}

#techno {
    margin-top: 2em;
    margin-bottom: 4em;
}

#visitSite {
    background-color: white;
    color: black;
    font-weight: 700;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    border-radius: 12px;
}

.skill {
    padding-left: 0.4em;
    padding-right: 0.4em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    border-radius: 12px;
    border: solid white 3px;
    font-weight: 700;
    font-size: 0.9em;
    margin-right: 0.3em;
}
#skills {
    margin-top: 4em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#reactSkill,
#jsSkill,
#cssSkill,
#htmlSkill,
#phpSkill,
#sqlSkill {
    color: #282C35;
}

#reactSkill,
#jsSkill,
#cssSkill,
#htmlSkill {
    background: rgb(253,184,19);
}

#phpSkill,
#sqlSkill {
    background: rgb(226, 226, 226);
}

#wordpressSkill,
#elementorSkill {
    color: white;
    background: rgb(18, 140, 221);
}

#contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #1C1C24;
    padding: 60px 0;
}

#contact .contact-info,
#contact .quote-info {
    flex: 1;
    padding: 20px;
}

#contact .contact-info h3,
#contact .quote-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #FDB813;
}

#contact .contact-info p,
#contact .quote-info p {
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 20px;
}

#contact a {
    display: block;
    font-size: 1rem;
    color: #FDB813;
    text-decoration: none;
    transition: color 0.3s;
}

#contact a:hover {
    color: #FFA500;
}

#contact .experience {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

#contact .experience div {
    text-align: center;
}

#contact .experience h4 {
    font-size: 2rem;
    color: #FDB813;
}

#contact .experience p {
    font-size: 1rem;
    color: #A0A0A0;
}

/* Service Section Styles */
#services {
    display: grid;
    justify-content: center;
    margin: 0 auto;
    justify-items: center;
}

.service-card {
    width: 25%;
    padding: 20px;
    background-color: #282C35;
    border-radius: 26px;
    margin-left: 1em;
    margin-right: 1em;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #FDB813;
}

.service-card p {
    font-size: 1rem;
    color: #A0A0A0;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: #333944;
}

/* Specific service card colors */
.product-designer {
    color: #1C1C24;
}

.branding-designer {
    background-color: #333944;
}

.fullstack-developer {
    background-color: #2E2E38;
}

.portfolio-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 80vw;
    flex-wrap: wrap;
}

.portfolio-description,
.portfolio-images {
    flex: 1;
    background-color: #282C35;
    border-radius: 10px;
    text-align: center;
    min-height: 30vh;
    align-items: center;
    align-content: center;
    margin: 10px 0;
}
.portfolio-description {
    padding: 2.5em;
}
.portfolio-description h2 {
    font-size: 2.8rem;
    color: #FDB813;
    margin-bottom: 10px;
}

.portfolio-description p {
    font-size: 1rem;
    color: #A0A0A0;
    margin-bottom: 10px;
}

.portfolio-images {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slides {
    display: flex;
    align-items: center;
    align-content: center;
}

.slides img {
    width: 100%;
    border-radius: 10px;
    flex-shrink: 0;
}

.arrow {
    cursor: pointer;
    font-size: 2rem;
    color: #FDB813;
    margin: 0 20px;
    user-select: none;
}

.arrow:hover {
    color: #FFA500;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.left-arrow.slide-arrow {
    color: black;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.605);
    width: 1.5em;
    height: 1.5em;
    border-radius: 12px;
    align-content: center;
    text-align: center;
}

.right-arrow.slide-arrow {
    color: black;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.605);
    width: 1.5em;
    height: 1.5em;
    border-radius: 12px;
    align-content: center;
    text-align: center;
}

.portfolioImage {
    max-width: 100%;
    max-height: 80%;
    margin-right: 5em;
}

#opisPortfolio {
    padding: 3em;
}

#zdjeciaPortfolio {
    background: none;
}

#ekranPortfolio {
    width: 100%;
}

.skills-table, .description {
    width: 45%;
    background-color: #2E2E38;
    border-radius: 10px;
    padding: 20px;
    margin: 1em;
    align-content: center;
    flex: 1;
}

.skills-table h2, .skills-table h3, .skill-row span {
    color: #FDB813;
}

#sekcje {
    display: flex;
    flex-wrap: wrap;
}

.skills-category {
    margin-bottom: 20px;
}

#sekcja1, #sekcja2 {
    width: 50%;
}

.education {
    margin-top: 20px;
}

#portfolioTitle {
    font-size: 3em;
}

.education h2 {
    color: #FDB813;
    margin-bottom: 10px;
}

.education-item {
    margin-bottom: 20px;
}

.education-year {
    font-weight: bold;
    color: #FDB813;
    margin-bottom: 5px;
}

.education-details {
    color: #FFF;
}

.attributes {
    background-color: #2E2E38;
    border-radius: 10px;
    color: #FFF;
}

.attribute-item {
    display: flex;
    align-items: center;
}

.checkmark {
    color: #FDB813;
    margin-right: 10px;
    font-size: 1.2em;
}

.attribute-item span {
    color: #FFF;
}

.contact-form {
    font-family: 'DM Sans', sans-serif;
    border-radius: 10px;
    padding: 3em;
    color: #FFF;
    width: 100%;
    max-width: 650px;
    margin: 0 auto; /* Center the form */
    margin-top: 2em;
    margin-bottom: 6em;
}

.contact-form h2 {
    color: #FDB813;
    margin-bottom: 20px;
    text-align: center;
}

.input-container {
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    background-color: #1C1C24;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.input-container .icon {
    color: #FDB813;
    margin-right: 10px;
    font-size: 1.2em;
}

.input-container input,
.input-container textarea {
    font-family: 'DM Sans', sans-serif;
    background-color: #2E2E38;
    border: none;
    outline: none;
    color: #FFF;
    width: 100%;
    font-size: 1em;
    padding: 0.8em;
    border-radius: 12px;
}

.input-container textarea {
    resize: none;
    height: 100px;
}

button {
    font-family: 'DM Sans', sans-serif;
    background-color: rgb(253,184,19);
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: #1f1f1f;
    font-size: 1em;
    cursor: pointer;
    font-weight: 700;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #008FCC;
}

.skill-row {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4em;
}

.skill-level {
    font-size: 1.5em;
    color: #FDB813;
}

.titleofskill {
    width: 35%;
}

.description {
    color: #FFF;
    font-size: 1rem;
    padding: 3em;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .skills-table, .description {
        width: 90%;
        margin-bottom: 20px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .skill {
        padding-left: 0.4em;
        padding-right: 0.4em;
        padding-top: 0.6em;
        padding-bottom: 0.6em;
        border-radius: 12px;
        border: solid white 3px;
        font-weight: 700;
        font-size: 0.9em;
        margin-right: 0.3em;
        margin-bottom: 0.3em; /* Dodane, aby dodać odstęp między wierszami */
        display: inline-block;
    }
    
    .portfolio-description,
    .portfolio-images {
        flex: 1;
        background-color: #282C35;
        border-radius: 10px;
        text-align: center;
        min-height: 30vh;
        align-items: center;
        align-content: center;
        margin: 10px 0;
        position: relative; /* Dodane, aby umożliwić nachodzenie na siebie */
    }
    #ekranPortfolio {
        padding-left: 1.5em;
        padding-right: 1.5em;
        padding-top: 0em;
        padding-bottom: 0em;
    }
    
    .portfolio-description {
        padding: 2.5em;
        z-index: 1; /* Dodane, aby opis znajdował się nad obrazem */
    }
    
    #techno {
        margin-top: 0.6em;
        margin-bottom: 2em;
    }
    .portfolio-images {
        overflow: hidden;
        position: relative;
        width: 100%;
        z-index: 0; /* Dodane, aby obraz znajdował się pod opisem */
    }
    
    .arrow {
        cursor: pointer;
        font-size: 2rem;
        color: #FDB813;
        user-select: none;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        z-index: 2;
    }
    
    .left-arrow {
        left: 0;
    }
    
    .right-arrow {
        right: 0;
    }
    
    header .container {
        flex-direction: column;
    }
    .containerA {
        max-width: 95vw;
        padding: 0;
    }

    .titleofskill {
        font-size: 0.9em;
        width: 35%;
    }

    .skill-level{
        letter-spacing: -3px;
        font-size: 1.3em;
    }

    .skills-category {
        display: block;
    }

    header nav a {
        margin: 10px 0;
    }

    .intro h1 {
        font-size: 2.5rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card {
        margin: 10px 0;
    }

    #skills {
        justify-content: center;
    }

    #services {
        grid-template-columns: 1fr;
        margin: 0;
    }

    #togglePortfolio {
        flex-direction: column;
        min-width: auto;
    }

    .portfolio-container {
        flex-direction: column;
        width: 100%;
    }

    .service-card {
        width: 100%;
    }

    .portfolio-description,
    .portfolio-images {
        width: 100%;
    }

    .skills-table, .description {
        width: 100%;
    }

    .skills-category {
        flex-wrap: wrap;
    }

    .contact-form {
        width: 100%;
        padding: 2em;
    }
    .description {
        padding: 1.8em;
    }
    #zdjeciaPortfolio {

        background: rgb(253,184,19);
        box-shadow: rgb(253,184,19) 0px 0px 0px 24px;


    }
    .slider {

        box-shadow: rgb(253,184,19) 0px 0px 0px 24px;
    }
    .portfolio-description h2 {
        font-size: 1.8em;
    }
}

/* Animations */

/* Dodanie stylizacji dla aktywnego przycisku */
.service-card.active {
    background-color: #444C56;
}

/* Stylizacja przycisków w wersji mobilnej */
@media (max-width: 768px) {
    #togglePortfolio {
        display: flex;
        flex-direction: row; /* Zmiana kierunku na wiersz */
        justify-content: center;
        margin-bottom:0em;
    }

    .service-card {
        width: 35%;
        margin: 0;
        font-size: 1em;
        padding-left: 0;
        padding-right: 0;
    }
    .service-card h3 {
        font-size: 1em;
        color: #FDB813;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }
    #portfolioTitle {
        margin: 0;
        padding: 0;
        font-size: 1.1em;
        width: 22%;
    }
    h3 {
        margin: 0;
    }
}

/* Stylizacja przycisków w wersji desktopowej */

@keyframes zmianaPortfolio {
    0% {
        opacity: 1;
        scale: 100%;
        transform: translateY(0em)
    }
    20% {
        opacity: 0;
        transform: translateY(1em)
    }
    80% {
        opacity: 0;
        transform: translateY(1em)
    }
    100% {
        opacity: 1;
        scale: 100%;
        transform: translateY(0em)
    }
}

@keyframes kasiub {
    0%{
        transform: translateY(-0.5em);
        opacity: 0;
    }
    100%{
        transform: translateY(0em);
        opacity: 1;
    }
}

    @keyframes skillsy {
        0%{
            transform: translateY(1em);
            opacity: 0;
        }
        100%{
            transform: translateY(0em);
            opacity: 1;
        }
    
}
.logo {
    opacity: 0;
    animation: kasiub 0.5s ease-in-out forwards;
    animation-delay: 0.5s;
}

h1 {
    opacity: 0;
    animation: kasiub 0.5s ease-in-out forwards;
    animation-delay: 1.5s;
}

#opisIntro {
    opacity: 0;
    animation: kasiub 0.5s ease-in-out forwards;
    animation-delay: 2s;
}

#reactSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 2s;
}
#jsSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 2.2s;
}
#cssSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 2.4s;
}
#htmlSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 2.6s;
}
#phpSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 2.8s;
}
#sqlSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 3.0s;
}
#wordpressSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 3.35s;
}
#elementorSkill {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 3.7s;
}

#togglePortfolio {
    opacity: 0;
    animation: skillsy 0.5s ease-in-out forwards;
    animation-delay: 3.7s;
}

#ekranPortfolio {
    opacity: 0;
    animation: skillsy 1s ease-in-out forwards;
    animation-delay: 4s;
}

.profile-picture-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Adjust spacing as needed */
  }
  
  .profile-picture {
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Adjust size as needed */
    border-radius: 50%; /* Make the picture round */
    border: 2px solid #FDB813; /* Optional: Add a border around the picture */
    object-fit: cover; /* Ensure the picture covers the container */
  }

  /* Styles for skill images */
.skill-level img {
    width: 15px; /* Adjust the size as needed */
    height: 15px; /* Adjust the size as needed */
    display: inline-block;
    margin-right: 3px; /* Adjust the spacing as needed */
    margin: 0;
}

.skill-level img:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .skill-level img {
        width: 12px; /* Adjust the size for mobile view */
        height: 12px; /* Adjust the size for mobile view */
        margin: 0;
    }
    .intro {
        padding-top: 5em;
    }
}






  