html {
  box-sizing: border-box;
  /*font-family: "nimbus-sans", sans-serif;*/
  color: #555;
  font-size: 16px;
}
@media (min-width: 6.25em) {
  html {
    font-size: 17px;
  }
}
@media (min-width: 12.5em) {
  html {
    font-size: 18px;
  }
}
@media (min-width: 18.75em) {
  html {
    font-size: 19px;
  }
}
@media (min-width: 25em) {
  html {
    font-size: 20px;
  }
}
@media (min-width: 31.25em) {
  html {
    font-size: 21px;
  }
}
@media (min-width: 37.5em) {
  html {
    font-size: 22px;
  }
}
@media (min-width: 43.75em) {
  html {
    font-size: 23px;
  }
}
@media (min-width: 50em) {
  html {
    font-size: 24px;
  }
}
@media (min-width: 56.25em) {
  html {
    font-size: 25px;
  }
}
@media (min-width: 62.5em) {
  html {
    font-size: 26px;
  }
}
@media (min-width: 68.75em) {
  html {
    font-size: 27px;
  }
}
@media (min-width: 75em) {
  html {
    font-size: 28px;
  }
}
@media (min-width: 81.25em) {
  html {
    font-size: 29px;
  }
}
@media (min-width: 87.5em) {
  html {
    font-size: 30px;
  }
}
@media (min-width: 93.75em) {
  html {
    font-size: 31px;
  }
}
@media (min-width: 100em) {
  html {
    font-size: 32px;
  }
}
@media (min-width: 106.25em) {
  html {
    font-size: 33px;
  }
}
@media (min-width: 112.5em) {
  html {
    font-size: 34px;
  }
}
@media (min-width: 118.75em) {
  html {
    font-size: 35px;
  }
}
@media (min-width: 125em) {
  html {
    font-size: 36px;
  }
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  min-width: 333px;/*** a min width to prevent crash on tiny screens  ***/
} 

/*** background-attachment: fixed; not working on mobile  see stackoverflow.com/a/43058483/7765675  12/04/2021 ***/
body:after {
  content: "";
	display: block;
  position: fixed; /* stretch a fixed position to the whole screen */
  left: 0;
  top: 0;
  right: 0;
  height: 100vh; /* fix for mobile browser address bar appearing disappearing */
  background-image: url("../img/03.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  /***  background-attachment: fixed; background image doesn't scroll  this works on desktop but messes up iOS ***/
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  z-index: -10; /*** background image statys in the background  ***/
}

/*** The fixed Side ***/
.side {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: 50px;
  border-right: 1px dashed rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.5);
  font-family: "nimbus-sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.0925rem;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
}
.side:hover {
  color: rgba(0, 0, 0, 0.5);
}
.side .side__inner {
  position: relative;
  height: 100%;
  white-space: nowrap;
}
.side a {
  color: inherit;
  word-spacing: 0;
  transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
}
.side .top,
.side .bottom {
  position: absolute;
  left: 0;
  transform: rotate(-90deg) perspective(1px);
  transform-origin: 50px 50px;
  height: 50px;
  line-height: 50px;
  white-space: nowrap;
  word-spacing: 0.5rem;
}
.side .top {
  top: 25px;
  text-align: right;
  color: black;
}
.side .bottom {
  top: auto;
  bottom: 75px;
}
/***
.side .bottom:hover a {
  color: rgba(0, 0, 0, 0.2);
}
 */
.side a:hover {
  color: rgba(0, 0, 0, 0.8);
}

/*** The first navigation */
.anchornav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.anchornav li {
  display: block;
}
.anchornav li::after {
  content: "";
  width: 1.3rem;
  display: block;
  height: 2px;
  background: black;
}
.anchornav li:last-child::after {
  display: none;
}
.anchornav li a {
  display: block;
  padding: 1em 0;
  font-family: "nimbus-sans", sans-serif;
  text-transform: uppercase;
  font-size: 0.7em;
  letter-spacing: 0.02em;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.05, 0.69, 0.14, 1);
}
.anchornav li a span {
  display: inline;
  padding: 0 0 0 0.3em;
  opacity: 0.4;
  letter-spacing: normal;
  font-family: "ff-meta-serif-web-pro", serif;
  text-transform: none;
}
.anchornav li a:hover {
  color: #de5f5f;
}
.anchornav li a:hover span {
  opacity: 1;
  color: #181818;
}

