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

:root {
	--main-background: #0b0c0f;
	--main-fonts-color: #fff;
	--main-decor-color: #00a9e2;
	--main-header-background: #21252e;
	--main-font-family: 'Poppins', sans-serif;
}

* {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

main {
	padding: 0;
	width: 100%;
	height: 100%;
	background: var(--main-background);
}

body { do odkomentowania na koniec
	padding: 0;
	width: 100%;
	height: 100%;
	background: var(--main-background);
}

/*────────────────── 
       header
──────────────────*/
header {
	margin: 0 auto;
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background: transparent;
	position: fixed;
	top: 0;
	transition: 0.3s;
	z-index: 5;
}

.nav-show {
	opacity: 0;
}

header:hover {
	opacity: 1;
	background: var(--main-header-background);
}

.logo img {
	padding-top: 6px;
	height: 90px;
	cursor: pointer;
}

.nav-bar {
	list-style: none;
	position: relative;
	display: inline-flex;
}

a.nav-link {
	margin: 2px;
	padding: 4px 8px; /*ramka dookola elementu glownego*/
	text-decoration: none;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
	text-transform: uppercase;
}

.active {
	background: var(--main-decor-color);
}

.nav-link:hover {
	color: #000000;
	background: var(--main-decor-color);
}

a.nav-link-child {
	font-size: 85%;
	margin: 2px;
	padding: 3px 6px; /*ramka dookola pod-elementu*/
	text-decoration: none;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
/*	text-transform: uppercase; */
}

.nav-link-child:hover {
	color: #000000;
	background: var(--main-decor-color);
}

/*──────────────────
       home
──────────────────*/
#home {
	margin: auto;
	height: 100vh;
	color: var(--main-fonts-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
}

#home .filter {
	background: url('graphics/Laptop4.png') no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0px;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: .20;
}

@media only screen and (max-width: 768px) {
	#home .filter {
		background-image: url('graphics/mobile_bck_3.png');
		background-size: cover;
		background-position: center;
		/*background-size: 260%;*/
	}
}

.intro {
	text-align: center;
	color: var(--main-fonts-color);
	z-index: 1;
	margin: auto;
	padding: 20px;
}

.intro p {
	margin: 5px;
	font-size: 1.2rem;
	font-family: var(--main-font-family);
	text-align: center;
}

h2 {
	padding-bottom: 15px;
	padding-top: 15px;
	letter-spacing: normal;
	font-family: var(--main-font-family);
	font-style: normal;
	font-size: 20px;
	color: var(--main-fonts-color);
	text-shadow: 0px 0px 40px var(--main-decor-color);
}

h3 {
	padding-bottom: 15px;
	letter-spacing: normal;
	font-family: var(--main-font-family);
	font-style: normal;
	font-size: 40px;
	color: var(--main-fonts-color);
	text-shadow: 0px 0px 40px var(--main-decor-color);
}


/*────────────────────────────────────────────────────── 
      about, myCV, architect, chatgpt, midjourney
──────────────────────────────────────────────────────*/
#about, #myCV, #architect, #projects, #powerbi, #crypto, #genAI, #chatgpt, #midjourney, #contact {
	margin-top: 400px;
	padding: 20% 20%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--main-fonts-color);
}

#about, #myCV, #architect, #projects, #powerbi, #crypto, #genAI, #chatgpt, #midjourney, #contact h2 {
	padding-top: 70px;
}

#about, #myCV, #architect, #projects, #powerbi, #crypto, #genAI, #chatgpt, #midjourney, #contact h3 {
	padding-top: 70px;
}

#about, #myCV, #architect, #projects, #powerbi, #crypto, #genAI, #chatgpt, #midjourney, #contact p {
	font-family: var(--main-font-family);
	font-size: 1.2rem;
	padding-top: 250px;
}

#contact {
	  height: 1px;
	  /*margin-top: 0px;
	  padding-bottom: 250px;*/
}

@media screen and (max-width: 500px) {
	#contact {
	  height: 600px;
	  margin-top: 0px;
	  padding-bottom: 250px;
	}
}

