@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Cinzel+Decorative:wght@400;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Lora', serif;
    background-color: #E9E9E9;
    color: #4B3B2A;overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #F6EDE0 0%, #EFE4D2 100%);
  padding: 15px 40px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  font-family: 'Lora', serif;
  z-index: 1000;
}

#sidebar .sidebar-logo {
  font-size: 36px;
  font-weight: 700;
  color: #8E5E2E;
  letter-spacing: 1px;
  font-family: 'Great Vibes', cursive;
  margin-bottom: 10px;
}

#sidebar nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

#sidebar a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 17px;
  text-decoration: none;
  text-transform: uppercase;
  color: #4B3B2A;
  border-radius: 10px;
  background: rgba(255,250,240,0.5);
  transition: all 0.3s ease;
  overflow: hidden;
}

#sidebar a::before,
#sidebar a::after {
  content: "✦"; 
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(142,94,46,0.7);
  opacity: 0;
  transition: all 0.3s ease;
}

#sidebar a::before {
  left: -15px;
}

#sidebar a::after {
  right: -15px;
}

#sidebar a:hover {
  background: rgba(249,240,226,0.9);
  color: #8E5E2E;
  transform: translateY(-2px);
}

#sidebar a:hover::before {
  left: 5px;
  opacity: 1;
}

#sidebar a:hover::after {
  right: 5px;
  opacity: 1;}

#quotes {
    margin-top: 60px;
    padding: 50px;
    background: rgba(255, 250, 240, 0.8);
    border: 1px solid rgba(169, 116, 58, 0.25);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(189, 140, 89, 0.1);
    backdrop-filter: blur(4px);
    animation: softGlow 10s ease-in-out infinite alternate;
}

#quotes h1 {
    text-align: center;
    color: #A9743A;
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

#quotes p {
    text-align: center;
    font-size: 20px;
    color: #5A4532;
    margin-bottom: 40px;
}

#quotes blockquote {
    background: rgba(249, 240, 226, 0.9);
    border-left: 4px solid #B58A5D;
    color: #4B3B2A;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.8;
    padding: 25px 40px;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(189, 140, 89, 0.15);
    position: relative;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#quotes blockquote:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(169, 116, 58, 0.2);
}

#quotes blockquote::before {
    content: "“";
    font-size: 65px;
    color: rgba(189, 140, 89, 0.5);
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: 'Cinzel Decorative', serif;
}

#quotes blockquote::after {
    content: "”";
    font-size: 65px;
    color: rgba(189, 140, 89, 0.5);
    position: absolute;
    bottom: -10px;
    right: 15px;
    font-family: 'Cinzel Decorative', serif;
}

@keyframes softGlow {
    0% { box-shadow: 0 0 10px rgba(189, 140, 89, 0.05); }
    100% { box-shadow: 0 0 25px rgba(189, 140, 89, 0.15); }
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center; 
    height: 690px;
    width: 100%;
    margin-top: 143px;
}

#content {
    margin: -130px auto 0 auto; 
    padding: 50px;
    width: 60%;
    max-width: 900px; 
    font-family: 'Lora', serif;
    position: relative;
    z-index: 10;
}

#footer {
    font-family: 'Lora', serif;
    background: rgba(255, 250, 240, 0.9);
    color: #4B3B2A;
    text-align: center;
    padding: 40px 20px;
    margin: 0 auto;
    width: 100%;
    border-top: 1px dashed rgba(169, 116, 58, 0.4);
    box-shadow: inset 0 8px 20px rgba(189, 140, 89, 0.05);
}

.contentx {
    opacity: 0.7;
    text-align: justify;
    background: rgba(255, 249, 239, 0.85);
    padding: 40px;
    font-size: 20px;
    line-height: 1.9;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(160, 120, 80, 0.1);
    color: #4B3B2A;
    backdrop-filter: blur(3px);
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    color: #A9743A;
    text-align: center;
    margin: 40px 0 25px;
    letter-spacing: 2px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(169, 116, 58, 0.3);
    animation: gentleFloat 7s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 24px;
    color: #5A4532;
    background: rgba(248, 240, 227, 0.7);
    padding: 25px 40px;
    margin: 40px auto;
    border-left: 4px solid #B58A5D;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(189, 140, 89, 0.1);
    max-width: 750px;
    line-height: 1.8;
    font-style: italic;
}

textarea, input, select {
    width: 70%;
    max-width: 600px;
    padding: 12px 18px;
    margin: 16px 0;
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #4B3B2A;
    background: rgba(255, 249, 239, 0.8);
    border: 1px solid rgba(189, 140, 89, 0.4);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: rgba(253, 245, 232, 0.9);
    border-color: #A9743A;
    box-shadow: 0 0 8px rgba(169, 116, 58, 0.2);
}

.contentx a:link,
.contentx a:visited {
    color: #A9743A;
    text-decoration: none;
    border-bottom: 1px solid rgba(169, 116, 58, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.contentx a:hover,
.contentx a:focus {
    color: #8E5E2E;
    border-bottom: 1px solid rgba(142, 94, 46, 0.6);
    text-shadow: 0 0 6px rgba(169, 116, 58, 0.2);
}

#footer a {
    color: #A9743A;
    text-decoration: none;
    border-bottom: 1px dashed rgba(169, 116, 58, 0.4);
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #6B4A2C;
    text-shadow: 0 0 6px rgba(189, 140, 89, 0.2);
}

b, strong {
    color: #FFF9EF;
    background-color: #A9743A;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    #navigation {
        width: 220px;
        padding: 30px 15px;
    }

    #content {
        margin-left: 240px;
        width: 70%;
        padding: 40px;
    }

    h1 {
        font-size: 36px;
    }

    #quotes h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    #content {
        margin: -40px auto 0 auto; 
        width: 90%;
        padding: 25px;
    }

    .contentx {
        padding: 25px;
        font-size: 18px;
        line-height: 1.7;
    }

    #header {
        height: 400px;
        background-size: cover;
    }

    #footer {
        margin-left: 0;
        padding: 30px 10px;
    }
}

@media (max-width: 480px) {
    html, body {
        font-size: 15px;
    }

    #content {
        margin: -20px auto 0 auto; 
        width: 95%;
        padding: 15px;
    }

    .contentx {
        padding: 20px;
        font-size: 16px;
        line-height: 1.7;
    }

    #header {
        height: 320px; 
        background-size: cover;
        background-position: center;
    }

    #footer {
        font-size: 14px;
        padding: 20px 8px;
        margin: 0 auto;
    }
}