.btn-primary {
  background: #FFF;
  display: inline-block;
  padding: 20px 40px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  border: none;
  font-size: 20px;
}

.btn-secondary {
  background: #CA4056;
  display: inline-block;
  padding: 20px 40px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  border: none;
  font-size: 20px;
  color: #fff;
}

.btn-tertiary {
  color: #fff;
  background: #000;
  display: inline-block;
  padding: 20px 40px;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  border: none;
  font-size: 20px;
  border: 1px solid #fff;
}

html {
  scroll-behavior: smooth;
}

html, body, * {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1, h2, h3 {
  margin: 0 0 20px 0;
  font-weight: 600;
}

h1 {
  font-size: 50px;
  line-height: 60px;
  font-display: optional;
  font-display: block;
}

h3 {
  font-size: 20px;
  color: grey;
  font-weight: 300;
  line-height: 26px;
}

h4 {
  font-size: 20px;
  font-weight: 300;
  margin: 20px 0;
  font-weight: 400;
}

p, li {
  line-height: 26px;
  font-weight: 300;
  font-size: 16px;
}

ul {
  padding: 0 30px;
}

li {
  margin-bottom: 10px;
}

.bold {
  font-weight: 600;
}

.no-wrap {
  white-space: nowrap;
}

.pill-list {
  padding: 0;
}
.pill-list li {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 0 5px 10px 5px;
}

.grid-sizer,
.grid-item {
  width: 20%;
}

/* 2 columns */
.grid-item--width2 {
  width: 40%;
}

body {
  background: #fff;
  background: url("/img/bg-intro.webp") fixed;
  background-size: cover;
}

@media (max-width: 600px) {
  .intro {
    padding: 0 20px;
  }
}

.wrap {
  padding-top: 80px;
  max-width: 1200px;
  margin: 0 auto;
  color: #000;
}
@media (max-width: 1200px) {
  .wrap {
    max-width: 1000px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    max-width: 800px;
  }
}
@media (max-width: 800px) {
  .wrap {
    max-width: 600px;
  }
}
@media (max-width: 600px) {
  .wrap {
    max-width: 400px;
  }
}

/* ---- grid ---- */
.grid {
  max-width: 1200px;
  margin: 0 auto;
  min-width: 400px;
}
.grid img {
  width: 100%;
}

.grid-text {
  padding: 10px;
  font-size: 14px;
  text-align: center;
  position: absolute;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
  padding: 10px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
}
.grid-item:hover .grid-text {
  opacity: 1;
}

/* clear fix */
.grid:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */
.grid-item {
  float: left;
  width: 200px;
  height: 200px;
  background: #fff;
}

.grid-item--width2 {
  width: 400px;
}
.grid-item--width2 img {
  max-width: 400px;
  max-height: 400px;
}

.grid-item--height2 {
  height: 400px;
}

img {
  max-width: 100%;
  outline: 5px solid #fff;
  outline-offset: -4px; /* Moves the 5px outline inside */
}
