::view-transition-old(root) {
  animation: fadeOut 0.5s ease forwards;
}

::view-transition-new(root) {
  animation: liquidPour 0.8s cubic-bezier(.27,.01,.38,.99) forwards;
  transform-origin: top center;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes liquidPour {
  0% {
    clip-path: inset(0 0 100% 0);
    filter: blur(20px);
  }
  50% {
    clip-path: inset(0 0 50% 0) round 40% 40%;
    filter: blur(10px);
  }
  100% {
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}
    
    :root {
      --bg-dark: oklch(0.1 0 250);
      --bg: oklch(0.15 0 250);
      --bg-light: oklch(0.2 0 250);
      --text: oklch(0.96 0 250);
      --text-muted: oklch(0.76 0 250);
      --border: oklch(0.4 0 250);
      --gradient: linear-gradient(0deg, var(--bg) 95%, var(--bg-light));
      --gradient-hover: linear-gradient(0deg, var(--bg), var(--bg-light));
      --highlight: oklch(0.5 0 250);
      --border-card: solid 1px var(--border);
      --shadow: 0px 2px 2px hsla(0, 0%, 0%, 0.07), 0px 4px 4px hsla(0, 0%, 0%, 0.15);
      --primary: oklch(0.76 0.1 250);
      --secondary: oklch(0.76 0.1 70);
      --project-section:#313647;
      --education-section: #435663;
      --contact-section: #222222;
      --end-circle: #FFF8D4;
      --contactBtn: oklch(57.876% 0.22148 27.784);
      --contactBtn-hover: oklch(45% 0.21 27.784);
      --skill11: #3B82F6;
      --skill12: #F59E0B;
      --skill21: #10B981;
      --skill22: #BE185D;
      --skill31: #F97316;
      --skill32: #0EA5E9;
      --skill41: #8B5CF6;
      --skill42: #84CC16;
      --skill51: #06B6D4;
      --skill52: #F43F5E;
      --skill61: #EC4899;
      --skill62: #14B8A6;
      --skill71: #2563EB;
      --skill72: #FACC15;
      --skill81: #64748B;
      --skill82: #F87171;
      --skill-text-1: #FFFFFF;
      --skill-text-2: #475569;
      --fill-progress:#2F3E46;
      --resume-download_text:#004D5A;
      --success: #10B981;
      --failure: #EF4444;
      --card-background: #273F4F;
      --card-image-background: oklch(0.81 0.04 221.93);
      --card-github: oklch(0.40 0.05 250);
      --card-github-hover: oklch(0.48 0.05 250);
      --edutoggle :#0078ff;
      --exptoggle :#ff4d4d;
      --experience_metric :linear-gradient(135deg, #ff4d4d, #ff9900);
      --email-bg: rgba(255, 255, 255, 0.05);
      --email-border: #3a3a3a;
      --email-text: #bbb;
      --email-highlight: #7c5cff;
      --email-highlight-hover: #a48bff;
      --email-glow: rgba(124, 92, 255, 0.32);
      --navbar: rgba(20, 22, 25, 0.9);
    }

    body.light {
      --bg-dark: oklch(0.92 0 250);
      --bg: oklch(0.96 0 250);
      --bg-light: oklch(1 0 250);
      --text: oklch(0.15 0 250);
      --text-muted: oklch(0.4 0 250);
      --border: oklch(0.6 0 250);
      --gradient: linear-gradient(0deg, var(--bg) 95%, var(--bg-light));
      --gradient-hover: linear-gradient(0deg, var(--bg), var(--bg-light));
      --highlight: oklch(1 0 250);
      --border-card: solid 1px var(--bg);
      --primary: oklch(0.4 0.1 250);
      --secondary: oklch(0.4 0.1 70);
      --project-section: #E3E8FF;
      --education-section: #D9F0FF;
      --contact-section: #F0F0F0;
      --end-circle: #FFE9A6;
      --skill11: #4C8DFF;   
      --skill12: #FFAE26; 
      --skill21: #19C995;   
      --skill22: #FF58AC;   
      --skill31: #FF8330;  
      --skill32: #23B6FF;   
      --skill41: #9C66FF;  
      --skill42: #97DD1C;  
      --skill51: #11C9EB;   
      --skill52: #FF4C70;  
      --skill61: #E355FF;  
      --skill62: #19CDB8;  
      --skill71: #FFDB1E;   
      --skill72: #3B6FFF;   
      --skill81: #7A8CA5;   
      --skill82: #FF5757;   
      --skill-text-1: #0F172A;   
      --skill-text-2: #FFFFFF;   
      --fill-progress: #4B5563;        
      --resume-download_text: #0EA5E9; 
      --success: #047857;
      --failure: #B91C1C;
      --card-background: #99bfeb;
      --card-image-background: oklch(0.19 0.04 221.93);
      --card-github: oklch(61.969% 0.10199 253.115);
      --card-github-hover: oklch(69.969% 0.10199 253.115);
      --edutoggle :#3399FF;
      --exptoggle :#FF5E5E;
      --experience_metric :linear-gradient(135deg, #FF5E5E, #FFB347);
      --email-bg: #ffffff;           
      --email-border: #d0d7ff;        
      --email-text: #4a4a4a;         
      --email-highlight: #5a48ff;  
      --email-highlight-hover: #7c63ff;
      --email-glow: rgba(90, 72, 255, 0.22);
      --navbar: rgba(245, 247, 250, 0.9);
    }

    html{
      color-scheme: dark light;
    }

    html, body {
      margin: 0;
      padding: 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-behavior: smooth;
    }

    body {
      background: var(--project-section);
      color:var(--text-muted);
      overflow-x: hidden;
    }

    .hero-section {
      height: 310vh;
      position: relative;
      background: black;
      scroll-snap-type: y mandatory;
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: opacity 0.8s ease;
    }

    .wrapper {
      position: sticky;
      top: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
    }

    .intro-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      z-index: 10;
      transition: opacity 1s ease, transform 1s ease;
    }

    .intro-overlay.fade-out {
      opacity: 0;
      transform: translateY(-20px);
      pointer-events: none;
    }

    .hero-section-h1 {
      color: var(--primary);
      font-size: clamp(1.5rem, 2.5vw, 2.5rem);
      margin: 0;
      opacity: 0.9;
      font-family: 'Orbitron', sans-serif;
    }

    .hero-section-p {
      color: var(--secondary);
      font-size: clamp(1.5rem, 2.5vw, 2.5rem);
      font-weight: 600;
      letter-spacing: 1px;
      margin-top: 0.5rem;
      font-family: 'Orbitron', sans-serif;
    }

    .scroll-indicator {
      color: var(--text);
      position: absolute;
      font-family: 'Orbitron', sans-serif;
      bottom: 30px;
      font-size: clamp(1.5rem, 2.5vw, 2.5rem);
      animation: bounce 1.5s infinite;
      opacity: 0.8;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(8px); }
    }

    .end-video {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      opacity: 0;
      pointer-events: none;
      z-index: 100;
      transition: opacity 1s ease;
      will-change: opacity;
    }

    .end-video.active { pointer-events: all; }

    .end-video video {
      width: 100vw;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -1;
    }

    .bg-name {
      font-family: "Rubik", sans-serif;
      position: absolute;
      inset: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: clamp(2rem, 6vw, 15rem);
      font-weight: 900;
      color: oklch(0.96 0 250);
      letter-spacing: 5px;
      z-index: 2;
      pointer-events: none;
      user-select: none;
      top: 75vh;
    }

    .laptop-container {
      position: relative;
      width: 100vw;
      height: 100%;
      margin: 0 auto;
    }

    section.info-section {
      z-index: 1;
      display: flex;
      height: auto;
      min-height: 100vh;
      width: 100vw;
      background: var(--bg-dark);
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: relative;
      top: 0;
    }
    
    .main-section{
      width: 100vw;
      min-height: 100vh;
      display: grid;
      grid-template-columns: 40% 60%;
      grid-template-rows: 1fr;
      grid-template-areas: 
      'potrait information';
    }

    .information{
      padding: 5vh;
      box-sizing: border-box;
      z-index: 1;
      top: 25vh;
      grid-area: information;
      max-width: 100vw;
    }

    .potrait {
      grid-area: potrait;
      height: 100%;
      background: url('kunal_potrait_rightt.png') no-repeat center center;
      background-size: contain;
      /* background: var(--bg-dark); */
    }

    .grid-skills{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(4, auto);
      gap: 5%;
    }

    h1{
      font-family: "Caudex", serif;
      font-size: clamp(2rem, 5vw, 8rem);
      margin-bottom: 2vh;
    }

    h2{
      font-family: "Martel", serif;
      font-size: clamp(1rem, 2.5vw, 2rem);
    }

    h3{
      font-family: "Quicksand", sans-serif;
    }

    p{
      color: var(--text-muted);
    }

    .socials-container{
      display: flex;
      gap: 20px;
      margin-top: 5vh;
    }

    .socials-container a{
      background-color: oklch(0.96 0 250);
      padding: 1em;
      border-radius: 50%;
      height: 54px;
      width: 54px;
      box-sizing: border-box;
      flex-shrink: 0;
      display: grid;
      place-items: center;
      box-shadow: var(--shadow);
    }

    .socials-container a svg{
      height: 24px;
    }

    .socials-container a::before{
      content: attr(data-social);
      position: absolute;
      background-color: var(--accent-color);
      color: oklch(0.96 0 250);
      text-decoration: none;
      padding: 0.5em 1em;
      border-radius: 100px;
      box-shadow: var(--shadow);
      transform: translateY(-30px) rotate(25deg);
      opacity: 0;
      transition: 200ms cubic-bezier(.42,0,.44,1.68);
    }

    .socials-container a:hover{
      background-color: var(--accent-color);
      fill: oklch(0.96 0 250);
    }

    .socials-container a:hover:last-child{
      color: oklch(0.96 0 250);
    }

    .socials-container a{
      color: oklch(0.1 0 250);
    }

    .socials-container a::after{
      content: '';
      position: absolute;
      height: 0;
      width: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 10px solid var(--accent-color);
      transform: translateY(0) rotate(25deg);
      opacity: 0;
      transition: 200ms cubic-bezier(.42,0,.44,1.68);
    }

    .socials-container a:hover::before{
      transform: translateY(-65px) rotate(0);
      opacity: 1;
    }

    .socials-container a:hover::after{
      transform: translateY(-42px) rotate(0);
      opacity: 1;
    }

    .skills{
      font-weight: bold;
      position: relative;
      padding: 25px;
      border-radius: 5px;
      text-align: center;
      overflow: hidden;
      transition: background-color 0.4s ease, transform 0.3s ease;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transform: skew(-20deg);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .skills.a_1 {background-color: var(--skill11);}
    .skills.a_2 {background-color: var(--skill12);}
    .skills.b_1 {background-color: var(--skill21);}
    .skills.b_2 {background-color: var(--skill22);}
    .skills.c_1 {background-color: var(--skill31);}
    .skills.c_2 {background-color: var(--skill32);}
    .skills.d_1 {background-color: var(--skill41);}
    .skills.d_2 {background-color: var(--skill42);}
    .skills.e_1 {background-color: var(--skill51);}
    .skills.e_2 {background-color: var(--skill52);}
    .skills.f_1 {background-color: var(--skill61);}
    .skills.f_2 {background-color: var(--skill62);}
    .skills.g_1 {background-color: var(--skill71);}
    .skills.g_2 {background-color: var(--skill72);}
    .skills.h_1 {background-color: var(--skill81);}
    .skills.h_2 {background-color: var(--skill82);}

    .skills.a_1, .skills.b_1, .skills.c_1, .skills.d_1, .skills.e_1, .skills.f_1, .skills.g_1, .skills.h_1{
      color: var(--skill-text-1);
    }

    .skills.a_2, .skills.b_2, .skills.c_2, .skills.d_2, .skills.e_2, .skills.f_2, .skills.g_2, .skills.h_2{
      color: var(--skill-text-2);
    }

    .skills::before{
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
      backdrop-filter: blue(2px);
      transition: left 0.5s ease;
      z-index: 0;
    }

    .skills:hover::before{
      left: 0;
    }

    .skills::after{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom right, rgba(255,255,255,0.4), rgba(255,255,255,0.4));
      pointer-events: none;
      z-index: 1;
      border-radius: 5px;
    }

    .skills > span{
      position: relative;
      z-index: 2;
    }

    .easter-egg{
      transition: opacity 2s ease-in;
      grid-column: span 2;
      text-align: center;
      align-self: end;
    }

    .easter-egg img {
      position: relative;
      width: 40%;
      border-radius: 50%;
      box-shadow: 0px 14px 4px 0px hsla(0, 0%, 0%, 0.07), 0px 4px 4px hsla(0, 0%, 0%, 0.15);
    }

    .resume_download-box {
      grid-column: span 2;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      height: 60px;
      background: #e0f7fa;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.4s ease;
      margin-top: 5vh;
    }

    .resume_download-box:hover {
      transform: scale(1.02);
    }

    .fill-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 0;
      background-color: var(--fill-progress);
      z-index: 0;
      pointer-events: none;
    }

    @keyframes fillUp {
      0% { height: 0%; }
      100% { height: 100%; }
    }

    .resume_download-box span {
      position: relative;
      z-index: 2;
      color: var(--resume-download_text);
      font-weight: bold;
      font-size: 1em;
      transition: transform 0.4s ease, color 0.4s ease;
    }

    .icon {
      position: absolute;
      opacity: 0;
      transition: bottom 0.4s ease, opacity 0.4s ease;
      z-index: 3;
      pointer-events: none;
    }

    .resume_download-box.loading #resume-text {
      color: oklch(1 0 250);
    }

    .resume_download-box.show-tick #resume-text {
      transform: translateY(-200%);
      color: var(--text) !important;
    }

    .resume_download-box.show-tick .fill-progress{
      background-color: var(--success);
    }

    .resume_download-box.show-cross .fill-progress{
      background-color: var(--failure);
    }

    .resume_download-box.show-tick #tick {
      bottom: 5% !important;
      opacity: 1 !important;
      color: oklch(1 0 250);
    }

    .resume_download-box.show-cross #resume-text {
      transform: translateY(-200%);
    }

    .resume_download-box.show-cross #cross {
      bottom: 5% !important;
      opacity: 1 !important;
      color: oklch(1 0 250);
    }

    .projects {
      height: auto;
      min-height: 100vh;
      z-index: 0;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      flex-direction: column;
      padding: 4vh 4vw;
      top: -25vh;
      position: relative;
      max-width: 100vw;
      background-color: var(--project-section);
    }

    .projects-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
      gap: 2em;
    }

    .card {
      background: var(--card-background);
      text-align: left;
      display: grid;
      border-radius: 5%;
      border-top-left-radius: 10%;
      border-top-right-radius: 10%;
      grid-template-rows: auto 1fr auto;
      gap: 1em;
      width: 100%;
      max-width: 90vw;
      grid-template-areas: 
      'card-image'
      'card-content';
    }

    .card:hover {
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }

    .card-image {
        background: var(--card-image-background);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30vh;
        width: 100%;
        grid-area: card-image;
        border-radius: 10%;
    }

    .card-image img{
        height: 100%;
        width: inherit;
        object-fit: contain;
        display: block;
        border-radius: inherit;
    }

    .card-content {
      font-family: "Martel", serif;
      display: grid;
      padding: 20px;
      grid-area: card-content;
      grid-template-areas: 
      'card-heading card-heading'
      'card-tech card-link';

    }

    .card-content h2{
      grid-area: card-heading;
      text-align: center;
      margin-top: 0;
    }

    .card h2 {
      font-size: 1.3rem;
      font-weight: bolder;
      color: var(--text);
    }

    .github-link {
      font-size: clamp(0.8rem, 1vw, 1rem);
      text-decoration: none;
      color: var(--text);
      font-weight: bolder;
      background: var(--card-github);
      padding: 8px 14px;
      border-radius: 10px;
      display: inline-flex;
      width: fit-content;
      align-self: center;
      justify-self: center;
      gap: 8px;
      transition: background 0.3s ease;
      margin-bottom: 14px;
      grid-area: card-link;
    }

    .github-link svg {
      fill: var(--text);
    }

    .github-link:hover {
      background: var(--card-github-hover);
    }

    .github-link i {
      font-size: 1.1rem;
    }

    .tech-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 5px;
      grid-area: card-tech;
      margin-right: 10px;
    }

    .tech {
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      color: var(--text);
      height: max-content;
      font-weight: bold;
    }

    .tech:nth-child(3n + 1){
      background: var(--skill11);
    }

    .tech:nth-child(3n + 2){
      background: var(--skill21);
    }

    .tech:nth-child(3n + 3){
      background: var(--skill52);
    }

    .toggle-container {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--bg-light);
      border-radius: 25px;
      padding: 8px;
      width: 30vw;
      position: relative;
      margin-bottom: 40px;
      cursor: pointer;
      z-index: 2;
    }

    .toggle-option {
      flex: 1;
      text-align: center;
      padding: 10px 0;
      z-index: 1;
      font-weight: 600;
      transition: color 0.3s ease;
      color: var(--text);
    }

    .toggle-indicator {
      position: absolute;
      top: 4px;
      left: 4px;
      width: 50%;
      height: calc(100% - 8px);
      background: var(--edutoggle);
      border-radius: 20px;
      z-index: 0;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .timeline {
      position: relative;
      max-width: 30vw;
      z-index: 2;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 0;
      width: 2px;
      height: 100%;
      background: #444;
    }

    .timeline-item {
      position: relative;
      margin-left: 60px;
      margin-bottom: 40px;
      opacity: 0;
      transform: translateY(30px);
    }

    .timeline-dot {
      z-index: 2;
      position: absolute;
      left: -42px;
      top: 0;
      width: 15px;
      height: 15px;
      background: var(--edutoggle);
      border-radius: 50%;
    }

    .timeline-content {
      width: 25vw;
      background: var(--bg-light);
      padding: 15px 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.4);
    }

    .timeline-content h3 {
      z-index: 2;
      margin: 0 0 5px;
    }

    .timeline-content p {
      z-index: 2;
      margin: 0;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .exp-badge {
      z-index: 2;
      font-size: 1.1rem;
      font-weight: 600;
      background: var(--experience_metric);
      padding: 10px 20px;
      border-radius: 20px;
      opacity: 0;
      transform: translateY(30px);
      white-space: nowrap;
      text-align: center;
      width: 28vw;
      color: var(--text);
    }
    .education h1{
      z-index: 2;
    }

    .contact-container h1 {
      font-size: 2.8rem;
      margin-bottom: 15px;
    }

    .contact-container p {
      max-width: 600px;
      margin: 0 auto 40px auto;
      line-height: 1.6;
    }

    .email-box {
      background-color: var(--email-bg);
      padding: 28px 38px;
      border-radius: 14px;
      display: inline-block;

      border: 1px solid var(--email-border);
      transition: box-shadow 0.35s ease, transform 0.25s ease;
    }

    .email-box p {
      margin: 0 0 12px 0;
      color: var(--email-text);
      font-size: 0.95rem;
    }

    .email-box a {
      font-size: 1.25rem;
      color: var(--email-highlight);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.25s ease;
    }

    .email-box a:hover {
      color: var(--email-highlight-hover);
    }

    .email-box:hover,
    .email-box:focus-within {
      box-shadow: 0 0 20px var(--email-glow);
      transform: translateY(-2px);
    }

    .education{
      background-color: var(--education-section);
      display: flex;
      height: 115vh;
      align-items: center;
      flex-wrap: wrap;
      flex-direction: column;
      padding: 60px 20px;
      overflow-x: hidden;
      z-index: 2;
    }

    .contact {
      height: 100vh;
      background: var(--contact-section);
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 100px 20px;
      z-index: 0;
    }

    .transition-circle {
      position: fixed;
      top: -200%;
      left: 50%;
      transform: translateX(-50%) scale(0.5);
      width: 100vw;
      height: 100vw;
      border-radius: 50%;
      z-index: 1;
      transform-origin: center center;
    }

    .fixed-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 80px;
      display: flex;
      justify-content: center;
      background: var(--navbar);
      backdrop-filter: blur(10px);
      z-index: 300;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      overflow: hidden;
      transform-origin: center;
      transform: scaleX(0); /* Hidden initially */
      max-width: 100vw;
      width: 100vw;
    }

    nav{
      padding: 1rem;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 4rem;
      margin: 0;
      padding: 0;
      opacity: 0; /* Hidden for entrance animation */
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-family: 'Orbitron', sans-serif;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }

    a.contact-btn {
      background-color: #1E4F96;
      padding: 1rem 1rem;
      border-radius: 6px;
      color: white;
      transition: background 0.3s ease;
    }

    a.contact-btn:hover {
      background-color: #17419b;
      color: #ffffff;
    }

    a.theme-btn {
      background-color: var(--bg);
      color: var(--text);
      padding: 1rem 1rem;
      border-radius: 6px;
      font-weight: bolder;
      transition: background 0.3s ease;
    }

    a.theme-btn:hover {
      background-color: var(--bg-light);
      color: var(--text-muted);
      font-weight: bolder;
    }

    #overlay{
      background: rgba(0, 0, 0, 0.7);
      position: fixed;
      inset: 0;
      z-index: 50;
      display: none;
    }

    #contact{
      scroll-margin-top: -50vh;
    }

    @media screen and (max-width: 900px) {

      .fixed-nav{
        position: fixed;
        top: 0;
        transform: translateX(-75%);
        height: 100vh;
        width: min(15em, 100%);
        transition: 300ms ease-out;
        background: none;
        backdrop-filter: none;
        padding-right: 2em;
        pointer-events: none;
      }

      .fixed-nav.show{
        transform: translateX(0);
        background: var(--navbar);
        backdrop-filter: blur(10px);
        padding-right: 2em;
        pointer-events: auto;
      }

      .fixed-nav.show ~ #overlay{
        display: block;
      }

      .fixed-nav ul{
        width: 100%;
        flex-direction: column;
      }

      .fixed-nav li{
        align-self: end;
        padding-right: 2em;
      }

      .fixed-nav a{
        width: 100%;
        padding-right: 1rem;
      }

      nav{
        justify-content: flex-start;
        align-items: flex-start;
      }

      a.contact-btn, a.contact-btn:hover{
        background-color: unset;
        padding: unset;
        padding-right: 1rem;
        scroll-padding: 10vh;
        color: var(--text);
      }

      .hammburger {
        display: inline-block;
        cursor: none;
        width: 0;
        align-self: flex-end;
        pointer-events: auto;
      }

      .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: var(--text);
        margin: 6px 0;
        transition: 0.4s;
      }

      .change .bar1 {
        transform: translate(0, 11px) rotate(-45deg);
      }

      .change .bar2 {opacity: 0;}

      .change .bar3 {
        transform: translate(0, -11px) rotate(45deg);
      }
      
      .main-section {
        grid-template-columns: 100px 1fr; 
        grid-template-areas: 'potrait information';
        align-items: start;
      }

      .potrait {
        min-height: 100px;
        height: 100px;
        width: 100px;
        border-radius: 50%;
        background-size: cover;
        background-position: center 20%;
        margin-top: 2vh;
      }

      .information {
        padding: 2vh 4vw;
      } 

      .socials-container {
        gap: 15px;
        margin-top: 3vh;
        flex-wrap: wrap;
      }

      .socials-container a {
        height: 48px;
        width: 48px;
      }

      .grid-skills {
        grid-template-columns: repeat(2, 1fr);
        gap: 3%;
      }

      .skills {
        padding: 15px;
        font-size: 0.85rem;
      }

      .resume_download-box {
        grid-column: span 2;
        margin-top: 3vh;
      }

      .toggle-container{
        width: 50vw;
      }

      .timeline{
        max-width: 52vw;
      }

      .exp-badge, .timeline-content{
        width: 40vw;
      }

      #contact{
        scroll-margin-top: -50vh;
      }

      #info-section{
        scroll-margin-top: 1px;
      }
    }
