.error-container {
  background-image: url('../../images/backgrounds/lab-background.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;

}


.internal-server-error {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1200px;
  margin-block: 0;
  margin-inline: 96px 120px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-block: 60px;
  padding-inline: 24px;
}

.col-1 {
  flex-grow: 1;
  min-width: 300px;
}

.internal-server-error h1 {
  color: #1d2d3a;
  font-family: var(--font-tilt-neon);
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
}

.internal-server-error p {
  color: #1d2d3a;
  font-family: var(--font-agenda);
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
  line-height: normal;
}

.card__actions a.btn {
  background-color: #f15c3d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card__actions a.btn:hover {
  background-color: #d94f34;
}

.btn__icon.arrow.rotate-180 {
  transform: rotate(180deg);
}

.error-image {
  max-width: 100%;
  height: auto;
}

.left-pipe-col {
  position: absolute;
  right: 0;
  top: 12%;
  z-index: 0;
}

@media (max-width: 1024px) {
  .internal-server-error {
    flex-direction: column-reverse;
    text-align: center;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
  }

  .col-1 {
    flex: 1 1 100%;
    margin: 0 auto;
    max-width: 100%;
    text-align: left;
  }

  .left-pipe-col {
    position: static;

    .desktop-pipe {
      display: none;
    }
  }
}

@media (max-width: 767px) {

  .internal-server-error {
    padding: 40px 0;

    .card__actions a.btn {
      font-size: 15px;
      padding: 12px 16px;
    }

    .back-button a.btn {
      font-size: 20px;
    }
  }
  .internal-server-error h1 {
    font-size: 28px;
  }

  .internal-server-error p {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .col-1 {
    margin-inline: 24px;
  }

  .left-pipe-col {
    position: static;
    margin-top: 0px;
    text-align: center;
    margin-left: 16px;
  }

  .left-pipe-col img {
    max-width: 100%;
    height: auto;
  }
}
