/* Replace assets/background.jpg to change the page background. */
:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --tile-size: clamp(5.25rem, 9.84vw, 9.166rem);
  --tile-gap: clamp(0.9rem, 1.73vw, 1.61rem);
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: #fff;
  background: #403a37 url("assets/background.jpg") center / cover no-repeat fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(84, 84, 84, 0.42), rgba(0, 0, 0, 0.58));
}

.card {
  width: min(37rem, 100%);
  padding: 1.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.1vw, 2.875rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.075rem;
}

.tagline {
  margin: 1rem 0 2.75rem;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 300;
}

.links {
  display: grid;
  grid-template-columns: repeat(3, var(--tile-size));
  justify-content: center;
  gap: var(--tile-gap);
}

.tile {
  display: grid;
  place-items: center;
  width: var(--tile-size);
  aspect-ratio: 1;
  border-radius: 1.5rem;
  color: #fff;
  background-image: linear-gradient(45deg, rgba(255,255,255,.14), rgba(31,30,30,.012));
  box-shadow: 0 2.125rem 2.875rem rgba(0,0,0,.18);
  transition: transform .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.tile:hover { transform: scale(.94); filter: brightness(1.05); }
.tile:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tile svg { width: 60%; height: 60%; fill: currentColor; }
.facebook { background-color: #4486eb; }
.instagram { background-color: #e66ebf; }
.mobile { background-color: #50a692; }
.message { background-color: #e68730; }
.email { background-color: #c94b57; }
.whatsapp { background-color: #1f1e1e; }

@media (max-width: 600px) {
  :root { --tile-size: clamp(5rem, 23vw, 7rem); --tile-gap: clamp(.8rem, 4vw, 1.15rem); }
  body { background-attachment: scroll; }
  .card { padding: 1.5rem 1rem; }
  h1 { font-size: 2.55rem; }
  .tagline { margin-bottom: 2.25rem; }
  .tile { border-radius: 1.15rem; }
}
