/* cute back home button */
.back-home {
  text-align: center;
  margin-top: 30px;
}

.back-home a {
  display: inline-block;
  background: #b49aff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #5b3ccc;
  padding: 8px 18px;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-home a:hover {
  background: #cfbaff;
  transform: translateY(-2px);
}


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

body {
  font-family: "Poppins", sans-serif;
  background: #a78bfa;
  color: #f8f5ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* header */
header {
  width: 100%;
  text-align: center;
  background: #6d4fc7;
  padding: 10px 0;
}

.header-img {
  width: 90%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
}

/* layout */
.container {
  display: flex;
  width: 90%;
  max-width: 1000px;
  margin: 40px 0;
  gap: 20px;
}

/* sidebar */
.sidebar {
  flex: 1;
  background: #7d5cff;
  padding: 20px;
  border: 2px solid #5838c4;
}

.sidebar h2 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar a {
  display: block;
  text-align: center;
  background: #9b83ff;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  border: 2px solid #5b3ccc;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar a:hover {
  background: #b49aff;
  color: #fefcff;
}

/* main column */
.main-column {
  flex: 3;
  background: #8e6ffb;
  border: 2px solid #5b3ccc;
  padding: 25px;
}

.about h1 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.about p {
  margin-bottom: 25px;
  line-height: 1.5;
}

/* image links always stay side-by-side */
.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.link-row a {
  flex: 1; /* each image takes equal width */
  min-width: 0; /* prevents overflow */
}

.link-row a img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  transition: transform 0.2s ease;
}

.link-row a:hover img {
  transform: scale(1.02);
}

/* footer */
footer {
  text-align: center;
}

/* responsive behavior */
@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .main-column {
    width: 100%;
  }

  .link-row {
    gap: 5px;
  }

  .link-row a img {
    width: 100%;
  }
}
  /* art gallery layout */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.art-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid #5b3ccc;
  transition: transform 0.2s ease;
}

.rt-grid img:hover {
  transform: scale(1.02);
}
}
