/* RESET */
html {
  background-color: black;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  height: 100%;
  background-color: black;
  background: url("bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  
  font-family: "Alike Angular", serif;
  font-weight: 400;
  font-style: normal;

}

/* HEADER */
.header {
  background: linear-gradient(
    90deg,
    rgba(117, 83, 68, 0.73),
    rgba(117, 83, 68, 0.73)
  );

  margin-left: 200px;
  padding: 0 40px;   /* 👈 altura real */
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(117, 83, 68, 0.73);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(117, 83, 68, 0.73),
    inset 0 -1px 0 rgba(117, 83, 68, 0.73),
    inset 0 0 6px 3px rgba(117, 83, 68, 0.73);
  overflow: hidden;
}

.header .title {
  transform: translate(0, -15px);
  color: black;
   -webkit-text-stroke: 0.1px pink;
  font-family: "DreamerTM", serif;
  font-size: 90px;
  margin: 0;
} 

.header-img {
  position: absolute;
  height: 180px;
  width: auto;
  opacity: 0.95;
  flex-shrink: 0;
 animation: sway 4s ease-in-out infinite;
  transform-origin: center top; /* punto de giro */
   right: 200px;           /* 🔹 mover horizontalmente */
}

@keyframes sway {
  0%   { transform: rotate(-2deg); }
  50%  { transform: rotate(2deg); }
  100% { transform: rotate(-2deg); }
}


/* CONTENT */
.content {
  position: relative;
  background-color: rgba(239, 225, 209, 0.90);
  padding: 60px;
  min-height: calc(100vh - 150px);
  margin-left: 250px; /* sidebar izquierda */
  margin-right: 250px;
  margin-top: 30px;

}

.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("Lady Rose.jpg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: contain;
  opacity: 0.3;       /* controla la transparencia */
  pointer-events: none; /* no interfiere con clicks */
  z-index: 0;          /* detrás del contenido */
}

.content * {
  position: relative;
  z-index: 1;          /* asegura que el contenido quede arriba */
}


/* FOOTER */
.footer {
  background-color: pink;
  color: white;
  padding: 5px 20px;
  margin-left: 200px; /* sidebar izquierda */
  margin-right: 50px;
  margin-top: auto;
}

/* SIDEBARS */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 100; /* por encima de todo */
}

.sidebar-right { 
  right: 0; 
  width: 140px; 
  background-color: pink; 
  }

/* LEFT */
.sidebar-left {
  left: 0;
  width: 200px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 6px 3px rgba(255, 255, 255, 0.3);
  
  display: flex;
  flex-direction: column;
  justify-content: center top;
  gap: 15px;
}

.sidebar-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
    );
}

.sidebar-left::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}


/* MOBILE */
@media (max-width: 800px) {
  .sidebar {
    display: none;
  } 
} 

@font-face {
  font-family: "DreamerTM";
  src: url("fonts/DreamerTM-Regular.woff2") format("woff2"),
       url("fonts/DreamerTM-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
