/*
Author: Rose L. Geer-Robbins
Created: 11/1/2026 Updated: 11/4/26
File Name: styles.css
*/

/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul, figure, figcaption, section, article, aside {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Style Rules for Body and Images */
body {
	background-color: #000;
}

img {
	max-width: 100%;
	display: block;
}

body.special-page {
	background-image: url("../images/background-artwork.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
 
.special-page header,
.special-page main {
	background-color: transparent;
}

/* Style Rule for Box Sizing applies to all elements */
* {
	box-sizing: border-box;
}

/* Style Rules for Mobile Viewport */

/* Style Rules for Header */
header {
	top: 0;
	background-color: #000;
	height: 150px;
}

header img {
	width: 100%;
	height: 150px;
	object-fit: contain;
	margin: 0 auto;
}

/* Style Rules for Navigation Area */
nav {
	padding: 1%;
	margin-bottom: 1%;
}

nav ul {
	list-style-type: none;
	text-align: center;
}

nav li {
	font-size: 1.5em;
	font-family: "Jim Nightshade", cursive;
	font-weight: 100;
	border-top: 1px solid #fff;
}

nav li:first-child {
	border-top: none;
}

nav li a {
	display: block;
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
}

/* Show Mobile Class, Hide tablet-desktop class */
.mobile {
	display: block;
}

.tablet-desktop {
	display: none;
}

/* Style Rules for Main Area*/
main {
	background-color: #fff;
	padding: 2%;
	font-size: 1.15em;
	font-family: "IBM Plex Serif", serif;
}

#hero {
	clear: both;
}
 
#hero img {
	display: block;
	width: 80%;
	height: auto;
	margin: 0 auto;
}

.mobile h3 {
	text-shadow: 5px 5px 8px #ccc;
}

.tel-link {
	background-color: #404040;
	padding: 2%;
	margin: 0 auto;
	width: 80%;
	text-align: center;
	border-radius: 5px;
}

.tel-link a {
	color: #fff;
	text-decoration: none;
	font-size: 1.5em;
	display: block;
}

.hours {
	margin-left: 10%;
}

.action {
	font-size: 1.35em;
	color: #666600;
	font-weight: bold;
	text-shadow: 5px 5px 8px #ccc;
}

.frame {
	position: relative;
	max-width: 450px;
	margin: 2%;
}

#black-and-grey, #japanese, #traditional {
	margin: 0 2%;
}

.round {
	border-radius: 8px;
}

.external-link {
	color: #666600;
	font-weight: bold;
	text-decoration: none;
}

#contact {
	text-align: center;
}

#contact .contact-email-link {
	color: #666600;
	text-decoration: none;
}

.map {
		border: 2px solid #000;
		width: 95%;
		height: 50%;
}

/* Style Rules for Footer Content */
	footer p {
		font-size: 0.75em;
		text-align: center;
		color: #fff;
		padding: 0 1em;
}

	footer p a {
		color: #fff;
		text-decoration: none;
}

/* Media Query for Tablet Viewport */
	@media screen and (min-width: 630px), print {

/* Tablet Viewpoint: Show tablet-desktop class, hide mobile class */
.tablet-desktop {
	display: block;
	}

.mobile {
	display: none;
	}

/* Tablet Viewport: Style Rule for Header */
	header {
		padding-bottom: 2%;
	}

/* Tablet Viewport: Style Rules for Nav Area */
	nav li {
		border-top: none;
		display: inline-block;
		border-right: 1px solid #fff;
	}

	nav li:last-child {
		border-right: none;
	}

	nav li a {
		padding: 0.1em 0.75em;
	}

/* Tablet Viewport: Style Rules for Main Content Area */
	main ul {
		margin: 0 0 4% 10%;
	}

.grid {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-gap: 20px;
}

.pic-text {
	font-size: 1em;
	padding: 10px;
}

#history-of-tattoos {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background: linear-gradient(to right, #ccc, #fff);
	background-color: #f2f2f2;
	padding: 1% 2%;
}

#history-of-tattoos dt {
	font-weight: bold;
}

#history-of-tattoos dd {
	padding: 0.5% 1% 2% 0;
}

.tel-num {
	font-size: 1.25em;
}

.map {
	width: 600px;
	height: 450px;
	}

}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1015px), print {
	
	/* Desktop Viewport: Style rule for header */
	header {
		width: 25%;
		float: left;
		padding-bottom: 0;
	}
	
	/* Desktop Viewport: Style rules for Nav Area */
	nav {
		float: right;
		width: 70%;
		margin: 4em 1em 0 0;
	}
	
	nav ul {
		text-align: right;
	}
	
	nav li {
		border: none;
	}
	
	nav li a {
		padding: 0.5em 1em;
	}
	
	nav li a:hover {
		color: #000;
		background-color: #fff;
	}
	
	/* Desktop Viewport: Style Rules for Main Content */
		main {
			clear: left;
		}
	
		main h1 {
			font-size: 1.8em;
		}
		
		.pic-text {
			font-size: 1.5em;
			padding: 20px;
		}
	
		#black-and-grey, #japanese, #traditional {
			width: 29%;
			float: left;
			margin: 0 2%;
		}
	
		#history-of-tattoos {
			clear: left;
		}
}
	
	/* Media Query for Large Desktop Viewports */
	@media screen and (min-width: 1921px) {
		#container {
			width: 1921px;
			margin: 0 auto;
		}
}

	/* Media Query for Print */
	@media print {
		
		body {
			background-color: #fff;
			color: #000;
		}	
}