#contact h3 {
	padding-top: 0px;
}

#contact p {
  padding-top: 10px;
}

/*────────────────── 
       Footer
──────────────────*/
footer {
	margin-top: 400px;
	width: 100%;
	height: 100%;
	background-color: var(--main-header-background);
}

.copyright {
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	line-height: 40px;
	text-align: center;
	margin-top: 500px;
}

.copyright a {
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	letter-spacing: 1px;
	text-decoration: none;
}

.copyright a:hover {
	color: var(--main-decor-color);
}
/*──────────────────
      Contact
──────────────────
#contact {
	margin: auto;
	padding-bottom: 20px;
	height: 800px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--main-fonts-color);
}


#contact {
	margin-bottom: 200px;
	padding-bottom: 200px;
	height: 800px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--main-fonts-color);
}

#contact p {
	padding: 10px;
	text-align: center;
	font-size: 1.2rem;
	font-family: var(--main-font-family);
}
*/


#about .cv-content, #myCV .cv-content, #architect .cv-content, #chatgpt .cv-content, #midjourney .cv-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

#about .cv-content a, #myCV .cv-content a, #architect .cv-content a, #chatgpt .cv-content a, #midjourney .cv-content a {
	margin: 20px;
	padding: 10px 20px;
	background: var(--main-decor-color);
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
	text-decoration: none;
	border-radius: 12px;
	text-align: center;
	transition: 0.3s;
}

#about .cv-content a:hover, #myCV .cv-content a:hover, #architect .cv-content a:hover, #chatgpt .cv-content a:hover, #midjourney .cv-content a:hover {
	box-shadow: 0 0 1.5rem gray;
	color: #202020;
}

