:root {
  --bg-primary: #0B0B12;
  --bg-secondary: #14121F;
  --text-primary: #E9E6FF;
  --text-secondary: #A9A3C7;
  --accent: #885CF6;
  --accent-hover: #B388FF;

  --gradient-text-color1: #8ac2ff;
  --gradient-text-color2: #9af7ff;
  --gradient-text-color3: #9effd5;

  --ue5-color:rgb(130, 0, 95);
  --unity-color:rgb(47, 88, 193);
  --photoshop-color:rgb(7, 41, 128);
  --csharp-color:rgb(113, 41, 152);
  --html-color:rgb(179, 66, 21);
  --css-color:rgb(47, 85, 255);
  --roblox-color:rgb(28, 102, 212);
  --lua-color:rgb(23, 19, 131);
  --aftereffects-color:rgb(49, 16, 139);
  --p5play-color:rgb(187, 22, 74);
  --p5js-color:rgb(187, 22, 74);
  --blender-color:rgb(204, 79, 21);
  --leveldesign-color:rgb(7, 136, 0);
   --p4v-color:rgb(55, 146, 202);

  --title-font: "Syne";
  --body-font: "Host Grotesk";
}

/* FONTS */
.krona-one-regular {
  font-family: "Krona One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.host-grotesk-regular {
  font-family: "Host Grotesk", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* PAGE BEHAVIOR */
html {
  scroll-behavior:smooth;
  font-size: 18px;
  font-family: var(--body-font);
}

/* DEFAULT STYLES */
body {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0px;
  margin: 0px;
  background-color: var(--bg-primary);
  overflow-x: auto;
}

/* NAV BAR */
.navbar {
    position: sticky; top: 0;
    backdrop-filter: blur(50px);
    display: flex;               
    align-content: center;
    align-items: center;
    background-color: color-mix(in srgb, var(--bg-primary) 80%, transparent);
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    padding: 15px;
}

/* logo */
.logo {
  margin: 0;
  padding:0;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 1;
  line-height: 1;            
}

.logo a{
  display: flex;
  text-decoration: none;
}

.logo-main{
    padding:0;
    margin:0;
    position: relative;
    color: var(--accent);
    font-weight:750;
    font-size:  clamp(0.25rem, 1vw, 1.5rem);
    white-space: nowrap;
    font-family: var(--title-font);
}

.logo-sub{
    margin-left: 5px;
    color: var(--text-primary);
    font-size: clamp(.9rem, 1rem, 1.1rem);
    white-space: nowrap;
    font-family: var(--body-font);
    font-weight: 400;
    letter-spacing: 2.5px;
}

@media (max-width: 500px) {
  .logo-main {
    display: none;
  }
}

/* nav buttons */
.menu li {
    color: var(--text-primary);
    font-weight:bold;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.menu li a{
    text-decoration: none;
    color: var(--text-primary);
    font-size:  clamp(0.5rem, 0.75vw, 1.5rem);
    font-weight: 400;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.menu {
    padding: 0px;
    margin: 0px;
    list-style: none;
    display: flex;              
    margin-left: auto;

    gap: clamp(0.25rem, 1.25vw, 2rem); 
    margin-right: clamp(0.25rem, 2vw, 3rem); 
}

.menu li:hover{
    cursor: pointer;
    transform: translateY(-2px);
}

.menu li a:hover{
    color: var(--accent-hover);
}
/* ----- */

/* HEADING */
h1{
    color: var(--text-primary);
    text-align: center;
    font-size:clamp(1rem,1.5rem,2vw);
    font-weight: 750;
    font-family: var(--title-font);
}

/* HEADING SUBTITLE */
h2{
  color: var(--text-secondary);
  text-align: center;
  font-size:clamp(0.25rem,0.75rem,1vw);
}

/* BODY TEXT */
h3{
  color: var(--text-primary);
  font-weight: 400;
  font-family: var(--body-font);
  padding-left: 17.5vw;
  padding-right: 17.5vw;
  font-size:clamp(0.5rem,1vw,2rem);
  margin-bottom: min(8vh, 75px);
  justify-content: center;
  text-align: left;
}

h4{
  margin-bottom: 15px;
}

/* SECTION TITLES */
.section-title{
  margin:0;
  padding:0;
}

.section-subtitle{
  margin-bottom:min(0.5vh,20px);
  padding:0;
}

.section-header-container{
  margin-top: min(4vh,40px);
  margin-bottom: min(4vh,40px);
}
/*------*/

.copy-text{
  margin-bottom:min(0.5vh,20px);
  padding:0;
  font-weight: 400;
  font-family: var(--body-font);
}

/*LANDING SECTION*/
.accent {
  color: var(--accent);
}

.aboutme-title{
  color: var(--text-primary);
  text-align: left;
  font-size:clamp(1rem,2vw,3rem);
  font-weight: bold;
  font-family: var(--title-font);
  margin-left: 17.5vw;
  margin-top: 6vh;
  margin-bottom: 0px;
  white-space: nowrap;
}

.aboutme-title2{
  color: var(--text-primary);
  text-align: left;
  font-size:clamp(0.75rem,1.5vw,2rem);
  font-weight: bold;
  font-family: var(--title-font);
  margin-left: 17.5vw;
  margin-top: 0.25vw;
  margin-bottom: 0px;
  white-space: nowrap;
}

.aboutme-subheader{
    color: var(--text-primary);
    text-align: left;
    font-size:clamp(0.75rem,1.5vw,2rem);
    font-weight: bold;
    padding-right: 8vw;
    margin-bottom: 0px;
}

.main-text{
  color: var(--text-primary);
  padding-left: 17.25vw;
  padding-right: 17.25vw;
  font-size:clamp(0.5rem,1vw,2rem);
  margin-bottom: min(8vh, 75px);
  justify-content: center;
  text-align: left;
}

.sub-text{
  color: var(--text-primary);
  padding-right: 17.25vw;
  font-size:clamp(0.5rem,1vw,2rem);
}
/*------*/

/* card gradients */
.gradient{
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, black, transparent);
  opacity: 0.5;
  position: absolute;
}

.hl-gradient{
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, var(--bg-primary), transparent);
  opacity: 0.85;
  position: absolute;
  transition: opacity 0.35s ease, color 0.1s ease;
  pointer-events: none;
}
/*------*/

.highlights-container{
  display: flex;
  gap: 1vw;
  justify-content: center;
  margin: 0 auto;
  padding-left: 10vw;
  padding-right: 10vw;
}


.highlight-card{
  background-color: var(--bg-secondary);
  border-radius: min(0.5vw,10px);
  aspect-ratio: 4 / 4.5;
  min-height: clamp(150px, 25vw, 400px);
  max-width: clamp(150px, 25vw, 400px);
  overflow: hidden;
  border: min(10px, 0.15vw) solid rgba(255,255,255,0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border 0.5s ease, opacity 0.5s ease;
  opacity: 0.75;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: rgba(50, 50, 93, 1) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.highlight-wrapper:nth-child(2) .highlight-card {
  border: min(10px, 0.15vw) solid var(--accent);
  opacity: 1;
   box-shadow:
    0 0 8px rgba(169, 125, 252, 0.25),
    0 0 100px rgba(169, 125, 252, 0.1);
}

.highlight-wrapper:nth-child(2) .skills-container{
  opacity: 1;
}

.highlight-wrapper:nth-child(2) .highlight-card:hover{
  border: min(10px, 0.15vw) solid var(--accent-hover);
}

.highlight-texts-container{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0px;
  left: min(1.5vw,25px);
  right: min(1.5vw,25px);
}

.highlight-title{
  color: var(--text-primary);
  font-size: clamp(0.5rem,1.5rem,2vw);
  font-weight: bold;
  position: relative;
  font-family: var(--title-font);
}

.highlight-text{
  color: var(--text-secondary);
  font-size: clamp(0.5rem,1rem,1.5vw);
  position: relative;
}

.highlight-card:hover{
  border: min(10px, 0.15vw) solid var(--accent-hover);
  transform: translateY(max(-1.5vh, -10px));
  opacity: 1;
}

.highlight-card:hover .hl-gradient{
  opacity: 1;
}

.skills-container{
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: left;
  cursor:default;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

@media (max-width: 500px) {
  .highlights-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
  }

  .highlights-container .highlight-wrapper:nth-child(2) {
    order: -1;
  }

  .highlight-card{
    opacity: 1;
  }

  .skills-container{
    opacity: 1;
  }
}

.card-link:hover + .skills-container{
  opacity: 1;
}

.skill-ue5{
  background-color: var(--ue5-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-p4v{
  background-color: var(--p4v-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-blender{
  background-color: var(--blender-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-photoshop{
  background-color: var(--photoshop-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-csharp{
  background-color: var(--csharp-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-roblox{
  background-color: var(--roblox-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-lua{
  background-color: var(--lua-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-aftereffects{
  background-color: var(--aftereffects-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-html{
  background-color: var(--html-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-p5play{
  background-color: var(--p5play-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-p5js{
  background-color: var(--p5js-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-css{
  background-color: var(--css-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-unity{
  background-color: var(--unity-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-leveldesign{
  background-color: var(--leveldesign-color);
  width: fit-content;
  height: fit-content;
  padding: clamp(0.1rem, 0.25rem, 0.25vw) clamp(0.25rem, 1rem, 1vw);
  border-radius: min(0.5vw,10px);
  position: relative;
}

.skill-text{
  position: relative;
  font-size:clamp(0.25rem,0.75vw,2rem);
  margin: 0;
  color: rgb(255, 255, 255);
  z-index: 1;   
  font-weight: bold;
}

.work-container{
  display: flex;
  gap: 0.5vw;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 20vw;
  padding-right: 20vw;
}

.empty-work-card{
  background-color: rgba(255,255,255, 0.02);
  border-radius: min(0.5vw,10px);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(20vw,300px);
  border: min(10px, 0.15vw) solid rgba(255,255,255,0.1);
  cursor: pointer;
  position: relative;
  overflow:hidden;
  transition: transform 0.3s ease, border 0.5s ease;
}

.work-card{
  background-color: rgba(255,255,255, 0.02);
  border-radius: min(0.5vw,10px);
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(20vw,300px);
  border: min(10px, 0.15vw) solid rgba(255,255,255,0.1);
  cursor: pointer;
  position: relative;
  overflow:hidden;
  transition: transform 0.3s ease, border 0.5s ease;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-content-container{
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: min(1vw,25px);
  left: min(1vw,25px);
  right: min(1vw,25px);
  gap: 1.5vh;
}

.work-title{
  color: var(--text-primary);
  font-size: clamp(0.25rem,1.25rem,1.75vw);
  font-weight: bold;
  position: relative;
  font-family: var(--title-font);
}

.work-skills-container{
  display: flex;
  gap: 8px;
  justify-content: left;
  cursor:default;
  position: relative;
  z-index: 2;
}

.work-card:hover{
  border: min(10px, 0.15vw) solid var(--accent-hover);
  transform: translateY(max(-1.5vh, -10px));
}

.work-card:hover .hl-gradient{
  opacity: .9;
}

.main-work-image{
  background-color: rgb(33, 33, 33);
  border-radius: min(0.5vw,10px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 15vw;
  margin-right: 15vw;
  margin-top: 1vw;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.work-page-gradient{
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, black, transparent);
  opacity: 0.5;
  position: absolute;
  pointer-events: none;
}

.main-work-image img{
  height: 100%;
  width: 100%;
  border-radius: min(0.5vw,10px);
  pointer-events: none;
}

.main-work-image video{
  height: 100%;
  width: 100%;
  border-radius: min(0.5vw,10px);
  position: relative;
}

.main-work-image iframe{
  height: 100%;
  width: 100%;
  border-radius: min(0.5vw,10px);
  position: relative;
}
.work-info-wrapper{
  display: flex;
  margin-left: 15vw;
  margin-right: 15vw;
  margin-top: 1vw;
  gap: 1vw;
  justify-content: center;
}

.work-subheader{
    color: var(--text-primary);
    text-align: left;
    font-size:clamp(0.75rem,1.5rem,2vw);
    font-weight: bold;
    padding-left: min(2vw,35px);
    padding-right: min(2vw,35px);
}

.work-about-container{
  background-color: var(--bg-secondary);
  width: 1000px;
  border-radius: min(0.5vw,10px);
  padding-bottom: min(3vw,35px);
}

.work-info-container{
  background-color: var(--bg-secondary);
  width: 500px;
  border-radius: min(0.5vw,10px);
  padding-bottom: min(3vw,35px);
}

.work-sub-text{
  color: var(--text-secondary);
  padding-left: min(2vw,35px);
  padding-right: min(2vw,35px);
  font-size: min(20px, 1.5vw);
}

.work-info-sub-text{
  color: var(--text-secondary);
  padding-left: min(2vw,35px);
  padding-right: min(2vw,35px);
  font-size: min(20px, 1.5vw);
}

.all-work-feature-container{
  display: flex;
  flex-direction: column;
  margin-top: 1vw;
  margin-left: 15vw;
  margin-right: 15vw;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}

.work-feature-collapsible{
  position: relative;
      width: 100%;
}

.work-feature-container{
  background-color: var(--bg-secondary);
  height: min(5vw,60px);      
  border-radius: min(0.5vw,10px);
  border: min(10px, 0.15vw) solid rgba(255,255,255,0.1);
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: transform 0.3s ease, border 0.5s ease;
  padding: 0vw 1vw;

}

.work-feature-container:hover{
  border: min(10px, 0.15vw) solid rgba(255, 255, 255, 0.456);
  transform: translateX(max(-1.5vh, -10px));
}

.work-feature-container img{
  height: min(2vw,35px);
  width: min(2vw,35px);
  aspect-ratio: 1/1;
  margin-left: auto;
  transition: transform 0.3s ease;
   -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.work-feature-title{
    color: var(--text-primary);
    text-align: left;
    font-size:min(20px, 1.5vw);
    font-weight: bold;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.work-feature-subtitle{
    color: var(--text-primary);
    text-align: center;
    font-size:min(20px, 1.5vw);
    font-weight: bold;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    margin-top: min(4vh, 40px);
}

.what-i-learn-text{
  color: var(--text-secondary);
  padding-left: 15vw;
  padding-right: 15vw;
  font-size: min(20px, 1.5vw);
  margin-bottom: min(8vh, 75px);
  font-weight:bold;
  text-align: center;
}

.work-feature-content{
  color: var(--text-secondary);
  margin-top: 0vh;
  margin-bottom: 0vh;
  padding-left: 5vw;
  padding-right: 5vw;
  font-size: min(20px, 1.5vw);
  text-align: center;
  visibility: collapse;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease, margin-bottom 0.3s ease;
}

.img-square{
  height: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: min(0.5vw,10px);
}

.img-square-container{
  height: auto;
  max-width: 500px;
  aspect-ratio: 1/1;
  margin-left: auto;
  margin-right: auto;
}

.img-landscape{
  height: 100%;
  width: 100%;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  border-radius: min(0.5vw,10px);
}

.img-landscape-container{
  height: auto;
  max-width: 960px;
  aspect-ratio: 16/9;
  margin-left: auto;
  margin-right: auto;
}

.vid-square{
  height: 100%;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: min(0.5vw,10px);
}

.vid-landscape{
  height: 100%;
  width: 100%;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
  border-radius: min(0.5vw,10px);
}

#toggle-1, #toggle-2, #toggle-3, #toggle-4{
  display: none;
}

#toggle-1:checked ~ .work-feature-content {
  max-height: fit-content;
   visibility: visible;
   opacity: 1;
    margin-top: 2vh;
  margin-bottom: 2vh;
}

#toggle-1:checked ~ .work-feature-container img{
  transform: rotate(45deg);
}

#toggle-2:checked ~ .work-feature-content {
  max-height: fit-content;
  visibility: visible;
  opacity: 1;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

#toggle-2:checked ~ .work-feature-container img{
  transform: rotate(45deg);
}

#toggle-3:checked ~ .work-feature-content {
  max-height: fit-content;
   visibility: visible;
   opacity: 1;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

#toggle-3:checked ~ .work-feature-container img{
  transform: rotate(45deg);
}
#toggle-4:checked ~ .work-feature-content {
  max-height: fit-content;
   visibility: visible;
   opacity: 1;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

#toggle-4:checked ~ .work-feature-container img{
  transform: rotate(45deg);
}

.credits-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 50px;
  margin-top: max(-4vh,-30px);
  list-style: none;
}

.credits-text{
 color: var(--text-secondary);
  width: min(70%, 900px);
  font-size: min(20px, 1.5vw);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-bottom: 7px;
  margin-top: 7px;
}

.about-body{
  padding-left: 30vw;
  padding-right: 30vw;
}

/* CONTACT */
.email-text{
  font-family: var(--body-font);
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0px;
  font-size:clamp(0.75rem,3vw,2rem);

  transition: color 0.3s ease;
}

.email-text img{
  width: min(35px, 5.5vw);
  height: min(35px, 5.5vw);
}

.linkedin-text{
  color: var(--text-secondary);
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  font-size:clamp(0.5rem,0.75vw,2rem);
  transition: color 0.3s ease;
}

.linkedin-text:hover{
  color: var(--text-primary);
}

.linkedin-text img{
  width: min(18px, 4vw);
  height: min(18px, 4vw);
}

.contact-container{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 50px;
  margin-top: max(-4vh,-30px);
  list-style: none;
}

.copy {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.email-text:hover {
  color: var(--text-secondary);
}

section {
  scroll-margin-top: 0px;
  padding-top: clamp(3rem, 20vh, 60rem);
}

.section-contact {
  padding-bottom: clamp(3rem, 27vh, 60rem);
}

footer {
  color: var(--text-secondary);
  text-align: center;
  font-size: 12px;
  padding: 25px;
  letter-spacing: 1px;
}