/* Layout Styles
======================================= */
.solar-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solar-hero {
  position: relative;
}

.solar-hero img {
  width: 100%;
  height: auto;
}

.solar-hero h1 {
  color: white;
}

.solar-hero h2 {
  color: #ccc;
}

.solar-hero-content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: 100%;
}

.solar-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.solar-section-content {
  margin: 16px 16px;
}

.solar-section-content h2 {
  margin-bottom: 1rem;
}

.solar-section-content p {
  margin-bottom: 1rem;
}

.solar-store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.solar-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.solar-button {
  display: inline-block;
  padding: 1em;
  margin-top: 24px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  line-height: 1em;
  text-align: center;
  font-weight: 700;
  transition: opacity .3s ease;
}

.solar-button-primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.solar-button-secondary {
  background: #004378;
  color: #fff;
  border: 1px solid #004378;
}


.solar-button-primary:hover {
  opacity: 90%;
}

.solar-text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 32px 16px 64px;
}

.solar-text-section * {
  max-width: 780px;
}

.solar-store-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

/* Font Styles
======================================= */
.solar-container {
   h1 {
    font-size: 36px;
    line-height: 1.4;
  }

  h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  h4 {
    font-size: 18px;
    line-height: 1.2;
  }

  p {
    font-size: 18px;
    line-height: 1.4;
  }
}

@media screen and (min-width: 768px) {
  .solar-container {

    h1 {
    font-size: 64px;
    line-height: 1.4;
  }

  h2 {
    font-size: 36px;
    line-height: 1.4;
  }
  
    h2 {
      font-size: 32px;
      line-height: 1.2;
    }

    .solar-text-section h2 {
      font-size: 48px;
      line-height: 1.2;
    }

    h3 {
      font-size: 24px;
      line-height: 1.2;
    }

    p {
      font-size: 18px;
      line-height: 1.4;
    }
  }
}

/* Media Queries
======================================= */
@media screen and (min-width: 768px) {
  .solar-section {
    flex-direction: row;
  }

  .solar-hero-content {
    bottom: 64px;
  left: 64px;
  right: 64px;
  width: 43%;
}

.solar-section-content {
  margin: 16px 64px;
}

  .solar-store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
