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

html {
  font-size: 100%;
}

.bg-img img {
  /*background-image: url(../images/ottoman-rose.png);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  background-position-y: 265px;*/
  width: 60%;
  top: 5vh;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
}

/* Structure */
section {
  margin-top: 5rem;
  margin-bottom: 5rem;
  clear: both;
}

.same-line {
  float: left;
}

/* Fonts */
::-moz-selection { /* Code for Firefox */
  color: #3B819D;
  background: white;
}

::selection {
  color: #3B819D;
  background: white;
}

h1 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 300;
  font-size: 48pt;
  color: #6F6F6F;
}

h2 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 24pt;
}

h3 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 300;
  font-size: 18pt;
}

h4 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  font-size: 18pt;
}

a {
  text-decoration: underline;

}

a:hover {
  color: #E0BD1D;
}

nav li a {
  font-size: 12px;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
}


/* Header */

header {
  width: 100%;
  color: #6F6F6F;
}

.hero {
  width: 100%;
  margin-left: 50px;
  padding: 20vh 0px;
  overflow: auto;
  clear: both;
}

.hero h1 {
  width: 50%;
}

/* Nav Bar*/
nav {
  padding-top: 8px;
  padding-bottom: 0;
  z-index: 1;
  position: sticky;
  margin-left: 50px;
}

.logo {
  display: inline-block;
  color: #6F6F6F;
}

nav a {
  color: #121360;
}

nav .hamburger {
  display: none;
  box-shadow: none;
}

nav .closebtn {
  display: none;
}

ul#topnav.nav-bar {
  float: right;
  padding: 0;
  margin: 30px 0;
}

nav li {
  display: inline-block;
  height: 100%;
  padding-right: 50px;
}

nav a {
  text-decoration: none;
}


/* Projects */
.projects {
  color: white;
  clear: both;
  /*position: relative;
  z-index: -1;*/
}

a {
  text-decoration: none;
  color: #fff;
}

.underline {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  line-height: 0.85;
}


.left {
  border-bottom: 400px solid #121360;
  border-left: 0px solid transparent;
  /*border-right: 50px solid transparent;
  transform: skew(10deg) rotate(10deg);*/
  height: 30px;
  width: 100%;
  /*width: 100%;
  padding-top: 1rem;
  padding-bottom: 8rem;
  margin-bottom: -6rem;
  background-image: url(../images/left-rectangle.png);
  background-size: 76%;
  background-position: left;
  background-repeat: no-repeat;*/
  clear: both;
}

.left-text {
  margin: 50px;
  width: 40%;
  /*transform: skew(-10deg) rotate(-10deg);*/
  float: left;
  display: inline-block;
  clear: none;
}

.left img {
  width: 35%;
  /*transform: skew(-10deg) rotate(-10deg);*/
  padding-top: 3rem;
  margin: 1rem;
  margin-right: 4rem;
  /*opacity: 0;*/
}

.right img {
  width: 35%;
  /*transform: skew(10deg) rotate(10deg);*/
  padding-top: 4rem;
  margin: 1rem;
  margin-left: 4rem;
  /*opacity: 0;*/
}

.right {
  border-bottom: 400px solid #BF2618;
  /*transform: skew(-10deg) rotate(-10deg);
  border-left: 50px solid transparent;*/
  border-right: 0px solid transparent;
  width: 100%;
  height: 30px;
  float: right;
  /*padding-top: 1rem;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  float: right;
  clear: both;*/
}

.right-text {
  /*transform: skew(10deg) rotate(10deg);*/
  margin: 50px;
  width: 40%;
  float: right;
  text-align: right;
  display: inline-block;
  clear: none;
}


/* Services*/
.services {
  margin-top: 5rem;
  position: relative;
  z-index: 2;
}

.services h1 {
  margin-left: 50px;
}

.services h3 {
  margin: 0;
}

li {
  display: block;
}

.services-wrap {
  margin-left: 50px;
  margin-right: 50px;
  position: relative;
}

/*.services-wrap::before {
  content:'';
  position: absolute;
  width: 80%;
  height: 60%;
  z-index: -1;
  background-color: #121360;
  border-radius: 8px;
  border-top: 35px solid white;
  margin: auto;
  left: 0;
  right: 0;
}*/

.half-left {
  width: 45%;
  padding: 1rem;
  display: inline-block;
  float: left;
}

.half-right {
  width: 45%;
  padding: 1rem;
  float: right;
}

#list-color {
  background-color: #121360;
  border-radius: 8px;
  color: white;
}

/* About */
.about {
  clear: both;
  margin-left: 50px;
  margin-right: 50px;
  padding-top: 5rem;
  padding: 20vh 0px;

  color: #6F6F6F;
  position: relative;
  z-index: 2;
}

