/* Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

/* CSS reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: 'Rubik', sans-serif;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
.txt-center {
  text-align: center;
}

/* Page styles */
:root {
  --primary-blue: rgba(0, 208, 245, 0.8);
  --primary-blue-dark: rgba(0, 155, 245, 1);
}
body {
  color: #333;
  width: 100%;
  min-height: 100vh;
  font-size: 1.1rem;
  font-weight: 200;
  line-height: 1.8;
}
section {
  margin: 0 auto;
  max-width: 1140px;
  padding: 0 20px;
}

p {
  margin-bottom: 1rem;
}
a {
  color: var(--primary-blue-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
figure img {
  width: 100%;
  max-width: 760px;
}

.hero-wrap {
  background: #eee url('../images/hero-bkg.jpg') top center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  width: 100%;
  height: 100vh;
}
.smi-logo {
  width: 320px;
  position: absolute;
  left: 5%;
  top: 3rem;
}
.instantview-logo {
  text-align: center;
}
.instantview-logo img {
  width: clamp(220px, 50%, 360px);
}
.hero-txt {
  background: var(--primary-blue);
  line-height: 1.3;
  padding: 16px;
  width: 40%;
  position: absolute;
  top: 50%;
  left: 3vw;
  transform: translateY(-50%);
}
.hero-wrap h1 {
  font-weight: bold;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}
.hero-wrap h2 {
  font-size: 1.4rem;
}
.content-wrap {
  padding-top: 40px;
  padding-bottom: 40px;
}
.content-wrap h3 {
  color: #2D4B9A;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.2rem);
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
}
.content-wrap h3::after {
  content: '';
  background: var(--primary-blue);
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1rem;
  width: 80px;
  height: 6px;
}
.product-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 80%;
}
.product-section {
  padding: 16px;
  width: calc(100% / 2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-img {
  width: 100%;
  transition: .3s;
}
.product-img:hover {
  transform: translateY(-8px);
}
.product-name {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1 0 auto;
}
.product-link {
  font-size: 14px;
  padding: 8px 40px;
  color: var(--primary-blue-dark);
  border: 1px solid var(--primary-blue-dark);
  text-decoration: none;
  align-self: center;
}
.product-link:hover {
  background: var(--primary-blue-dark);
  color: #fff;
  text-decoration: none;
  transition: .2s;
}
figure {
  margin: 1rem 0;
  text-align: center;
}
.instantview-diagram {
  max-width: 640px;
  width: 100%;
}
.drawing-lots-info {
  background: orange;
  border: 5px solid rgb(230, 149, 0);
  border-radius: .5rem;
  padding: 1rem 1.5rem;
  text-align: center;
  width: 75%;
  margin: 0 auto;
}
.drawing-lots-info h4 {
  color: #333;
  font-size: 1.6rem;
  font-weight: bold;
}
.drawing-lots-info p {
  text-align: left;
}
.drawing-lots-info a {
  background: orange;
  border: 1px solid #111;
  border-radius: 5px;
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 0 auto;
  padding: 10px 40px;
  text-decoration: none;
  width: 200px;
  transition: .2s linear;
}
.drawing-lots-info a:hover {
  background: rgb(255, 153, 0);
  color: #eee;
}
.video-wrap {
  text-align: center;
}
footer {
  background: #eee;
  padding: 12px 0;
}
footer p {
  color: #777;
  font-size: 13px;
}

/* RWD */

@media only screen and (min-width: 1200px) {
  
}

@media only screen and (max-width: 1020px) {

}

@media only screen and (max-width: 768px) {
  .hero-txt {
    width: 75%;
    left: 0;
  }
}
@media only screen and (max-width: 640px) {
  .smi-logo {
    top: 5%;
    width: 210px;
  }
  .instantview-logo img {
    /* width: 180px; */
  }
  .hero-txt {
    width: 100%;
    left: 0;
  }
  .hero-wrap h1 {
    font-size: 2rem;
  }
  .hero-wrap h2 {
    font-size: 1.5rem;
  }
  .content-wrap h3 {
    font-size: 1.4rem;
  }
  .product-section {
    width: 100%;
  }
  .instantview-diagram {
    max-width: 100%;
  }
  figure img {
    max-width: 100%;
  }
  .video-wrap iframe {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 480px) {
  
}

@media only screen and (max-width: 360px) {
  
}