body, html {
  height: 100%;
  font-size: 15px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  background-color: #F4F3EC;
  color: black;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: black;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  margin: 0;
}

/* FONTS */

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
  margin-bottom: .5rem;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 9rem;
  text-transform: uppercase;
  z-index: 20;
}

h2 {
  font-size: 4.5rem;
  z-index: 20;
}

h3 {
  font-size: 3.5rem;
  z-index: 20;
}

h4 {
  font-size: 2.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  z-index: 20;
}

h5 {
  font-size: 2rem;
  z-index: 20;
}

h6 {
  font-size: 1.5rem;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  z-index: 20;
}

p {
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  z-index: 20;
}

/* COLORS */

.blue {
  background-color: #90E2E1;
}

.pink {
  background-color: #FFA178;
}

.yellow {
  background-color: #FFDD00;
}

.white {
  background-color: white;
}

/* HEADER */

.hero {
  height: 120vh;
}

.square {
  height: 100px;
  width: 100px;
}

.hero-rectangle-left {
  position: absolute;
  height: 30vh;
  width: 55vw;
  top: 75vh;
  z-index: 2;
}

.hero-rectangle-middle {
  position: absolute;
  height: 15vh;
  width: 10vw;
  top: 75vh;
  left: 45vw;
  z-index: 3;
}

.hero-rectangle-right {
  position: absolute;
  height: 90vh;
  width: 55vw;
  left: 45vw;
  z-index: 1;
}

.hero-rectangle-white {
  position: absolute;
  height: 75vh;
  width: 45vw;
  z-index: 10;
}

.header {
  padding-top: 30vh;
  padding-left: 10vw;
  z-index: 10;
  text-transform: uppercase;
}

.subheader {
  padding-left: 10vw;
  z-index: 10;
}

.header-img {
  height: 100vh;
  width: auto;
  left: 20vw;
  top: 20vh;
  position: absolute;
}

/* HEADER FOR POSTS */

.post .hero {
  height: 60vh;
}

.post .square {
  height: 100px;
  width: 100px;
}

.post .hero-rectangle-left {
  position: absolute;
  height: 15vh;
  width: 50vw;
  top: 37.5vh;
  z-index: 2;
}

.post .hero-rectangle-middle {
  position: absolute;
  height: 7.5vh;
  width: 5vw;
  top: 37.5vh;
  left: 45vw;
  z-index: 3;
}

.post .hero-rectangle-right {
  position: absolute;
  height: 45vh;
  width: 55vw;
  left: 45vw;
  z-index: 1;
}

.post .hero-rectangle-white {
  position: absolute;
  height: 37.5vh;
  width: 45vw;
  z-index: 10;
}

.post .header {
  padding-top: 15vh;
  padding-left: 10vw;
  z-index: 10;
}

.post .subheader {
  padding-left: 10vw;
  z-index: 10;
}

.post .header-img {
  height: 50vh;
  width: auto;
  left: 20vw;
  top: 10vh;
  position: absolute;
}
}

/* NAV BAR */

nav {
  display: block;
}

.topnav {
  width: 100%;
  overflow: hidden;
  position: fixed;
  z-index: 12;
  padding-left: 5vw;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  width: 14.2857%; /* fallback for non-calc() browsers */
  width: calc(100% / 7);
  text-decoration: none;
}

.topnav p {
  padding-top: 18px;
}

.topnav p:first-child {
  padding-left: 100px;
}

.nav-spacing {
  margin-right: 7vw;
}

.topnav a:hover {
  text-decoration: none;
  text-shadow: 2px 2px #FFA178;
}

.topnav .icon {
  display: none;
  padding-top: 28px;
}

.shrink {
  height: 60px;
  z-index: 30;
  background-color: #90E2E1;
}

.shrink a {
  padding-top: 0px;
}

/* SECTION */

.section-title {
  height: 20px;
  min-height: 50px;
  width: 275px;
  padding-top: 30px;
  z-index: 12;
  position: absolute;
}

.section-title h4 {
  text-align: right;
  margin-top: -50px;
  margin-bottom: -50px;
  padding-right: 30px;
}

.height-100 {
  height: 100vh;
  min-height: 500px;
}

.height-100-plus {
  min-height: 700px;
}

.your-class {
  width: 85vw;
  margin: auto;
  padding-top: 100px;
}

