* {
  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.2rem;
  margin-top: 0;
}

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

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;
}

.cta-button {
  -webkit-border-radius: 10;
  -moz-border-radius: 10;
  border-radius: 10px;
  border: none;
  color: #198dc6;
  font-size: 20px;
  background: #ffffff;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

.cta-button:hover {
  background: #ffffff;
  background-image: -webkit-linear-gradient(top, #ffffff, #a9a9a9);
  background-image: -moz-linear-gradient(top, #ffffff, #a9a9a9);
  background-image: -ms-linear-gradient(top, #ffffff, #a9a9a9);
  background-image: -o-linear-gradient(top, #ffffff, #a9a9a9);
  background-image: linear-gradient(to bottom, #ffffff, #a9a9a9);
  text-decoration: none;
}

/* 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%;
  }
*/
}

.cta {
  padding: 50px;
}


/* Social links
 port-textbox
======================== */

.port-bg {
 background-image: url(../images/building_lines2.jpg);
 background-size: cover;

}

.wrap-port {
  max-width: 1200px;
  margin: 0 auto;
}

.home-port {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px;
  z-index: 2;
}

.home-port h2 {
  text-align: left;
  font-size: 24px;
  padding: 0 9px;
  color: black;
  width: 90%;
  background-color: white;
  outline: 2px solid #198dc6;
  outline-offset: -10px;
  padding: 20px 40px;
  margin: 0 auto;
}

.thumb span, .thumb2 span {
  font-weight: bold;
  vertical-align: top;
}

.thumb, .thumb2 {
  width: 90%;
  background-color: white;
  margin: 40px auto;
  text-align: left;
  vertical-align: top;
}

.thumb img, .thumb2 img {
  width: 30%;
  display: inline-block;
  margin:0 0 -4px 0;
  padding:0;
}

.thumb2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 0 4px 0;
}

.thumb p, .thumb2 p {
  padding: 20px 50px;
  text-transform: capitalize;
  display: inline-block;
  #width: 69%;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.1rem;

}

@media (max-width: 800px) {
  .home-port h2 {
    width: 100%;
  }

  .thumb, .thumb2 {
    width: 100%;
  }

  .thumb img, .thumb2 img {
    width: 100%;
  }
}
