/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
* {
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
  margin: 0;
  padding: 0;
  outline: none;
  font-family: "Roboto", sans-serif;
}
*::before, *::after {
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: #fafafa;
}

img {
  width: 100%;
}

h1, h2, h3, h4 {
  font-weight: 300;
}

h2.title {
  font-size: 48px;
  font-weight: 100;
  padding-bottom: 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 18px;
}

.container {
  padding: 40px 16px 80px;
}

@media (max-width: 767px) {
  h2.title {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }
}
/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 60px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(#07233c 0, #b2cbd200 100%);
  opacity: 0.8;
  z-index: -1;
}
header .logo {
  width: 240px;
  transition: width 0.4s ease-out;
}
header.fixed {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
}
header.fixed::after {
  transition: all 0.6s ease-out;
  background: linear-gradient(#272e38 0, #272e38 100%);
  box-shadow: 0 0 16px rgba(7, 35, 60, 0.7);
  opacity: 1;
}
header.fixed .logo {
  width: 120px;
}

/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
.hero-container {
  position: relative;
  overflow: hidden;
}
.hero-container .hero-image {
  padding-bottom: 60px;
  width: 100%;
  height: 76vh;
  min-height: 600px;
  top: 0;
  left: 0;
  background: url("../images/thumbs/hero-tiny-house-nation.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-container .hero-image .icon-container {
  display: flex;
  align-items: center;
  background: #fafafa;
  padding: 0 8px 0 8px;
  height: 64px;
  border-radius: 38px;
  transition: all 0.4s ease-out;
  cursor: pointer;
}
.hero-container .hero-image .icon-container .play-video {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding-left: 4px;
  width: 52px;
  height: 52px;
  background: #DC3E38;
  border-radius: 100px;
  cursor: pointer;
}
.hero-container .hero-image .icon-container .play-video img {
  width: 30%;
}
.hero-container .hero-image .icon-container p {
  padding: 0 16px;
  font-size: 21px;
  font-weight: 300;
}
.hero-container .hero-image .icon-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(24, 24, 24, 0.8);
}
.hero-container .hero-meta-container {
  text-align: center;
  background: #272e38;
  padding: 20px 0 40px;
}
.hero-container .hero-meta-container h3 {
  font-size: calc(32px + 48px);
  font-weight: 100;
  color: #fafafa;
}
.hero-container .hero-meta-container p {
  font-size: 24px;
  color: #fafafa;
  font-weight: 300;
}

@media (max-width: 767px) {
  .hero-container .hero-meta-container #play-video {
    padding-left: 4px;
    width: 60px;
    height: 60px;
  }
  .hero-container .hero-meta-container #play-video img {
    width: 16px;
  }
  .hero-container .hero-meta-container h3 {
    font-size: 48px;
    padding: 40px 0 8px;
  }
  .hero-container .hero-meta-container p {
    font-size: 18px;
  }
  .hero-container .hero-meta-container p span {
    display: block;
    margin-top: 4px;
  }
}
/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
.meta-info-container {
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}
.meta-info-container .meta-info {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.meta-info-container p {
  line-height: 180%;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}

/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
.meta-info-container {
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}
.meta-info-container .meta-info {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.meta-info-container p {
  line-height: 180%;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}

.container.small-list-container {
  background: #fafafa;
  border-bottom: 1px solid #ddd;
}
.container.small-list-container .meta-info {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}
.container.small-list-container .meta-info p {
  line-height: 180%;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}
.container.small-list-container ul {
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}
.container.small-list-container ul li {
  background: white;
  border: 1px solid #e6e6e6;
  transition: all 0.4s ease-out;
}
.container.small-list-container ul li:hover {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
}
.container.small-list-container ul li a {
  height: 0;
  position: relative;
  padding-top: calc(100% * 9/16);
  display: flex;
  justify-content: center;
  align-items: center;
}
.container.small-list-container ul li a img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
.list-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 80px;
}
.list-container ul {
  width: 88%;
  max-width: 1100px;
  display: grid;
  grid-column-gap: 32px;
  grid-row-gap: 80px;
  grid-template-columns: repeat(2, 1fr);
}
.list-container ul li h3 {
  font-size: 32px;
  padding: 24px 0 16px;
  font-weight: 100;
}
.list-container ul li h3 span {
  font-weight: 300;
}
.list-container ul li p {
  line-height: 160%;
  font-size: 18px;
  font-weight: 300;
}
.list-container ul li .img-container .desktop {
  display: block;
}
.list-container ul li .img-container .mobile {
  display: none;
}

@media (max-width: 767px) {
  .list-container ul {
    width: 100%;
    padding: 0 16px;
    grid-template-columns: 1fr;
    grid-column-gap: 0;
  }
  .list-container ul li .img-container .desktop {
    display: none;
  }
  .list-container ul li .img-container .mobile {
    display: block;
  }
  .list-container ul li h3 {
    font-size: 32px;
  }
  .list-container ul li p {
    font-size: 14px;
  }
}
/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
footer {
  border-top: 1px solid #ddd;
  background: #fafafa;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 16px;
}
footer img {
  width: 100px;
}
footer p {
  font-size: 14px;
  padding-top: 8px;
  max-width: 720px;
  text-align: center;
}

/* z-index scale */
/* space */
/* fonts */
/* line-height */
/* breakpoints */
.video-container {
  width: 88%;
  max-width: 1600px;
  display: block;
  margin: 0 auto;
}
.video-container .video-sizzle {
  height: 0;
  padding-top: 56.25%;
  position: relative;
}
.video-container .video-sizzle iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sizzle-container {
  padding: 0 100px;
  background: linear-gradient(#181818 0%, #222222 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.sizzle-container .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
}
.sizzle-container .close img {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: all 0.4s ease-out 0.1s;
}
.sizzle-container .close:hover img {
  transform: scale(1.2);
}

@media (max-width: 1440px) {
  .sizzle-container {
    padding: 0 40px;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .sizzle-container {
    padding: 0;
  }
  .sizzle-container video {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .video-container {
    width: 100%;
    max-width: 100%;
  }

  .sizzle-container {
    padding: 0;
  }
  .sizzle-container video {
    width: 100%;
  }
  .sizzle-container .close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    cursor: pointer;
  }
  .sizzle-container .close img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: all 0.4s ease-out 0.1s;
  }
}
