@charset "UTF-8";

:root {
  --width: 800px;
}

html,
body {
  height: 100vh;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: radial-gradient(50% 80%, #fff 9%, #cbd5de 82%);
}

img {
  vertical-align: bottom;
}

/* helper */

.h-container {
  padding: 1rem;
  max-width: var(--width);
}

.h-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.h-img-resp {
  max-width: 100%;
  height: auto;
}

.h-grid {
  display: grid;
}

.h-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.h-gap-s {
  gap: 1rem;
}

.h-gap-m {
  gap: 2rem;
}

.h-grid+.gallery {
  margin-top: 1rem;
}

/* layout */

.header {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #e8eef4;
  border-bottom: solid 1px #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1) inset;
}

.header__title {
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, .4);
  text-shadow: 1px 1px #fff;
}

.section__title,
.section__description {
  color: rgba(0, 0, 0, .35);
  text-shadow: 1px 1px #fff;
  line-height: 1.7;
}

.section__title {
  font-weight: 600;
  font-size: 1.5rem;
}

/* component */

.gallery {
  background-color: #fff;
  overflow: hidden;
}

.gallery__head,
.gallery__body {
  margin: 1rem;
}

.gallery__head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.gallery__img {
  max-width: 100%;
  height: auto;
}

.gallery__img:not(.gallery__img-feature):hover {
  opacity: .7;
  cursor: pointer;
  transition-duration: .3s;
}