:root {
  --altColor: #22223B;
  --altColor2: #F2F4F3;
  --altColor3: #AB873B;
  --altColor4: #AB873B;
  --blueGray: #ebf1ff;
  --gunmetal: #22333B;
  --lightGray: #878787;
  --bgA: #f7f5ef;
  --bgB: #FAFAFA;
}

body{
	margin: 0;
	padding-top: 70px;
	color: var(--altColor);
	font-size: 16px;
}

a{
	text-decoration: none;
	color:  var(--altColor);
}

a:hover{
	color: var(--altColor3);
}

a:visited{

}

hr{
	width: 20%;
	border-color: var(--altColor);
	height: 0px;
}

header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 75px;
	display: flex; 
	flex-flow: row wrap;
	background-color: var(--bgA);
	
	justify-content: baseline;
	
	z-index: 10;
}

	#logoNName{
	display: flex;
}

#logo{
	margin-left: 10px;
	margin-top: 10px;
	height: 60px;
}

#name{
	top: 0;
	left: 70px;
	height: 60px;
	color: val(--altColor);
	left: 75px;
	padding-top: 10px;
	margin: 5px 0;
	text-align: left;
	
	color: var(--altColor);
}

#navBar{
	display: none;
}

#navHamburger{
		display: block;
	}

@media only screen and (min-width: 900px){
	#navBar{
		position: absolute;
		right: 0;
		height: 60px;
		padding: 5px;
		display: flex; 
		flex-flow: row wrap;
		justify-content: flex-end;
	}
	#navHamburger{
		display: none;
	}
}

@media only screen and (max-width: 600px){
	#martura{
		display: none;
	}
}

@media only screen and (max-width: 500px){
	#co{
		display: none !important;
	}
}

.menuItem{
	display: flex;
	  align-items: center;
	  justify-content: center;
	height: 50px;
	padding: 0 15px;
	margin: 5px 2px;
	font-family: 'Cormorant', serif;
	font-size: 1.5em;
	font-weight: bold;
	color: var(--altColor);
	min-width: 100px;
}

.specialItem{
	
}

.seg{
	position: relative;
	left: 0;	
	margin: 0;
	background-color: black;
}

.segFullChild{
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.column{
	display: flex;
	flex-flow: column wrap;
	justify-content: center
}

.row{
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.flex-center{
	justify-content: center;
	align-items: center;
}

.twentyfive{
	width:25%;
}

.fourty{
	width: 40%;
}

.fifty{
	width: 50%;
}

.sixty{
	width: 60%;
}

.seventyfive{
	width: 75%;
}

.hundred{
	width: 100%;
}

#seg1{
	width: 100%;
	padding: 60px 0 60px 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	min-height: 600px;
	justify-content: center;
	color: var(--altColor2);
}

#seg1 .backgroundImage{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	
	background-image:url('images/bookstoreOptimized.webp');
	
	background-position: center;
	background-size: cover;
}


#seg1 > .backgroundImage::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(0,0,0,.5);
}

#seg2{
	display: flex;
	width: 100%;
	padding: 10px 0;
	flex-direction: column;
	text-align: center;
	justify-content: space-evenly;
	align-items: center;
	background-color: #22333B;
	
}

#seg3Desktop{
	position: relative;
	background-color: var(--bgB);
	overflow: hidden;
	background-color: black;
}

#seg3Mobile{
	position: relative;
	background-color: var(--bgB);
	overflow: hidden;
	background-color: black;
	
	display: none;
}

#seg4{
	
}

#contact{
	background-color: var(--bgA);
	background-repeat: repeat;
	padding: 260px 50px 100px 50px;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('images/backgrounds/hold.webp');
  filter: hue-rotate(173deg) grayscale(0.75) brightness(1.16) ;
}

#contact .inside{
	position: relative;
	width: fit-content;
}

#seg6{
	background-color: var(--bgA);
	padding: 100px 50px;
}

h1{
	font-size: 5rem;
	font-family: 'Cormorant', serif;
	font-weight: 600;
}

h2{
	font-size: 60px;
	font-family: 'Cormorant', serif;
}

h3{
	font-size: 46px;
	font-family: 'Cormorant', serif;
}

h4{
	font-size: 34px;
	font-family: 'Cormorant', serif;
}


h5{
	font-size: 26px;
	font-family: 'Cormorant', serif;
}

p{
	font-family: Futura, Helvetica, sans-serif;
	font-size: 24px;
}

