/* Layout Styles
======================================= */
.summer-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.summer-section {
  display: flex;
  flex-direction: row;
}

.summer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.summer-section-content {
  margin: 16px;
}

.summer-section-content h2 {
  margin-bottom: 16px;
}

.summer-category-grid,
.summer-store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.summer-category, .summer-store {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

a.summer-category h4 {
  padding: 24px;
  color: rgba(0, 0, 0, 0.75);
  transition: all .6s ease;
  text-decoration: none;
  line-height: 1.4;
}

a.summer-category:hover h4 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  color: rgba(0, 0, 0, 1);
}

.summer-category img {
  width: 100%;
  scale: 0.95;
  transition: scale .6s ease;
}

.summer-category:hover img {
  scale: 1;
}

.summer-button-primary {
  display: inline-block;
  background: #004378;
  padding: 1em;
  margin-top: 24px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #004378;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1em;
  text-align: center;
  font-weight: 700;
  transition: opacity .3s ease;
}

.summer-button-primary:hover {
  opacity: 90%;
}

.summer-text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 32px 16px 64px;
}

.summer-text-section * {
  max-width: 780px;
}

.summer-store-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

/* Font Styles
======================================= */
.summer-container {
  h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .summer-text-section h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  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) {
  .summer-container {
  h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .summer-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 (max-width: 767px) {
  .summer-section-image {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {


  .summer-section {
    flex-direction: row;
  }

  .summer-section.reverse {
    flex-direction: row-reverse;
  }

  .summer-section img {
    padding-right: 16px;
    padding-left: 0px;
  }

  .summer-section.reverse img {
    padding-right: 0;
    padding-left: 16px;
  }

  .summer-section > * {
    flex: 1 1 auto;
    width: 50%;
  }

  .summer-section > * img {
    width: 100%;
    max-width: none;
  }

  .summer-category-grid,
  .summer-store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
