@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap");
:root {
  --navbar-shadow: 0 0px 0px rgba(242, 152, 88, 0);
  --big-font:
   "Bitter", "Roboto Serif", "Space Grotesk", "Geist Mono", monospace;
  --small-font:
    "Roboto Mono",serif, arial, helvetica,
    sans-serif;
  --mono: "Roboto Mono", monospace;

  --colora: rgb(255, 86, 80);
  --colorb: rgb(109, 220, 64);
  --colorc: rgb(0, 183, 255);
}

.theme0 {
  --primary: rgb(208, 136, 77);
  --primary-hover: rgb(254, 176, 112);
  --primary-color: #000;
  --shadow: rgba(242, 152, 88, 0.2);
  --bg-footer: rgb(56, 25, 1);

  --white: #f7f3f3;
      --card-bg: #000000;
      --text-color: #bbbbbb;
      --accent-color: var(--primary);
       --card-shadow: 0 -40px 200px rgba(250, 125, 0, 0.3), inset 0 -40px 200px rgba(250, 125, 0, 0.2);
      --shadow: var(--card-shadow);
      --glass-color: rgba(255, 255, 255, 0.1);
      
}

.theme1 {
 --primary: rgb(211, 167, 250);
  --primary-hover: rgb(254, 176, 112);
  --primary-color: #000;
  --shadow: rgba(242, 152, 88, 0.2);
  --bg-footer: rgb(66, 4, 111);

  --white: #f7f3f3;
      --card-bg: #22014c90;
      --text-color: #d0d0d0;
      --accent-color: var(--primary);
       --card-shadow: 0 -40px 200px rgba(255, 255, 255, 0.3);
      --shadow: var(--card-shadow);
      --glass-color: rgba(233, 177, 255, 0.1);
}
.theme2 {
 --primary: #ff6600;
  --primary-hover: rgb(255, 255, 255);
  --primary-color: #fa3636;
  --bg-footer:linear-gradient(#FF6602, white);
  
 --white: var(--primary);
      --card-bg: #f0eee7;
      --text-color: #272727;
      --accent-color: var(--primary);
       --card-shadow: inset 0 -40px 200px rgba(0, 0, 0, 0.2);
      --shadow: var(--card-shadow);
      --glass-color: rgba(28, 28, 31, 0.1);
}
.theme3 {
--primary: rgb(5, 62, 234);
  --primary-hover: rgb(255, 255, 255);
  --primary-color: #fa3636;
  --bg-footer:linear-gradient(rgb(7, 7, 65), white);
  
 --white: var(--primary);
      --card-bg: #fbfbfbf3;
      --text-color: #272727;
      --accent-color: var(--primary);
       --card-shadow: inset 0 -40px 200px rgba(0, 0, 0, 0.2);
      --shadow: var(--card-shadow);
      --glass-color: rgba(178, 242, 208, 0.1);
}

* {
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #555 #1a1a1a;
}
html,
body {
  width: 100%;
  height: 100%;
  color: #000000;
  margin: 0;
  padding: 0;
  font-family: var(--small-font);
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.emoji {
  font-family: "noto color emoji";
  font-size: 25px;
  margin: 0 15px;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 0px 20px var(--primary);
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  font-weight: 100;
  font-style: italic;
}
.slideshow-refresh-btn svg {
  position: relative;
  top: 7px;
  fill: var(--primary);
}
.slideshow-refresh-btn:hover svg {
  fill: var(--primary-color);
}
h1 .emoji {
  font-size: 45px;
  text-shadow: 0px 0px 20px var(--primary);
}
.no-select {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard */
}
canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  display: block;
  z-index: -1;
}
.underline-link {
  position: relative;
  color: var(--primary);
  text-decoration: none;
}
.underline-link:hover {
  text-decoration: none;
}
.underline-link:focus {
  border: 2px solid var(--primary);
}
.underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px; /* underline thickness */
  background-color: var(--primary); /* underline color */
  transition: width 0.3s ease;
}

.underline-link:hover::after {
  width: 100%;
}
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.network {
  display: flex;
  position: absolute;
  font-family: "Libertinus Mono", monospace;
  font-size: 42px;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.chunk {
  position: absolute;
  text-align: center;
  font-size: 44px;
  color: transparent;
  transition: all 0.7s ease-in-out;
}

@media (max-width: 600px) {
  .chunk {
    font-size: 30px;
  }
}

@media (max-width: 400px) {
  .chunk {
    font-size: 20px;
  }
}

#blobSvg {
  z-index: 1;
  position: absolute;
  transition: opacity 1s ease-in-out;
  overflow: hidden;
}

#web-content {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

#logo-scene {
  background-color: transparent;
  display: block;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--big-font);
  font-weight: 400;
}

h1 {
  font-size: 3rem;
}
@media (max-width: 510px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.75rem;
  }
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  font-family: var(--small-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.2rem;
  line-height: 30px;
  color: var(--text-color);
}
p b {
  font-weight: 600;
  font-style: italic;
  color: var(--white);
}

#tech {
  text-align: center;
}

#tech img {
  width: 50px;
  height: 50px;
  margin: 10px;
  transition: all 0.3s ease-in-out;
}

#tech img:hover {
  transform: scale(1.1);
}

footer {
  padding: 0 25px;
}

footer p {
  font-size: 16px !important;
}