#main section {
  padding-top: 100px;
}


/* BLOCKS */

.block {
  height: 60vh;
  min-height: 300px;
  width: 80vw;
  margin: 5vh 10vw 10vw 10vw;
  z-index: 10;
  display: inline-block;
}

.services-block {
  width: 80vw;
  margin: 5vh 10vw 10vw 10vw;
  z-index: 10;
  display: inline-block;
}

.blue-shadow {
  box-shadow: 50px 50px #90E2E1;
}

.pink-shadow {
  box-shadow: 50px 50px #FFA178;
}

.yellow-shadow {
  box-shadow: 50px 50px #FFDD00;
}

/* SERVICES */

.tile-container {
  display: inline-block;
  position: relative;
  width: 100vw;
  margin-top: 5vw;
  margin-bottom: 10vw;
}

.tile-row {
  width: 84vw;
  margin-left: auto;
  margin-right: auto;
}

.tile img {
  min-width: 250px;
  margin-top: 3vw;
  width: 18.5vw;
  float: left;
  margin-left: 1vw;
  margin-right: 1vw;
  display: inline-block;
  position: relative;
  box-shadow: 15px 15px #FFA178;
}

.mobile-work {
  padding-top: 10vh;
  display: none;
}

.mobile-work img {
  width: 90vw;
  height: auto;
}

/* SERVICES */

.services-text h3 {
  width: 40vw;
  padding: 50px;
}

.services-block img {
  width: 40vw;
  float: right;
  padding: 50px;
}

.services-block h3 {
  float: left;
}

.logan img {
  float: left;
  width: 30vw;
  position: static;
  z-index: 2;
  margin-top: -500px;
}

.jordan img {
  float: right;
  width: 30vw;
  left: 70%;
  position: static;
  z-index: 2;
  margin-top: -500px;
}

.services-box {
  width: 50vw;
  background-color: white;
  margin-left: 25vw;
  display: inline-block;
  position: relative;
  margin-top: 50px;
  z-index: 3;
  padding: 10px;
  box-shadow: -30px 30px #90E2E1;
}

.jordan.services-box {
  margin-top: 5vh;
  box-shadow: 30px 30px #FFA178;
}

.services-box h3 {
  width: 45%;
  margin: auto;
  float: left;
  display: inline-block;
}

.services-box h6 {
  float: right;
  text-align: right;
  width: 40%;
  display: inline-block;
  font-size: 1.25em;
  font-weight: 700
}

.jordan.services-box h3 {
  text-align: right;
  margin: 2px;
  margin-right: 10px;
  float: right;
}

.jordan.services-box h6 {
  float: left;
  text-align: left;
  margin-right: 10px;
}

.jordan.services-box-shadow {
  width: 60vw;
  height: 200px;
  margin-left: 27vw;
  position: absolute;
  margin-top: 320px;
  z-index: 1;
}

/* CONTACT FORM */

.contact {
  margin-top: 20vw;
}

.contact .square {
  background-color: white;
  height: 85vh;
  min-height: 600px;
  width: 45vw;
  margin: -2vh 10vw 10vw 10vw;
  z-index: 11;
  position: absolute;
}

.contact .square h2 {
  width: 45vw;
  padding-top: 10vh;
  text-align: center;
  position: relative;
}

.contact .block h2 {
  width: 45vw;
  padding-top: 3vh;
  text-align: center;
  position: relative;
}

.contact .block {
  width: 40vw;
  height: 70vh;
  min-height: 500px;
  margin-left: 50vw;
}

.contact .rectangle {
  width: 40vw;
  min-width: 400px;
  height: 10vh;
  min-height: 75px;
  position: absolute;
  z-index: 13;
  margin-top: -20vh;
  margin-left: 45vw;
  background-color: #FFA178;
}

.later {
  text-align: right;
  padding-right: 5vw;
  padding-left: 10vw;
}

.contact form {
  margin-top: 30px;
}

