﻿@charset "utf-8";
/*FONT GOOGLE*/
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
/*
	font-family: "Nunito Sans", sans-serif;

	<style>
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
</style>
*/

/* SELEKTORY GLOBALNE */
* {
	transition: 1s;
	box-sizing: border-box;
}
html {
	font-family: "Fira Code", monospace;
	font-size: 10px;
	scroll-behavior: smooth;
}
body {
	font-size: 1.6rem;
	background-color: #121212;
	color: #e0e0e0;
}

h1 {
	font-size: 5rem;
	font-weight: 900;
	color: #90f9a7;
}
h2 {
	font-size: 3rem;
	font-weight: 700;
    margin-bottom: 2rem;
	color: #90f9a7;
}
h3 {
	font-size: 1.5rem;
	font-weight: 500;
	color: #90f9a7;
	position: relative;
	display: inline-block;
	padding-bottom: 1.5rem;
	padding-top: 1.5rem;
}
img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	display: block;
}
a {
	text-decoration: none;
	color: inherit;
	display: inline-block;
}
p {
	line-height: 140%;
}

/* width */
::-webkit-scrollbar {
  width: 0px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* NAWIGACJA MOBILE */
.burger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: #1f1f1f;
    color: #fff;
    font-size: 3rem;
    padding: .8rem .85rem;
    z-index: 100;
    cursor: pointer;
    display: none;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	border: none;
}
.burger:hover {
    background-color: #333;
    color: #90f9a7;
}
.burger-socials {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.burger-socials a {
    color: #807979;
    font-size: 2.5rem;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232323;
    transition:
        color 0.3s,
        background 0.3s,
        border-color 0.3s,
        transform 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.burger-socials a:hover {
    color: #5deb7c;
    background: #2d2d2d;
    transform: scale(1.15);
}
.logo-initials {
    color: #90f9a7;
    font-weight: 900;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    font-family: "Fira Code", monospace;
    margin-right: 2rem;
    margin-left: 1rem;
    user-select: none;
    display: flex;
    align-items: center;
    position: absolute;
}
nav .logo-initials {
    margin-right: 3rem;
}

.nakladka .logo-initials {
    margin: 0 0 3rem 0;
    justify-content: center;
    font-size: 3.5rem;
    width: 100%;
}

.logo-initials.mobile {
    display: none;
}


.nakladka {
    position: fixed;
    right: 0;
    background-color: #1e1e1e;
    color: #e0e0e0;
    width: 0; /*bedzie podlegac zmainie przy funkcji*/
    overflow: hidden;
    height: 100%;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nakladka ol {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3vh;
}
.nakladka ol a{
    display: block;
    padding: 2vh 0;
    font-size: 2rem;
}
.nakladka ol a:hover{
    background-color: #333;
    color: #90f9a7;
}

.zamknijX {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3.9rem;
    padding: .2rem 1rem .5rem;
    cursor: pointer;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);
	border: none;
    z-index: 300;
}
.zamknijX:hover {
    background-color: #333;
    color: #90f9a7;
}


/* NAWIGACJA DESKTOP */
nav {
	background-color: #1f1f1f;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 1rem;
	position: fixed;
	width: 100%;
	z-index: 10;
}
.nav-menu {
    width: 100%;
    max-width: 1400px;
    margin: 0 0 0 auto;
}
nav ol {
	/*background-color: aqua;*/
	max-width: 1400px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
nav ol li {}
nav ol li a {
	/* background-color: green; */
	padding: 1rem 1.2rem;
}
nav ol li a:hover {
	background-color: #333;
	color: #90f9a7;
}

/* WSZYSTKIE SEKCJE */
.typewriter {
    overflow: hidden;
    border-right: .1em solid #5deb7c;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 1.5s steps(35, end), blink .75s step-end infinite;
	text-align: left;
	margin: 0;
	width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 16.5ch }
}
@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #5deb7c; }
}

.stanowisko {
	opacity: 0;
	animation: fadein 1s ease 2s forwards;
	margin-bottom: 1rem;
}

@keyframes fadein {
	to {
		opacity: 1;
	}
}

section {
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 20px;
	scroll-margin-top: 5.6rem;
    padding-top: 5rem;
}
.zawartosc {
	/* background-color: red; */
	max-width: 1400px;
	width: 100%;
}
.social-links {
	display: flex;
	gap: 4.5rem;
	margin-top: 2rem;
	justify-content: flex-start;
	opacity: 0;
	animation: fadein 1s ease 3s forwards;
    padding-bottom: 8rem;
}
  .social-links a {
	color: #807979;
	font-size: 2.5rem;
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #232323;
	transition:
		color 0.3s,
		background 0.3s,
		border-color 0.3s,
		transform 0.3s;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
  .social-links a:hover {
	color: #5deb7c;
	background: #2d2d2d;
	transform: scale(1.15);
}

.mobile-br {
	display: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 2s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.cv-download-btn {
    display: inline-block;
    background: linear-gradient(90deg, #5deb7c 0%, #90f9a7 100%);
    color: #181818;
    font-weight: 700;
    font-size: 1.7rem;
    padding: 1.1rem 2.5rem;
    border-radius: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    margin-top: 1.5rem;
}
.cv-download-btn i {
    margin-right: 1rem;
    font-size: 2rem;
    vertical-align: middle;
}
.cv-download-btn:hover {
    background: linear-gradient(90deg, #90f9a7 0%, #5deb7c 100%);
    color: #121212;
    transform: scale(1.05);
}

/* POSZCZEG�LNE SEKCJE */
#pierwsza {
	position: relative;
	color: #5deb7c;
	text-align: left;
	padding: 30vh 5vw;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-bottom: 10%;
}

#pierwsza .zawartosc {
	position: relative;
	z-index: 1;
	
}

#aboutme {
    background: #181818;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    max-width: 600px;
    margin: 2.5rem auto 0 auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    text-align: left;
    color: #e0e0e0;
    scroll-margin-top: 10rem;
}

#aboutme h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #90f9a7;
}

#aboutme p {
    margin-bottom: 2.2rem;
    font-size: 1.7rem;
    line-height: 1.6;
    text-align: left;
}

