@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400);

html,
body {
  height: 100%;
}

body {
  background: radial-gradient(#222922, #000500);
  font-family: 'Source Code Pro', monospace;
  font-weight: 400;
  overflow: hidden;
  padding: 30px 0 0 30px;
  text-align: center;
  margin: 0;
}

.word {
  bottom: 0;
  color: #fff;
  font-size: clamp(1.5em, 5vw, 2.5em);
  height: auto;
  left: 0;
  line-height: 1.4;
  margin: auto;
  right: 0;
  position: absolute;
  text-shadow: 0 0 10px rgba(50, 255, 50, 0.5), 0 0 5px rgba(100, 255, 100, 0.5);
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  width: 90%;
  max-width: 600px;
}

@media (max-width: 768px) {
  body {
    padding: 20px 0 0 20px;
  }
  
  .word {
    font-size: clamp(1.2em, 4vw, 1.8em);
    padding: 15px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px 0 0 15px;
  }
  
  .word {
    font-size: clamp(1em, 3vw, 1.5em);
    padding: 10px;
  }
}

.word span {
  display: inline-block;
  -webkit-transform: translateX(100%) scale(0.9);
          transform: translateX(100%) scale(0.9);
  -webkit-transition: -webkit-transform 500ms;
  transition: -webkit-transform 500ms;
  transition: transform 500ms;
  transition: transform 500ms, -webkit-transform 500ms;
}

.word .done {
  color: #6f6;
  -webkit-transform: translateX(0) scale(1);
          transform: translateX(0) scale(1);
}

.overlay {
  background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(50%, rgba(10, 16, 10, 0.5)));
  background-image: linear-gradient(transparent 0%, rgba(10, 16, 10, 0.5) 50%);
  background-size: 1000px 2px;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* ========================================
   TWO-TIER PROJECT PORTFOLIO STYLING
   ======================================== */

/* Sandbox Item Hover Effects */
.sandbox-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sandbox-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2) !important;
}

/* Responsive Grid for Tier 2 (Sandbox) */
@media (max-width: 1200px) {
  .sandbox-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .sandbox-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .sandbox-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Tier 1 Card Styling Enhancement */
.resume-wrap {
  transition: all 0.3s ease;
}

.resume-wrap:hover {
  background: linear-gradient(135deg, rgba(44, 152, 240, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%) !important;
}

/* Section Divider */
.tier-divider {
  margin: 80px 0;
  position: relative;
  text-align: center;
}