:root {
  color-scheme: dark;
  font-family: Verdana, Geneva, sans-serif;
  background: #2c3d2b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #2c3d2b;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding-right: env(safe-area-inset-right, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  color: #fff;
  background: transparent;
  isolation: isolate;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: #2c3d2b url("/assets/background.png") center / cover no-repeat;
  content: "";
}

.page {
  display: flex;
  width: min(700px, calc(100% - 32px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: max(48px, env(safe-area-inset-top, 0px)) 0 max(24px, env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  align-items: center;
}

.profile {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.profile img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.links {
  width: 100%;
  margin-top: 44px;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 4px;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.link {
  display: flex;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 9px 18px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link:hover {
  background: rgb(255 255 255 / 12%);
}

.link:focus-visible,
.profile:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.tagline {
  margin: 28px 0 0;
  max-width: 34ch;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .page {
    padding-top: max(16px, env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 359px) {
  .link {
    min-height: 44px;
    padding-inline: 12px;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }
}
