:root {
  --primery-color: #6c47ff;
}

.list-group-item.active {
  background-color: #f15a35 !important;
  border-color: #f15a35 !important;
}

body {
  background: #000;
}

.pc-container {
  position: relative;
  width: 600px;
  height: 800px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
}

.pc-case {
  width: 100%;
  height: 80%;
  border-radius: 10px;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  justify-content: center;
}

.component {
  position: absolute;
  background: linear-gradient(145deg, #444, #222);
  border: 2px solid rgba(0, 255, 0, 0.7);
  color: #fff;
  font-size: 14px;
  text-align: center;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, background 0.3s, box-shadow 0.3s;
  box-shadow: 5px 5px 15px rgba(0, 255, 0, 0.5);
  padding: 12px;
  border-radius: 8px;
  /* border-style: dotted; */
}

.component:hover {
  background: rgba(0, 255, 0, 0.9);
  /* transform: translateZ(40px) scale(1.2) rotateY(10deg); */
  box-shadow: 4px 4px 2px rgba(0, 255, 0, 0.8);
  color: #000;
  font-size: 14px;
}

.component.cpu:hover {
  background: rgb(0 74 119);
  box-shadow: 4px 4px 2px rgb(0 74 119);
  border: 1px solid rgb(0 74 119);
  color: #fff;
}

.product3-active {
  background: rgb(0 74 119);
  box-shadow: 4px 4px 2px rgb(0 74 119);
  border: 1px solid rgb(0 74 119);
  color: #fff;
}

.component.motherboard:hover {
  transform: none;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  background: #000;
}

.motherboard-active {
  transform: none;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  background: #000;
}

.component.motherboard {
  justify-content: end;
  display: flex;
  align-items: flex-end;
}

p.motherboardText {
  margin-bottom: 50px;
  margin-right: 50px;
}

.fan {
  border-radius: 50%;
  animation: spin 4s linear infinite;
}

.fan:hover,
.fan1:hover,
.fan2:hover {
  background: rosybrown;
  box-shadow: 0 0 8px rosybrown;
  border: 1px solid rosybrown;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.motherboard {
  width: 580px;
  height: 360px;
  top: 26px;
  left: auto;
  right: 6px;
}

.gpu {
  width: 50%;
  height: 70px;
  top: 280px;
  left: 40px;
}

.gpu1 {
  width: 300px;
  height: 2px;
  top: 345px;
  left: 40px;


}

.gpu2 {
  width: 300px;
  height: 2px;
  top: 380px;
  left: 40px;

}

.gpu3 {
  width: 300px;
  height: 2px;
  top: 415px;
  left: 40px;


}

.gpu4 {
  width: 300px;
  height: 2px;
  top: 452px;
  left: 40px;


}

.gpu5 {
  width: 300px;
  height: 2px;
  top: 490px;
  left: 40px;

}

p.Ramtext {
  /* transform: rotate(-90deg); */
  white-space: nowrap;
  font-size: 14px;
  font-family: sans-serif;
}

.ram {
  width: 25%;
  height: 190px;
  top: 55px;
  right: 55px;
}

.ram1 {
  width: 7px;
  height: 190px;
  top: 55px;
  right: 125px;
  font-size: 10px;
}

.ram2 {
  width: 7px;
  height: 190px;
  top: 55px;
  font-size: 10px;
  right: 80px;
}

.ram3 {
  width: 7px;
  height: 190px;
  top: 55px;
  right: 35px;
  font-size: 10px;
}

.component.ram {
  font-size: 10px;
}

.ram:hover,
.ram1:hover,
.ram2:hover,
.ram3:hover {
  font-size: 10px;
  background: #8c0000;
  box-shadow: 0 0 8px #8c0000;
  border: 1px solid #8c0000;
  color: #fff;
}

.product4-active {
  font-size: 10px;
  background: #8c0000;
  box-shadow: 0 0 8px #8c0000;
  border: 1px solid #8c0000;
  color: #fff;
}

.cpu {
  width: 50%;
  height: 180px;
  top: 62px;
  left: 45px;
  align-items: center;
  display: grid;
}

.smps {
  width: 260px;
  height: 70px;
  bottom: 175px;
  left: 15px;
}

.smps:hover {
  background: darkcyan;
  border: 1px solid darkcyan;
  box-shadow: 0 0 8px darkcyan;
  color: #fff;
}

.product7-active {
  background: darkcyan;
  border: 1px solid darkcyan;
  box-shadow: 0 0 8px darkcyan;
  color: #fff;
}

.storage1 {
  width: 250px;
  height: 59px;
  bottom: 180px;
  right: 20px;
}

.storage2 {
  width: 250px;
  height: 5px;
  bottom: 40px;
  right: 20px;

}

.storage3 {
  width: 250px;
  height: 5px;
  bottom: 3px;
  right: 20px;
}

.storage1:hover,
.storage2:hover,
.storage3:hover {
  background: antiquewhite;
}

.fan1 {
  width: 200px;
  height: 50px;
  top: -30px;
  left: 50px;
}

.fan2 {
  width: 200px;
  height: 50px;
  top: -30px;
  right: 50px;
  left: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pc-container {
    width: 400px;
    height: 600px;
  }

  .motherboard {
    width: 310px;
    height: 326px;
    left: 40px;
  }

  p.motherboardText {
    margin-bottom: 95px;
    margin-right: 0px;
  }

  .gpu {
    width: 180px;
    height: 100px;
    left: 100px;
  }

  .ram {
    /* width: 40px; */
    height: 120px;
    /* right: 70px; */
  }

  p.Ramtext {

    font-size: 10px;
  }

  .cpu {
    width: 45%;
    height: 70px;
    /* left: 140px; */
  }

  .smps {
    width: 160px;
    height: 70px;
    left: 100px;
  }

  .storage1,
  .storage2 {
    width: 100px;
    height: 50px;
  }

  .fan1 {
    /* width: 140px; */
    height: 50px;
    /* left: 150px; */
    display: none;
  }

  .fan2 {
    width: 140px;
    height: 70px;
    left: 150px;
    display: none;
  }
}


/* Border Animatedd CSS Starts Here */

@property --bg-angle {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}

/**
* To animate the gradient, we set the custom property to 1 full
* rotation. The animation starts at the default value of `0deg`.
*/
@keyframes spin {
  to {
    --bg-angle: 360deg;
  }
}


article {
  /* add the animation, but pause it by default */
  animation: spin 2.5s infinite linear paused;
  animation-play-state: running;

  background:

    linear-gradient(to bottom,
      oklch(0.1 0.2 240 / 0.95),
      oklch(0.1 0.2 240 / 0.95)) padding-box,
    /* ends at inner border edges */
    conic-gradient(from var(--bg-angle) in oklch longer hue,
      oklch(0.85 0.37 0) 0 0) border-box;

  border: 20px solid transparent;

  &:hover {
    animation-play-state: running;
  }
}


* {
  box-sizing: border-box;
}

main {
  /* background:
    radial-gradient(circle,
      oklch(0.15 0.2 330 / 0),
      oklch(0.15 0.2 330 / 1)),
    linear-gradient(344deg in oklch,
      oklch(0.3 0.37 310),
      oklch(0.35 0.37 330),
      oklch(0.3 0.37 310)); */
  display: grid;
  /* height: 690px; */
  place-items: center;
  padding: 20px 0px;
  padding-bottom: 40px;
}

article {
  border-radius: 1rem;
  box-shadow: 0.125rem 0.25rem 0.25rem 0.5rem oklch(0.1 0.37 315 / 0.25);
  color: white;
  padding: 3rem;
  /* width: 800px; */
  height: 555px;
}

.progress-container {
  display: flex;
  align-items: center;
  width: 50%;
  justify-content: space-between;
  margin-top: 80px;
}

.step.active .step-circle {
  background-color: #f15a35;
}

.step.active {
  color: #f15a35;
  font-weight: bold;
}

.step-circle i {
  font-size: 18px;
}

.line {
  height: 3px;
  background-color: #ddd;
  position: absolute;
  width: 100px;
  top: 18px;
  left: 0;
  z-index: -1;
}

.step.active .step-circle i {
  color: white;
}

span.text.motherboard_name {
  color: #fff;
}

span.text.product_name {
  color: #fff;
}

span.text.motherboard_name::before {
  color: #fff;
}

span.text.motherboard_name::after {
  color: red;
}

/* Mainpoints Css Ends here */

/* List Group Css Starts Here */

.scroll-container {
  width: 250px;
  height: 90%;
  overflow-y: auto;
  padding: 10px;
  background: #353535;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: rgb(255 0 0) 0px 19px 38px, rgb(255 255 255) 0px 15px 12px;
}

li.list-group-item {
  background: #FFF;
}

/* List group Css ends Here */

.progress-containersdsd {
  margin-top: 22px;
  background: #353535;
  padding: 70px 15px;
  border-radius: 10PX;
  height: 90%;
  box-shadow: rgb(255 0 38) 0px 15px 100px -5px, rgb(232 255 0) 0px 30px 60px -30px, rgb(2 0 255) 0px -2px 6px 0px inset;
}

.progress-containersdsd>div {
  padding-bottom: 51px;
}

span.text.motherboard_name:active {
  color: #fff;
}

span.text.motherboard_name:visited {
  color: #fff;
}

.step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
}

.linepsudoselector {
  position: relative;
}

.linepsudoselector::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 41px;
  border-radius: 20px;
  top: 45px;
  left: 17.7px;
  background: #dddddd;
}

