@font-face {
    font-family: "Iosevka Pride";
    src: url("font.ttf") format("truetype");
}

* {
    transition: color .3s ease, background-color .3s ease;
}


:root {
    --rosewater: #f5e0dc;
    --flamingo: #f2cdcd;
    --pink: #f5c2e7;
    --mauve: #cba6f7;
    --red: #f38ba8;
    --maroon: #eba0ac;
    --peach: #fab387;
    --yellow: #f9e2af;
    --green: #a6e3a1;
    --teal: #94e2d5;
    --teal40: #94e2d540;
    --sky: #89dceb;
    --sapphire: #74c7ec;
    --blue: #89b4fa;
    --lavender: #b4befe;
    --text: #cdd6f4;
    --subtext1: #bac2de;
    --subtext0: #a6adc8;
    --overlay2: #9399b2;
    --overlay1: #7f849c;
    --overlay0: #6c7086;
    --surface2: #585b70;
    --surface1: #45475a;
    --surface0: #313244;
    --base: #1e1e2e;
    --mantle: #181825;
    --crust: #11111b;
}

body.light {
    --rosewater: #dc8a78;
    --flamingo: #dd7878;
    --pink: #ea76cb;
    --mauve: #8839ef;
    --red: #d20f39;
    --maroon: #e64553;
    --peach: #fe640b;
    --yellow: #df8e1d;
    --green: #40a02b;
    --teal: #179299;
    --teal40: #17929940;
    --sky: #04a5e5;
    --sapphire: #209fb5;
    --blue: #1e66f5;
    --lavender: #7287fd;
    --text: #4c4f69;
    --subtext1: #5c5f77;
    --subtext0: #6c6f85;
    --overlay2: #7c7f93;
    --overlay1: #8c8fa1;
    --overlay0: #9ca0b0;
    --surface2: #acb0be;
    --surface1: #bcc0cc;
    --surface0: #ccd0da;
    --base: #eff1f5;
    --mantle: #e6e9ef;
    --crust: #dce0e8;
}

::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--base);
  border-radius: 9999px;
}

#bar ::-webkit-scrollbar-track {
  background: var(--mantle);
}

::-webkit-scrollbar-thumb {
  background: var(--subtext1);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mauve);
}


.themetoggle {
	transition: color .3s ease, background .3s ease;
	border-radius: 5px;
	padding: 3px 7px 3px 3px;
	text-decoration: none;
    position:absolute;
    top:20px;
    right:20px;
}

.themetoggle:hover {
	background: var(--teal40) !important;
}

body {
    font-family: "Iosevka Pride";
    background-color: var(--base);
    color: var(--text);
    margin: 0;
    display: flex;
    flex-direction: column;
    flex:1;
    overflow-x:hidden;
}
a {
    color: var(--blue);
	text-decoration: none;
}

a.a {
    color: var(--blue);
	text-decoration: none;
}
a.a::before {
	color: var(--blue);
	content: "[";
}
a.a::after {
	color: var(--blue);
	content: "]";
}

a.a:hover {
	text-decoration-thickness: 2px;
	text-decoration-color: currentColor;
	text-decoration-line: underline;
	text-decoration-style:solid;
}


.pj {
    display: inline-block;
    align-items: center;
    justify-content: center;
    margin:auto auto;
    max-width: 1000px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    border-radius: 25px;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1rem;
}

.blogcontainer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin:auto auto;
    text-align: left;
    max-width:1000px;
    width:100%;
}

.highlight {
    color:var(--green)
}

.veryspecial {
    background-clip: text;
    color: transparent;
    background: -webkit-linear-gradient(45deg, var(--pink), var(--mauve), var(--red), var(--maroon), var(--peach), var(--yellow), var(--green), var(--teal), var(--sky), var(--sapphire), var(--blue), var(--lavender));
    font-weight: 900;
    background-clip: text;
    color: transparent;
    animation: specialscroll 2s linear infinite;
    background-size: 200% auto;
    /* text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); */
}

@keyframes specialscroll {
    to {
        background-position: 200% 0;
    }
}


.project {
  display: inline-block;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5em;
  width: 100%;
  max-width: 420px;
  height: 160px;
  margin: 1em;
  padding: 1em;
  border: 3px solid;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.project:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px currentColor;
}

.project h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  transition: text-shadow 0.3s ease;
}

.project:hover h3 {
  text-shadow: 0 0 10px currentColor;
}

.project small {
  font-size: 14px;
  opacity: 0.75;
}

.project p {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  text-wrap: wrap;
}

.nav {
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
}

.nav a {
    line-height: 25px !important;
    margin:17.3333px 10px;
    font-size: 25px;
    color:var(--mauve);
    text-decoration: none;
}
.nav a.sel {
    color: var(--lavender);
}

#bar {
    top: 0;
    left: 0;
    width: calc(100vw);
    padding: 0;
    padding-bottom: 10px;
    z-index: 10;
    text-align: center;
    background: var(--mantle);
}

#bar h1 {
    font-size:35px;
    font-weight: bold;
    color: var(--pink);
    margin: 0;
    margin-bottom: 10px;
    margin-top: 30px;
}

.titleletter {
    display: inline-block;
}

.about {
    display:flex;
    justify-content: flex-start;
    flex: 1;
    flex-direction: column;
    align-self: center;
    align-items: left;
    padding:10px 40px;
    max-width: 1000px;
    width: calc(100% - 80px);
}

div.buttons {
    display:flex;
    flex-direction: row;
    justify-content: center !important;
    flex-wrap: wrap !important;
    max-width: 1000px
}

div.buttons a {
    transition: all .3s ease;
}

div.buttons a:hover {
    filter: brightness(70%) !important;
}

hr {
    color: var(--surface0);
}