.button{
	position: relative;
	font-family: 'Architects Daughter', serif;
	color: var(--altColor);
	font-size:24px;
	font-weight: 300;
	border-radius:10px;
	background-color: var(--bgB);
	border: 1px solid var(--altColor);
	min-width: 155px;
	height: 60px;
	padding: 0 10px;
	display: flex;
	  align-items: center;
	  justify-content: center;
	cursor: pointer;

	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

.specialButton{
	color: white;
	border: none;
	background-position: right center; 
	align-self: center;
	background-color: var(--altColor);
	background-size: 100% 100%;
	
	transition: background 1s, background-position 2s, background-size 1s;
}

.specialButton:hover{
	transition: background-color .4s;
	background-color: var(--altColor4);
	color: white;
}

.padding0-10px{
	padding: 0 10px;
}

.containedImage{
	width: 100%;
}

.circle{
	position: relative;
	background-color: #ab873b;
	height: 300px;
	width: 300px;
	border-radius: 50%;
	left: 0;
	bottom: 0px;
}

.frontAndCenter{
	text-align: center;
	text-transform: none;
	margin: 0;
	padding: 10px;
	z-index: 1;
}

.invisible{
	display: none;
}

.workTogether{
	margin: 0;
	padding: 10px 10px 30px 10px;
	opacity: .9;
	font-family: 'Architects Daughter', cursive;
}

#youCont{
	position: relative;
	align-self: flex-end;
	 justify-content: flex-end;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	height: auto;
	width: 100%;
	margin: 0;
}

#you{
	width: 49%;
	left: 0;
	text-align: right;
	padding-right: 10px;
	flex-grow: 2;
}

#swap{
	width: 49%;
	right: 0;
	text-align: left;
	padding-left: 10px;
	flex-grow: 2;
}

#frustrationP{
	font-size: 24px;
	width: 60%;
	padding: 0 20%;
	color: var(--bgA);
}

.cardsContainer{
	width: 80%;
	margin: 20px 10%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: stretch;
}

.card{
	background-color: var(--bgA);
	margin: 30px;
	padding: 50px;
	display: flex;
	flex-direction: column;
	flex-wrap: no-wrap;
	justify-content: center;
	align-items: center;
}

@media only screen and (min-width: 750px){
	.card{
		max-width: 200px;
	}
}
@media only screen and (max-width: 750px){
	.card{
		min-width: 80%;
	}
}

.cardImage{
	width: 100%;
	max-width: 300px;
	margin: 15px 0;
	border: 5px solid var(--altColor3);
}

.cardTitle{
	margin: 0;
}

.cardContent{
	font-size: 22px;
	margin: auto 30px;
	padding: 20px 0;
}

.cardsContainer .cardTitle{
	
}

.cardsContainer .button{
	margin-top: auto;
	margin-bottom: 15px;
}

.fullImage{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	pointer-events:none;
}

.imageInFront{
	z-index: 3;
}

.imageBehind{
	z-index: 2;
}

#showcase{
	position: absolute;
    overflow: hidden;
    width: 44.5%;
    padding-top: 24.25%;
    top: 27%;
    left: 29%;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: scroll;
}
  
#showcaseM{
	position: absolute;
    overflow: hidden;
    width: 53%;
    padding-top: 112.25%;
    top: 24%;
    left: 25%;
    z-index: 2;
    overflow-x: hidden;
    overflow-y: scroll;
}

#showcaseAMobile{
	align-self: center;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.indexShowcaseLabel{
	position: absolute;
	height: auto;
	padding: 20px;
	font-family: Arial, sans-serif;
	text-transform:lowercase;
	font-size: 14px;
	background-color: #fafdf7;
	color: black;
	z-index: 3;
	border-radius: 10px;
	box-shadow: 1px 2px rgba(0,0,0,.8);
}

.indexShowcaseLabel:hover{
	background-color: var(--bgA);
	box-shadow: 1px 2px rgba(0,0,0,.3);
}

#indexShowcaseLabelD{
	left: 85%;
	bottom: 15%;
}

#indexShowcaseLabelM{
	bottom: 2%;
}

.responsiveIMG {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#seg4{
	position: relative;
	widdth: 100%;
	background-image: url('images/customWork.webp');
	background-color: rgba(0, 0, 0, .7);
	background-position: left;
	background-size: cover;
}

#seg4 > .row{
	aspect-ratio: 16 / 9;
}

#seg4 > .row > .column{
	width: 50%;
}

#seg4 > .row > .column:nth-of-type(1){
    flex-grow: 2;
    flex-shrink: 1;
}

#seg4 h2{
	text-align: center; 
	margin: 4%;
}

#seg4 h5{
	text-align: center; 
	margin: 4%;
}

#seg4 > img:after{
	opacity: .7;
}

#customWorkColumn{
	align-content: flex-end;
    flex-shrink: 1;
}

#seg6 .process{
	box-sizing: border-box; 
	padding: 40px;
	min-width: 200px;
	flex-grow: 1;
}

#seg6 .process h4{
	margin: 1em 0;
	text-shadow: 2px 2px #fafafa;
}

#seg6 p{
	font-size: 1em;
	margin: 0;
}

#work{
	position: relative;
	background-color: var(--bgA);
	box-sizing: border-box;
	padding: 50px 0;
	
	border-bottom: var(--bgA) 1px solid;
}

