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

:root {
    --bg-color: #ffdee1;
    --section-bg: #def3ff;
    --text-color: black;
    --link-color: #03a9f4;
    --accent-color: #bb8e92;
    --button-bg: #d9f9fd;
    --button-text: #9b7a82;
    --bg-01: #ffeefc;
    --lastfm-bg: #def3ff;
    --text: black;
}

body.dark-mode {
    --bg-color: #403240;
    --section-bg: #352535;
    --text-color: #f0f0f0;
    --link-color: #80d4ff;
    --accent-color: #ffb6c1;
    --button-bg: #352535;
    --button-text: #f0f0f0;
    --bg-01: #352535;
    --lastfm-bg: #352535;
    --text: white;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: center;
    margin: 0;
    user-select: none;
    transition: 0.5s;
    background: url(background_0.png);
}

.profile-row {
    gap: 15px;
    margin-top: -15px;
}

.name2 {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.badges {
    gap: 10px;
    background-color: #ffeeef;
    padding: 6px 10px;
    border-radius: 15px;
}


.profile-container {
    position: relative;
}

a, span {
    color: var(--link-color);
    text-decoration: none;
}

.background {
    background-image: url("banner.png");
    background-size: cover;
    background-position: center;
    width: 800px;
    height: 250px;
    border-radius: 7px;
    box-shadow: none;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar > img,
.avatar-container > img {
    border-radius: 50%;
}

.main-avatar {
    border: 10px solid var(--bg-color);
    margin: 5px;
    margin-top: 160px;
    transition-duration: 1s;
}

.decoration {
    position: absolute;
    top: 150px;
    left: -5px;
    border-radius: 0 !important;
    z-index: 2;
    pointer-events: none;
}

.main-avatar:hover {
    transform: rotate(360deg);
}

.status-icon {
    height: 30px;
    width: 30px;
    background-color: rgba(0, 0, 0, 1);
    position: absolute;
    border: 10px solid var(--bg-color);
    transform: translate(-60px, 300px);
    transition: all .2s;
}

.badges {
	padding: 5px;
	background-color: var(--bg-01);
    border-radius: 15px;
    margin-left: 195px;
    margin-top: -44px;
    display: flex;
    gap: 10px;
	width: fit-content;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0.8);
}

.badge{
    transition: 0.3s;
}

.badge:hover{
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.guild {
    display: inline-block;
	padding: 7px;
	background-color: var(--bg-01);
    border-radius: 15px;
    margin-left: 125px;
    margin-top: -56px;
    display: flex;
    gap: 10px;
	width: fit-content;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0.8);
}

.opis {
    margin-left: 15px;
    margin-top: 20px;
    display: inline-block;
    align-items: center;
    gap: 5px;
}

.line {
    display: flex;
    align-items: center;
    gap: 5px;
}

.opis-block {
    margin-left: -3px;
    display: inline-block;
    padding: 3px;
	background-color: var(--bg-color);
    border-radius: 10px;
    display: flex;
    gap: 10px;
	width: fit-content;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(0.8);
}

hr {
    color: rgb(59, 59, 59);
}


.section, .footer-content {
	max-width: 800px;
	margin: 20px auto;
	padding: 30px;
	background-color: color-mix(in srgb, var(--lastfm-bg) 80%, transparent);
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: left;
	color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.5s;
}

.section-profile {
	max-width: 800px;
    margin: 20px auto;
	background-color: color-mix(in srgb, var(--lastfm-bg) 80%, transparent);;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: left;
	color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.5s;
}

.section:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.profile-container {
    margin: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	background: var(--bg-color);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 15px;
	max-width: 800px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.social-button {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: inline-block;
	background-color: var(--button-bg);
	color: #9b7a82;
	padding: 10px 20px;
	margin: 10px;
	text-decoration: none;
	font-size: 16px;
	border-radius: 30px;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

a.social-button img {
    float: left;
    height: 16px;
	margin-top: 4px;
    padding-right: 7px;
}

.social-button:hover {
	background-color: #c9e1e4;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

a {
	color: #d3a4a8;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
    color: var(--accent-color);
}

.name {
    margin-top: 55px;
    margin-left: 15px;
}

.name2 {
    margin-top: -15px;
    margin-left: 15px;
}

.thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;          
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #bb8e92 transparent;
}

.thumbnails::-webkit-scrollbar {
    height: 8px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #bb8e92;
    border-radius: 10px;
}

.thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnail {
	max-width: 125px;
	max-height: 125px;
	width: auto;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.02s ease, box-shadow 0.05s ease;
    transition: 0.5s;
}

.thumbnail:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.main-image {
	margin-bottom: 20px;
	position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, opacity 0.15s ease;
    z-index: 10;
    color: #333;
    backdrop-filter: blur(6px);
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.carousel-arrow.left {
    left: 12px;
}

.carousel-arrow.right {
    right: 12px;
}

/* dopasowanie do dark-mode */
body.dark-mode .carousel-arrow {
    background: rgba(20,20,20,0.75);
    color: #f7f7f7;
}

/* mniejsze ekrany: strzałki nie zasłaniają obrazu zbyt mocno */
@media (max-width: 600px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

.main-image img {
	width: 100%;
	max-height: 500px;
	object-fit: contain;
	border-radius: 15px;
	opacity: 1;
	transition: opacity 0.2s ease-in-out;
}

.navbar {
    margin-top: 20px;
}

.navbar button {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: inline-flex;
	align-items: center;
	background-color: var(--button-bg);
	color: #9b7a82;
	padding: 10px 20px;
    gap: 10px;
	margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 15px;
	text-decoration: none;
	font-size: 16px;
	border-radius: 30px;
	border: none;
	outline: none;
	cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar button:hover {
	background-color: #c9e1e4;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.star {
	position: absolute;
	width: 4px;
	height: 4px;
	background: #ccf5fc;
	border-radius: 50%;
	opacity: 0.6;
	animation: twinkle 2s infinite alternate, fadeOut 4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes fadeOut {
	0% {
		opacity: 0.6
	}

	100% {
		opacity: 0;
	}
}

@keyframes twinkle {
	from {
		opacity: 0.5;
		transform: scale(0.9) translateY(-5%)
	}

	to {
		opacity: 1;
		transform: scale(1.1) translateY(5%)
	}
}

.profile-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.lastfm-card {
    display: flex;
    align-items: center;
    background: color-mix(in srgb, var(--lastfm-bg) 80%, transparent);
    border-radius: 12px;
    padding: 10px;
    width: 405px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    font-family: "Segoe UI", sans-serif;
    color: black;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.5s;
}

.lastfm-card:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.lastfm-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    margin-right: 12px;
    object-fit: cover;
}

.lastfm-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lastfm-status {
    font-size: 12px;
    color: #9b7a82;
    margin-bottom: 2px;
    text-align: left;
}

.lastfm-title a {
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    color: var(--text)
}

.lastfm-title a:hover {
    font-weight: bold;
    text-decoration: underline;
    transition: 0.3s;
    font-size: 16px;
    text-align: left;
    color: var(--text)
}

.lastfm-artist {
	font-weight: bold;
    font-size: 14px;
    color: #9b7a82;
    margin-top: 2px;
    text-align: left;
}

.white-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-01);
    border-radius: 50%;
    right: -25px;
    top: 210px;
    z-index: 3;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.white-dot2 {
    position: absolute;
    width: 33px;
    height: 33px;
    background-color: var(--bg-01);
    border-radius: 50%;
    right: -60px;
    top: 225px;
    z-index: 3;
}

.status {
    position: absolute;
    top: 240px;
    left: 220px; 
    background-color: var(--bg-01);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: bold;
    z-index: 4;
    font-family: "Poppins", sans-serif;
    width: 275px;
}

.theme-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.theme-switcher button {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.3s;
}

.theme-switcher button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.075);
}

.portfolio-header {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url("background_1.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.portfolio-header:hover {
    transform: translateY(-4px) scale(1.05);
}

.portfolio-header h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.contact-header {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url("background_2.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.contact-header:hover {
    transform: translateY(-4px) scale(1.05);
}

.contact-header h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.about-me-header {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url("background_3.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.about-me-header:hover {
    transform: translateY(-4px) scale(1.05);
}

.about-me-header h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.my-works-header {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url("background_5.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.my-works-header:hover {
    transform: translateY(-4px) scale(1.05);
}

.my-works-header h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

#my-works {
    margin-top: 40px;
}

.works-header h2 {
    margin-bottom: 20px;
    color: #bb8e92;
}

.work-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 12px;
    background: var(--bg-color);
    transition: transform 0.2s ease;
}

.work-card:hover {
    transform: scale(1.02);
}

.work-thumb {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.work-info h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text);
}

.work-info p {
    margin: 2px 0;
    font-size: 14px;
    color: #ccc;
}

.work-info a {
    font-size: 14px;
    color: #bb8e92;
    text-decoration: none;
}

.work-info a:hover {
    text-decoration: underline;
}

.stats-and-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 5px 0 10px 0;
}

.stats {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #ccc;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(187, 142, 146, 0.15);
    border: 1px solid rgba(187, 142, 146, 0.4);
    color: #bb8e92;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.tag:hover {
    background: #bb8e92;
    color: #fff;
}

