html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  background-color:#000000;
  color: #4c3d36;
  line-height: 1.8;
}

#navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  background: linear-gradient(to right, rgba(30, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 999;
}

#navigation a {
  display: inline-block;
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #ff4d4d;
  margin: 0 14px;
  padding: 12px 20px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  transition: all 0.5s ease;
  overflow: hidden;
}

#navigation a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #990000;
  transition: width 0.4s ease;
}

#navigation a:hover::before {
  width: 80%;
}

#navigation a:hover {
  color: #ff6666;
  background: rgba(255, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 44px;
  color: #ff3333;
  text-align: center;
  letter-spacing: 1.2px;
  margin: 40px 0 20px 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 10px rgba(255, 0, 0, 0.2);
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ff6666, #990000);
  border-radius: 10px;
  opacity: 0.6;
}

blockquote {
  background: radial-gradient(circle at top, rgba(0,0,0,0.4), rgba(50,0,0,0.3));
  border-left: none;
  border-radius: 30px;
  padding: 30px 40px;
  font-style: italic;
  color: #ff9999;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

blockquote::before,
blockquote::after {
  content: '❝';
  font-family: serif;
  font-size: 48px;
  color: #990000;
  position: absolute;
  opacity: 0.15;
}

blockquote::before {
  top: 10px;
  left: 20px;
}

blockquote::after {
  bottom: 10px;
  right: 20px;
  transform: rotate(180deg);
}

a {
  color: #cc3333;
  font-size: 18px;
  font-family: 'Lora', serif;
  letter-spacing: 1.2px;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  padding: 6px 4px;
  transition: all 0.4s ease;
}

a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #ff1a1a;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #ff1a1a;
}

.contentx input,
textarea,
select {
  background-color: rgba(30, 0, 0, 0.6);
  border: 1px solid #990000;
  padding: 12px 18px;
  color: #ffe6e6;
  border-radius: 20px;
  font-size: 16px;
  font-family: 'Crimson Text', serif;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 8px rgba(255,0,0,0.3);
  transition: all 0.3s ease;
}

.contentx input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #cc0000;
  background-color: rgba(60, 0, 0, 0.8);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

#header {
  position: relative;
  width: 850px;
  height: 400px;
  margin: 100px auto 40px auto;
  border-radius: 60px;
  background: url('premade/header.png') no-repeat center center;
  background-size: cover;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.3);
  border: none;  border: 4px solid rgba(255, 0, 0, 0.6);
  overflow: hidden;
  filter: brightness(0.8) contrast(1.2) saturate(1.2);
  transition: border-radius 0.7s ease, box-shadow 0.7s ease;
}

#header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(120, 0, 0, 0.35),
    rgba(80, 0, 0, 0.3),
    rgba(40, 0, 0, 0.25)
  );
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

#header:hover {
  border-radius: 100px 20px 100px 20px / 40px 80px 40px 80px;
  box-shadow: 0 20px 80px rgba(255, 0, 0, 0.2);
}

#header:hover::after {
  opacity: 1;
}

#content {
  position: relative;
  width: 850px;
  margin: 0 auto;
  padding-top: 10px; 
  padding-bottom: 80px;
  z-index: 1;
}

.contentx {
  background: linear-gradient(
      145deg,
      rgba(30, 0, 0, 0.65),
      rgba(20, 0, 0, 0.5),
      rgba(10, 0, 0, 0.45)
    ),
    radial-gradient(
      circle at top left,
      rgba(50, 0, 0, 0.4),
      rgba(20, 0, 0, 0.2)
    );
  padding: 40px;
  border-radius: 40px;
  font-size: 18px;
  font-family: 'Lora', serif;
  color: #ffb3b3;
  text-align: justify;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  margin-bottom: 40px;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}

.contentx::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.2), transparent 60%);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.contentx > * {
  position: relative;
  z-index: 1;
}

b, i {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(
    135deg,
    #990000,
    #ff4d4d,
    #990000
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transition: background-position 0.8s ease, color 0.8s ease;
  background-size: 300% 300%;
  background-position: 0% 50%;
  cursor: default;
}

b:hover, i:hover {
  background-position: 100% 50%;
  color: #ff6666; 
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}
