:root {
    --primary-color: #bbdde1;
    --secondary-color: #bfe3cc;
    --tertiary-color: #030318;
    --quaternary-color: #fafafa;
    --dark-color: #333;
    --light-color: #fff;
  }
  html {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
  }
  body {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
   background-image: url("https://tamalsen.dev/wp-content/uploads/2021/07/tamalsen-home-cover.jpg"); 
    /* background: radial-gradient(
        150px 150px at 90% 20%,
        #669aff69 0,
        #ffffff00 100%
      ),
      linear-gradient(-30deg, #ffffff 60%, #d2b6ff85 100%); */
      background-repeat: no-repeat;
      width: 100%;
      height: 100%;
      font-family: "Poppins", sans-serif;
      background-position: center;
      color: var(--light-color);
  }
  
  
  body::before {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 200px;
    height: 200px;
    bottom: 50;
    left: 0;
    z-index: -1;
    background: radial-gradient(200px 200px, #9fc2ff, rgba(255, 255, 255, 0) 40%);
    animation: gradient-move 300s infinite linear;
    backdrop-filter: blur(10px);
    border-radius: 100%;
    background-repeat: no-repeat;
  
  }
  body::after {
    content: "";
    position: absolute;
    overflow: hidden;
    width: 70px;
    height: 70px;
    top: 14vh;
    right: 42vw;
    z-index: -1;
    background: radial-gradient(24px 24px, #ff3e1b, #ff7900, rgb(255 116 47 / 0%) 100%);
    animation: gradient-ball 5s infinite linear;
    border-radius: 100%;
  
  }
  ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
    height: 5px;
  }
  ::-webkit-outer-spin-button,
  ::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  ::selection {
    color: #ffffff;
    background: #ffffff00;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  @keyframes gradient-move {
    0% {
      transform: translateY(0%) translateX(0%);
    }
    20% {
      transform: translateY(-40%) translateX(-8%);
    }
    40% {
      transform: translateY(10%) translateX(5%);
    }
    60% {
      transform: translateY(0%) translateX(5%);
    }
    80% {
      transform: translateY(-40%) translateX(-8%);
    }
    100% {
      transform: translateY(0%) translateX(0%);
    }
  }
  @keyframes gradient-ball {
    0% {
      transform: translateY(0%) translateX(0%);
    }
    50% {
      transform: translateY(-40%) translateX(-8%);
    }
    100% {
      transform: translateY(0%) translateX(0%);
    }
  }
  a {
    text-decoration: none;
    color: var(--secondary-color);
  }
  p{
    color: var(--primary-color);
    font-size: 18px;
  
  }
  .fxh2 {
    color: var(--tertiary-color);
    font-size: 2.5em;
    font-weight: bolder;
    font-family: ui-monospace;
    position: absolute;
    top: 120px;
  }
  .glass {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgb(134 135 145 / 7%);
    backdrop-filter: blur(18.5px);
    -webkit-backdrop-filter: blur(18.5px);
    border: 1px solid rgb(255 255 255 / 9%);
  }
  /* header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    height: 80vh;
    width: 82px;
    margin: 10vh 10px 10vh 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 100px;
    justify-content: center;
  }
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  nav ul li {
    width: 50px;
    height: 50px;
    padding: 5px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 60px;
  }
  li.active {
    background: #8eb7ff94;
  }
  nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
  }
  nav ul li:hover {
    background: #c1d8ff94;
    transition: 0.3s;
  }
  nav ul li path {
    stroke: #fff;
    fill: #55648f;
    stroke-width: 2px;
  }
  .logo {
    top: 12px;
    position: fixed;
  }
  .listItem {
    margin-bottom: 20px;
    display: block;
    text-align: center;
    color: var(--light-color);
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
  }
  /* main section  */
  main {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-points-y: repeat(100vh);
    scroll-snap-type: y mandatory;
    margin-left: 6vw;
    overflow-x: hidden;
  }
  section {
    scroll-snap-align: center;
  }
  .intro {
    height: 80%;
    margin: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
  }
  .aboutme {
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .projects {
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .contact {
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .btn {
    width: 200px;
    height: 50px;
    border: 1px solid;
    border-radius: 10px;
    color: var(--secondary-color);
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn:hover {
    background: var(--tertiary-color);
    color: var(--light-color);
    transition: 0.3s;
  }
  .link-btn {
    text-decoration: none;
    color: rgb(111, 169, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
  }
  .link-btn:hover {
    text-decoration: none;
    color: var(--secondary-color);
    transition: 0.3s;
  }
  .link-btn::after {
    content: "🔗";
    width: 8px;
    transition: 0.3s;
  }
  /* section home */
  .intro-txt {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .intro-ref {
    display: flex;
    bottom: 82px;
    position: absolute;
  }
  .introPicture {
    width: 300px;
    height: 300px;
    background-image: url("./img/proflie-back.png");
    background-repeat: no-repeat;
    background-size: cover;
  }
  .profile-back {
    width: 240px;
    padding: 24px;
    background-blend-mode: multiply;
    mix-blend-mode: multiply;
    height: 248px;
  }
  .fullstack {
    font-size: 2.5em;
    font-weight: bolder;
    font-family: ui-monospace;
  }
  
  /* projects */
  .projectCn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .project-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 15px;
    text-align: center;
  }
  
  .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .project-card h3 {
    margin: 15px 0;
  }
  
  .project-card p {
    color: #666;
    font-size: 14px;
  }
  .project-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
  }
  
  /* Resume section */
  .resume {
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* Testomonials */
  .reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }
  .testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  /* footer */
  footer {
    display: flex;
    justify-content: center;
    font-size: 12px;
    position: relative;
    bottom: 50px;
    backdrop-filter: blur(18.5px);
    -webkit-backdrop-filter: blur(18.5px);
  }
  
  
  /* media queries */
  @media (max-width: 768px) {
    body{
      background-size:cover;
    }
    body::after{
      top: 23vh;
      right: 14vw;
    }
    header {
      width: calc(100vw - 10vw) ;
      padding: 10px;
      margin: 0 10px 0 10px;
      height: 50px;
      bottom: 30px;
      top: unset;
      left: unset;
      z-index: 5;
    }
    main {
      margin: 0;
    }
    .logo {
      display: none;
    }
    nav {
      flex-direction: row;
    }
    nav ul {
      flex-direction: row;
    }
    li.listItem {
      width: 48px;
      height: 48px;
      margin: 0 20px 0 20px;
    }
    .intro {
      height: 80%;
      margin: 20px;
      justify-content: space-between;
      padding: 12px;
  }
  .intro-txt{
    width: 80%;
  }
    .introPicture {
      width: 100px;
      height: 100px;
    }
    .profile-back {
      width: 80px;
      padding: 9px;
      height: 80px;
  }
    footer{
      display: none;
    }
  
  }
  