#work h2{
	margin: 50px;
	text-align: center;
}

.flexGrid{
	position: relative;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
	margin-top: 0;
}

.flexGrid .child{
	width: 21%;
	min-width: 300px;
	align-content: center;
	box-sizing: border-box;
	margin: 3%;
	padding: 10px;
	background-color: #fafafa;
	border-radius: 10px;
	box-shadow: 1px 1px 1px #878787;
	transition: box-shadow .5s, transform .25s, opacity 1s;
	opacity: 1;
	
	font-family: Arial, sans-serif;
	cursor: pointer;
}

.flexGrid .child:hover{
	transform: rotateX(10deg) rotateY(-10deg);
	box-shadow: 10px 10px 8px var(--lightGray);
}

.flexGrid .child:nth-of-type(3n + 1):hover{
	transform: rotateX(-10deg) rotateY(-10deg);
	box-shadow: -10px 10px 8px var(--lightGray);
}

.companyTitle{
	font-family: inherit;
	font-size: 1em;
	padding: 0 20px;
	margin: 2px;
	text-align: center;
	color: var(--gunmetal);
}

.blackCard{
	background-color: black !important;
	color: white;
}

.blackCard h5{
	color: white;
}

.flexGrid .child > p{
	margin: 0;
	font-size: .75em;
	color: var(--lightGray);
	text-align: center;
}

.flexGrid > .child img{
	width: 100%;
	justify-self: flex-start;
}

#contact .row{
	justify-content: flex-start;
}

#contact  .inside > div:nth-of-type(1){
	background-color: var(--bgA);
	border-radius: 10px;
	padding: 50px;
}

#contact a{
	font-size: 1.5em;
	margin: 10px 0;
}

#contact a:hover{
	color: var(--altColor3);
}

#tornPage{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 160px;
	
	background-image: url('images/tornPage.png');
	
	/* this removes the line at the top of the image where you can see the background image peaking through*/
	transform: translateY(-1px);
	
}

.displaynone{
	opacity: 0;
	display: none;
}


/* strictly for when the company tiles are in rows of two */
@media screen and (max-width: 1237px) and (min-width: 825px){
	.flexGrid .child:nth-of-type(2n):hover{		
		transform: rotateX(10deg) rotateY(-10deg);
		box-shadow: 10px 10px 8px var(--lightGray);
	}
	
	.flexGrid .child:nth-of-type(2n+1):hover{		
		transform: rotateX(-10deg) rotateY(-10deg);
		box-shadow: -10px 10px 8px var(--lightGray);
	}
}

@media screen and (max-width: 800px){
	  #seg3Mobile {
		display: block;
	  }
	  #seg3Desktop{
		  display: none;
	  }
	  
	  #seg4 > .row{
	    background-color: rgba(0,0,0,.3);
		padding: 100px 50px;
	  }
	  
	  #seg4 > .row > .column{
		  width: unset;
	  }
	  
	  
	  #seg4 h2, #seg4 h5{
		  color: var(--altColor2);
		  padding-right: 2%;	
		  box-sizing: border-box;
		 
		  z-index:3;
	  }
	  
	  #seg4 h2{
		  font-size: 3em;
	  }
	  
	  #seg4 h5{
		  font-size: 1.5em;
	  }
	  
	  #seg4 a{
		  font-size: 1.5em;
		  z-index:3;
	  }
	  
	  #seg6 .process{
		  width: 100%;
	  }
	  
	  .flexGrid .child:nth-of-type(3n + 1):hover{		
		transform: rotateX(10deg) rotateY(-10deg);
		box-shadow: 10px 10px 8px var(--lightGray);
	  }
}

@media screen and (max-width: 500px){
	.frontAndCenter{
		font-size: 3.5em;
	}
	.workTogether{
		font-size: 1.5em;
	}
	h2{
		font-size: 2.5em;
	}
	h4{
		font-size: 1.5em;
	}
	 #work h2{
		font-size: 2.5em;
		padding: 20px 0;
		margin: 0;	
	 }
	#contact{
		padding: 260px 0 100px 0;
		overflow: hidden;
	}
	#contact .inside{
		margin: 0;
		left: 0;
		right: 0;
		width: 100%;
	}
	#contact h2{
		font-size: 2.5em;
	}
	.flexGrid .child{
		min-width:200px;
	}
	#contact .inside > div:nth-of-type(1){
		padding: 10px;
	}
}

.altColor{
	color: var(--altColor);
}

.altColor2{
	color: var(--altColor2);
}

.altColor3{
	color: var(--altColor3);
}

.altColor4{
	color: var(--altColor4);
}

@media only screen and (max-width: 1017px){
  #you, #swap{
	  text-align: center;
  }
  
  #frustrationP{
	width: 80%;
	padding: 20px 10%;
}	
}