@import url("https://fonts.googleapis.com/css?family=Lora:400,400i,700");

body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
}

.carousel {
  position: relative;
  display: flex;
  width: 100%;

  .slides {
    position: relative;
    display: flex;
    left: 2px;
    justify-content: center;
    width: 100%;
  }
    img {
      position: absolute;
      margin-left: 15px;
      margin-top: 30px;
      border-radius: 50%;
      width: 150px;
      height: 150px;
      opacity: 0;
      z-index: 9999;

      &.active {
        opacity: 1;
      }
    
  }

  .overlays {
    position: relative;
    overflow: hidden;
    width: 30em;
    height: 25em;

    .bar {
      position: absolute;
      border-bottom-right-radius: 120px;
      border-top-left-radius: 120px;
      justify-content: center;
      display: block;
      bottom: 0;
      overflow: hidden;
      align-items: center;
      width: 100%;
      height: 100%;
      box-shadow: #b6b7b8 5px 5px 7px;
      background: var(--bar-color);
      transform-origin: left;
    }

  }
  hr {
    border: 5px solid #ffffff;
    width: 100%;
    margin: 200px auto;
}


  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    width: 90%;
 
    list-style-type: none;

    .nav-link {
      font-size: 2rem;
      font-family: Lora, serif;
      line-height: 2;
      text-decoration: none;
      color: #b8b0a7;
      transition: 0.3s;

      &:hover {
        color: #1c1e1fc6;
      }

      &.active {
        color: black;
        pointer-events: none;
      }
    }
  }
}
header{
    position: absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    display: flex;
    z-index: 1;
}
.nav {
  position: relative;
    list-style-type: none;
    margin-top: 15px;
    width: 90%;
    padding: 10px;
    border-radius: 25px;
    overflow: hidden;
    background: rgb(2, 83, 89);
    box-shadow: #88898a 0px 0px 10px;
    background: linear-gradient(90deg, #0bddf4 36%, rgb(97, 235, 201) 73%);
  }
  
  .nav-items {
    float: left;
  }
  
  .nav-items a {
    display: block;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 14px 16px;
    font-weight: bold;
    text-decoration: none;
  }
  .nav-items h4 {
    display: block;
    color: rgb(1, 1, 1);
    font-size: 20px;
    text-align: center;
    padding: 14px 16px;
    font-weight: bold;
    text-decoration: none;
  }
  
  .nav-items a:hover:not(.active) {
    color: #111;
    text-decoration: underline blue;
  }
  
  .active {
  
    padding: 10px;
    border-radius: 10px;
  }

  .container {
    position: relative;
    width: 80%;
    margin: auto;
    margin-top: 90px;
    padding: 20px;
  }
  .circlesss{
    color: #111;
    margin-left: 50%;
  }
  a{
    text-decoration: none;
    color: #111;
  }
  .header {
    text-align: center;
    border-bottom: 1px dashed #444;
    margin-top: 30px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  
  .header h1 {
    font-size: 3.9em;
    margin: 0;
  }
  
  .header h2 {
    font-size: 1.5em;
    color: #888;
    margin: 5px 0 15px 0;
  }
  
  .social-links img {
    width: 24px;
    margin: 0 5px;
  }
  
  .header p a {
    color: #14a0aa;
    text-decoration: none;
  }
  
  .about-me {
    text-align: center;
    border-bottom: 1px dashed #444;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .skills {
    text-align: center;
    border-top: 1px dashed #444;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  
  .avatar {
    width: 360px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid rgb(0,237,255);
  }
  
  .skill {
    background-color: #4CAF50;
    padding: 2px 8px;
    border-radius: 5px;
  }
  
  .projects {
    text-align: center;
    padding-bottom: 20px;
  }
  /* Google Fonts */
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);

/* Cursor */
.cursor {
  position: relative;
  width: 24em;
  margin: 0 auto;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  font-size: 30px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
}

/* Animation */
.typewriter-animation {
  animation: 
    typewriter 5s steps(50) 1s infinite normal both, 
    blinkingCursor 500ms steps(50) infinite normal;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 40%; }
}

@keyframes blinkingCursor {
  from { border-right-color: rgba(0, 0, 0, 0.75); }
  to { border-right-color: transparent; }
}

/* CSS */
.button-30 {
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 4px;
  border-width: 0;
  margin-left: 240px;
  bottom: 350px;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395A;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 18px;
}

.button-30:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.button-30:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-30:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  width: 100%;
  min-width: 779px;
  background: #eff5ed;
  font-family: courier, serif;
}

.skill-wrapper {
  position: relative;
  top: initial;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 40%;
  min-width: calc(120px * 5 + 5 * (25px + 17.5px));
  padding: 20px 20px;
}

.skill-wrapper .skill-progress {
  display: inline-block;
  background-color: rgba(141, 166, 179, 0.4);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 25px;
  position: relative;
}

.skill-wrapper .skill-progress:last-child {
  margin-right: 0;
}

