/* ================================
   cravéa.com
   Centered Logo Landing Page
   ================================ */

:root {
  --background: #ffffff;
  --text: #1c171b;
  --signature-fuchsia: #e73374;
  --rose-blush: #f59ab2;
  --soft-nude-pink: #f6d9e2;
}

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

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

html {
  background: var(--background);
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(245, 154, 178, 0.08) 0%,
      rgba(255, 255, 255, 0) 45%
    ),
    var(--background);
}

/* Full-screen centered layout */
.landing-page {
  width: 100%;
  min-height: 100dvh;

  display: grid;
  place-items: center;

  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
}

/* Logo container */
.logo-wrap {
  width: min(760px, 88vw);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main logo */
.logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;

  /* Keeps the image visually clean */
  user-select: none;
  -webkit-user-drag: none;
}

/* Tablet */
@media (max-width: 900px) {
  .logo-wrap {
    width: min(650px, 90vw);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .landing-page {
    padding: 20px;
  }

  .logo-wrap {
    width: 94vw;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .logo-wrap {
    width: 96vw;
  }
}
