/* This is the css stylesheet for the Midwestern Welding Company */

/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul, figure, figcaption, section, article, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Style rules for body and images */

body {
	background-color: #1C1C1C;
}

img {
	max-width: 100%;
	display: block;
	margin: 0 0;
	border-radius: 5px;
}


/* Style rule for box sizing applies to all elements */
*{
	box-sizing: border-box;
}

/* Style rules for header */
header {
	top: 0;
	background-color: #1C1C1C;
	font-family: "Times New Roman";
	text-align: center;
}
 
/* Style rules for navigation area */
nav {
	padding: 2%;
	margin-bottom: 2%;
}

nav ul {
	font-size: .75em;
	list-style-type: none;
	margin: 0;
	text-align: center;
}

nav li {
	font-size: 1.5em;
	font-family: "PT Serif", serif;
	font-weight: bold;
	border-top: 2px solid #C5A253;
}

nav li a {
	display: block;
	color: #FDFDFD;
	text-align: center;
	padding: 0.2em 0.5em;
	text-decoration: none;
}
 


/* Show mobile class, hide tablet-desktop class */

/* Begin styles for mobile viewport */

.mobile {
	display: block;
}

.tablet-desktop {
	display: none;
}

header {
	top: 0;
	height: 200px;
}

header img {
	max-width: 80%;
	max-height: 100%;
	margin: 0 auto;
	
}

/* Style rules for main content */
main {
	clear: left;
	text-align: center;
	padding: 1em;
	font-size: 1.5em;
	font-family: "Times New Roman";
	background-color: #f5f1eb;
}

article {
	padding: 2%;
}

article:nth-of-type(2) {
	background-color: rgba(255, 255, 224, 1);
}

.frame {
	position: relative;
	max-width: 450px;
	margin: 2% auto;
}

.pic-text {
	position: absolute;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 100%;
	padding: 20px;
	text-align: center;
	font-family: Verdana, Ariel, sans-serif;
	font-weight: bold;
}

.round {
	border-radius: 8px;
}

container {
	width: 80%;
	margin: 0 auto;
}

.tel-num {
	font-size: 1em
}

.map {
	border: 5px solid #faf0e6;
	width: 95%;
	height: 50%;
}

/* Style rules for the footer content */
footer {
	color: #fff;
	text-align: center;
	font-size: 1em;
	margin: auto;
	padding: 1em;
	background-color: #1C1C1C;
}

/* Media Query for Tablet Viewport */
@media screen and (min-width: 630px), print {

/* Tablet Viewport: Show tablet-desktop class, hide mobile class */
.tablet-desktop {
	display: block;
}

.mobile {
	display: none;
}

/* Tablet Viewport: Style rule for header */
header {
	position: static;
	padding-bottom: 1%;
}

/* Tablet Viewport: Style rules for nav area */

nav li {
	border-top: none;
	display: inline-block;
	border-right: 2px 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%;
}

caption {
	color: #000;
	font-size: 1.5em;
	font-weight: bold;
}

#extras {
    width: 100%;                 /* stretch across the whole page */
    margin: 2em 0;               /* spacing above and below */
    text-align: center;          /* center the text inside */
    border-top: 5px solid #000;
    border-bottom: 5px solid #000;
    background: linear-gradient(#C5A253, #FDFDFD);
    padding: 2em;                /* adds breathing room */
}



/* Animation for Tablet */
figcaption {
	-webkit-animation-name: text-animation;
	animation-name: text-animation;
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
	-webkit-animation-duration: 5s;
	animation-duration: 5s;
}
/* Media Query for Desktop Viewport */
@media screen and (min-width: 1015px), print {

/* Desktop Viewport: Style rule for header */
header {
	width: 30%;
	float: left;
	padding-bottom: 1 1 1 1;
}

#Custom {
	text-align: left;
	font-size:.75em;
}

/* Gold bullet style for services list */
.gold-bullets {
    list-style: none;
    padding-left: 0;
}

.gold-bullets li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.gold-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 1.4em;
    line-height: 1;
}


/* Desktop Viewport: Style rules for nav area */

nav {
	float: right;
	margin: 2em 1em 0 0;
}

nav ul {
	text-align: right;
}

nav li {
	border: none;
}

nav li a {
	padding: 0.5em 1.5em;
}

nav li a:hover {
	color: #FAF9F6;
	background-color: #C5A253;
}

/* Desktop Viewport: Style Rules for main content */

main h2 {
	font-size: 1.4em;
}

#about h2 {
	text-shadow: 5px 5px 6px #ccc;
}

.center {
    display: block;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    align-items: start;
}

.frame {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.stars {
  color: gold;
  font-size: 1.2em;
}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px), print {
	
	#container {
		width: 1920px;
		margin: 0 auto;
	}
}

/* Media Query for Print */
@media print {
	
	body {
		background-color: #fff;
		color: #000;
	}
}
}