.about img {
  width: 50%;
  padding: 0rem;
}

/*footer*/

footer {
  clear: both;
}

.contact {
  width: 93%;
  margin: auto;
  color: #121360;
  overflow: auto;
  padding-top: 5rem;
}

.contact-container {
  width: 100%;
  position: ;
  bottom: 0;
}

.contact h4 {
  margin: 0;
}

.contact p {
  font-size: 12px;
  font-family: 'Fira Sans', sans-serif;
  font-weight: 300;
  text-align: right;
  float: right;
}

.contact .icons {
  display: inline-block;
  float: left;
  padding: 0;
  margin: 7px;
}

.contact .icons li {
  display: inline-block;
  float: left;
  padding: .5rem;
}

.icons li a {
  box-shadow: none;
  background: none;
}

.icons li a i {
  color: #121360;
  font-size: 21px;
}

.icons li a i:hover {
  opacity: .5;
}

.copyright {
  display: inline-block;
  float: right;
}


/*tools & doodles*/
.doodles img {
  float: left;
  padding: 1rem;
}





/* Media Queries */


@media screen and (max-width: 768px) {
  /* nav bar*/
  .nav-bar a {
    display: none;
  }

  nav li {
    height: 20%;
    padding-top: 5rem 0 3rem;
  }

  ul#topnav.nav-bar {
    float: right;
    padding: 0;
    margin: 30px 0;
    display: inline-grid;
  }

  nav.hamburger a:not(:first-child) {
    display: none;
  }

  nav a.hamburger {
    float: right;
    display: block;
    margin-right: 2rem;
    box-shadow: none;
    color: #121360;
  }

  .nav-bar.responsive {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    right: 0;
    top: 0;
    background-color: #3B819D;
    transition: .3s;
    margin-top: 0;
  }

  .nav-bar.responsive li {
    display: block;
  }

  .nav-bar.responsive a:hover {
    cursor: pointer;
  }

  .nav-bar.responsive a.hamburger {
    float: right;
    display: block;
  }

  .nav-bar.responsive li a {
    text-decoration: none;
    box-shadow: none;
    display: block;
    text-align: center;
    font-size: 28px;
    color: white;
 }

 /* Header*/
 .bg-img img {
   width: 100%;
   top: 10px;
 }


 /*Fonts */
 header h3 {
   font-size: 21pt;
 }

 h3 {
   font-size: 16pt;
 }
}

@media screen and (max-width: 600px) {
  .bg-img {
    z-index: -5;
    position: relative;
  }

  .bg-img img {
    top: 55px;
  }

  .hero-text {
    overflow: auto;
  }

  h1 {
    font-size: 30pt;
    width: 65%;
  }

  header h3 {
    font-size: 16pt;
  }

  /*header, .projects, .services, .about h1, .contact {
    background-image: url(../images/ottoman-rose-mini.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-position-y: 155px;
  }*/

  .contact {
    background-position-y: 25px;
  }

  nav, .hero {
    margin-left: 10px;
    margin-right: 10px;
  }

  .hero {
    padding: 0;
  }

  .half-left, .half-right {
    width: 100%;
    padding: 0;
  }

  /* Projects */
  .left {
    width: 100%;
    border-bottom: 300px solid #121360;
  }

  .right {
    width: 100%;
    border-bottom: 300px solid #BF2618;
  }

  .left-text, .right-text {
    width: 75%;
    margin: 10px;
  }

  .projects img {
    display: none;
  }

  .contact p {
    text-align: center;
    float: none;
  }

  .contact .icons {
    margin: auto;
  }

  /*Services */
  .services-wrap {
    margin-left: 5px;
    margin-right: 5px;
  }

  .services-text {
    overflow: auto;
  }

  .services .half-left, .services .half-right {
    width: 49%;
    padding: 1rem;

  }

  .services h2 {
    font-size: 16px;
  }

  .services h3 {
    font-size: 14px;
  }

  .service-list {
    padding: 0;
  }

  /*About*/
  .about {
    margin-left: 5px;
    margin-right: 5px;
    padding: 0;
  }

  .about .half-right img {
    float: right;
    width: 50%;
  }

  /*footer*/
  .contact {
    padding: 0;
    margin: 0;
  }

  .contact .half-right {
    display: none;
  }

}

@media screen and (min-width: 1400px) {
  .right-text, .left-text {
    margin: 50px;
    margin-top: 100px;
    width: 30%;
  }

  .right img {
    width: 30%;
    margin-left: 50px;
    padding-top: 0;
  }

  .left img {
    width: 30%;
    margin-right: 50px;
    padding-top: 0;
  }
}
