html, body {
        height: 100%;
        margin:0;
}

body {
        background-color: #EAEAEA; padding-bottom: 100px;
}

#header {
    background-image: url('images/halloween.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 691px;
    width: 100%;
    margin-top: -4px;
}

#navigation {
    position: relative;
    width: 60%;
    margin-top: 10px;
    padding: 30px 10px 20px;
    border-radius: 0 0 10px 10px;
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    opacity: 0.95;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    z-index: 2;
    background: linear-gradient(145deg, #eeeeee, #dcdcdc);
    border-bottom: 4px solid #ff7518;
    box-shadow: inset 0 -3px 10px rgba(0,0,0,0.25), 0 4px 15px rgba(0,0,0,0.4);
}

#navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    color: #ff7518;
    background: linear-gradient(145deg, #f7f7f7, #e2e2e2);
    border-radius: 6px;
    padding: 8px 18px;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    vertical-align: middle;
    line-height: 1;
    margin-bottom: 24px;
    box-shadow: 0 0 6px rgba(255,117,24,0.4);
}

#navigation a::after {
    content: "🕸";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255,117,24,0.7);
    opacity: 0.8;
    animation: drip 3s infinite ease-in;
    pointer-events: none;
    margin-top: 4px;
}

#navigation a:hover {
    color: #fff;
    background: linear-gradient(145deg, #ff7518, #cc4d00);
    box-shadow: 0 0 12px rgba(255,117,24,0.8);
}

#navigation a:active {
    transform: scale(0.97);
}

@keyframes drip {
    0% { opacity: 0.8; transform: translateX(-50%) translateY(0) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px) scaleY(1.2); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px) scaleY(0.8); }
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 28px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px; 
    margin-bottom: 30px;
    padding-top: 15px;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
    background: linear-gradient(90deg, #ff7518 0%, #d35400 50%, #ffac6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(255, 117, 24, 0.3);
}

h1::after {
    content: "🕸";
    position: absolute;
    right: -20px;
    bottom: -8px;
    font-size: 18px;
    color: rgba(255,117,24,0.5);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 25px;
    color: #333;
    background: linear-gradient(135deg, #eeeeee 0%, #f5f5f5 40%, #e0e0e0 100%);
    padding: 40px 50px;
    margin: 40px auto;
    border-left: 6px solid #ff7518;
    border-radius: 16px;
    max-width: 800px;
    position: relative;
    line-height: 1.9;
    box-shadow: 0 0 20px rgba(255,117,24,0.15);
}

blockquote::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(255,117,24,0.2);
    pointer-events: none;
    user-select: none;
}

blockquote p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-style: italic;
}

blockquote::after {
    content: "";
    position: absolute;
    bottom: 15px;
    right: 30px;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #ff7518 0%, #ffac6b 50%, #ff7518 100%);
    border-radius: 2px;
    opacity: 0.6;
}

b, strong {
    color: #fff;
    background-color: #ff7518;
    padding: 4px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

i, em {
    color: #cc4d00;
    background: linear-gradient(to right, #f7f7f7, #e2e2e2);
    padding: 3px 6px;
    border-radius: 5px;
    font-style: italic;
}

textarea,
input,
select {
    width: 40%;
    max-width: 600px;
    padding: 14px 18px;
    margin: 12px 0;
    font-family: 'Lora', sans-serif;
    font-size: 17px;
    color: #333;
    background: linear-gradient(145deg, #f4f4f4, #e3e3e3);
    border: 2px solid #ff7518;
    border-radius: 12px;
    transition: all 0.3s ease;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #d35400;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(255,117,24,0.6);
}

#content {
    margin: 30px auto 10px auto;
    position: relative;
    width: 60%;padding-bottom:100px;
}

.contentx {
    margin: 0 auto 40px auto;
    padding: 25px;
    font-size: 19px;
    font-family: 'Lora', serif;
    font-weight: 500;
    text-align: justify;
    color: #333;
    line-height: 25px;
    letter-spacing: 1px;
    border-radius: 20px;
    opacity: 0.95;
    background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><g fill="none" stroke="rgba(255,117,24,0.15)" stroke-width="1"><circle cx="150" cy="150" r="10"/><circle cx="150" cy="150" r="30"/><circle cx="150" cy="150" r="50"/><circle cx="150" cy="150" r="70"/><line x1="150" y1="0" x2="150" y2="300"/><line x1="0" y1="150" x2="300" y2="150"/><line x1="30" y1="30" x2="270" y2="270"/><line x1="270" y1="30" x2="30" y2="270"/></g></svg>') repeat,
        linear-gradient(145deg, #eeeeee, #dcdcdc);
    border: 2px dashed rgba(255,117,24,0.4);
    background-size: 300px 300px, auto;
}

a:link,
a:visited {
    color: #ff7518;
    text-decoration: none;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 500; 
    font-size: 0.9em; 
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px; 
    width: 100%;
    height: 1px; 
    border-radius: 1px;
    background: linear-gradient(90deg, #ff7518, #ffac6b, #ff7518);
    opacity: 0;
    transition: opacity 0.3s ease;
}

a:hover {
    color: #d35400;
    text-shadow: 0 0 4px rgba(255,117,24,0.4); 
}

a:hover::after {
    opacity: 1;
}

@media screen and (max-width: 1200px) {
  #navigation {
    width: 90%;
    padding: 20px 10px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  #content, .contentx {
    width: 90%;
  }
  h1 { font-size: 52px; }
}

@media screen and (max-width: 768px) {
  #navigation {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }
  #navigation a {
    width: 90%;
    justify-content: center;
    font-size: 20px;
    padding: 14px 10px;
  }
  h1 { font-size: 44px; }
  .contentx {
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
  }
  blockquote {
    font-size: 18px;
    padding: 20px 24px;
  }
  textarea, input, select {
    font-size: 15px;
    padding: 12px 16px;
  }
}

@media screen and (max-width: 480px) {
  body { font-size: 15px; }
  #navigation a {
    font-size: 18px;
    padding: 12px 8px;
  }
  h1 { font-size: 36px; }
  .contentx { padding: 15px; }
  blockquote {
    padding: 18px;
    font-size: 16px;
  }
  textarea, input, select {
    font-size: 14px;
    padding: 10px 14px;
  }
}