.contact input[type=text], .contact textarea, .contact input[type=email] {
  width: 35vw;
  margin-left: 5vw;
  background-color: #FFDD00;
  border-style: solid;
  border-color: white;
  border-width: 5px 0px 0px 5px;
  outline: 2px solid black;
  padding: 5px;
  margin-bottom: 20px;
  box-shadow: 5px 5px #FFDD00;
  resize: none;
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

input[type=submit] {
  margin-left: 5vw;
  padding: 10px 20px 10px 20px;
  border-style: none;
  background-color: black;
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  z-index: 20;
  color: white;
}
input[type=submit]:hover {
  color: #FFDD00;
}
::placeholder {
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  z-index: 20;
  color: black;
}
:-ms-input-placeholder {
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  z-index: 20;
  color: black;
}
::-ms-input-placeholder {
  font-size: 1.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  z-index: 20;
  color: black;
}

/* BLOG */

.blog .hero-rectangle-right {
  opacity: .5;
  background-blend-mode: luminosity;
  background-size: cover;
}

.hero i {
  padding-left: 10vw;
  font-size: 50px;
}

.hero .text {
  width: 90vw;
  height: 100%;
}

.small-bite {
  height: 375px;
  padding: 10px;
  width: 275px !important;
  background-color: white;
  box-shadow: 10px 10px #FFA178;
}

.small-bite .icon {
  height: 5%;
  font-size: 40px;
  color: black;
  text-align: center;
}

.small-bite .blog-title {
  height: 80%;
  padding-top: 30%;
  margin: auto;
  text-align: center;
  text-transform: uppercase;
}

.small-bite .blog-date {
  text-align: left;
  float: left;
  display: block;
  margin-top: 10%;
  font-weight: 700;
}

.small-bite .blog-author {
  float: right;
  display: inline;
  margin-top: 10%;
  font-weight: 700;
}

.small-bite:first-of-type {
  margin-left: 5vw;
}

.small-bites {
  width: 95vw;
  margin: auto;
  padding-top: 100px;
}

.recent-posts article {
  display: inline-block;
  width: 80vw;
  height: 350px;
  background-color: white;
  margin: 5vw 10vw;
  box-shadow: 25px 25px #FFDD00;
  overflow: hidden;
}

.recent-posts header {
  margin-top: -50px;
}

.recent-posts {
  padding-top: 10vh;
}

.recent-posts h3 {
  font-size: 4vw;
  text-transform: uppercase;
}

.recent-posts .post-image {
  float: left;
  width: 30%;
  height: 350px;
  display: inline-block;
  background-color: #90E2E1;
}

.recent-posts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: .4;
  filter: brightness(1);
}

.recent-posts .post-text {
  height: 350px;
  width: 70%;
  float: right;
  margin: auto;
  padding: 15px;
}

.recent-posts .blog-date {
  font-size: 14px;
}

.recent-posts button {
  position: relative;
  margin-top: -60px;
  margin-right: 10px;
  font-size: 30px;
  display: block;
  width: 50px;
  height: 50px;
  float: right;
  padding: 0;
  border: none;
  outline: none;
  background-color: #FFA178;
}

/* POST */

.post article {
  display: inline-block;
  width: 90vw;
  padding: 5vw;
  background-color: white;
  margin-left: 5vw;
  position: relative;
  margin-bottom: 5vh;
}

.post img {
  width: 60vw;
  height: auto;
  box-shadow: 15px 15px #FFDD00;
  margin-left: 10vw;
}

.post p {
  line-height: 2.5;
}

.post .quote {
  display: inline-block;
  padding-left: 5vw;
  margin-top: 100px;
  height: 100px;
  margin-bottom: 60px;
}

.post .quote h3 {
  margin-top: -60px;
  margin-bottom: 60px;
}

.post .quote.left {
  margin-left: -10vw;
  text-align: left;
}

.post .quote.right {
  margin-right: -10vw;
  padding-right: 5vw;
  text-align: right;
}

/* SUBSCRIBE */

.subscribe {
  float: left;
  width: 40vw;
  height: 120px;
  margin-top: 50px;
  margin-bottom: 55px;
  display: inline-block;
  margin-left: 5vw;
  padding-left: 1vw;
  padding-right: 1vw;
  box-shadow: 15px 15px #FFDD00;
}

.subscribe h6, .author-box h6 {
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 20px;
}

.subscribe form {
  margin-top: 10px;
  margin-bottom: 20px;
  display: inline-block;
  padding: 0px;
  font-size: 20px;
}