/*** The different sections on index page*/
.section {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  min-height: 50vh;  /***  50vh should be for large screens only ***/
  width: 100%;
  align-content: center;
  padding: 8vh 50px 12vh 75px; /*** make it scale according to screen width below  ***/
}

@media screen and (max-width:100rem) {
  .section {
    padding: 7vh 40px 11vh 70px;
	min-height: 30vh;
  }
}
@media (max-width:40rem) {
  .section {
    padding: 6vh 30px 11vh 65px;
	min-height: 20vh;
  }
}
@media (max-width:30rem) {
  .section {
    padding: 5vh 20px 10.5vh 60px;
	min-height: 10vh;
  }
}
@media (max-width:20rem) {
  .section {
    padding: 5vh 10px 10vh 60px;
	min-height: 5vh;
  }
}
@media screen and (max-width:15rem) {
  .section {
    padding: 4vh 5px 9vh 60px;
  }
}
.section svg {
    position: absolute;
    top: -49px; /*** get rid of the thin gap  ***/
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
}
.section svg.bottom {
  bottom: 0;
  top: auto;
  fill: grey;
}
.section .section__inner {
 
  max-width: 1000px;
  margin: auto 0 auto 0;
}
.section--hello {
  background-color: #FDEF52;
  color: #181818;
  padding: 15vh 50px 5vh 75px;
}
.section--intro {
  background-color: white;
  color: #555;
}
.section--intro {
  margin-bottom: 49px;/* since bottom: -49px;*/
}
.section--intro svg {
  fill: white;
}
.section--intro svg.bottom { /* important: this pushs the svg out of the section border*/
  top: auto;
  bottom: -49px;
  fill: white;
}

.section--blue{
  background-color: #365380;
  color: white;
  z-index: 5;
}

.section--blue svg.bottom { /* important: this pushs the svg out of the section border*/
  top: auto;
  bottom: -49px;
  fill: #365380;
}

.section--blue:hover {
  background-color: #1C3877;
  color: white;
  cursor: pointer;
}

.section--blue:hover svg.bottom { /* important: this pushs the svg out of the section border*/
  top: auto;
  bottom: -49px;
  fill: #1C3877;
}
.section--about {
  background-color: rgba(40,102,141,0.60);/* was red, #de5f5f*/
  color: white;
  z-index: 5;
}
.section--about svg {
  fill: rgba(40,102,141,0.60);/* was red, #de5f5f*/
}
.section--about svg.bottom { /* important: this pushs the svg out of the section border*/
  top: auto;
  bottom: -49px;
  fill: rgba(40,102,141,0.60);/* was red, #de5f5f*/
}
.section--contact {
  background-color: rgba(255,255,255,0.70);
  color: #555;
  z-index: 2;
}

.section--Walmart {
  background-color: rgba(40,102,141,0.60);
  color: white;
  z-index: 5;
}
.section--Walmart svg {
  fill: rgba(40,102,141,0.60);
}

.section--Walmart:hover {
  background-color: transparent;
  cursor: pointer;
}
.section--Walmart:hover svg {
  fill:rgba(40,102,141,0); 
}

