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

html,
body {
  height: 100%;
}

body {
  margin: 0;

  background: linear-gradient(
    to bottom,
    #4457EE 10%,
    #6E7AF0 20%,
    #A6A3E8 48%,
    #DDB7EB 53%,
    #F1B3A3 66%,
    #E78A6E 76%,
    #F6C46A 84%,
    #BFAE7A 87%,
    #6B7C8F 92%,
    #364E6E 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;

  font-family: "Montserrat", Arial, sans-serif;
}

.page {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 2.25rem 0 3.5rem;
}

/* Header / Nav */
header {
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 16px 0;

  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-links {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 0;
}

.hero-links a {
  text-decoration: none;
  font-weight: bold;
  color: #F2F4F8;

  padding: 0.4rem 0.75rem;
  border-radius: 999px;

  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-links a:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.hero-links a:focus {
  outline: 3px solid rgba(252, 246, 207, 0.8);
  outline-offset: 3px;
}

/* Home layout */
.intro {
  margin: 24px auto 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  color: #F2F4F8;
}

.intro-text h1,
.intro-text h2 {
  margin: 0;
}

.intro-text h1 {
  font-size: 4rem;
  letter-spacing: 0.02em;
}

.profile-pic {
  width: 540px;
  height: 756px;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 32px 16px;
  background: transparent;
  color: #fcf6cf;
}

/* Responsive */
@media (max-width: 900px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    width: min(520px, 92vw);
    height: auto;
    aspect-ratio: 5 / 7;
  }
}