#aboutme h3 {
    margin-top: 2.8rem;
    margin-bottom: 1.2rem;
    color: #5deb7c;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#aboutme ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#aboutme ul li {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: 1.1rem;
    font-size: 1.6rem;
}

#aboutme ul li::before {
    content: '';
    position: absolute;
    left: 0.2rem;
    top: 0.8rem;
    width: 0.75rem;
    height: 0.75rem;
    background: #90f9a7;
    border-radius: 50%;
    display: inline-block;
}

#projects {}
#projects h3{
	text-align: center;
}
#projects .zawartosc {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

#projects article {
	flex: 0 1 350px;
	background-color: #1c1c1c;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: transform 0.3s ease;
	z-index: 0;
	position: relative;
}

#projects article:hover{
	transform: scale(1.03);
	border: 1px solid #5deb7c;
}

#cv {}

#cv .zawartosc{
	display: flex;
	justify-content: center;
	gap: 4rem;
	flex-wrap: wrap;
}

#cv article{
	flex: 0 1 400px;
	background-color: #1c1c1c;
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	transition: transform 0.3s ease;
	z-index: 0;
	position: relative;
}

#cv article:hover {
	transform: scale(1.03);
	border: 1px solid #5deb7c;
}

#czwarta {}

#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}
#scrollToTop {
	position: fixed;
	right: 2.5rem;
	bottom: 2.5rem;
	z-index: 999;
	width: 4.5rem;
	height: 4.5rem;
	background: #232323;
	color: #5deb7c;
	border: none;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}
#scrollToTop:hover {
	background: #2d2d2d;
	color: #5deb7c;
	transform: scale(1.12);
}
#scrollToTop.show {
	opacity: 1;
	pointer-events: auto;
}
/* STOPKA */
#stopka {
	min-height: 10vh;
	background-color: #111;
	color: #aaa;
	border-top: 2px solid #5deb7c;
	position: relative;
	z-index: 2;
}

/* *************************** */
/* ************RWD************ */
/* RWD - responsive web design */
@media (max-width: 1000px) {

}
@media (max-width: 800px) {

}
@media (max-width: 600px) {
     nav .logo-initials {
        display: none;
    }
    .logo-initials.mobile {
        display: flex;
        position: static;
    }
	img{
		width: 100%;
	}
    .burger{
        display:block;

    }
	nav{
		display: none;
	}
	section{
		min-height: 100vh;
		scroll-margin-top: 0;
	}
    #scrollToTop {
        z-index: 
    }
	#druga article {
		flex: 1 1 350px;
	}
	#cv {
		padding: 2rem 0;
	}
	#cv img{
		width: 400px;
	}
	#cv article{
		background-color: white;
		padding: 1rem;
		flex: 0 0 300px;
	}
	.typewriter-group {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}
	.typewriter {
		font-size: 3rem;
		width: 100%;
		max-width: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
@media (max-width: 440px) {

}

