@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: url('https://i.pinimg.com/originals/b8/bd/75/b8bd75128eec43631eb19e9c1bb5adad.gif') repeat center center;
  background-size: cover;
  color: #f5f5f5;
  font-family: 'Quicksand', sans-serif;
}

header {
  background-color: rgba(30,30,30,0.7);
  color: #ffbde0;
  text-align: center;
  padding: 40px 10px;
  border-bottom: 2px dashed #ffbde0;
  text-shadow: 0 0 4px #ffbde0;
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 40px;
  margin: 0;
  font-family: 'Georgia', serif;
}

header p {
  color: #fff6b3;
  margin: 8px 0 0;
  font-style: italic;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.content {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.box {
  background-color: rgba(0,0,0,0.6);
  border: 2px dotted #ffbde0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,189,224,0.2);
}

.box h2 {
  color: #fff6b3;
  font-family: 'Georgia', serif;
  margin-top: 0;
}

.box.right h2 {
  text-align: right;
}

.box p {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

aside {
  width: 30%;
  background-color: rgba(26,26,26,0.85);
  border: 2px solid #ffbde0;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 4px 4px 0 #fff6b3;
  transform: rotate(1deg);
  text-align: center;
}

aside img:first-of-type {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed #ffbde0;
  margin-bottom: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px #ffbde0, 0 0 20px #ffbde0;
}

aside img.plain {
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  height: auto;
  margin-top: 10px;
}

/* override sidebar avatar style for plain images */
aside img.plain {
  all: unset;               /* clears the avatar styles completely */
  display: block;           /* keeps it as a block so it can be centered */
  width: 70%;               /* controls the size */
  height: auto;
  margin: 10px auto 0;      /* centers it horizontally */
}


aside h3 {
  color: #ffbde0;
  text-align: center;
  font-family: 'Georgia', serif;
  border-bottom: 1px dashed #ffbde0;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

/* All links (sitewide) */
a {
  color: #fff6b3;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #ffbde0;
  text-shadow: 0 0 5px #ffbde0;
}

footer {
  text-align: center;
  color: #bbb;
  font-size: 13px;
  margin-top: 40px;
  border-top: 1px dashed #333;
  padding: 15px;
  background-color: rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

/* Little floating stars */
.sparkle {
  position: fixed;
  font-size: 10px;
  pointer-events: none;
  animation: twinkle 1.2s ease-out forwards;
  text-shadow: 0 0 8px currentColor, 0 0 12px currentColor;
  z-index: 9999;
}

@keyframes twinkle {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  25% { opacity: 0.9; transform: scale(1.3) rotate(15deg); }
  50% { opacity: 0.7; transform: scale(1.1) rotate(-15deg); }
  75% { opacity: 0.5; transform: scale(0.8) rotate(10deg); }
  100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
}

/* Two-column 50/50 boxes (responsive) */
.two-cols {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* stacks on small screens */
  align-items: stretch;
}

/* Each box becomes half the row (minus gap) */
.two-cols .box {
  flex: 0 0 calc(50% - 10px);
  /* ensure box fills column height if desired */
  display: flex;
  flex-direction: column;
}

/* Tweak: force inner text alignment to follow box text-align if set inline */
.two-cols .box .content-inner {
  flex: 1; /* makes the text block stretch if needed */
}

/* Responsive fallback: full width under ~700px */
@media (max-width: 700px) {
  .two-cols .box {
    flex: 1 1 100%;
  }
}

/* stronger background override for the 404 page */
body#not_found {
  background: url('https://wallpapers-clan.com/wp-content/uploads/2024/04/butterflies-pink-clouds-gif-desktop-wallpaper-preview.gif') center center fixed no-repeat !important;
  background-size: cover !important;
  animation: none !important; /* stop the animated background from your main css */
}

/* removes blue underline on links */
a {
  color: #ffbde0; /* or whatever color matches your theme */
  text-decoration: none;
}

a:hover {
  color: #fff6b3; /* hover color */
  text-shadow: 0 0 5px #ffbde0;
}

li a {
  color: #ffbde0;
  text-decoration: none;
}

li a:hover {
  color: #fff6b3;
}

