:root {
  --page-bg: #f4efe6;
  --section-alt-bg: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page {
  width: 100%;
}

.screen-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--page-bg);
}

.screen-section-alt {
  background: var(--section-alt-bg);
}

.section-inner {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image {
  width: auto;
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  object-fit: contain;
}

.image-hero {
  max-width: min(100%, 1366px);
}

@media (max-width: 991px) {
  .screen-section {
    padding: 20px;
  }

  .section-image {
    max-width: 100%;
    max-height: calc(100vh - 40px);
    max-height: calc(100svh - 40px);
  }
}

@media (max-width: 640px) {
  .screen-section {
    padding: 12px;
  }

  .section-image {
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
  }
}