.subscribe input {
  width: 30vw;
  background: white;
  border-style: solid;
  border-width: 3px;
  padding: 10px 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.subscribe button {
  float: right;
  font-size: 20px;
  border-style: none;
  box-shadow: none;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border-radius: 0px;
}

.author-box {
  float: right;
  width: 40vw;
  margin-right: 5vw;
  height: 120px;
  margin-top: 50px;
  margin-bottom: 55px;
  display: inline-block;
  padding: 1vw;
  box-shadow: 15px 15px #FFA178;
}

/* FILTERS */

.filters {
  margin-left: 10vw;
  margin-top: 5vw;
}

.filter {
  background-color: white;
  padding: 10px;
  margin: 10px;
  display: inline-block;
}

.filter:active {
  background-color: #FFDD00;
}

.filter h6 {
  margin-bottom: 0px
}

/* MEDIA INQUIRIES */

@media screen and (max-width: 900px) {
  .later h6 {
    font-size: 20px;
  }
  .subscribe {
    width: 90vw;
  }
  .subscribe form {
    width: 80vw;
  }
  .subscribe input {
    width: 70vw;
  }
  .author-box {
    width: 90vw;
  }

  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  html, body {
    font-size: 12px;
  }
  .small-bite h5 {
    font-size: 30px;
  }
  .small-bite p {
    font-size: 19px;
  }
  .services-box-shadow {
    height: 250px;
  }
  .height-100-plus.services {
    height: 100vh;
  }
  .services-box h3 {
    width: 90%;
  }
  .services-box h6 {
    width: 90%;
    font-size: 2em;
    text-align: left;
    float: left;
  }
  .jordan.services-box h6 {
    text-align: right;
    float: right;
  }
  .contact .square {
    height: 85vh;
    min-height: 600px;
    width: 90vw;
    margin-left: 0px;
  }

  .contact .square h2 {
    width: 90vw;
  }

  .contact .block h2 {
    width: 90vw;
  }

  .contact .block {
    width: 90vw;
    height: 80vh;
    min-height: 600px;
    margin-top: 600px;
    margin-left: 10vw;
  }

  .contact input[type=text], .contact textarea, .contact input[type=email] {
    width: 75vw;
  }

  input[type=submit] {
    padding: 20px 30px 20px 30px;
  }
  .services-text h3 {
    width: auto;
  }
  .services-block img {
    width: 80vw;
  }
  .header {
    padding-left: 30px;
  }
  .subheader {
    padding-left: 30px;
  }

  .hero i {
    padding-left: 30px;
  }
}
@media screen and (max-width: 600px) {
  html, body {
    font-size: 11px;
  }
  .slider-wrapper {
    display: none;
  }
  .mobile-work {
    display: block;
  }
  .work.height-100 {
    height: 280vw;
  }
  .services-box {
    width: 80vw;
    margin-left: 10vw;
  }
  .small-bite:first-of-type {
    margin-left: 20vw;
  }
  .logan img {
    width: 70vw;
    margin-left: -40%;
  }
  .jordan img {
    width: 70vw;
    margin-right: -30%;
  }
  .services-box {
    box-shadow: -15px 15px #90E2E1;
  }
  .jordan.services-box {
    box-shadow: 15px 15px #FFA178;
  }
  .recent-posts h3 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 400px) {
  html, body {
    font-size: 9.5px;
  }
  h4 {
    font-size: 3rem;
  }
  .small-bite:first-of-type {
    margin-left: 10vw;
  }

}

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

  .subscribe input {
    width: 60vw;
  }

}

/* ADMIN STYLING */

.admin input, .admin select, .admin textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
  }

.admin input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 0px;
}

.admin input[type=submit]:hover {
    background-color: #45a049;
}

.admin {
    margin-left: 10vw;
    margin-right: 10vw;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.admin .post {
  display: block;
  margin-top: 50px;
  background-color: white;
  margin-bottom: 50px;
  padding: 25px;
}

.admin .post h5 {

}

.admin .post button {
  color: white;
  border-style: none;
  border-radius: 5px;
  padding: 15px;
  margin-top: 0px;
}

.new_post {
  background-color: mediumaquamarine;
  color: white;
  border-style: none;
  border-radius: 5px;
  padding: 15px;
  margin-top: 0px;
}

.dlt {
  background-color: tomato;
}

.edit {
  background-color: plum;
}
