@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap');

body {
  background: url('images/bg.jpg') center repeat fixed;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(180,200,255,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: mistDrift 140s linear infinite;
  opacity: 0.5;
  z-index: 1;
}

@keyframes mistDrift {
  from { background-position: 0 0; }
  to { background-position: 500px 500px; }
}

#header {
  background: url('images/head.jpg');
  background-position: center;
  background-repeat: no-repeat;
  height: 647px;
  width: 100%;
  position: relative;
  z-index: 0;
  background-color:#DFF7FB;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Lora', serif;
  background: #DFF7FB;;
  color: #4a5a6a;
}

#main-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
}

#navigation {
  display: flex;
  flex-direction: column;
  width: 220px;
  padding: 30px 20px;
  background: linear-gradient(145deg, #e6f0ff, #fff6cc);
  border-radius: 12px;
  border: 2px solid #d6e4ff;
  box-shadow: 0 8px 24px rgba(120,150,200,0.2), inset 0 0 15px rgba(255,255,255,0.4);
  flex: none;
}

#navigation a {
  margin: 12px 0;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: #5f6f8f;
  text-decoration: none;
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.3s ease;
}

#navigation a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 3px;
  width: 40%;
  background: linear-gradient(90deg, #a8c7ff, #ffe082, #a8c7ff);
  border-radius: 2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center; 
  transition: transform 0.4s ease;
}

#navigation a:hover {
  color: #3b4f6b;
  text-shadow: 0 0 8px rgba(200,220,255,0.6);
}

#navigation a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.contentx {
  flex: 1;
  margin-top: -10px;
  padding: 40px 30px;
  border-radius: 14px;
  line-height: 1.8;
}

h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 30px;
  text-align: center;
  margin-bottom: 25px;
  color: #7fa6d9;
  letter-spacing: 2px;
  font-weight: 400;
  text-transform: none;

  /* soft glow */
  text-shadow:
    0 0 6px rgba(200, 220, 255, 0.8),
    0 0 14px rgba(180, 210, 255, 0.6),
    0 0 24px rgba(255, 240, 180, 0.4);
}

/* delicate glowing underline */
h1::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  margin: 12px auto 0 auto;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    transparent,
    #bcd9ff,
    #fff1a8,
    #bcd9ff,
    transparent
  );

  box-shadow: 0 0 10px rgba(200,220,255,0.6);
}

h1::before {
  content: '✧';
  position: absolute;
  margin-left: -20px;
  color: rgba(255, 240, 180, 0.8);
  font-size: 14px;
}

h1::after {
  position: relative;
}

h1 span::after {
  content: '✧';
  margin-left: 8px;
  color: rgba(200, 220, 255, 0.8);
}

a {
  color: #7a8fb5;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #4a5f85;
  text-shadow: 0 0 6px rgba(180,200,255,0.5);
}

b, strong {
  color: #5c6f94;
}

i, em {
  color: #8aa0c2;
}


blockquote {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(230, 240, 255, 0.6),
    rgba(255, 245, 200, 0.6)
  );
  backdrop-filter: blur(8px);

  padding: 40px 30px;
  border-radius: 20px;

  box-shadow:
    0 10px 40px rgba(170, 190, 220, 0.25),
    inset 0 0 30px rgba(255, 255, 255, 0.4);

  font-size: 18px;
  line-height: 1.9;
  color: #4a5a6a;

  overflow: hidden;
}

blockquote::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;

  background: linear-gradient(
    120deg,
    rgba(180, 210, 255, 0.7),
    rgba(255, 240, 170, 0.7),
    rgba(180, 210, 255, 0.7)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}
blockquote::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px);

  background-size: 80px 80px;
  opacity: 0.4;
}

input,
select,
textarea {
  font-family: 'Lora', serif;
  font-size: 16px;
  color: #4a5a6a;
  background: linear-gradient(145deg, #ffffff, #fef4c8);
  border: 1.5px solid #d6e4ff;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 12px 0;
  width: 40%;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.6), 0 4px 12px rgba(150,170,200,0.2);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #a8c7ff;
  box-shadow: 0 0 12px rgba(180,200,255,0.6);
}