/* Reset */
html, body {
  margin: 0;
  height: 100%;
}
/* Page Layout */
body {
  background: linear-gradient(to bottom, blue, white, red);
  font-family: Arial, sans-serif;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main Container Wrapper */
.box {
  width: 90%;
  max-width: 900px;
  min-height: 500px;

  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 12px;

  display: flex;
  flex-direction: row;
  gap: 2;

  margin: 40px auto;
  flex: 1;
}

/* Left Side Content */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Text Styling */
.text {
  font-family: 'Courier New', Courier, monospace;
  color: white;
}

.title {
  font-size: 28px;
  margin-bottom: 15px;
}

.child {
  font-size: 18px;
  line-height: 1.6;
}

/* Gradient Date Text */
.date {
  font-size: 72px;
  font-weight: bold;
}


/* Selection Panel */
.selection {
  width: 20%;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  overflow-y: auto;
}

/* Selection Items */
.selection p {
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 6px;
  margin: 0;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;

  width: 95%;
  box-sizing: border-box;
}

.selection p:hover {
  background: white;
  transform: scale(1.03);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.85);
  padding: 12px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Footer Slots */
.slot {
  background: rgba(255, 255, 255, 0.75);
  padding: 8px 16px;
  border-radius: 5px;

  min-width: 80px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.slot:hover {
  background: white;
  transform: scale(1.15);
}

/* for using links inside slots */
.slot a {
  text-decoration: none;
  color: black;
}

.slot a:visited {
  color: purple;
}

/*cool stuff*/
@media (max-width: 768px) {
  .box {
    flex-direction: column;
  }

  .selection {
    width: 100%;
  }

  .date {
    font-size: 48px;
  }
}