#wrapper {
  width: 100%;
  margin: 0;
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

#pfp {
  width: 300px;
  border: 4px solid var(--primary);
  border-radius: 15px;
  transition: all 0.2s;
}
#pfp:hover {
  transform: rotate(5deg);
  cursor: pointer;
}
#pfp:active {
  transform: rotate(0deg) scale(0.9);
}
@media (max-width: 600px) {
  #pfp {
    width: 150px;
  }
  .hidemobile {
    display: none;
  }

  footer {
    margin-top: 0px !important;
  }
}
#about {
  padding: 45px;
}

#lang-showcase {
  padding: 45px;
}

@media (min-width: 1000px) {
  #wrapper {
    display: flex;
  }

  #about {
    padding: 40px;
    width: 50%;
  }

  #lang-showcase {
    padding: 40px;
    width: 50%;
  }

  #tech img {
    width: 70px;
    height: 5vw;
    margin: 1vw;
  }
}

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #5f5f5f;
}

#projects {
  padding: 45px;
}
footer {
  padding-bottom: 62px;
}
#social-links {
  /*text-align: center;
  display: flex;
  float: right;
  margin-top: 30px;*/
  position: fixed;
  bottom: 10px;
  left: 20px;
  right: 20px;
  height: 72px;
  line-height: 72px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 0 15px;
  border-radius: 100px;
  background-color: var(--glass-color);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  max-width: 1000px;
  margin: 0 auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  isolation: isolate;
}

/* Safari fix: use pseudo-element when backdrop-filter needs isolation from mix-blend-mode */
@supports (-webkit-backdrop-filter: blur(1px)) {
  #social-links {
    background-color: transparent;
  }

  #social-links::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: -1;
    pointer-events: none;
  }
}

#social-links > * {
  position: relative;
  z-index: 1;
  mix-blend-mode: difference;
}

@media (max-width: 600px) {
  #social-links {
    left: 0px;
    bottom: 0px;
    border-radius: 0px;
    right: 0px;
  }
  #social-links::before {
    border-radius: 0px;
  }
}

.social-link {
  margin-right: 5px;
  width: 70px;
  height: 70px;
  text-align: center;
  background: transparent;
  border-radius: 82px;
  color: var(--white);
  text-decoration: underline;
  font-family: var(--small-font);
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.ai {
  border: 2px solid var(--text-color);
  margin-left: auto;
  width: fit-content !important;
  font-size: 14px;
  width: fit-content;
  height: 45px;
  line-height: 45px;
  vertical-align: middle;
  padding: 0px 10px;
  border-radius: 100px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-color);
}
.ai svg {
  width: 24px;
  fill: var(--text-color);
  margin-right: 5px;
}
.ai:hover {
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--primary);
}
.ai:hover svg {
  fill: var(--white);
}

.social-link svg {
  vertical-align: middle;
}

.social-link:hover {
  box-shadow: inset 0px -10px 10px var(--primary);
  color: var(--white);
  text-decoration: none;
  transform: translateY(0px);
}
.social-link:active {
  box-shadow:
    0px 0px 10px var(--primary),
    inset -2px -20px 10px var(--primary);
  transform: translateY(0px) scale(0.9);
}

.rp-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  border: 2px solid rgb(240, 240, 240);
  color: white;
  padding: 0em 20px;
  height: 50px;
  font-size: 1.1rem;
  border-radius: 8px;
  outline: none;
  transition: color 0.4s;
  z-index: 2;
}
.rp-button:focus {
  outline: 2px solid var(--primary);
}

.rp {
  position: absolute;
  width: 190%;
  height: 220%;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  line-height: 62px;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 1);
  box-shadow: var(--navbar-shadow);
  z-index: 999;
}
nav a {
  padding: 0 20px;
  color: white;
  height: 60px;
  line-height: 60px;
  transition: all 0.3s;
  border-top: 2px solid transparent;
  font-family: var(--small-font);
  font-weight: 400;
  width: 200px;
  text-align: center;
  letter-spacing: 0.4px;
  border-bottom: 1px solid transparent;
  color: rgba(255, 255, 255, 0.5);
}
nav a:hover {
  color: white;
  text-decoration: none;
}
nav a.active {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.filter {
  padding: 8px 16px;
  background: #000000;
  border-radius: 20px;
  border: 1px solid var(--primary);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s;
}
.filter.active {
  background: var(--primary);
  color: #000;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}
.skill-card {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(45, 28, 0, 0.5));
  border-radius: 10px;
  padding: 10px;
  font-family: var(--small-font);
  font-weight: 100;
  text-align: center;
  /*box-shadow: inset 0 70px 30px rgba(255, 255, 255, 0.3);*/
  transition: all 0.4s;
}
.skill-card:hover {
  box-shadow: inset 0 -40px 60px rgba(255, 255, 255, 0.2);
}
.skill-card:hover svg,
.skill-card:hover img {
  transform: translateY(-5px) scale(1.1);
}
.skill-card svg,
.skill-card img {
  transition: all 0.3s;
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}
.skill-name {
  font-weight: bold;
  font-size: 14px;
}

.annon {
  padding: 45px;
  text-align: center;
}
.annon h2 {
  text-align: left;
}
.annon p {
  text-align: left;
}
.annon img {
  border-radius: 5px;
  width: 100%;
}