.linepsudoselector::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 0px;
  border-radius: 20px;
  top: 45px;
  left: 17.7px;
  background: #f15a35;
  transition: all .3s ease;
}

.active.linepsudoselector::after {
  height: 41px;
  transition: all .3s ease;
}

.linepsudoselector:last-child::before {
  display: none;
}

.linepsudoselector.active:last-child::after {
  display: none;
}

/* ABout Selection Css Starts Here  */

.aboutselection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: auto;
  text-align: center;
  /* padding-bottom: 50px; */
  margin-top: 25px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #6c47ff24;
  padding: 20px;
}

.item img {
  width: 40px;
  height: 40px;
}

.item span {
  font-weight: bold;
  margin-top: 5px;
}

.item a {
  text-decoration: none;
  color: gray;
}

.component.Bays2:hover {
  background: rgb(255, 121, 38);
  box-shadow: 4px 4px 2px rgb(0 74 119);
  border: 1px solid rgb(0 74 119);
  color: #fff;
}

.component.motherbord:hover {
  transform: none;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  background: #000;
}

.component.cpuS:hover {
  background: rgb(0 74 119);
  box-shadow: 4px 4px 2px rgb(0 74 119);
  border: 1px solid rgb(0 74 119);
  color: #fff;
}

.component.motherbord {
  justify-content: end;
}

