@import url('https://fonts.googleapis.com/css2?family=Gravitas+One&family=Miniver&family=Oi&family=Poppins:ital,wght@0,400;0,700;1,400;1,500;1,600&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rowdies:wght@300;400;700&display=swap');

*, *::after, *::before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition:all 0.5s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

:root {
  --paper: #EDF1F7;
  --glue: #FFFFFF;
  --ice: #e2e2e2;
  --whitesmoke: #e3e3e3;
  --pure-BLACK: #151516;
  --Niggro: #1B2333;
  --Grey: #5B6472;
  --border: #d9d9e2;

  --yellow-glow: #f0cf29;
  --sunshine: rgb(250, 179, 2);
  --just-yellow: rgb(239, 236, 50);

  --accent-purple: #6C5CE7;
  --light-purple: #8578e6;
  --other-purple: #5428c4;
  --violet-idk: #37028d;
  --holy-purple: #9257f0;


  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-omori: 'Omori!', 'Normal', sans-serif;

  --hero-bg: url(/images/hero-bg.jpeg);
  --bg-image: url('/images/sunset.png');
  --bg-image2: url('/images/Laub_Hills_EP15.webp');

}

.darkmode {
  --paper: #14181e;
  --glue: #141216;
  --ice: #6426f6;
  --pure-BLACK: #ffffff;
  --Niggro: #d5d5d5;
  --Grey: #eff2f6;
  --border: #3d007a;

  --yellow-glow: #3627ff;
  --sunshine: rgb(167, 15, 255);
  --just-yellow: rgb(74, 2, 157);

  --accent-purple: #f8f8f9;
  --light-purple: #e2e0ef;
  --other-purple: #b39cf5;
  --violet-idk: #f4f4f4;
  --holy-purple: #f2f1f1;

  --hero-bg: url(/images/hero-bg-night.jpg);
  --bg-image: url('/images/freiren-night-bg.jpg');
  --bg-image2: url('/images/night-stars.avif');
}

@font-face {
  font-family: "Omori!";
  src: url(/Omori-fonts/OMORI_GAME2.ttf);
}

body {
  background-image: linear-gradient(rgba(43, 42, 42, 0.6), rgba(43, 44, 53, 0.6)), var(--bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  transition: 0.3s;

}

.header-title {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pure-BLACK);
  margin: 0;
  letter-spacing: -0.01em;

}

.header-title span {
  color: var(--sunshine);
}

#switch {
  height: 25px;
  width: 25px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--accent-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 20px;
  cursor: pointer;
}

#switch svg {
  fill: #e3e3e3;
  width: 24px;
  height: 24px;
}


#switch svg:last-child {
  display: none;
}

.darkmode #switch svg:first-child {
  display: none;
}

.darkmode #switch svg:last-child {
  display: block;
}

.nav {
  background: var(--glue);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;

}


.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  padding: 0 24px 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}



.nav-container ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-container ul li a {
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--Grey);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.nav-container ul li a:hover,
.nav-container ul li a:focus-visible {
  color: var(--Nigro);
}

.nav-container ul li a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 2px;
  background: var(--accent-purple);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-container ul li a:hover::after,
.nav-container ul li a:focus-visible::after {
  transform: scaleX(1);
}

:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
  border-radius: 4px;
}

/*  Hero section*/
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 72px 24px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--hero-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px var(--Nigro);
  border: solid var(--accent-purple) 3px;
}

.hero-text p {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.4;
  max-width: 42ch;
  color: whitesmoke;
  font-family: var(--font-omori), sans-serif;
}

.hero-text span {
  color: var(--other-purple);
}

.subtext-container {
  display: flex;
  justify-content: center;
}

.hero-subtext p {
  font-size: 1rem;
  color: whitesmoke;
  max-width: 60ch;
  line-height: 1.7;
  font-family: var(--font-mono), sans-serif;
}

.hero-subtext a {
  font-family: var(--font-omori), sans-serif;
  font-size: 25px;
  padding: 20px;
  text-decoration: none;
  color: yellow;

}


/*About*/
.About-me {
  margin-top: 230px;
  padding: 20px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pfp-image {
  margin-top: 60px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.pfp-text {
  margin-top: 60px;
  font-family: var(--font-mono);
  color: var(--Nigro);
  font-size: 30px;
  text-shadow: 0 0 8px var(--yellow-glow);
}

.pfp-text span {
  color: var(--sunshine)
}

/* me is tired breh*/
.text-container {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-image2);
  background-position: center;
  background-size: cover;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  margin: 40px auto 0;
  border-radius: 8px;
  border: solid 4px var(--light-purple);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.text-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--other-purple),
    0 0 20px var(--accent-purple),
    0 0 30px var(--light-purple);

}

.text-title {
  font-family: var(--font-omori), sans-serif;
  margin-bottom: 5px;
  font-size: 35px;
}

.text-title span {
  color: var(--light-purple)
}

.text {
  list-style: none;
  color: var(--whitesmoke);
  font-size: 30px;
  font-family: var(--font-omori), sans-serif;
}