.skill-wrapper .skill-progress .circle .mask {
  width: 120px;
  height: 120px;
  position: absolute;
  border-radius: 50%;
  transition: transform 2s;
  clip: rect(0px, 120px, 120px, 60px);
}

.skill-wrapper .skill-progress .circle .mask:before {
  width: 120px;
  height: 120px;
  position: absolute;
  border-radius: 50%;
  content: '';
  display: block;
  clip: rect(0px, 60px, 120px, 0px);
  background-color: #abc9f8; /* lighten(#355691, 20%) */
}

.skill-wrapper .skill-progress .circle:before {
  content: '';
  display: block;
  width: 120px;
  height: 120px;
  position: absolute;
  border-radius: 50%;
  box-shadow: inset 6px 6px 10px rgba(0, 0, 0, 0.3);
}

.skill-wrapper .skill-progress .inset {
  width: 85px;
  height: 85px;
  position: absolute;
  margin-left: calc((120px - 85px) / 2);
  margin-top: calc((120px - 85px) / 2);
  background-color: #fbfbfb;
  border-radius: 50%;
  box-shadow: inset 6px 6px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  line-height: 85px;
  font-size: 22px;
  font-weight: 800;
  color: #455fae;
}
.inset::after {
  content: ''; /* Updated per skill below */
  font-size: 14px;
  font-weight: 400;
  color: #2e3d59; /* Adjust color as needed */
  position: absolute;
  width: 100%;
  top: 95px; /* Position below the circle */
  text-align: center;
}
.skill-progress:nth-child(1) .inset::after {
  margin-left: -45px;
  content: 'HTML5';
}
.skill-progress:nth-child(2) .inset::after {
  margin-left: -45px;
  content: 'React';
}
.skill-progress:nth-child(3) .inset::after {
  margin-left: -45px;
  content: 'TypeScript';
}
.skill-progress:nth-child(4) .inset::after {
  margin-left: -45px;
  content: 'PHP';
}
.skill-progress:nth-child(5) .inset::after {
  margin-left: -45px;
  content: 'Next.js';
}

.skill-wrapper .skill-progress:nth-child(1) .inset::before {
  content: '99%';
}

.skill-wrapper .skill-progress:nth-child(2) .inset::before {
  content: '95%';
}

.skill-wrapper .skill-progress:nth-child(3) .inset::before {
  content: '87%';
}

.skill-wrapper .skill-progress:nth-child(4) .inset::before {
  content: '83%';
}

.skill-wrapper .skill-progress:nth-child(5) .inset::before {
  content: '73%';
}

.skill-wrapper .skill-progress:nth-child(1) .circle .mask:before,
.skill-wrapper .skill-progress:nth-child(1) .circle .mask:nth-child(2) {
  transform: rotate(175deg); /* 85% of 180deg */
}

.skill-wrapper .skill-progress:nth-child(2) .circle .mask:before,
.skill-wrapper .skill-progress:nth-child(2) .circle .mask:nth-child(2) {
  transform: rotate(167.4deg); /* 93% of 180deg */
}

.skill-wrapper .skill-progress:nth-child(3) .circle .mask:before,
.skill-wrapper .skill-progress:nth-child(3) .circle .mask:nth-child(2) {
  transform: rotate(156.6deg); /* 87% of 180deg */
}

.skill-wrapper .skill-progress:nth-child(4) .circle .mask:before,
.skill-wrapper .skill-progress:nth-child(4) .circle .mask:nth-child(2) {
  transform: rotate(149.4deg); /* 83% of 180deg */
}

.skill-wrapper .skill-progress:nth-child(5) .circle .mask:before,
.skill-wrapper .skill-progress:nth-child(5) .circle .mask:nth-child(2) {
  transform: rotate(140.4deg); /* 43% of 180deg */
}
  /* kristel css start*/
  .body-main {
    font-family: Arial, sans-serif;
    background-color: #eff5ed; 
    color: #333;
    margin: 0;
    padding: 0;
}
.header-h3 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    color: #333;
}
.progress-container-main {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}
.circle-main {
    width: 120px; 
    height: 120px; 
    border-radius: 50%;
    position: relative;
    background: conic-gradient(var(--progress-color) var(--progress-percentage), #e0e0e0 0%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle-main:hover {
    transform: scale(1.1);
}
.circle-text-main {
    text-align: center;
    font-family: "Roboto", sans-serif;
    color: #333;
}
.percentage-main {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}
.label-main {
    font-size: 12px; 
    color: #555;
    margin-top: 5px;
}
.js-skill-circle-main {
    --progress-color: #6ec3ce;
    --progress-percentage: 80%;
}
.react-native-skill-circle-main {
    --progress-color: #5ab0bb;
    --progress-percentage: 75%;
}
.php-skill-circle-main {
    --progress-color: #3e8799;
    --progress-percentage: 70%;
}
.java-skill-circle-main {
    --progress-color: #318ba1;
    --progress-percentage: 60%;
}
.python-skill-circle-main {
    --progress-color: #14445a;
    --progress-percentage: 50%;
}
 /* kristel css end*/