.fans,
.fansbottom,
.fans3,
.fans4 {
  border-radius: 50%;
  animation: fanss 4s linear infinite;

  background:

    linear-gradient(to bottom, oklch(0.71 0.04 171.13 / 0.95), oklch(0.37 0 0 / 0.95)) padding-box,
    /* ends at inner border edges */
    conic-gradient(from var(--bg-angle) in oklch longer hue, oklch(0.69 0.3 145.34) 0 0) border-box;
  border: 10px solid transparent;


}

.fans:hover,
.fans1:hover,
.fans2:hover,
.fans3:hover,
.fans4:hover,
.fansbottom:hover {
  background: rosybrown;
  box-shadow: 0 0 8px rosybrown;
  border: 1px solid rosybrown;
}


@keyframes fanss {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.motherbord {
  width: 480px;
  height: 460px;
  top: 45px;
  left: auto;
  right: 20px;
}

.gpuS {
  width: 200px;
  height: 65px;
  top: 320px;
  left: 160px;

}

.gpuS1 {
  width: 200px;
  height: 12px;
  top: 405px;
  left: 160px;

}

.gpuS2 {
  width: 200px;
  height: 12px;
  top: 450px;
  left: 160px;

}

p.ramstexts {
  transform: rotate(-90deg);
  white-space: nowrap;
  font-size: 14px;
  font-family: sans-serif;
}

.rams {
  width: 7px;
  height: 180px;
  top: 65px;
  right: 205px;
}

.rams1 {
  width: 7px;
  height: 180px;
  top: 65px;
  right: 165px;
  font-size: 10px;
}

.Bays2 {
  width: 115px;
  height: 195px;
  top: 65px;
  font-size: 10px;
  right: 30px;
}

.rams:hover,
.rams1:hover:hover {
  font-size: 10px;
  background: #8c0000;
  box-shadow: 0 0 8px #8c0000;
  border: 1px solid #8c0000;
  color: #FFF;
}

.cpuS {
  width: 160px;
  height: 130px;
  top: 70px;
  left: 11em;
}

.SMPS {
  width: 200px;
  height: 70px;
  bottom: 30px;
  left: 99px;
}

.SMPS:hover {
  background: darkcyan;
  border: 1px solid darkcyan;
  box-shadow: 0 0 8px darkcyan;
  color: #fff;
}

.storages1 {
  width: 120px;
  height: 5px;
  bottom: 95px;
  left: auto;
  right: 50px;
}

.storages2 {
  width: 120px;
  height: 5px;
  bottom: 58px;
  right: 49px;

}

.storages3 {
  width: 120px;
  height: 5px;
  bottom: 20px;
  right: 49px;
}

.storages1:hover,
.storages2:hover,
.storages3:hover {
  background: antiquewhite;
}

.fans {
  width: 80px;
  height: 80px;
  top: 60px;
  left: 5px;
}

.fansbottom {
  width: 80px;
  height: 80px;
  top: auto;
  left: 5px;
  bottom: 65px;

}

.fans3 {
  width: 80px;
  height: 80px;
  top: 190px;
  left: 5px;
}

.fans4 {
  width: 80px;
  height: 80px;
  top: auto;
  left: 5px;
  bottom: 210px;

}

.network-card {
  width: 140px;
  height: 60px;
  bottom: 200px;
  left: auto;
  right: 50px;
}

.fans1 {
  width: 200px;
  height: 20px;
  top: 0px;
  left: 130px;
}

.fans2 {
  width: 200px;
  height: 20px;
  top: 0px;
  right: 35px;
  left: auto;
}

/* Responsive Design */
@media (max-width: 768px) {

  .aboutselection {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

  }

  .motherbord {
    width: 200px;
    height: 240px;
    left: 90px;
  }

  .gpuS {
    width: 180px;
    height: 100px;
    left: 100px;
  }

  .component.gpu {

    left: 55px;
    top: 220px;

  }

  .rams {
    width: 40px;
    height: 120px;
    right: 70px;
  }

  .cpuS {
    width: 70px;
    height: 70px;
    left: 140px;
  }

  .SMPS {
    width: 160px;
    height: 70px;
  }

  .component.smps {
    bottom: 0px;
    left: 55px;

  }

  .storages1,
  .storages2 {
    width: 100px;
    height: 50px;
  }

  .component.storage1 {

    bottom: 15px;
    right: 50px;
  }

  .fans {
    width: 70px;
    height: 70px;
  }

  .network-card {
    width: 120px;
    height: 50px;
    left: 180px;
  }

  .fans1 {
    width: 140px;
    height: 70px;
    left: 150px;
  }

  .fans2 {
    width: 140px;
    height: 70px;
    left: 150px;
  }

  article,
  articles {
    padding: 1rem;
  }
}

/* Border Animatedd CSS Starts Here */

@property --bg-angle {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}

/**
* To animate the gradient, we set the custom property to 1 full
* rotation. The animation starts at the default value of `0deg`.
*/
@keyframses spin {
  to {
    --bg-angle: 360deg;
  }
}


articles {
  /* add the animation, but pause it by default */
  animation: spin 2.5s infinite linear paused;
  animation-play-state: running;

  background:

    linear-gradient(to bottom,
      oklch(0.1 0.2 240 / 0.95),
      oklch(0.1 0.2 240 / 0.95)) padding-box,
    /* ends at inner border edges */
    conic-gradient(from var(--bg-angle) in oklch longer hue,
      oklch(0.85 0.37 0) 0 0) border-box;

  border: 10px solid transparent;

  &:hover {
    animation-play-state: running;
  }
}


* {
  box-sizing: border-box;
}

mainFunction {
  display: grid;
  /* height: 690px; */
  place-items: center;
  padding: 60px 0px;
  padding-bottom: 40px;
}

articles {
  border-radius: 1rem;
  box-shadow: 0.125rem 0.25rem 0.25rem 0.5rem oklch(0.1 0.37 315 / 0.25);
  color: white;
  padding: 1rem;
  /* width: 800px; */
  height: 690px;
}

@property --bg-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Animate the gradient angle */
@keyframes spin {
  to {
    --bg-angle: 360deg;
  }
}

article,
articles {
  border-radius: 1rem;
  border: 8px solid transparent;
  padding: 3rem;
  color: white;
  font-size: 1.5rem;
  text-align: center;

  background:
    linear-gradient(to bottom, rgba(34, 34, 34, 0.95), rgba(34, 34, 34, 0.95)) padding-box,
    conic-gradient(from var(--bg-angle), #ff4d4d, #4dff4d, #4d4dff, #ff4d4d) border-box;

  animation: spin 5s linear infinite;
}

