@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&family=Tilt+Neon&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

:root {
  --primary-color: #4A90E2;
  --secondary-color: #5C6BC0;
  --background-color: #1A1A2E;
  --card-color: #2D2D44;
  --text-color: #FFFFFF;
  --spacing: 20px;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: var(--spacing);
  text-align: center;
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

header h1 {
  font-family: "Tilt Neon", sans-serif;
  font-size: 2.5rem;
  color: black;
  -webkit-background-clip: text;
  background-clip: text;
}

.dashboard {
  flex: 1;
  display: flex;
  background-color: rgba(255, 255, 255, 1);
  /* justify-content: center;
  align-items: center; */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-color);
  aspect-ratio: 1/1;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  inset: 0;
  background: rgba(255, 194, 52, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transform: translateX(-101%);
  transition: transform 0.5s ease;
}

.card:hover .card-content {
  transform: translateX(0);
}

.card-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.go-btn {
  -webkit-background-size: 120%;
  -moz-background-size: 120%;
  background-size: 120%;
  background-image: url(../image/ui_arrow.svg);
  background-color: white;
  background-position: center 45%;
  width: 80px;
  height: 80px;
  -webkit-box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.075);
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.075);
  border-radius: 100%;
}

footer {
  padding: var(--spacing);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .grid-container .card:nth-child(4),
  .grid-container .card:nth-child(5) {
    grid-column: 1;
  }
  
  header h1 {
    font-size: 2rem;
  }
}

