/* --------- Projekt entdecken Button --------- */
.btn-view-project {
  position: relative;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: clamp(0px, 100%, 250px);
  height: 40px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.349);
  background-color: rgb(12, 12, 12);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
}

.IconContainer {
  width: 30px;
  height: 30px;
  background: linear-gradient(90deg, #2f00ff, #7446ff);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition-duration: 0.3s;
}

.icon {
  height: 1.5em;
  border-radius: 1px;
}

.btn-text {
  height: 100%;
  /* width: 60px; */
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  transition-duration: 0.3s;
  font-size: 1.04em;
}

.btn-view-project:hover .IconContainer {
  width: calc(100% - 10px);
  transition-duration: 0.3s;
}

.btn-view-project:hover .btn-text {
  transform: translate(10px);
  width: 0;
  font-size: 0;
  transition-duration: 0.3s;
}

.btn-view-project:active {
  transform: scale(0.95);
  transition-duration: 0.3s;
}

/* --------- Projekt entdecken Button BIG --------- */
.btn-view-project-big {
  position: relative;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px auto 0 auto;
  width: clamp(0px, 100%, 400px);
  height: 60px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.349);
  background-color: rgb(12, 12, 12);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
}

.IconContainer-big {
  width: 50px;
  height: 50px;
  background: linear-gradient(90deg, #2f00ff, #7446ff);
  border-radius: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition-duration: 0.3s;
}

.icon-big {
  height: 2em;
  border-radius: 1px;
}

.btn-text-big {
  height: 100%;
  /* width: 60px; */
  width: calc(100% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 1;
  transition-duration: 0.3s;
  font-size: 1.5em;
}

.btn-view-project-big:hover .IconContainer-big {
  width: calc(100% - 10px);
  transition-duration: 0.3s;
}

.btn-view-project-big:hover .btn-text-big {
  transform: translate(10px);
  width: 0;
  font-size: 0;
  transition-duration: 0.3s;
}

.btn-view-project-big:active {
  transform: scale(0.95);
  transition-duration: 0.3s;
}

@media screen and (max-width: 480px) {
  .btn-text-big {
    font-size: 1em;
  }
}

/* --------- Projekt auf Github entdecken Button --------- */
.btn-github {
  line-height: 1;
  background-color: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  width: fit-content;
  margin: 20px auto;
  margin-right: 20px;
  padding: 0.75em 1em;
  padding-right: 1.25em;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
  border-radius: 2em;
  font-size: 1rem;
  box-shadow: 0 0.7em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
  transition: transform 0.3s;
  text-decoration: none;
  background: linear-gradient(63deg,
      rgba(77, 54, 208, 1) 0%,
      rgb(94, 50, 169) 100%);
  transition: border 0.3s ease-in-out;
}

.btn-github i {
  margin-right: 10px;
  color: #fff;
  font-size: 30px;
}

.btn-github:hover {
  border-color: #f4f5f2;
  transition: 0.3s ease-in-out;
}

.btn-github:active {
  transform: scale(0.98);
  box-shadow: 0 0.5em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
}