html, body {
  height: 100%;
  margin: 0;}


body {
background-image: url('premade/bg.jpg');
        background-repeat:repeat;
}

#header {
        background-image: url('premade/head.jpg');
        background-repeat: no-repeat;
        background-position: center; 
        height:814px;
        width:100%;
        margin-top:-4px;
}

input,
textarea,
select {
  width: 100%;
  max-width: 600px;
  padding: 14px 18px;
  margin: 14px 0;
  font-family: 'Lora', serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: #ddd;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 0.9),
    rgba(35, 35, 35, 0.95)
  );
  border: 1px solid rgba(150, 150, 150, 0.25);
  border-radius: 16px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #d6d184;
  box-shadow:
    0 0 14px rgba(214, 209, 132, 0.4),
    inset 0 0 14px rgba(214, 209, 132, 0.1);
  background: linear-gradient(
    145deg,
    rgba(25, 25, 25, 0.95),
    rgba(45, 45, 45, 0.95)
  );
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(to right, #555, #888);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  cursor: pointer;
}

select option {
  background: #222;
  color: #ddd;
  font-family: 'Lora', serif;
  padding: 10px;
}

#navigation {
  position: relative;
  width: 100%;
  padding: 14px 0;
  margin: 0 auto 25px auto;
  background: linear-gradient(to right, rgba(20, 20, 20, 0.95), rgba(30, 30, 30, 0.95));
  border: 1px solid rgba(150, 150, 150, 0.2);
  border-radius: 50px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
  backdrop-filter: blur(6px);
}

#navigation a {
  display: inline-block;
  font-family: 'Cinzel Decorative', serif;
  font-size: 16px;
  text-transform: uppercase;
  color: #d6d184; 
  margin: 0 12px;
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  position: relative;
}

#navigation a::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #777, #d6d184, #777);
  transition: width 0.4s ease;
}

#navigation a:hover::before {
  width: 80%;
}

#navigation a:hover {
  color: #aaa;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

h1 {
  font-family: 'Uncial Antiqua', 'Great Vibes', serif;
  font-size: 42px;
  text-align: center;
  letter-spacing: 1.8px;
  margin: 40px auto 30px;
  padding: 15px 40px;
  color: transparent;
  background: linear-gradient(to right, #d6d184, #999, #d6d184);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, #666, #d6d184, #666);
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

blockquote {
  background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(40, 40, 40, 0.9));
  border-radius: 24px;
  padding: 25px 35px;
  font-style: italic;
  font-family: 'EB Garamond', serif;
  font-size:23px;
  color: #ccc;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.6);
  border-left: 5px solid #666;
  max-width: 700px;
  margin: 40px auto;
  line-height: 1.9;
  backdrop-filter: blur(3px);
  position: relative;
}

blockquote::before,
blockquote::after {
  content: '❝';
  font-size: 60px;
  color: #555;
  opacity: 0.15;
  position: absolute;
  font-family: serif;
}

blockquote::before {
  top: 8px;
  left: 16px;
  transform: rotate(-8deg);
}

blockquote::after {
  bottom: 8px;
  right: 16px;
  transform: rotate(170deg);
}

blockquote p {
  font-size: 18px;
  position: relative;
  z-index: 1;
}

#content {
  position: relative;
  width: 1100px;
  max-width: 1100px;
  margin: -185px auto;
  padding-bottom: 90px;
  z-index: 1;
}

.contentx { opacity:0.7;
  background: linear-gradient(
      145deg,
      rgba(15, 15, 15, 0.95), 
      rgba(25, 25, 25, 0.95),   
      rgba(35, 35, 35, 0.9)   
    );
  padding: 40px;
  border-radius: 40px;
  font-size: 18px;
  font-family: 'Lora', serif;
  color: #ddd;
  text-align: justify;
  box-shadow:
    0 10px 50px rgba(0, 0, 0, 0.7),
    inset 0 0 25px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  line-height: 2.2;
}

a {
  color: #d6d184;
  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: #888;
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #aaa;
}

b, i {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ccc, #d6d184, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  cursor: default;
  transition: color 0.6s ease;
}

b::after, i::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(to right, #444, #d6d184, #444);
  opacity: 0.5;
  transition: width 0.5s ease;
}

b:hover::after,
i:hover::after {
  width: 100%;
}

b:hover, i:hover {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  background-size: 200% 200%;
  background-position: 100% 50%;
  transition: background-position 1s ease;
}


@media (max-width: 1024px) {
  #content {
    width: 95%;
    padding: 0 10px;
  }

  #header {
    width: 90%;
    height: auto;
    border-radius: 30px;
  }

  h1 {
    font-size: 34px;
    padding: 12px 20px;
  }

  blockquote {
    margin: 30px 10px;
    padding: 20px 25px;
  }
}

@media (max-width: 768px) {
  .contentx {
    padding: 25px;
    border-radius: 25px;
    font-size: 16px;
  }

  #navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    border-radius: 30px;
  }

  #navigation a {
    margin: 6px 8px;
    padding: 8px 14px;
    font-size: 14px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  blockquote {
    padding: 18px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contentx {
    padding: 20px 15px;
    border-radius: 20px;
    font-size: 15px;
  }

  #navigation {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 6px;
  }

  #navigation a {
    display: block;
    width: 100%;
    text-align: center;
    margin: 4px 0;
    padding: 8px 0;
    font-size: 13px;
    border-radius: 20px;
  }

  h1 {
    font-size: 24px;
    padding: 8px 10px;
  }

  blockquote {
    margin: 20px 0;
    padding: 15px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
    #main-container {
        width: 85%;
        padding: 30px;
    }

    #navigation {
        width: 90%;
    }

    header {
        height: 220px;
    }
}

@media (max-width: 768px) {
    #main-container {
        width: 95%;
        padding: 20px;
    }

    #navigation {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    #navigation a {
        padding: 10px;
        font-size: 13px;
    }

    header {
        height: 180px;
    }

    .contentx {
        padding: 20px;
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    header {
        height: 150px;
    }

    #navigation a {
        font-size: 12px;
    }

    .contentx h1 {
        font-size: 20px;
    }
}