/* ----- Variables ----- */
:root {
  --cream: #fff9e6;
  --blue1: #e3f1fb;
  --blue2: #c1e4f3;
  --blue3: #a8d0ef;
  --blue4: #99c3e4;
  --blue5: #344552;

}

/* ----- Reset & base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--blue5);
  background-color: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- Layout ----- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 3rem;
}

/* ----- Profile avatar ----- */
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Footer ----- */
.footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer p {
  margin: 0;
}

/* ----- Container ----- */
.container {
  width: 100%;
  background-color: var(--cream);
  border-radius: 20px;
}

/* ----- Header ----- */

header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  height: 100px;
  color: var(--blue5);
  position: relative;
  border-bottom: 1px solid var(--blue4);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: #ddd;
  overflow: hidden;
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  top: 70px;
  border: 1px solid var(--blue4);

}

/* ----- Links ----- */

.links-window {
  padding: 10px;
  padding-top:80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.window {
  width: 260px;
  border: 2px solid var(--blue5);
  background: var(--cream);
  text-decoration: none;
  color: var(--blue5);
  box-shadow: 4px 4px 0 var(--blue4);
  transition: transform 0.15s ease;
}

.window:hover {
  transform: translateY(-4px);
}

.window-bar {
  background: var(--blue3);
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--blue5);
}

.window-title {
  font-size: 0.8rem;
  font-weight: bold;
}

.window-buttons {
  display: flex;
  gap: 6px;
}

.btn {
  width: 12px;
  height: 12px;
  border: 1px solid var(--blue5);
  background: var(--blue2);
}

.btn.close {
  background: var(--blue4);
}

.window-content {
  padding: 30px;
  text-align: center;
  font-size: 1.1rem;
  background: var(--cream);
}

/* PINK VERSION */
.window-pink {
  border-color: #ff6fae;
  box-shadow: 4px 4px 0 #ffb3d1;
}

.window-pink .window-bar {
  background: #ffc2de;
  border-bottom: 2px solid #ff6fae;
}

.window-pink .btn {
  border-color: #ff6fae;
}

/* GREEN VERSION */
.window-green {
  border-color: #3fa34d;
  box-shadow: 4px 4px 0 #b7f5c3;
}

.window-green .window-bar {
  background: #d8ffd8;
  border-bottom: 2px solid #3fa34d;
}

.window-green .btn {
  border-color: #3fa34d;
}