/*
	Shannon L. Shoemaker
	styles.css
	25 Sept. 2025
*/

/* CSS Resets */
body, header, nav, main, footer, img, h1, ul, section, aside, figure, figcaption {
	margin: 0;
	padding: 0;
	border: 0; 
}

/* Style rules for images */
img {
	max-width: 100%;
	display: block;
}

/* Style rule for box sizing applies to all elements */
* {
	box-sizing: border-box;
}

/* Style rules for mobile viewport */

/* Hide tab-desk class */
.tab-desk {
	display: none;
}


/* Style rules for header content */
header {
	text-align: center;
	font-size: 1.5em;
	color: #373684;
}

header h1 {
	font-style: italic;
}

/* Style rules for the nav */
nav {
	background-color: #373684;
}

nav li a {
	color: white;
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 0.5em 1em;
}
/* padding & margins -- 1 number = all sides, 2 numbers = 1. top/bottom 2. left/right, 3 numbers = 1. top 2. left/right 3. bottom, 4 numbers = 1. top 2. right 3. bottom 4. left */

nav ul {
	list-style-type: none;
	/*margin: 0;*/
	text-align: center;
}

nav li {
	display: block;
	font-size: 2em;
	border-top: 2px solid #e5e9fc;
}

/* Style rules for the main content */
main {
	padding: 2%;
	background-color: #e5e9fc;
	overflow: auto; 
	font-family: "Poiret One", Arial, sans-serif;
	font-weight: bold;
}

main p {
	font-size: 1.25em
}

#piano, #guitar, #violin {
	/*width: 29%;
	float: left;*/
	margin: 0 2%;
}

#info {
	clear: left;
	background-color: #c0caf7;
	padding: 1% 2%;
}

#info ul {
	margin-left: 10%;
}

.round {
	border-radius: 10px;
}

aside {
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	color: #373684;
	text-shadow: 3px 3px 5px #8280cb; /* -left/right, -top/bottom, blur, color */
}

figure {
	border: 8px solid #373684;
	position: relative; 
	max-width: 275px;
	margin: 2% auto;
}

figcaption {
	position: absolute;
	bottom: 0;
	background: rgba(55, 54, 132, 0.7);
	color: #fff;
	width: 100%;
	padding: 5% 0;
	text-align: center;
	font-family: Georgia, Times, serif;
	font-size: 1.25em;
	font-weight: 700;
}

#contact {
	text-align: center;
}

/*#contact a {
	color: #4645a8;
	text-decoration: none;
	font-weight: bold;
}*/

.tel-link {
	background-color: #373684;
	padding: 2%;
	margin: 0 auto;
	width: 80%;
	text-align: center;
	border-radius: 10px;
}

.tel-link a {
	color: #fff;
	text-decoration: none;
	font-size: 1.5em;
	display: block;
}

#contact .email-link {
	color: #4645a8;
	text-decoration: none;
	font-weight: bold;
}

.map {
	border: 8px solid #373684;
	width: 90%;
	height: 70%;
}

.action {
	font-size: 1.75em;
	color: #373684;
	font-weight: 900;
}

/* Style rules for table */
table {
	border: 2px solid #373684;
	margin: 0 auto; 
	width: 100%;
	border-collapse: collapse;
}

caption {
	font-size: 1.5em;
	font-weight: bold;
	padding: 1%;
}

th, td {
	border: 2px solid #373684;
	padding: 2%;
}

th {
	background-color: #373684;
	color: #ffffff;
	font-size: 1.2em;
}

tr:nth-child(odd) {
	background-color: #b7b7e1;
}

/* Style rules for fonts */
.paprika-regular {
  font-family: "Paprika", system-ui;
  font-weight: 400;
  font-style: normal;
}

.poiret-one-regular {
  font-family: "Poiret One", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* Style rules for the footer content */
footer {
	text-align: center;
	font-size: 0.85em;
	clear: left; 
}

footer a {
	color: #4645a8;
	text-decoration: none;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 550px), print {
	
	/* Table viewport: show tab-desk class, hide mobile class */
	.tab-desk {
		display: block;
	}
	
	.mobile {
		display: none;
	}
	
	/* Tablet: Style rule for header content */
	span.tab-desk {
		display: inline;
	}
	
	/* Tablet: Style rules for nav area */
	nav li {
		border-top: none;
		display: inline-block;
		border-right: 2px solid #e5e9fc;
		font-size: 1.5em;
	}
	
	nav li:last-child {
		border-right: none;
	}
	
	nav li a {
		padding: 0.25em 0.5em; 
	}
	
	.grid {
		display: grid;
		grid-template-columns: auto auto;
		grid-gap: 20px;
	}
	
	aside {
		grid-column: 1 / span 2; 
	}
	
	/* Tablet: Style rules for map */
	.map {
		width: 500px;
		height: 450px;
	}
	
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 769px), print {
	
	/* Desktop: Style rules for header */
	header {
		padding: 2%;
	}
	
	/* Desktop: Style rules for nav area */
	nav li a {
		padding: 0.5em 1.5em; 
	}
	
	nav li a:hover {
		color: #373684;
		background-color: #e5e9fc;
	} 
	
	/*nav li a:active {
		color: pink;
	}*/
	
	/* link = never clicked, visited = clicked, hover = cursor over link, active = cursor is depressed */
	
	/* Desktop Viewport: Style rules for main content */
	#info ul {
		margin-left: 3%;
	}
	
	main h3 {
		font-size: 1.5em;
		background-color: white;
		/*width: 40%;*/
		text-align: center;
		color: #373684;
	}
	
	#piano, #guitar, #violin {
		width: 29%;
		float: left;
		margin: 0 2%;
	}

	.grid {
		display: grid;
		grid-template-columns: auto auto auto auto;
		grid-gap: 20px;
	}
	
	aside {
		grid-column: 1 / span 4; 
	}
	
	/* Style rule for table */
	table {
		width: 70%;
	}
}

/* Media Query for Print */
@media print {
	
	body {
		background-color: #fff;
		color: #000;
	}
	
}