.section--contact svg {
  fill: rgba(255,255,255,0.70);/* was red, #de5f5f*/
}
.section--contact svg.bottom { /* important: this pushs the svg out of the section border*/
  top: auto;
  bottom: -49px;
  fill: rgba(255,255,255,0.70);/* was red, #de5f5f*/
}
.section--clients {
  background-color: #555;/*#343436*/
  color: white;
}
.section--clients svg {
  fill: #555;/*#343436*/
}
.section--shopify {
  background-color: #96bf48;
  color: white;
	z-index: 6;
}
.section--shopify svg {
  top: -49px; /*** get rid of the thin gap  ***/
  fill: #96bf48;
}
.section--shopify svg.bottom {
  top: auto;
  bottom: -49px;
  fill: #96bf48;
}
.section--shopify:hover {
  background-image: linear-gradient(to right, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1); 
  cursor: pointer;
}
.section--shopify:hover svg {
  top: -49px; /*** get rid of the thin gap  ***/
  fill:url(#grad1); /*** get SVG gradien  ***/
}
.section--shopify:hover svg.bottom {
  top: auto;
  bottom: -49px;
  fill:url(#grad1);/*** get SVG gradien  ***/
}

.section--jgi {
  color: white;
}

.section--jgi:hover {
  background-color: rgba(43,4,35,0.30);
  cursor: pointer;
}
.section--cwds {
  background-color: orange;
  color: white;
  z-index: 6;
}
.section--cwds svg {
  top: -49px; /*** get rid of the thin gap  ***/
  fill: orange;
}
.section--cwds svg.bottom {
  top: auto;
  bottom: -49px;
  fill: orange;
}
.section--cwds:hover {
  background-color: #E99700;
  color: white;
  cursor: pointer;
  z-index: 6;
}
.section--cwds:hover svg {
  top: -49px; /*** get rid of the thin gap  ***/
  cursor: pointer;
  fill: #E99700;
}
.section--cwds:hover svg.bottom {
  top: auto;
  cursor: pointer;
  bottom: -49px;
  fill: #E99700;
}


/*** The different sections on portfolio pages*/


.section--red {
  background-color: #de5f5f;
  color: white;
}

.section--red:hover {
  background-image: radial-gradient( circle 860px at 11.8% 33.5%,  #F01E5C 0%, rgba(244,49,74,1) 30.5%, rgba(249,75,37,1) 56.1%, rgba(250,88,19,1) 75.6%, rgba(253,102,2,1) 100.2% );
  cursor: pointer;
  color: white;
}

.section--white {
  background-color: white;
  color: #343436;
}
.section--white svg {
  fill: white;
}
.section--white svg.bottom {
  top: auto;
  bottom: -49px;
  fill: white;
}

@media screen and (max-width:729px) {
    .section--red, .section--white {
    padding: 6vh 30px 6vh 60px;
}
}@media screen and (min-width:730px)and (max-width:959px) {
    .section--red, .section--white {
    padding: 6vh 40px 6vh 65px;
}
}@media screen and (min-width:960px)and (max-width:1279px) {
    .section--red, .section--white {
    padding: 8vh 40px 8vh 60px;
}
}@media screen and (min-width:1280px)and (max-width:1919px) {
    .section--red, .section--white {
    padding: 11vh 50px 9vh 70px;
}
}@media screen and (min-width:1920px) {
    .section--red, .section--white {
    padding: 12vh 50px 10vh 75px;
}}

	.section__port{
  height: 100%;
  max-width: 1386px;
  margin: 0 17px 0 17px;		
	}
	
/*** Typo ***/
h1, .h1, h2, .h2, h3, .h3, h4, .h5 {
  font-family: "nimbus-sans", sans-serif;
  font-weight: bold;
  margin: 0 0 1em;
  line-height: 1;
  letter-spacing: -1px;
}
@media (min-width: 30rem) {
  h1, .h1, h2, .h2, h3, .h3, h4, .h5 {
    letter-spacing: -2px;
  }
}
h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h5 a {
  color: inherit;
}
h1 a:hover, .h1 a:hover, h2 a:hover, .h2 a:hover, h3 a:hover, .h3 a:hover, h4 a:hover, .h5 a:hover {
  border-bottom: 0.1875rem solid;
}
h1 span, .h1 span, h2 span, .h2 span, h3 span, .h3 span, h4 span, .h5 span {
  color: #de5f5f;
}

h1, .h1 {
  font-size: 5rem;
}

/*****   H1/H2 pushed the entire page out to the right earlier then not scalable to the screen width  11/28/2021  *****/
@media screen and (max-width:120rem) {
  h1, .h1 {
    font-size: 4.5rem;
  }
}
@media screen and (max-width:40rem) {
  h1, .h1 {
    font-size: 4rem;
  }
}
@media screen and (max-width:30rem) {
  h1, .h1 {
    font-size: 3rem;
  }
}
@media screen and (max-width:20rem) {
  h1, .h1 {
    font-size: 2.3rem;
  }
}
@media screen and (max-width:15rem) {
  h1, .h1 {
    font-size: 1.8rem;
  }
}


h2, .h2 {
  font-size: 3rem;
}
@media screen and (max-width:120rem) {
  h2, .h2 {
    font-size: 2.2rem;
  }
}
@media screen and (max-width:40rem) {
  h2, .h2 {
    font-size: 2rem;
  }
}
@media screen and (max-width:30rem) {
  h2, .h2 {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:20rem) {
  h2, .h2 {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:15rem) {
  h2, .h2 {
    font-size: 1.4rem;
  }
}

h3, .h3 {
  font-size: 1.2rem;
  letter-spacing: -1px;
}
@media (min-width: 30rem) {
  h3, .h3 {
    font-size: 2rem;
	letter-spacing: -1px;
  }
}

h4, .h4 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.5px;
}
@media (min-width: 30rem) {
  h4, .h4 {
    font-size: 1.2rem;
	letter-spacing: -0.5px;
  }
}

h5, .h5 {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
@media (min-width: 30rem) {
  h5, .h5 {
    font-size: 0.8rem;
	letter-spacing: 0.5px;
  }
}

.pre {
  display: inline-block;
  font-family: "ff-meta-serif-web-pro", serif;
  font-size: 0.6rem;
  margin: 0;
  opacity: 0.8;
  letter-spacing: 1.4px;
  word-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 1em;
  color: inherit;
}
.pre span {
  font-size: 0.9em;
  margin-right: 0.4em;
  opacity: 0.5;
}
.pre:hover {
  opacity: 1;
}

.section__inner p {
  font-family: "ff-meta-serif-web-pro", serif;
  font-size: 0.875rem;
  line-height: 1.4;
}
@media (min-width: 30rem) {
 .section__inner p {
    font-size: 0.95rem;
  }
}
 .section__inner p a {
  font-weight: bold;
  color: inherit;
}
 .section__inner p a:hover {
  border-bottom: 0.1875rem solid;
}

.lead {
  display: block;
  font-size: 0.875rem;
  margin: 0;
}
@media (min-width: 30rem) {
  .lead {
    font-size: 1rem;
  }
}

.portfolio {
  font-size: 0.75rem;
}
.portfolio.block {
  display: inline-block;
  width: 100%;
}
@media (min-width: 30rem) {
  .portfolio.block {
    width: 40%;
  }
}
.portfolio .link {
  display: block;
  margin: 2em 0 0 0;
  color: #555;
  letter-spacing: 2px;
  font-size: 14px;
}
.portfolio p {
  font-size: inherit;
  color: #343436;
  opacity: 0.7;
}

.typing-ani {
  width: 7ch;
  -webkit-animation: typing 2s steps(7), blink 0.5s step-end infinite alternate;
          animation: typing 2s steps(7), blink 0.5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: DM Mono; /* PT Mono*/
  /*font-size: 4em;*/ /****** Let H1 take care of the size and scale ******/
  font-weight: bold;
  letter-space: 5.6em;
}
	
@-webkit-keyframes typing {
  from {
    width: 0;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/****** hover on section triggers underline (strong affordance) ******/
#portfolio00:hover #portfolio00_title {
    border-bottom: 0.1875rem solid;
}
#portfolio0:hover #portfolio0_title {
    border-bottom: 0.1875rem solid;
}
#portfolio1:hover #portfolio1_title {
    border-bottom: 0.1875rem solid;
}
#portfolio2:hover #portfolio2_title {
    border-bottom: 0.1875rem solid;
}
#portfolio3:hover #portfolio3_title {
    border-bottom: 0.1875rem solid;
}
#portfolio4:hover #portfolio4_title {
    border-bottom: 0.1875rem solid;
}
#portfolio_more:hover #portfolio_more_title {
    border-bottom: 0.1875rem solid;
}
#contact:hover #contact_title {
    border-bottom: 0.1875rem solid;
}