@import url(/global.css); img { pointer-events: none; user-select: none; } body { color: var(--text); padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; background-color: var(--base); min-height: 100vh; overflow-x: hidden; } .languages { margin-bottom: 20px; } strong { font-weight: 900; color: var(--text); } .info { margin-top: 50px; } #profile-picture { width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--lavender); } .name { font-size: 24px; margin-top: 10px; } .time, .weather { font-size: 18px; margin-bottom: 10px; color: var(--subtext1); } .age { font-size: 18px; margin-top: 5px; color: var(--subtext1); } .hobbies { margin-top: 10px; font-size: 16px; color: var(--subtext1); display: block; } .cards { margin-top: 30px !important; background-color: var(--surface0); border: 2px solid var(--surface1); padding: 20px; border-radius: 10px; width: 600px !important; text-align: left; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transition: border 0.1s; } .cards:hover { border: 2px solid var(--surface2); } footer { margin-bottom: 50px !important; } #status { font-weight: bold; margin: 10px 0 15px 10px; color: var(--subtext1); } .activity { display: flex; align-items: center; justify-content: center; text-align: left; width: 100%; gap: 2px; } #activity-name { flex-grow: 1; text-align: left; color: var(--subtext1); } #activity-image { display: block; height: 36px; width: 36px; } .languages, .contact, .software { margin-top: 30px; width: 100%; } .language-item { display: block; background-color: var(--surface0); padding: 10px 15px; border-radius: 8px; transition: background-color 0.3s, transform 0.2s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); margin: 10px; } .language-item:hover { background-color: var(--surface1); transform: translateY(-5px); } .language-item:hover span, .language-item:hover .language-name { color: var(--rosewater); } .name-percent-container { display: inline-flex; align-items: center; gap: 10px; width: 100%; } div[class="name-percent-container"] > img.image { width: 30px; height: 20px; border-radius: 2px; } .language-item .language-name { cursor: default; font-size: 18px; color: var(--subtext0); display: inline-block; margin-right: 10px; } .language-item .percent { font-size: 16px; color: var(--subtext0); font-weight: bold; } .percentage-bar { display: block; width: 100%; height: 8px; background-color: var(--surface2); margin-top: 10px; border-radius: 5px; position: relative; } .percentage-bar .bar-after { position: relative; width: 100%; height: 100%; border-radius: 5px; background: linear-gradient(to right, var(--lavender) 0%, var(--mauve) 50%, var(--lavender) 100%); background-size: 200% 100%; animation: shimmer 2s infinite ease-in; } .language-item:hover .percentage-bar .bar-after { background: linear-gradient(to right, var(--text) 0%, var(--lavender) 50%, var(--text) 100%); animation: shimmer 2s infinite ease-in; background-size: 200% 100%; } .tooltip { display: flex; justify-content: center; position: relative; } .tooltip::after, a[class="skill-item tooltip"]::after, a[class^="software-item tooltip"]::after { content: attr(data-tooltip); position: absolute; left: 50%; transform: translateX(-50%); bottom: 125%; background-color: var(--base); border: 1px solid var(--overlay0); color: var(--text); padding: 5px 10px; border-radius: 5px; font-size: 14px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; cursor: default; } a[class="skill-item tooltip"]::after { bottom: 110%; } a[class^="software-item tooltip"]::after { bottom: 100%; font-size: 16px; } .tooltip:hover::after { opacity: 1; visibility: visible; } .tooltip.slide-left::after { transform: translateX(-100%); } .tooltip.slide-right::after { transform: translateX(0%); } @keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } } #skills-div:not(#skills-div > h2) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 20px auto 0 auto; width: calc(100% - 40px); max-width: 600px; } .software:not(.software > h2) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: center; width: 100%; max-width: 600px; } .skill-item, .contact-item, .software-item { text-decoration: none; display: flex; align-items: center; justify-content: center; background-color: var(--surface0); padding: 15px; border-radius: 8px; transition: background-color 0.3s, transform 0.2s; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); text-align: center; margin: 10px; } .skill-item { flex-direction: column; margin: 0 20px; } .skill-item:hover, .software-item:hover { background-color: var(--surface1); transform: translateY(-5px); filter: brightness(1); } .skill-item:hover .skill-name { color: var(--white); } .skill-item > .image, .software-item > .image { margin-bottom: 10px; filter: brightness(0.75); } .skill-item:hover > .image, .software-item:hover > .image { filter: brightness(1); } .image { height: 50px; border-radius: 5px; transition: 0.1s; } .software-item > .image { height: 50px !important; border-radius: 0px; } .skill-name { font-size: 16px; color: var(--subtext0); transition: 0.1s; } .contact-name, .software-name { font-size: 16px; color: var(--subtext1); margin-left: 10px; transition: 0.1s; } .contact-item > .image, .software-item > .image { margin-top: 5px; } .card-header { color: var(--text); text-align: left; width: 100%; grid-column: span 2; } .contact-item:hover .contact-name, .software-item:hover .software-name { color: var(--white); } .github-contact { background-color: var(--crust); } .github-contact:hover { background-color: var(--base); } .instagram-contact { background-color: var(--lavender); } .instagram-contact > span, .twitter-contact > span, .youtube-contact > span { filter: invert(1); } .instagram-contact:hover { background-color: var(--mauve); } .twitter-contact { background-color: var(--blue); } .twitter-contact:hover { background-color: var(--lavender); } .youtube-contact { background-color: #f38ba8; } .youtube-contact:hover { background-color: #eba0ac; } @media (max-width: 768px) { .cards { width: 100% !important; max-width: 80% !important; padding: 15px; margin: 15px; } .language-item { margin: 10px; } .language-item img.image { width: 25px; height: 17px; } .language-item .language-name { font-size: 16px; } .language-item .percent { font-size: 14px; } a > img { height: 25px; } .popup { width: 90%; padding: 15px; } #song-cover { width: 60px; margin-right: 10px; } .top button, #song-url, #refresh { max-width: 28px; max-height: 28px; } } @media (max-width: 600px) { .cards { width: 100% !important; max-width: 80% !important; padding: 15px; margin: 15px; } .name { font-size: 20px; } .time, .age, .hobbies { font-size: 16px; } #profile-picture { width: 120px; height: 120px; } .stat-img { width: 100%; } .skill-item, .contact-item, .software-item { padding: 10px; } a > img { height: 25px; } .popup { width: 95%; padding: 12px; } .song { flex-direction: column; align-items: flex-start; } .song > div:nth-of-type(2) { width: 100%; justify-content: flex-end; margin-top: 8px; } #song-cover { width: 56px; margin-right: 10px; } .top { flex-direction: column; align-items: flex-start; } .top button { margin-top: 8px; width: 28px; height: 28px; } } @media (max-width: 400px) { .name { font-size: 18px; } .time, .age, .hobbies { font-size: 14px; } #profile-picture { width: 100px; height: 100px; } .cards { width: 100% !important; max-width: 80% !important; padding: 10px; } .skill-item, .contact-item, .software-item { padding: 8px; } a > img { transform: scale(0.75); } .software-name { font-size: 10px; } .popup { width: 95%; padding: 10px; } .song { flex-direction: column; align-items: flex-start; } .song > div:nth-of-type(2) { width: 100%; justify-content: flex-end; margin-top: 10px; } #song-cover { width: 50px; margin-right: 8px; } .top { flex-direction: column; align-items: flex-start; } .top button { margin-top: 10px; } } div[class="stats cards"] { text-align: center; } div[class="stats cards"] > h2 { text-align: left; } div[class="stats cards"] > p { text-align: left; color: var(--subtext0); } div[class="cards sitemap shadow"] > h3, div[class="cards sitemap shadow"] > h4 { font-weight: normal; } .banan { position: fixed; right: 30px !important; bottom: 30px !important; width: 64px; cursor: pointer; pointer-events: all !important; border-radius: 4px; } .banan:hover { transform: scale(1.04); } .banan:active { transform: scale(0.98); } .popup { text-align: left; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(49, 50, 68, 0.8); width: 600px; padding: 20px; border-radius: 10px; backdrop-filter: blur(5px); visibility: hidden; border: 2px solid var(--surface1); opacity: 0; transition: 0.3s; z-index: 9999; } .popup:hover { border: 2px solid var(--surface2); } .top { display: flex; justify-content: space-between; align-items: center; } .top button { padding: 4px; height: 32px; width: 32px; background-color: var(--red); color: var(--white); border: none; border-radius: 8px; cursor: pointer; transition: 0.1s; } #refresh:hover { background-color: #67de50; } .top button:hover { background-color: #bc3333; } .song { display: flex; align-items: center; justify-content: space-between; } .song > div { display: flex; align-items: center; } .song > div:nth-of-type(2) { width: 52px; } #artist { transition: color 0.1s; } #artist:hover { color: var(--mauve); } #song-cover { border-radius: 4px; margin-right: 15px; width: 72px; } #song-url { display: flex; background-color: var(--blue); padding: 4px; border-radius: 6px; margin-right: 5px; max-width: 24px; max-height: 24px; align-items: center; } #refresh { display: flex; background-color: var(--green); padding: 4px; border-radius: 6px; max-width: 24px; max-height: 24px; text-align: center; align-items: center; height: 100%; width: 100%; cursor: pointer; border: none; } #song-url:hover { background-color: var(--blue); } #song-url:hover > svg { color: var(--white); } #overlay { z-index: 10; background-color: rgba(16, 16, 16, 0.733); width: 100%; height: 100%; position: fixed; left: 0; top: 0; backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: 0.3s; } summary { font-size: large; user-select: none; cursor: pointer; } details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; } details > summary::before { content: "➤"; display: inline-block; margin-right: 6px; transition: transform 0.2s ease; } details[open] > summary::before { transform: rotate(90deg); } br { margin: 4px 0; }