* {
  box-sizing: border-box;
  //transition: all ease-in-out 250ms;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
}

img {
  max-width :100%;
  height: auto;
}

.container {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.clearfix::after,
section::after {
  content: '';
  display: block;
  clear: both;
}

.endnote {
  margin:0;
  padding: 0;
}

/* typography
======================== */

h1 {
  font-weight: 300;
  font-size: 1.7rem;
  margin-top: 0;
}

p {
  margin-top: 0;
  line-height: 1.5;
}

p:last-of-type {
  margin-bottom: 0;
}

.unstyled-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

@media (min-width: 60rem) {
  p {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

/* buttons
========================
create buttons app include:
.button
.button-large
.button-small
.button-main
.button-accent
.button a...
+ all hover/focus effects
*/

.button {
  display: inline-block;
  font-size: 1.15rem;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: .5em 1.75em;
}

@media (min-width: 60rem) {
  .button {
    font-size: 1.5rem;
  }
}

.button-small {
  font-size: .7rem;
  font-weight: 700;
}









/* contact-form
======================== */

.contact-form {
  padding: 2em 0 0 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-form input {
  width: auto;
}

.contact-us {
  background-color: rgba(0,0,0, 0.6);
  padding: 1em;
  margin-top: 2em;
  font-size: 1.2em;
  line-height: 1.4em;
}

.contact-us button {
  font-size: 1.2em;
}

@media (min-width: 60rem) {
  .contact-form {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 2em;
  }

  .contact-form input {
    width: 20em;
  }

  .contact-us {
    width: 50%;
    float: right;
    margin-top: 5em;
  }
}

/* products
======================== */

.products {
  padding-top: 2em;
}

.products h1 {
  color: black;
}

.products figure {
  padding: 3em;
  width: 100%;
}

@media (min-width: 35rem) {
  .products {
    padding-top: 5em;
  }

  .products figure {
    width: 50%;
    box-shadow: initial;
  }
}

@media (min-width: 60rem) {
  .products {
    padding-top: 5em;
  }

  .products figure {
    width: 25%;
    box-shadow: initial;

  }

  .products figure:hover,
  .products figure:focus {
    padding: 0em;
    margin-top: -3.5em;
  }

/*
  .products figure::after {
    content = '';
  }

  .products figure::before {
     content = '';
  }

  .products figure::after:hover,
  .products figure::after:focus {
    transform: rotateX(15deg);
    opacity: 50%
  }

  .products figure::before:hover,
  .products figure::before:focus {
    transform: rotateX(-15deg);
    opacity: 50%;
  }
*/
}
