:root {
  background: #abb7c2;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 42%, rgb(231 237 241 / 42%) 0, transparent 42%),
    radial-gradient(circle at 8% 10%, rgb(124 145 162 / 20%) 0, transparent 32%),
    radial-gradient(circle at 92% 90%, rgb(93 113 130 / 16%) 0, transparent 34%),
    #abb7c2;
  background-attachment: fixed;
}

.hero {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: clamp(20px, 3vh, 32px);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 8vh, 96px) clamp(20px, 5vw, 80px);
  place-content: center;
  justify-items: center;
}

.hero__picture {
  display: block;
  width: min(100%, 1280px);
  max-height: calc(100svh - clamp(120px, 24vh, 240px));
  overflow: hidden;
  border-radius: clamp(10px, 1.2vw, 18px);
}

.hero__image {
  display: block;
  width: 100%;
  max-height: inherit;
  object-fit: contain;
}

.linkedin-button {
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 6px 18px rgb(45 60 73 / 14%);
  color: #fff;
  text-decoration: none;
  place-items: center;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.linkedin-button:hover {
  box-shadow: 0 10px 24px rgb(45 60 73 / 22%);
  filter: brightness(0.88);
  transform: translateY(-2px);
}

.linkedin-button:focus-visible {
  outline: 3px solid #e7edf1;
  outline-offset: 3px;
}

.linkedin-button__logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

@media (max-width: 600px) {
  .hero {
    padding: 20px 16px;
  }

  .hero__picture {
    width: auto;
    max-width: 100%;
    max-height: calc(100svh - 116px);
  }

  .hero__image {
    width: auto;
    max-width: 100%;
  }
}