@media screen and (max-width: 500px) {
	#about .cv-content a, #myCV .cv-content a, #architect .cv-content a, #chatgpt .cv-content a, #midjourney .cv-content a {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}


/*──────────────────
      projects
──────────────────*/

.work {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.card {
	display: flex;
	flex-direction: column;
	margin: 20px;
	width: calc(100% / 3);
	/*width: 300px;*/
	height: 250px;
	border-radius: 12px;
	background: var(--main-decor-color);
	scroll-snap-align: start;
	flex-shrink: 0;
}

.card img {
	width: 100%;
	height: 70%;
	border-radius: 10px 10px 0px 0px;
}

.card .work-content {
	text-align: center;
	padding: 10px 5px;
	font-size: 1rem;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
}

.card a {
	text-decoration: none;
}

.card .work-content:hover {
	color: #202020;
}

.card:hover {
	box-shadow: 0 0 1.5rem gray;
}

@media screen and (max-width: 500px) {
  .card-container {
    overflow: scroll;
    margin-left: 22%;
    margin-right: 22%;
  }
}

@media screen and (max-width: 500px) {
  .card {
    	display: flex;
	flex-direction: column;
	margin: 20px;
	width: calc(100% / 1.28);
	/*width: 300px;*/
	height: 250px;
	border-radius: 12px;
	background: var(--main-decor-color);
	scroll-snap-align: start;
	flex-shrink: 0;
  }
}
	
@media screen and (max-width: 500px) {
   .work-content {
	text-align: center;
	padding: 10px 5px;
	font-size: 80%;
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
    }
}

/*────────────────── 
    media queries
──────────────────*/
@media only screen and (max-width: 1484px) and (min-width: 1214px) {
	.work {
		padding: 20px 20%;
	}
}

@media only screen and (max-width: 1214px) and (min-width: 1000px) {
	.work {
		padding: 20px 12%;
	}
}

/*──────────────────
    social media
──────────────────*/
.social-media {
	padding: 10px;
	display: flex;
	position: center;
	align-items: space-around;
	justify-content: center;
}

.social-media a {
	margin: 10px;
	font-size: 2rem;
	text-align: center;
	display: inline-block;
	color: var(--main-fonts-color);
}

.social-media a i {
	cursor: pointer;
}

.social-media a:hover {
	color: var(--main-decor-color);
	text-shadow: 0 0 50px var(--main-decor-color);
}




/*──── hr ─────*/
hr {
	background: var(--main-decor-color);
	margin: 2px;
	height: 3px;
	width: 150px;
	border-radius: 5px;
	border: hidden;
	margin-inline-start: auto;
	margin-inline-end: auto;
}

/*────────────────── 
     Scrollbar
──────────────────*/
::-webkit-Scrollbar {
	width: 5px;
	background: rgba(5, 5, 5, 1);
}

::-webkit-Scrollbar-thumb {
	border-radius: 10px;
	background: var(--main-decor-color);
	box-shadow: inset 0 0 20px var(--main-decor-color);
}

::-webkit-Scrollbar-track {
	margin-top: 80px;
	border-radius: 10px;
}

/*────────────────── 
     Hamburger
──────────────────*/
.hamburger {
	display: none;
}

.hamburger div {
	width: 30px;
	height: 3px;
	background: #dbdbdb;
	margin: 5px;
	transition: all 0.3s ease;
}

.toggle .line1 {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
	opacity: 0;
}

.toggle .line3 {
	transform: rotate(45deg) translate(-5px, -6px);
}

@keyframes navLinkFade {
	from {
		opacity: 0;
		transform: translatex(50px);
	}

	to {
		opacity: 1;
		transform: translatex(0px);
	}
}



@media only screen and (max-width: 500px) {
	#home,
	#projects,
	#contact {
		overflow-x: hidden;
	}

	header {
		background-color: var(--main-header-background);
	}

	.logo {
		position: absolute;
		top: 2px;
		left: 30px;
	}

	.nav-show {
		opacity: 1;
	}
	
	/* szary prostokat, na którym jest menu hamburgera */
	.nav-bar { 
		position: fixed;
		top: 0px;
		right: 0;
		width: 55%; /*szerokość szarego na którym jest menu hamburgera */
		height: 100vh;
		display: flex;
		flex-direction: column;
		/* align-items: center; to cos nie zadzialalo */
		text-align: center; 
		justify-content: space-evenly;
		background: var(--main-header-background);
		transform: translatex(100%);
		transition: transform 0.5s ease-in;
		z-index: -1;
	}

	.hamburger {
		position: absolute;
		top: 35px;
		right: 11%;
		display: block;
		cursor: pointer;
		z-index: 5;
	}

	.nav-bar li {
		opacity: 0;
	}
}

.nav-active {
	transform: translatex(0%);
}



/*──────────────────
       crypto
──────────────────*/

.crypto_buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.crypto_buttons button {
	display: flex;
	flex-direction: column;
	margin: 20px;
	padding: 10px 20px;
	background: var(--main-decor-color);
	color: var(--main-fonts-color);
	font-family: var(--main-font-family);
	cursor: pointer;
	border: none;
	border-radius: 12px;
	text-align: center;
	transition: 0.3s;
}

.crypto_buttons button:hover {
	box-shadow: 0 0 1.5rem gray;
}

.wallet-status {
    font-family: var(--main-font-family);
    font-size: 1.2rem;
    padding: 10px;
    color: var(--main-fonts-color);
    text-align: center;
}

#crypto #walletStatus {
    font-family: var(--main-font-family);
    font-size: 0.8rem;
    padding: 10px;
    color: var(--main-fonts-color);
    text-align: center;
}


.container {
	display: flex;
	overflow: hidden;
}

.arrow-left,
.arrow-right {
	cursor: pointer;
}

.card-container {
	display: flex;
	overflow-x: scroll;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}



/*────────────────── 
  CSS for PDF Icon
──────────────────*/

.pdf-icon {
	width: 40px; /* adjust size as per need */
	height: auto;
	margin: 0 auto; /* centering the icon */
	background: url('graphics/PDF_file_icon.png') no-repeat;
	background-size: contain; /* this will make sure that the icon fits within the dimensions specified */
	cursor: pointer; /* changes the cursor to pointer/hand when hovered over the icon */
}

/* optional: to change the look of the icon when hovered over */
.pdf-icon:hover {
	opacity: 0.7; /* makes the icon slightly transparent */
}
