/* Projects page */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

.project-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.project-page-title {
  text-align: center;
  color: #eeff00;
  padding: 8px 0 24px;
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(20px, 4.5vw, 32px);
  line-height: 1.3;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.new-message-box {
  margin: 12px 0 20px;
  padding-left: 20px;
}

.new-message-box p {
  font-size: clamp(14px, 3.5vw, 1.15em);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}

.info-tab {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: relative;
  top: 8px;
  float: left;
  margin-left: -23px;
}

.info-tab i::before {
  width: 24px;
  height: 24px;
  box-shadow: inset 12px 0 13px rgba(0, 0, 0, 0.5);
}

.info-tab i::after {
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-bottom-color: #17df21;
  border-left-color: #000;
  bottom: -18px;
}

.info-tab i::before,
.info-tab i::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: -17px;
  transform: rotateX(60deg);
}

.tip-box-success,
.tip-box-danger,
.tip-box-warning,
.tip-box-info,
.tip-box-alert {
  padding: 12px 12px 12px 26px;
  overflow: hidden;
}

.new-message-box-success,
.new-message-box-danger,
.new-message-box-warning,
.new-message-box-info,
.new-message-box-alert {
  background: rgba(37, 37, 37, 0.4);
  padding: 3px;
  margin: 10px 0;
  border-radius: 4px;
}

.tip-icon-success { background: #8bc34a; }
.tip-box-success { color: #fff; background: #dcedc8; }

.tip-icon-danger { background: #f44336; }
.tip-box-danger { color: #fff; background: #ffccbc; }

.tip-icon-warning { background: #ffeb3b; }
.tip-box-warning { color: #fff; background: #fff9c4; }

.tip-icon-info { background: #03a9f4; }
.tip-box-info { color: #fff; background: #b3e5fc; }

.tip-icon-alert { background: #ff6f00; }
.tip-box-alert { color: #fff; background: #fff8e1; }

.tip-icon-success::before,
.tip-icon-danger::before,
.tip-icon-warning::before,
.tip-icon-info::before,
.tip-icon-alert::before {
  font-size: 22px;
  top: 8px;
  left: 11px;
  font-family: "Font Awesome 6 Free", FontAwesome, sans-serif;
  font-weight: 900;
  position: absolute;
  color: #fff;
}

.tip-icon-success::before { content: "\f00c"; }
.tip-icon-danger::before { content: "\f00d"; }
.tip-icon-warning::before { content: "\f071"; color: #212121; }
.tip-icon-info::before { content: "\f129"; }
.tip-icon-alert::before { content: "\f06a"; }

.tip-icon-success i::before { background: #8bc34a; }
.tip-icon-danger i::before { background: #f44336; }
.tip-icon-warning i::before { background: #ffeb3b; }
.tip-icon-info i::before { background: #03a9f4; }
.tip-icon-alert i::before { background: #ff6f00; }

.project-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 247, 255, 0.45);
  border-radius: 6px;
  color: #00f7ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.project-link:hover {
  background: rgba(0, 247, 255, 0.12);
  color: #fff;
}

.project-whatsapp {
  position: fixed;
  bottom: 88px;
  right: 26px;
  z-index: 9999;
  color: #fff;
  font-size: 40px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-whatsapp:hover {
  color: #13ff0f;
}

.project-home-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0 24px;
}

footer {
  background: #b3ff00;
  padding: 8px 16px;
  color: #888c8d;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #000;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #001aff;
}

@media (max-width: 575px) {
  .project-page {
    padding: 20px 14px 40px;
  }

  .new-message-box {
    padding-left: 16px;
    margin-left: 4px;
    margin-right: 4px;
  }

  .info-tab {
    margin-left: -18px;
  }

  .project-whatsapp {
    right: 17px;
    font-size: 32px;
  }
}

@media (max-width: 380px) {
  .tip-box-success,
  .tip-box-danger,
  .tip-box-warning,
  .tip-box-info,
  .tip-box-alert {
    padding-left: 20px;
  }

  .new-message-box p {
    font-size: 13px;
  }
}