.text span {
  color: var(--light-purple)
}

.skills-text li,
.tools li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  list-style: none;
}

.skills-title {
  font-size: 40px;
  font-family: var(--font-omori), sans-serif;
  color: var(--other-purple);
}

.tools-title {
  font-size: 30px;
  font-family: var(--font-mono), sans-serif;
  color: var(--other-purple);
}

.skills-text,
.tools {
  width: 100%;
  color: var(--whitesmoke);
  font-family: var(--font-omori), sans-serif;
  font-size: 45px;
}

.skills-text img,
.tools img {
  height: 35px;
  width: auto;
  max-width: 32px;
}

.skills-text span {
  color: var(--sunshine);
}

.tools span {
  color: var(--sunshine);
}

.skills-container {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-image2);
  padding: 20px;
  width: 100%;
  max-width: 500px;
  background-position: center;
  background-size: cover;
  margin: 40px auto 0;
  border-radius: 10px;
  border: 4px solid var(--light-purple);
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.skills-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--other-purple),
    0 0 20px var(--accent-purple),
    0 0 30px var(--light-purple);


}

.educ-title {
  color: var(--whitesmoke);
  font-family: var(--font-omori), sans-serif;
}

.educ-container {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-image2);
  padding: 20px;
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  border-radius: 10px;
  border: 4px solid var(--light-purple);
  transition: box-shadow 0.3s ease, transform 0.3s ease;

}

.educ-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--other-purple),
    0 0 20px var(--accent-purple),
    0 0 30px var(--light-purple);


}

.educ-container li {
  font-size: 20px;
  color: var(--whitesmoke);
  list-style: none;
  font-family: var(--font-omori);
}

.educ-container li span {
  color: var(--accent-purple);
  font-weight: 200;
}

.books-title{
  color:var(--ice);
  padding:20px;
  text-align:center;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  text-shadow: 0 0 8px var(--yellow-glow);
}
.image-container {
  cursor: pointer;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-image2);
  width: 90%;
  padding: 20px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: 4px solid var(--light-purple);
  border-radius: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--other-purple),
    0 0 20px var(--accent-purple),
    0 0 30px var(--light-purple);
}

.image-box {
  width: 250px;
  margin: 0 10px;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1);
  transition: 1s;
}

.image-box img {
  display: block;
  width: 100%;
  border-radius: 5px;
}

.image-box:hover {
  transform: scale(1.3);
  z-index: 2;
}

.projects-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 30px;
}

.projects-head h2 {
  margin-top: 60px;
  color: var(--ice);
  text-shadow: 0 0 8px var(--yellow-glow);


}


.projects {
  min-height: 100vh;
}

.projects-head img {
  width: 100px;
  margin-bottom: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.projects-head img:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--yellow-glow),
    0 0 20px var(--sunshine),
    0 0 30px var(--just-yellow);


}

.project-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  cursor: pointer;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 250px;
  border: 2px solid var(--light-purple);
  border-radius: 8px;
  background-color: var(--glue);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--accent-purple);
}

.project-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.project-content {
  padding: 15px;
  font-family: var(--font-mono);
}

.project-content h3 a {
  margin: 0 0 10px 0;
  text-decoration: none;
  color: var(--accent-purple);
}

.project-content li {
  list-style: none;
  color: var(--accent-purple);
}

.project-content p {
  color: var(--Grey);
}

.contacts {
  margin-top: 30px;
  padding: 40px 20px;
}

.contact-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 30px;
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  border: solid var(--violet-idk) 4px;
  background-image: linear-gradient(rgba(26, 25, 25, 0.6), rgba(0, 0, 0, 0.6)), var(--bg-image2);
  background-position: center;
  background-size: cover;
}

.contact-container h3 {
  color: var(--accent-purple);
  text-shadow: 0 0 8px var(--violet-idk);
}

.contact-container p {
  color: var(--pure-BLACK);
}
.contact-img-container span{
  color:var(--accent-purple);
}

.contact-container a {
  text-decoration: none;
  color: var(--sunshine)
}

.contact-img-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: var(--border);
  width: 100%;
  max-width: 600px;
  word-break: break-word;
  border: solid var(--light-purple) 1px;
}

.contact-img-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px var(--other-purple),
    0 0 20px var(--accent-purple),
    0 0 30px var(--light-purple);
}

.contact-img-container img {
  margin-top: 15px;
  margin-bottom: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: var(--light-purple) solid 2px;
}

.contact-img-container img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 8px var(--other-purple),
    0 0 16px var(--accent-purple);
}

.web-footer {
  background-color: var(--glue);
  color: var(--Niggro);
  padding: 40px 20px;
  font-family: var(--font-mono);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-width: 220px;
}

.footer-content h3 {
  margin-bottom: 15px;
  color: var(--holy-purple);
}


.footer-content ul li {
  list-style: none;
  margin-bottom: 10px;
}



.footer-content a {
  color: var(--Grey);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-content a:hover {
  color: var(--yellow-glow);
}

.bottom{
  margin-top: 60px;
  text-align: center;
}