/**
 * Minimal CSS for ChartBlocks Sunset Page
 * Stripped down from the original WordPress theme
 */

/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #1B22FA;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #040ac4;
  text-decoration: underline;
}

img {
  vertical-align: middle;
  border-style: none;
}

/* Font Faces */
@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirNextLTProRegular.woff2") format("woff2"), 
       url("../fonts/AvenirNextLTProRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirNextLTProMedium.woff2") format("woff2"), 
       url("../fonts/AvenirNextLTProMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirNextLTProBold.woff2") format("woff2"), 
       url("../fonts/AvenirNextLTProBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Sunset Page Specific Styles */
.homepage-eol {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .homepage-eol {
    flex-direction: column;
  }
}

.homepage-eol__container {
  position: relative;
  z-index: 2;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .homepage-eol__container {
    width: 100%;
    order: 1;
  }
}

.homepage-eol__content {
  max-width: 500px;
}

.homepage-eol__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #000000;
  font-weight: 600;
}

@media (max-width: 768px) {
  .homepage-eol__title {
    font-size: 2rem;
  }
}

.homepage-eol__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6f6f6f;
  margin-bottom: 2rem;
}

.homepage-eol__button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: #1B22FA;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.homepage-eol__button:hover {
  opacity: 0.9;
  color: #ffffff;
  text-decoration: none;
}

.homepage-eol__background {
  position: relative;
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  background-color: #F2F2F2;
}

@media (max-width: 768px) {
  .homepage-eol__background {
    width: 100%;
    min-height: 50vh;
    order: 2;
  }
}

.homepage-eol__logo {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .homepage-eol__logo {
    width: 100%;
  }
}

