/*
Author: Aiden Greene
Date: 3/4/2026
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: #0b0b0d;
    color: #e6e6e6;
}

.about-ul {
     padding-left: 40px;
    text-align: left;
    margin-left: 0;
}

.about-li {
	 position: relative;
    padding-left: 10px;
    margin-bottom: 16px;
    color: #d8d8d8;
    line-height: 1.6;
}

.contact-h2 {
	font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.6); 
    color: #f2f2f2;
	text-align: center;
}

.contact-P {
	text-align: center;
	text-transform: uppercase;
}

.about-H2 {
	font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.6); 
    color: #f2f2f2;
	text-align: center;
	
}

.about-p {
	font-size: 1.1em;
	line-height: 1.8;
	font-family: 'Roboto', sans-serif;
	background-color: #111;
	text-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
	letter-spacing: 2px;
	
}

.horrorimg {
	display: block; 
    margin-left: auto;
    margin-right: auto;
}

.pindex {
	font-style: italic;
    color: #bbbbbb;
    margin-bottom: 25px;
}

.h1index {
	font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.6); 
    color: #f2f2f2;
}

.logo {
    width: 100%;
    height: 102%;
    display: block;
}

.characters {
    width: 100%;      /* fills container width */
    height: 100%;     /* fills container height */
    object-fit: cover; /* crops instead of stretching */
    display: block;/* removes inline spacing issues */
}

.Character-card:hover {
	opacity: 1;
    box-shadow: 0 0 16px 6px #800000;
}

.article-grid article {
    position: relative;
    overflow: hidden;
    height: auto; /* or whatever card height you want */
}

.article-grid img {
	width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover; 
    object-position: center; 
    display: block;
}

/*Mobile view for index*/
.article-grid figcaption {
width: 100%;
    padding: 15px 5px; 
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
}

.bullet {
	color: #8b0000;
    font-size: 2rem;
    margin-right: 0.5rem;
}

.wiki-h1 {
    color: #aeb6bf; 
    font-family: 'Special Elite', serif; 
    text-transform: inherit;
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 5px rgba(255, 255, 255, 0.1);
    margin-bottom: 11px;
    letter-spacing: 2px;
} 

.wiki-h2 {
	color: #ff1a1a;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.wiki-H2 {
	color: #B4B6B9;
    font-family: sans-serif;
}

.wiki-p {
	color: #cccccc;
    line-height: 1.8;
    letter-spacing: 0.7px;
    text-shadow: 1px 1px 2px black;
}

.wiki-timeline {
font-family: 'Oswald', sans-serif;
    color: #d5dbdb;
    letter-spacing: 5px;
    text-align: center;
    text-shadow: 1px 1px 0px #000, -1px -1px 0px rgba(255,255,255,0.2);
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
    padding: 15px 0;
    margin: 40px 0 20px 0;
}

figure {
    margin: 0;
    height: auto;
}

/* Style rule for box sizing applies to all elements */
* {
  box-sizing: border-box;
}

/* Style rules for mobile viewport */

/* Style rule for header */
header {
    top: 0;
    height: 190px;
    color: #ff1a1a;
    text-align: center;
    border-bottom: 2px solid #000;
}

header img {
    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: 'Francois One', sans-serif;
    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 content */
main {
    background-color: #0f0f0f;
    padding: 2%;
    font-size: 1.15em;
    font-family: 'Georgia', serif;
}

.mobile h3 {
    text-shadow: 5px 5px 8px #ccc;
}

article {
    padding: 2%;
}

article h3 {
    text-align: center;
}

article ul {
    margin-left: 10%; 
}

article {
   background-color: #141416;
    border: 1px solid #2a2a2a;
    margin: 2% 0;
    padding: 2%;
}

/* killers article grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(1fr);
    gap: 20px;
}

.tel-link {
    background-color: #404040;
    padding: 2%;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    border-radius: 5px;
}

.btn:hover {
	opacity: 1;
    box-shadow: 0 0 16px 6px #800000;
}

.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% 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, Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
}

#weights, #cardio, #training {
    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%;
}

#form {
	margin-top: 2%;
	background-color: #f2f2f2;
	padding: 2%;
}

#form h2 {
	text-align: center;
}

/* Style rules for form elements */
fieldset, input, select, textarea  { 
    margin-bottom: 2%;
}

fieldset legend {
    font-weight: bold;
    font-size: 1.25em;
}

label {
    display: block;
    padding-top: 3%;
}

form #submit {
    margin: 0 auto;
    border: none;
    display: block;
    padding: 2%;
    background-color: #b3b3b3;
    font-size: 1em;
    border-radius: 10px;
}

/* 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 Viewport: 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;
    }
	
	a {
		text-decoration: none;
	}
    
    nav li:last-child {
        border-right: none;
    }
    
    nav li a {
        padding: 0.1em 0.75em;
    }
	
	li {
		
	}
    
    /* 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;
    } 
    
    aside {
        text-align: center;
        font-size: 1.25em;
        font-style: italic;
        font-weight: bold;
        padding: 2%;
		background-color: #141416;
        border-radius: 0 15px; 
    }
    
    .grid-item4 {
        grid-column: 1 / span 3;
    }
        
    #exercises {
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        background: linear-gradient(to right, #ccc, #fff);
        background-color: #f2f2f2;
        padding: 1% 2%;
    }

    #exercises dt {
        font-weight: bold;
    }

    #exercises dd {
        padding: 0.5% 1% 2% 0;
    } 
    
    .tel-num {
        font-size: 1.25em;
    }
    
    .map {
        width: 600px;
        height: 450px;
    }
	
	/* Tablet viewport: style rules for table	*/
	table {
	border: 1px solid #000;
	border-collapse: collapse;
	margin: 0 auto;	
	width: 100%;			
	}
	
	 caption {
        font-size: 1.5em;
        font-weight: bold;
        padding: 1%;
    }
    
    th, td {
        border: 1px solid #000;
        padding: 2%;
    }
	
	th {
        background-color: #000;
        color: #fff;
        font-size: 1.15em;
    }

    tr:nth-child(odd) {
        background-color: #ccc;
    }
	
	/* Tablet Viewport: Style rule for form element */
    form {
        width: 70%;
        margin: 0 auto;
    }
}

/* Media Query for Desktop Viewport */
@media screen and (min-width: 1015px), print {
    
	.article-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns for desktop */	
	}
	
	.article-grid figcaption {
		text-decoration: none;
        font-size: 1em;
	}
	
    /* 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;
    }
	
	a {
		color: greenyellow
	}
	
    nav li a {
    	display: block;
    	color: #fff;
    	padding: 0.5em 1em;
    	text-decoration: none;
    }
    
    nav li a:hover {
        color: #ff1a1a;
        background-color: #1a0000;
    }
    
    /* Desktop Viewport: Style Rules for main content */
    main {
        clear: left;
    }
    
    main h1 {
        font-size: 1.8em;
    }
    
    article h3 {
        font-size: 1.75em;
    }
    
}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1921px) {
 
    #container {
        width: 1920px;
        margin: 0 auto;
    }
	
	table {
		width: 80%;
	}
    
}

/* Media Query for Print */
@media print {
    
    body {
        background-color: #fff;
        color: #000;
    }
    
}
