* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
}

:root{
  --bg: #ffffff;
  --text: #000000;
  --muted: #161515;
  --accent: #A200FF;
  --main-button-bg: rgb(233, 234, 234);
  --social-bg: rgb(233, 234, 234);
  --sticky-bg: #ffffff;

}

html.dark,
body.dark{
  --bg: #000000;
  --text: #ffffff;
  --muted: #111;
  --accent: #A200FF;
  --main-button-bg: rgb(22,21,21);
  --sticky-bg: black;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

.header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.switches {
  display: flex;
  align-items: center;
}

.switches select,
.switches button {
  border-color: transparent;
}

button#theme-toggle {
  font-size: 26px;
  margin: auto 4px;
}

body.dark #moon {
  vertical-align: middle;
  display: none;
}

body:not(.dark) #sun {
  display: none;
}

.home-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
}

#theme-toggle{
  background-color: transparent;
  color: var(--text);
  border: none;
}
.banner {
  display: flex;
  justify-content: center;
}

.banner-img svg,
.banner-img svg * {
  fill: var(--text);
  color: var(--text);
}

.job-title h3 {
  margin-top: 16px;
  margin-bottom: 32px;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
  left: 500px;
  top: 150px;
}

.nav-list li{
  padding:  5px;
}

.button-main,.button-main::after {
  background-color: var(--main-button-bg);
  color: var(--text);
  min-width: 174px;
  padding: 10px 50px;
  font-size: 20px;
  border: 1px solid transparent;
  border-radius: 25px;
  position: relative;
  box-sizing: border-box
}

.button-main::after {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

.button-main::after {
  --move1: inset(50% 50% 50% 50%);
  --move2: inset(31% 0 40% 0);
  --move3: inset(39% 0 15% 0);
  --move4: inset(45% 0 40% 0);
  --move5: inset(45% 0 6% 0);
  --move6: inset(14% 0 61% 0);
  clip-path: var(--move1); 
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.button-main:hover::after {
  content: attr(data-label);
  animation: glitch_4011 1s;
  text-shadow: 10 10px 10px black;
  animation-timing-function: steps(2, end);
  text-shadow: -3px -3px 0px #f21d1d, 3px 3px 0px #E94BE8;
  background-color: transparent;
  border: 3px solid rgb(255, 0, 0);
}

.button-main:hover {
  text-shadow: -1px -1px 0px #1df2f0, 1px 1px 0px #E94BE8;
}

.button-main:hover {
  background-color: transparent;
  border: 1px solid rgb(162, 0, 255);
  box-shadow: 0px 10px 10px -10px rgb(162, 0, 255);
}

@keyframes glitch_4011 {
  0% {
    clip-path: var(--move1);
    transform: translate(0px,-10px);
  }

  10% {
    clip-path: var(--move2);
    transform: translate(-10px,10px);
  }

  20% {
    clip-path: var(--move3);
    transform: translate(10px,0px);
  }

  30% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  40% {
    clip-path: var(--move5);
    transform: translate(10px,-10px);
  }

  50% {
    clip-path: var(--move6);
    transform: translate(-10px,10px);
  }

  60% {
    clip-path: var(--move1);
    transform: translate(10px,-10px);
  }

  70% {
    clip-path: var(--move3);
    transform: translate(-10px,10px);
  }

  80% {
    clip-path: var(--move2);
    transform: translate(10px,-10px);
  }

  90% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  100% {
    clip-path: var(--move1);
    transform: translate(0);
  }
  
}

.button-main,
.button-sticky {
  overflow: visible;
  white-space: normal;
}

.social-icons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.social-icons a svg,
.social-icons a svg * {
  height:24px; 
  width:24px;
  color: inherit;
  transition: fill 180ms ease, color 180ms ease;
}

.social-icons a{
  text-decoration: none;
  color: var(--text);
}

.social-icons a.htb:hover,
.social-icons a.htb:focus {
  color: #9fef00;
}

.social-icons a.thm:hover,
.social-icons a.thm:focus {
  color: #9d1e1e;
}

.social-icons a.linkedin:hover,
.social-icons a.linkedin:focus {
  color: #0a66c2;
}

.social-icons a.discord:hover,
.social-icons a.discord:focus {
  color: #8c9eff;
}

.social-icons a.email:hover,
.social-icons a.email:focus,
.social-icons a.github:hover,
.social-icons a.github:focus {
  color: #A200FF;
}

.sticky-navbar {
  background: var(--sticky-bg);
  color: var(--text);
  position: fixed;
  top: 0;
  left: 10px;
  right: 10px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(6px);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms ease, opacity 240ms ease;
  z-index: 999;
}

.sticky-navbar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-navbar svg,
.sticky-navbar svg  {
  color: var(--text);
}

.sticky-navbar #sticky-logo,
.sticky-navbar #sticky-logo * {
  fill: var(--text);
}

.left-sticknav-container {
  display: flex;
  align-items: center;
}
.right-sticknav-container {
  margin-right: 4px;
}
.sticky-nav-list {
  display: flex;
  justify-items: right;
  justify-content: right;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.button-sticky {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  border: none;
  background: none;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.button-sticky::before {
  margin-left: auto;
}

.button-sticky::after, .button-sticky::before {
  content: '';
  width: 0%;
  height: 2px;
  background: #A200FF;
  display: block;
  transition: 0.5s;
}

.button-sticky:hover::after, .button-sticky:hover::before {
  width: 100%;
}

.main-content {
  background-color: var(--bg);
  margin-top: 0;
  padding-top: 100vh;
  display: flex;
  flex-direction: column;
  gap: rem;
  align-items: center;
  scroll-snap-type: y mandatory;
  overflow-y: auto;
}

.main-content > * {
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
  padding: 2rem;    
}

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.main-content h1 {
  margin-bottom: 24px;
}

.main-content h2 {
  margin-bottom: 16px;
}

.main-content p,
.main-content ul {
  margin-bottom: 42px;
}
.main-content ul {
  list-style: none;
}

.projects,
.projects h1,
.projects h2,
.projects p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 900px;
}

.anka h2 {
  display: block;
}

.experience img {
  max-height: 60px;
  min-height: 60px;
  min-width: 250px;
  max-width: 250px;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
}

