* {
    margin: 10;
    padding: 10;
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #fff;
    margin: 200;
}

/* Styl dla nakładki */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.659);
    /* Przezroczyste tło */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Nakładka na wierzchu innych elementów */
}

/* Styl dla tekstu */
.overlay-text {
    color: white;
    font-size: 24px;
    text-align: center;
}

#rama {
    margin-left: 5%;
    margin-right: 5%;
    background-color: #000000;
}

#header {
    height: 80;
    background-size: cover;
    background-position: center;
    background-color: rgb(255, 255, 255);
    border-radius: 15px;


}

.container {
    padding: 50px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: 'wrap';
}

.logo {
    width: 300px;
}

/* Style dla standardowych linków */
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 20px;
    position: relative; /* Ważne, aby pozycjonować komunikat względem tego linku */
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #71ab92;  /* Kolor podkreślenia */
    position: absolute;
    left: 0;
    bottom: -6px; /* Podkreślenie znajduje się tuż nad komunikatem */
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;  /* Podkreślenie rozszerza się na całą szerokość linku */
}

/* Style dla komunikatu "in progress" */
.portfolio-link {
    position: relative; /* Ważne, aby komunikat był pozycjonowany względem linku */
}

.portfolio-link:hover::after {
    content: ''; /* Usuwamy pseudo-element podkreślenia */
}

.portfolio-link:hover {
    color: #71ab92;  /* Zmiana koloru tekstu na zielony przy hover */
}

/* Pojawiający się komunikat poniżej podkreślenia */
.portfolio-link:hover::before {
    content: "In progress"; /* Treść komunikatu */
    color: #ff0000;
    background-color: #333;
    padding: 5px 10px;
    font-size: 14px;
    position: absolute;
    top: 150%; /* Ustawienie komunikatu tuż poniżej podkreślenia */
    left: 50%;  /* Wyśrodkowanie komunikatu */
    transform: translateX(-50%);
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1000;
}




.header-text {
    margin-top: 10%;
    font-size: 30px;
    color: #000000;
}

.header-text h1 {
    margin-top: 10px;
    font-size: 30px;
}

.header-text h1 span {
    color: #71ab92;
}

/* -----------------------About--------------------- */
#about {
    padding: 20px 0;
    background-color: #000000;
    height: auto;
    align-content: center;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 30%;
}

.about-col-1 img {
    width: 70%;
    border-radius: 80px;
}

.about-col-2 {
    flex-basis: 70%;
}


.sub-title {
    font-size: 45px;
    font-weight: 600;
    color: #71ab92;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #71ab92;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

table {
    border-collapse: collapse;
    width: 100%;
    /* Dodatkowo dodajemy szerokość tabeli */
}

td {
    border: 1px solid black;
    padding: 8px;
    width: 40%;
    text-align: center;
    /* Wyśrodkowanie zawartości */
}


.tab-contents span {
    color: #71ab92;
    font-size: 18px;
}

.education-tab img {
    width: 250px;
    height: auto;
}

.cert-list {
    display: flex;
    justify-content: center;
}

.cert {
    flex: 1;
    padding: 5px;
    margin: 5px;
    text-align: center;
    /* Wyśrodkowanie zawartości wewnątrz obiektu */
    display: flex;
    /* Ustawienie na flexbox */
    justify-content: center;
    /* Wyśrodkowanie wzdłuż osi głównej (poziomej) wewnątrz obiektu */
    align-items: center;
    /* Wyśrodkowanie wzdłuż osi krzyżowej (pionowej) wewnątrz obiektu */
    flex-direction: column;
    /* Ustawienie kierunku flexbox na kolumnę */
}

.cert img {
    width: 100%;
    height: auto;
    max-width: 150px;
    /* Ograniczenie szerokości obrazka do maksymalnie 150px */
    height: auto;
    transition: transform 0.5s;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}


/*-----------------------Services---------------------*/
#services {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: rgb(255, 255, 255);
    color: #000000;
    border-radius: 15px;
    height: auto;
    align-content: center;
}

.tekstpod {
    text-decoration: none;
    color: #71ab92;
    font-size: 30px;
    margin-top: 20px;
    text-align: center;
}


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

.services-list div {
    background: #71ab92;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition: transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 10px;
}

.services-list div h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.services-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    margin-top: 20px;
    display: inline-block;

}

.services-list div p {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
}




.services-list div:hover {
    background: rgb(194, 221, 192);
    transform: translateY(-10px);

}

/*-----------------------Portfolio---------------------*/
#portfolio {

    background-color: #000000;
    height: auto;
    align-content: center;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    background-color: #71ab92;
    transition: transform 0.5s;
}

/*.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.5),#71ab92);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #71ab92;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 25%;
    text-align: center;
}*/
.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
    color: #71ab92;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #71ab92;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}

.btn:hover {
    background: #71ab92;
}

/*-----------------------Contact---------------------*/
#contact {
    margin-left: 5%;
    margin-right: 5%;
    background-color: rgb(255, 255, 255);
    color: #000000;
    border-radius: 15px;
    height: auto;
    align-content: center;
}

.contact-left {
    width: 100%;
    text-align: center;
}

.contact-left a {
    margin: 25px;
}

.social-icons a {
    color: #000000;
    font-size: 40px;
    padding: 10px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #71ab92;
    transform: translateY(-10px);
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-style: italic;

}

/*-----------------------css for small screens---------------------
@media only screen and (max-width 600px){
    #header{
        background-image: url(images/1.jpg);
    }
}*/