* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --card-header-size: 60px;
  --card-body-size: 500px;
}

html,
body {
  height: 100%;
  background-color: #1f1f1f;
  color: #fff;
  display: flex;
  font-family: "Arvo", serif;
  font-weight: 400;
  scroll-behavior: smooth;
}

button {
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 1rem;
}

button:hover {
  opacity: 0.7;
}

.layout {
  display: flex;
  height: 100%;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.main-content h1 {
  font-weight: 400;
  font-family: "Rampart One", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.bento-box {
  background: #ddd;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.bento-box:hover {
  background: #bbb;
}

/* <<navigation bar styling>> */

nav {
  /* width: 17rem; */
  height: 100%;
  background-color: #292929;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: fixed;
  left: 0;
  width: var(--card-header-size);
  height: 100%;
  z-index: 10;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

nav ul li {
  width: 100%;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: opacity 0.2s ease;
}

nav ul li:hover {
  opacity: 0.7;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
}

nav ul li svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

footer p strong {
  color: #fff;
}

footer a {
  color: #ccc;
  text-decoration: underline;
  margin: 0 0.5rem;
}
