.main-comp-prev {
  border: 2px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: inline-block;
  width: 100%;
  height: 100%;
  max-height: 600px;
  min-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;

  &::-webkit-scrollbar-track {
    background: transparent;
  }
  &::-webkit-scrollbar {
    width: 7px;
    background-color: transparent;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #1a1a1a;
    border-radius: 23px;
  }
}

.comp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 9;
  left: 0;
}

.title {
  position: relative;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rerun-btn {
  margin-bottom: 10px;
  padding: 8px 16px;
  position: sticky;
  right: 10px;
  top: 0;
  background-color: var(--black);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  font-family: "Satoshi";
  transition: all 0.2s ease;
  border: 1px solid var(--borderColorBlack);
  z-index: 10;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rerun-btn:hover {
  transform: scale(1.03);
}

.tech-stack p {
  color: #cacaca;
}

.tech-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  height: 50px;
}
.stack {
  background: var(--black);
  border: 1px solid var(--borderColorBlack);
  padding: 1px 10px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  height: fit-content;
}

.change-language {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  margin-top: 10px;
}

.change-language select {
  height: 30px;
  width: fit-content;
  display: flex;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none;
  padding-right: 30px;
  padding-left: 10px;
  background: var(--blackDark);
  border: 1px solid var(--borderColorBlack);
  border-radius: 5px;
  color: #dfdfdf;
  font-family: "Satoshi";
}

.change-language select:focus {
  outline: none;
}

.change-language svg {
  position: absolute;
  right: 10px;
  width: 12px;
}

.wrap-sac {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 474px) {
  .title h1 {
    max-width: 50%;
  }
}
