* {
  margin: 0;
  padding: 0;
}

html {
  font-size: calc(1em + 0.5vw);
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: rgb(225, 236, 244);
  text-align: center;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Inria Serif', serif;
  font-weight: 300;
}

h2 {   /*section-titles */
  margin: 1rem auto;
}

hr {
  display: inline-block;
  width: 80%;
  color: black;
}

/* General Styles */
.bold {
  font-weight: 700;
}

.section-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* div always take up full window */
  height: 100%;
  min-height: 100vh;
}

.flex-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;

  margin-top: 5vh;
  margin-bottom: 5vh;
  width: 100%;
}

/* home page styles */
/*.home-wrapper {*/
/*  color: white;*/
/*}*/

.navbar {
  background-color: rgb(36, 39, 41);
  width: 100%;
  color: white;
}

.the {
  font-size: 9px;
  font-family: 'Open Sans', sans-serif;
  color: white;
  position: absolute;
  top: 7px;
  left: 0;
}

.logo-wrap-the-helpers {
  position: relative;
  padding-left: 15px;
}

.logo-wrap {
  display: inline-block;
  margin-top: 0.2rem;
  text-align: center;
}

.logo {
  height: 3rem;
  /*filter: brightness(0) invert(1);*/
}

.links {
  display: inline-block;
  font-size: 0.8rem;
  margin: 0.2rem;
  padding-top: 0;
  padding-bottom: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.summary-container {
  position: relative;
  padding: 0;
  margin-bottom: 2.5rem;
}

.summary-img {
  width: 100%;
  transform: rotate(180deg);
}

.summary-title {
  font-size: 1.2rem;
}

.summary-text {
  padding: 1rem;
}

.summary-text p {
  font-size: 0.8rem;
}

.btn {
  display: inline-block;
  font-size: 0.8rem;
  text-decoration: none;
  border: 2px solid;
  border-radius: 2px;
  padding: 0.2rem 0.4rem;
  margin-bottom: 0.8rem;
}

.order-btn {
  background-color: rgb(202, 128, 3);
  border-color: rgb(202, 128, 3);
  color: rgb(225, 236, 244);
}

/*.summary-order-btn {*/
/*  color: white;*/
/*  border-color: white;*/
/*  background-color: inherit;*/
/*}*/

.video-wrapper {
  border-top: 4px solid black; /* color */
  border-bottom: 4px solid black; /* color */
  background-color: black; /*fills in gaps left by sizing */
  margin: 2.5rem auto;

  width: 100%;
}

.aspect-ratio {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}

.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* Examples page */
.carousel-wrapper {
  text-align: center;
  margin: 2rem auto 3rem auto;
  padding: 0;
  position: relative;
  width: 100%;
}

.image-holder {
  background-color: inherit;
}

.l-arrow, .r-arrow {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 40%;
}

.l-arrow {
  left: 0;
}

.r-arrow {
  right: 0;
}

.left, .right {
  border: solid;
  border-color: black;
  border-color: rgba(0, 0, 0, 0.5);
  border-width: 0 6px 6px 0;
  display: inline-block;
  padding: 10px;
  margin-top: 10px;
}

.left {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}

.right {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.carousel-image {
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.active {
  display: inline-block;
}

.show {
  opacity: 1;
}

/* About page  */
.about-wrapper {
  display: inline-block;
  margin: 2rem auto;
}

.about-text-wrapper {
  display: inline-block;
  text-align: left;
  margin: 0 1rem 1rem 1rem;
  font-size: 0.8rem;
}

.alan-photo-wrapper {
  display: inline-block;
  border-radius: 2px;
  padding-bottom: 1rem;
}

.about-logo {
  height: 100px;
  width: 100px;
  margin-top: 0.5rem;
}

.about-list-wrapper {
  display: inline-block;
  margin: 0.8rem 0;
  text-align: left;
}

.about-list {
  display: inline-block;
  margin-left: 20px;
  list-style-type: none;
}

.safety-warning {
  display: inline-block;
  margin: 0.8rem;
  font-size: 0.6rem;
}

/* #about-dots {

} */
#about-more {
  display: none;
}

/* Models page */
.models-wrapper {
  margin: 2rem auto;
  max-width: 760px;
}

.models-image {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  min-width: 320px;
  max-width: 420px;
}

.transparent {
  background-color: inherit;
}

.model-types-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.model-types-wrapper div {
  margin: 0.5rem 1rem;
}

.shipping {
  font-size: 0.5rem;
  margin-left: 0.3rem;
}

/* order page */
.order-wrapper {
  text-align: center;
}

.order-wrapper p {
  margin: 1.5rem; /*2rem margin between h2 p and flexbox form could refactor to 1rem top/bottom and 1rem for container */
}

.order-column {
  width: 100%;
  text-align: left;
}

.order-column div {
  margin: 0.4rem 0;
}

.order-column div:last-child {
  margin-bottom: 0;
}

.order-column label {
  display: inline-block;
  width: 30%;
  margin-left: 10%;
  text-align: left;
  font-size: 0.8rem;
  vertical-align: top;
}

.order-column input {
  background-color: rgb(230, 241, 250);

  border: 1px solid black;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  height: 1.4rem;
  box-shadow: 1px 1px 2px rgb(132, 138, 143);
  padding-left: 0.5rem;
  box-sizing: border-box;
  text-align: left;
  width: 50%;
  margin-right: 10%;
}

.order-column select {
  background-color: rgb(230, 241, 250);

  border: 1px solid black;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  height: 1.4rem;
  box-shadow: 1px 1px 2px rgb(132, 138, 143);
  padding-left: 0.5rem;
  box-sizing: border-box;
  width: 50%;
  margin-right: 10%;
}

.order-column textarea {
  background-color: rgb(230, 241, 250);

  border: 1px solid black;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8rem;
  /* height: 1.4rem; */
  box-shadow: 1px 1px 2px rgb(132, 138, 143);
  padding-left: 0.5rem;
  box-sizing: border-box;
  text-align: left;
  width: 50%;
  margin-right: 10%;
}

.message {
  width: 50%;
}

.submit-wrapper {
  text-align: center;
}

.submit-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: rgb(202, 128, 3);
  border-color: rgb(202, 128, 3);
  color: rgb(225, 236, 244);
}

/* footer */
.footer {
  height: 4rem;
  /* background-color: #2f3855;
  border-top: 0.25rem solid rgb(50, 46, 64); */
  background-color: rgb(36, 39, 41);

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-text {
  color: white;
  font-size: 0.65rem;
  margin: 0 0.5rem 0.5rem 0.5rem;;
  display: inline-block;
}

.huttWebDesigns {
  font-family: monospace;
}

.huttWebDesigns a {
  color: white;
  text-decoration: none;
}


/* media break points  */
/* small - iphone 5 etc. */
@media (min-width: 400px) {
  .links {
    font-size: 1rem;
  }
  .summary-container {
    width: 80%;
    margin: 2rem auto;
    border-radius: 2px;
  }
  .order-column {
    width: 90%;
  }
}

@media (min-width: 430px) {
  /* examples page */
  .carousel-wrapper {
    width: 430px;
    height: 100%;
  }
  .carousel-image {
    width: 320px;
    height: 320px;
  }
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 650px) {
  /* navbar */
  .logo-wrap {
    float: left;
    margin-top: 0.2rem;
    margin-left: 0.3rem;
  }
  .link-wrap {
    text-align: right;
    margin-right: 0.5rem;
  }
  .links {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  /* home page */
  .summary-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    width: 95%;
  }
  .summary-img-wrapper {
    flex-basis: 40%;
  }
  .summary-text {
    flex-basis: 60%;
  }
  .summary-img {
    width: 100%;
    border-radius: 2px;
  }
  .summary-text {
    position: static;
    background-color: inherit;
    color: black;
    padding: 0 0 0 1.5rem;
  }
  .summary-order-btn {
    background-color: rgb(202, 128, 3);
    border-color: rgb(202, 128, 3);
    color: rgb(225, 236, 244);
  }
  .links:hover {
    color: rgb(241, 153, 3);
  }
  .order-btn:hover {
    background-color: rgb(241, 153, 3);
    border-color: rgb(241, 153, 3);
  }
  .submit-btn:hover {
    background-color: rgb(241, 153, 3);
    border-color: rgb(241, 153, 3);
  }
  .video-wrapper {
    width: 80%;
    border: 4px solid black; /* color */
    border-radius: 4px;;
  }

  /* Examples page  */
  .carousel-wrapper {
    position: static;
    width: 100%;
    max-width: 650px;
  }
  .l-arrow, .r-arrow {
    display: none;
  }
  .carousel-image {
    display: inline-block;
    opacity: 1;
    width: 200px;
    height: 200px;
  }

  /* order page */
  .flex-order {
    flex-direction: row;
    align-items: flex-start;
  }
  .order-column {
    width: 50%;
  }

  /* about page */
  .about-wrapper {
    margin: 2rem auto;
  }

  /* Models Page */
  .models-wrapper {
    display: flex;
    max-width: 900px;
  }
  .models-image {
    width: 75%;
    border-radius: 2px;
  }
  .model-types-wrapper {
    flex-direction: column;
    width: 25%;
  }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Home */
  .summary-container {
    width: 80%;
  }
  .summary-img-wrapper {
    flex-basis: 30%;
  }
  .summary-text {
    flex-basis: 70%;
  }
  .video-wrapper {
    width: 60%;
  }

  /* Examples page */
  .carousel-wrapper {
    max-width: 992px;
  }
  .carousel-image {
    width: 320px;
    height: 320px;
  }

  /* About */
  .about-wrapper {
    display: inline-flex;
    padding: 0 1.5rem;
    width: 80%;
  }
  .alan-photo-wrapper {
    display: inline-block;
    height: 100%;
    flex-basis: 30%;
  }
  .alan-photo-wrapper img {
    width: 90%;
    height: auto;
    max-width: 250px;
  }
  .about-text-wrapper {
    text-align: left;
    flex-basis: 70%;
  }
}

.hide-for-no-script {
  /* placed on images so that placeholders will only show up w/ js enabled */
  display: none;
}
