
/* USTAWIENIA OGÓLNE */ 

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

body {
	padding: 0;
	margin: 0;
	font-family: "Poppins", sans-serif;
	background-color: #f0f0f0;
}



/* NAVBAR */

nav {
	background: rgb(33, 31, 30);
	padding: 5px 5%;
	display: flex;
	height: 67px;
	justify-content: space-between;
	align-items: center;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
		rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
	z-index: 1;
}
nav .logo {
	display: flex;
	align-items: center;
}
nav .logo img {
	height: 50px;
	width: auto;
	margin-right: 10px;
}
nav .logo h1 {
	font-size: 1.1rem;
	background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

nav ul {
	list-style: none;
	display: flex;
	padding-right: 100px
}
nav ul li {
	margin-left: 1.5rem;
}
nav ul li a {
	text-decoration: none;
	color: rgb(134, 134, 134);
	font-size: 95%;
	font-weight: 400;
	padding: 4px 8px;
	border-radius: 5px;
	transition: color 0.3s ease;
}

nav ul li a:hover {
	color: white;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger .line {
	width: 25px;
	height: 1.1px;
	background-color: #bfb4b4;
	display: block;
	margin: 7px auto;
	transition: all 0.3s ease-in-out;
}
.hamburger-active {
	transition: all 0.3s ease-in-out;
	transition-delay: 0.6s;
	transform: rotate(45deg);
	z-index: 5;
}

.hamburger-active .line:nth-child(2) {
	width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
	transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
	transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
	transform: translateY(-5px) rotate(90deg);
}

.menubar {
	position: absolute;
	top: -60%;
	left: 0;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	padding: 20% 0;
	background: rgba(255, 255, 255);
	transition: all 0.5s ease-in;
	text-align: center;
	z-index: 2;
}
.active {
	display: flex;
	top: 0%;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
	padding: 0;
	list-style: none;
}
.menubar ul li {
	margin-bottom: 32px;
}

.menubar ul li a {
	text-decoration: none;
	color: #000;
	font-size: 95%;
	font-weight: 400;
	padding: 5px 10px;
	border-radius: 5px;
}

.menubar ul li a:hover {
	color: lightgreen
}
@media screen and (max-width: 1080px) {
	.hamburger {
		display: block;
	}
	nav ul {
		display: none;
	}
}
@media screen and (min-width: 1081px) {
	.menubar {
		display: none;
	}
}



/* WSTEPNA SEKCJA */

.main-section {
	display: flex;
	justify-content: space-between;
	padding: 150px 50px 0 50px;
	margin: 0 auto;
	background-color: rgb(33, 31, 30);
}

.text-section {
	padding-left: 50px;
	max-width: 50%;
}

.text-section h1 {
	font-size: 60px;
	color: #d7d7d7;
	margin-bottom: 20px;
}

.text-section p {
	font-size: 18px;
	color: #dedddd;
	margin-bottom: 30px;
	line-height: 1.6;
}
.text-section a {
	margin-left: 50px;
	margin-top: 80px;
}

.contact-button {
	display: inline-block;
	padding: 15px 30px;
	background-color: #5fad43;
	color: white;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	border-radius: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s ease;
}

.contact-button:hover {
	background-color: #2f8211;
}

.image-section {
	max-width: 85%;
	position: relative;
}

.container {
	position: relative;
	width: 900px; /* Szerokość obszaru dla zdjęć */
	height: auto;
}

.duze-zdjecie {
	width: 100%;
	height: auto;
	display: block;
	border: 10px solid white;
	border-radius: 190px;
}

.male-zdjecie {
	position: absolute;
	width: 40%;
	left: -15%; /* Przesunięcie w lewo, aby nachodziło 40% na duże zdjęcie */
	top: 60%; /* Możesz dostosować pozycję w pionie */
	border: 5px solid white;
	border-radius: 50px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a.btn3 {
	position: relative;
	padding: 30px 90px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 1.5em;
	border: 2px solid transparent;
	transition: 0.5s;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
}

a.btn3:hover {
	border: 2px solid #fff
}

a.btn3::before {
	content: '';
	position: absolute;
	inset: 0 8px;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
	transition: 1s;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	-ms-transition: 1s;
	-o-transition: 1s;
}

a.btn3::after {
	content: '';
	position: absolute;
	inset: 8px 0;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transition: 1s;
	-webkit-transition: 1s;
	-moz-transition: 1s;
	-ms-transition: 1s;
	-o-transition: 1s;
}
a.btn3:hover::before {
	inset: 0px -12px;
	transform: skewY(15deg);
	-webkit-transform: skewY(15deg);
	-moz-transform: skewY(15deg);
	-ms-transform: skewY(15deg);
	-o-transform: skewY(15deg);
}

a.btn3:hover::after {
	inset: -12px 0px;
	transform: skewX(15deg);
	-webkit-transform: skewX(15deg);
	-moz-transform: skewX(15deg);
	-ms-transform: skewX(15deg);
	-o-transform: skewX(15deg);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1790px) {
	.text-section {
		padding-left: 0px;
	}
	.text-section a {
		margin-left: 0;
		margin-top: 0;
	}

}
@media (max-width: 1600px){
	.male-zdjecie {
		display: none;
	}
}
@media (max-width: 1500px){
	.main-section {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0px;
	}
	.duze-zdjecie {
		margin: 30px 0;
	}
}
@media (max-width: 1200px) {
	.container {
			width: 500px; /* Zmniejsz szerokość dla mniejszych ekranów */
	}

	.text-section h1 {
			font-size: 42px;
	}

	.contact-button {
			font-size: 16px;
			padding: 12px 25px;
	}
	.duze-zdjecie {
		border-radius: 125px;
	}
}

@media (max-width: 992px) {
	.main-section {
		flex-direction: column; /* Ustaw pionowy układ na mniejszych ekranach */
		text-align: center;
		padding: 0 25px;
	}
	.text-section {
		padding-left: 0px;
	}

	.text-section, .image-section {
		max-width: 100%;
	}

	.text-section h1 {
		font-size: 36px;
	}

	.container {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.text-section h1 {
			font-size: 30px;
	}

	.contact-button {
			font-size: 14px;
			padding: 10px 20px;
	}
}
@media (max-width: 490px){
    a.btn3 {
		padding: 30px 60px;
	}
}
@media (max-width: 450px){
	a.btn3 {
		font-size: 1.1em;
	}
	.duze-zdjecie {
		border-radius: 100px;
	}
}
@media (max-width: 375px) {
	.main-section {
		padding: 0 25px;
	}
	.container {
			width: 100%; /* Dopasowanie do najmniejszych ekranów */
	}
	.text-section h1 {
			font-size: 24px;
	}

	.text-section p {
			font-size: 16px;
	}
	.text-section a {
		margin-left: 0;
		margin-top: 0;
	}
	a.btn3 {
		font-size: 1.1em;
	}
	.contact-button {
			font-size: 12px;
			padding: 6px 12px;
	}
}



/* SEKCJA DLACZEGO */


.why-section {
	width: 100%;
    min-height: 50vh;
    display: grid;
    place-items: center;
    font-family: 'Poppins', sans-serif;
	box-sizing: border-box;
    outline: none;
}
.whycontainer{
    width: 90%;
    height: 100%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 60px;
    padding: 35px 0;
}
.contentLeft,
.contentRight{
    width: 100%;
}
.contentLeft .row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}
.contentLeft .row .imgWrapper{
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.15);
}
.contentLeft .row .imgWrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    transition: 0.3s ease;
}
.contentLeft .row .imgWrapper:hover img{
    transform: scale(1.5);
}
.contentLeft .row .imgWrapper:nth-child(odd){
    transform: translateY(-20px);
}
.contentLeft .row .imgWrapper:nth-child(even){
    transform: translateY(20px);
}
.contentRight .content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.contentRight .content h4{
    font-size: 22px;
    font-weight: 400;
    color: #d35400;
}
.contentRight .content h2{
    font-size: 40px;
    color: #1e272e;
}
.contentRight .content p{
    font-size: 16px;
    color: #343434;
    line-height: 28px;
    padding-bottom: 10px;
}
.contentRight .content a{
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 13px 30px;
    color: #fff;
    background: #d35400;
    border-radius: 8px;
    user-select: none;
}
@media(max-width: 1000px){
    .whycontainer{
        grid-template-columns: 1fr;
    }
    .contentLeft .row{
        grid-template-columns: repeat(2, 1fr);
    }
    .contentLeft .row .imgWrapper{
        height: 150px;
    }
    .contentRight .content h4{
		margin-bottom: -20px;
        font-size: 18px;
    }
    .contentRight .content h2{
        font-size: 30px;
    }
	.contentRight .content {
		gap: 0px;
	}
	.contentLeft {
        order: 2;
		margin-bottom: 15px /* Przesuń contentLeft na dół */
    }
    .contentRight {
        order: 1; /* Przesuń contentRight na górę */
    }
}



/* TECH SEKCJA */


	/* Relevant progress bar CSS */
    .bar {
        background: #000;
        width: 300px;
        height: 10px;
        border-radius: 3px;
        margin: auto;
        margin-bottom: 20px;
    }
    
    .progress {
        width: 200px;
        height: 10px;
        border-radius: 5px;
        background: #e03f97;
        background: -webkit-linear-gradient(to right, #058e00, #01e10f);
        background: -o-linear-gradient(to right, #058e00, #01e10f);
        background: -moz-linear-gradient(to right, #058e00, #01e10f);
        background: -ms-linear-gradient(to right, #058e00, #01e10f);
        background: linear-gradient(to right, #058e00, #01e10f);
        -webkit-transition: 600ms cubic-bezier(0.6, 0, 0.38, 1);
        -moz-transition: 600ms cubic-bezier(0.6, 0, 0.38, 1);
        -o-transition: 600ms cubic-bezier(0.6, 0, 0.38, 1);
        -ms-transition: 600ms cubic-bezier(0.6, 0, 0.38, 1);
        transition: 600ms cubic-bezier(0.6, 0, 0.38, 1);
    }
    
    
    #barcontainer {
        margin: auto;
        width: 300px;
    }
    
    #barcontainer p, #barcontainer h1 {
        color: #d7d7d7;
    }
    
.tech-container {
    display: flex;
    text-align: center;
}

.tech-info {
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    align-items: center;
    text-align: center;
    color: #d7d7d7;
}

.tech-section {
    background-color: rgb(33, 31, 30);
    padding: 20px 0;
}

@media(max-width: 1450px){
    .tech-container {
        flex-wrap: wrap;
    }
    #barcontainer {
        flex-basis: 50%;
    }
}
@media(max-width: 750px){
    .tech-container {
        flex-direction: column;
    }
}


/* JAK DZIALAMY SEKCJA */

    .process-section {
        display: flex;
        justify-content: space-between;
        padding: 50px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .left-column {
        flex: 1;
        padding-right: 50px;
    }
    
    .right-column {
        flex: 1;
        text-align: right;
    }
    
    .process-section h1 {
        font-size: 48px;
        font-weight: 400;
        margin-bottom: 10px;
    }
    
    .process-section .subtext {
        font-size: 18px;
        color: #777;
        margin-bottom: 30px;
    }
    
    .process-section h2 {
        font-size: 32px;
        font-weight: 400;
        margin-bottom: 10px;
    }
    
    .step {
        font-size: 14px;
        text-transform: uppercase;
        color: #888;
        margin-bottom: 10px;
    }
    
    .description {
        font-size: 16px;
        margin-bottom: 20px;
        color: #555;
    }
    
    .process-section hr {
        border: none;
        border-top: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    .process-section .image {
        width: 100%;
        height: auto;
        max-width: 400px;
        object-fit: cover;
    }
    @media(max-width: 900px){
        .process-section {
            flex-direction: column-reverse;
            text-align: center;
        }
        .process-section .image {
            display: none;
        }
        .left-column {
            padding-right: 0px;
        }
        .right-column {
            text-align: center;
        }
    }




/* STATYSTYKI SEKCJA */

.counter-section {
    display: flex;
	background-color: rgb(33, 31, 30);
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.counter-item {
    text-align: center;
    margin: 0 20px;
}

.counter-item h1 {
    font-size: 3em;
    color: #fff;
    margin: 0;
}

.counter-item p {
    font-size: 1.2em;
    color: #979797;
}

.divider {
    border-left: 1px solid #fff;
    height: 90px;
    margin: 0 40px;
}

@media(max-width: 900px) {
    .counter-section {
        flex-direction: column;
    }
    .divider {
        display: none;
    }
}


/* PROJEKTY SEKCJA */


.projects-text-section {
    max-width: 1200px; /* Ustawia maksymalną szerokość dla treści */
    margin: 0 auto; /* Centruje sekcję w poziomie */
    padding: 50px 20px; /* Dodaje padding z góry i dołu (50px), oraz z boków (20px) */
    box-sizing: border-box;
    margin-bottom: -75px;
  }
  
  /* Styl dla wrappera zawartości (tekst po lewej) */
  .projects-text-block {
    max-width: 620px; /* Ogranicza szerokość treści do 600px */
    margin-left: 0; /* Ustawia treść z lewej strony */
  }
  
  /* Styl dla nagłówka */
  .projects-text-heading {
    font-size: 2.5rem; /* Rozmiar czcionki dla nagłówka */
    font-weight: bold; /* Grubsza czcionka dla nagłówka */
    color: #333; /* Kolor tekstu */
    margin-bottom: 20px; /* Odstęp pod nagłówkiem */
  }
  
  /* Styl dla opisu */
  .projects-text-description {
    font-size: 1.125rem; /* Rozmiar czcionki dla akapitu */
    color: #666; /* Kolor tekstu dla opisu */
    line-height: 1.6; /* Odstępy między liniami tekstu */
  }
  


/* FOOTER */

footer {
	background:rgb(33, 31, 30);
  	color: #fff;
  	padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  padding: 0 15px;
}

.footer-section h2, .footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-section p, .footer-section ul, .footer-section a {
  color: #ccc;
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}
.social-links a {
  color: #ccc;
  margin-right: 10px;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
}

/* Media queries dla responsywności */
@media (max-width: 750px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    padding: 20px 0;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-section p, .footer-section ul li a {
    font-size: 15px;
  }

  .social-links a {
    font-size: 17px;
  }
}
