:root {
    --gold: #fad25a;
    --backgroundColour: dimgrey;
}

body {
	overflow-x: hidden;
}

.entry-header {
	display: none;
}

.entry-content {
	margin: 0 !important;
}

.e-con-inner {
	padding: 0 !important;
}
.site-content-contain {
    background: linear-gradient(180deg, #3E3E3E 0%, #040404 100%);
}

.bold {
    font-weight: 900;
  text-shadow:
   -0.5px -0.5px 0 var(--gold),  
    0.5px -0.5px 0 var(--gold),
    -0.5px 0.5px 0 var(--gold),
     0.5px 0.5px 0 var(--gold);
  overflow: visible;
  letter-spacing: 2px;
}

#fadesWrapper img {
    content: url("../images/fades.png");
    width: 100%;
    
}

#fadesWrapper {
    width: 100vw;
    padding: 20px;
    margin-left: calc(-50vw + 50%);
}

#pageTitle, #pageTitle1 {
	width: 100vw;
	color: var(--gold);
	font-size: 35px;
	padding-top: 20px;
	line-height: 60px;
	text-align: center;
	margin-left: calc(-50vw + 50%);
	white-space: break-space;
}

#pageSubtitle {
	width: 100vw;
	color: var(--gold);
	font-size: 20px;
	line-height: 20px;
	padding-bottom: 20px;
	text-align: center;
	margin-left: calc(-50vw + 50%);
	transform: skew(-10deg);
	-webkit-transform: skew(-10deg);
}

#popupCloseButton {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	border-radius: 20px;
	content: url("../images/x.png");
	background-color: var(--gold);
    border: 1px solid black;
}

.header {
    color: var(--gold);
    font-size: 30px;
    font-weight: bolder;
    text-align: center;
    letter-spacing: 2px;
    width: 100%;
}

#hairstylePopupWrapper{
	display: none;
	width: 100vw;
	height: 100vh;
	position: fixed;
	background-color: #00000050;
	top: 0;
	left: 0;
}

#hairstylePopup {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 600px;
	border-radius: 15px;
	padding: 15px;
	background-color: #464646;
	border: 1px solid var(--gold);
	max-height: calc(100vh - 80.19px - 30px);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-top: calc(80.19px / 2 + 5px);
}

#popupImage {
	width: auto;
	margin-bottom: 20px;
}

#popupDescription {
	font-size: 16px;
    line-height: 18px;
    color: white;
}

#hairstyles {
	min-height: calc(100vh - 80.19px);
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	display: flex;
	flex-wrap: wrap;
	padding: 15px;
	justify-content: space-around;
}

.imageWrapper {
	width: calc((100vw - 30px) / 6);
	height: 100%;
	margin-bottom: 50px;
	display: grid;
	flex-grow : 1 0;
	cursor: pointer;

}

.imageWrapper:hover {
	border: 1px solid var(--gold);
	border-radius: 15px;
	background: #fad25a20;
}

.gridSpacer {
	width: calc((100vw - 30px) / 6);
	height: 100%;
}

.image {
	display: grid;
	width: calc((100vw - 30px) / 6);
	height: auto;
	align-self: flex-end;
}

.hairstyleTitle {
	font-size: 20px;
	text-align: center;
	color: var(--gold);
	line-height: 25px;

}

.hairstyleDescription {
	color: white;
	font-size: 16px;
	line-height: 18px;
	height: fit-content;
}

#hardPartCombover {
	content: url("../images/Combover Hard Part.png");
}

#combover {
	content: url("../images/combover.png");
}

#crewCut {
	content: url("../images/crew cut.png");
}

#fauxhawk {
	content: url("../images/fauxhawk.png");
}

#disconnectedSlickback {
	content: url("../images/Slickback Disconnected.png");
}

#slickback {
	content: url("../images/Slickback.png");
}

#highAndTight {
	content: url("../images/high and tight.png");
}

#undercut {
	content: url("../images/undercut.png");
}

#topKnot {
	content: url("../images/top knot.png");
}

#pompadour {
	content: url("../images/pompadour.png");
}

#quiff {
	content: url("../images/quiff.png");
}

#blowout {
	content: url("../images/blowout.png");
}

#buzzCut {
	content: url("../images/buzz cut.png");
}

#flatTop {
	content: url("../images/flattop.png");
}

#mullet {
	content: url("../images/mullet.png");
}

#southSideFade {
	content: url("../images/southside fade.png");
}

@media (max-width: 1500px) {
	.image, .imageWrapper {
		width: calc((100vw - 30px) / 6);
		height: auto;
		background-size: contain;
	}
	#hairstylePopup {
    	max-width: calc(100% - 30px);
	    
	}
}

@media (max-width: 1145px) {
	.image, .imageWrapper {
		width: calc((100vw - 30px) / 5);
		height: auto;
		background-size: contain;
	}
}

@media (max-width: 915px) {
	.image, .imageWrapper {
		width: calc((100vw - 30px) / 4);
		height: auto;
		background-size: contain;
	}
	
    #fadesWrapper img {
        content: url("../images/fades2.png");
        width: 100%;
        
    }
}

@media (max-width: 685px) {
	.image, .imageWrapper {
		width: calc((100vw - 30px) / 3);
		height: auto;
		background-size: contain;
	}
}

@media (max-width: 490px) {
	.image, .imageWrapper {
		width: calc((100vw - 30px) / 2);
		height: auto;
		background-size: contain;
	}
	#hairstylePopup {
	    width: calc(100% - 40px);
	}
	
	#popupDescription {
	    font-size: 14px;
	    line-height: 16px;
}