: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;
}



#pageTitle, #pageTitle1 {
	width: 100vw;
	background-color: var(--backgroundColour);
	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;
	background-color: var(--backgroundColour);
	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: min-content;
	border-radius: 15px;
	overflow:hidden;
	background-color: #464646;
	border: 1px solid var(--gold);
	max-height: calc(100vh - 92.2px);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-top: calc(92.2px / 2 + 5px);
}

#popupImage {
	width: auto;
}



#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;
	position: relative;

}

.imageWrapper:after {
	border: 1px solid var(--gold);
	border-radius: 15px;
	background: #fad25a20;
	display: none;
	content:"";
	position: absolute;
	height: calc(100% + 10px);
	width: 100%;
}

.imageWrapper:hover:after {
    display: block;
}

.gridSpacer {
	width: calc((100vw - 30px) / 6);
	height: 100%;
}

.image {
	display: grid;
	width: calc((100vw - 30px) / 6 - 20px);
	height: calc((100vw - 30px) / 6 - 20px);
	object-fit: cover;
	align-self: flex-end;
	margin-left: 10px;
}

.hairstyleTitle {
	font-size: 20px;
	text-align: center;
	color: var(--gold);
	line-height: 25px;
	margin-bottom: 10px;
	margin-top: 8px;

}

.hairstyleDescription {
	color: white;
	font-size: 16px;
	line-height: 18px;
	height: fit-content;
}

#one {
	content: url("../images/1.jpg");
}

#two {
	content: url("../images/2.jpg");
}

#three {
	content: url("../images/3.jpg");
}

#four {
	content: url("../images/4.jpg");
}

#five {
	content: url("../images/5.jpg");
}

#six {
	content: url("../images/6.jpg");
}

#seven {
	content: url("../images/7.jpg");
}

#eight {
	content: url("../images/8.jpg");
}

#nine {
	content: url("../images/9.jpg");
}

#ten {
	content: url("../images/10.jpg");
}

#eleven {
	content: url("../images/11.jpg");
}

#twelve {
	content: url("../images/12.jpg");
}

#thirteen {
	content: url("../images/13.jpg");
}

#fourteen {
	content: url("../images/14.jpg");
}

#fifteen {
	content: url("../images/15.jpg");
}

#sixteen {
	content: url("../images/16.jpg");
}

#seventeen {
	content: url("../images/17.jpg");
}

#eighteen {
	content: url("../images/18.jpg");
}

@media (max-width: 1500px) {
	.imageWrapper {
		width: calc((100vw - 30px) / 6);
		height: calc((100vw - 30px) / 6);
		background-size: contain;
		object-fit: cover;
	}
	.image {
	    width: calc((100vw - 30px) / 6 - 20px);
		height: calc((100vw - 30px) / 6 - 20px);
	}
}

@media (max-width: 1145px) {
	.imageWrapper {
		width: calc((100vw - 30px) / 5);
		height: calc((100vw - 30px) / 5);
		background-size: contain;
		object-fit: cover;
	}
	.image {
	    width: calc((100vw - 30px) / 5 - 20px);
		height: calc((100vw - 30px) / 5 - 20px);
	}
}

@media (max-width: 915px) {
	.imageWrapper {
		width: calc((100vw - 30px) / 4);
		height: calc((100vw - 30px) / 4);
		background-size: contain;
		object-fit: cover;
	}
	.image {
	    width: calc((100vw - 30px) / 4 - 20px);
		height: calc((100vw - 30px) / 4 - 20px);
	}
	
}

@media (max-width: 685px) {
    .imageWrapper {
		width: calc((100vw - 30px) / 3);
		height: calc((100vw - 30px) / 3);
		background-size: contain;
		object-fit: cover;
	}
	.image {
	    width: calc((100vw - 30px) / 3 - 20px);
		height: calc((100vw - 30px) / 3 - 20px);
	}
}

@media (max-width: 490px) {
	.imageWrapper {
		width: calc((100vw - 30px) / 2);
		height: calc((100vw - 30px) / 2);
		background-size: contain;
		object-fit: cover;
	}
	.image {
	    width: calc((100vw - 30px) / 2 - 20px);
		height: calc((100vw - 30px) / 2 - 20px);
	}
	
	.hairstyleTitle {
	    overflow-wrap: break-word;
        word-wrap: break-word;
	}
	
	#hairstylePopup {
    	display: flex;
    	flex-direction: column;
    	align-items: center;
    	width: calc(100vw - 30px);
    	border-radius: 15px;
    	overflow:hidden;
    	background-color: #464646;
    	border: 1px solid var(--gold);
    	height: min-content;
    	position: fixed;
    	top: 50%;
    	left: 50%;
    	transform: translate(-50%, -50%);
    	margin-top: calc(92.2px / 2 + 5px);
    }
    
    #popupImage {
    	width: calc(100vw - 30px);
    	height: auto;
    	object-fit: cover;
    }
}