*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  background-color: #E9EEF6;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1d29;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: 2px;
  color: #585299;
  margin: 1.5rem 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

h1 a {
  color: inherit;
  padding: 0;
}

b, strong {
  color: #3b4275;
  font-weight: 700;
}

i, em {
  color: #4a5394;
}

a {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3b4275;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #212548;
  background-color: rgba(59, 66, 117, 0.12);
}

#header {
  height: 571px;
  width: 100%;
  background-image: url('premade/head.jpg');
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#navigation {
  width: 90%;
  max-width: 1080px;
  margin: -10px auto 40px auto;
  padding: 0 28px;
  height: 120px;
  opacity: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
  background: rgba(100, 115, 170, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

#navigation a {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #e2e8f0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

#navigation a::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background-color: #a2abde;
  border-radius: 3px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(162, 171, 222, 0.6);
}

#navigation a:hover {
  color: #ffffff;
}

#navigation a:hover::after {
  width: 70%;
}

#navigation a.active {
  color: #ffffff;
}

#navigation a.active::after {
  width: 70%;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#container {
  width: 90%;
  max-width: 1140px;
  margin: 70px auto 40px auto;
  position: relative;
  z-index: 2;
}

#container .box {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
  color: #122b25;
  background-color: rgba(211, 238, 231, 0.98);
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contentcontainer {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  line-height: 2;
  text-align: justify;
  color: #111111;
  padding: 36px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  border-bottom: 4px solid #585299;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

blockquote {
  background-color: #f0f0f5;
  border-right: 6px solid #585299;
  padding: 16px 24px;
  margin: 24px 0;
  text-align: justify;
  color: #1a1a1a;
  font-style: italic;
  border-radius: 8px 0 0 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

input, textarea, select {
  font-family: inherit;
  background-color: #ffffff;
  border: 1px solid #585299;
  padding: 10px 14px;
  color: #111111;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #3b4275;
  box-shadow: 0 0 0 3px rgba(88, 82, 153, 0.25);
}


#footer {
  padding: 48px 20px 32px;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: #3b4275;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(88, 82, 153, 0.15);
  margin-top: 60px;
}

#footer a {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #585299;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.25s ease;
}

#footer a:hover {
  color: #212548;
  background-color: rgba(88, 82, 153, 0.1);
}

.clearfooter, .clear {
  clear: both;
}

button, input[type="submit"], input[type="button"] {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  background-color: #585299;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(88, 82, 153, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #3b4275;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59, 66, 117, 0.4);
}

button:active, input[type="submit"]:active, input[type="button"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(59, 66, 117, 0.3);
}

button:focus-visible, input[type="submit"]:focus-visible, input[type="button"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 82, 153, 0.4);
}