/* 
  Author: Travis Notice
  File: styles.css
  Date: November 10 2025
*/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

/* sticky footer*/
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;          
    font-family: Arial, sans-serif;
    background-color: #101010;
    color: white;
    line-height: 1.6;
}

#container {
    flex: 1;                    
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;             
}

main {
    flex: 1;                   
    padding: 20px;
    text-align: center;
}

/* navigation */
nav {
    background-color: #cc0000;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* main content*/
#mission {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

/* sticky footer */
footer {
    background-color: #cc0000;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    color: white;
    
}


/* Champions grid layout */
.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

/* Card base */
.champ-card {
    display: block;
    background: #111;
    border: px solid #444;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.champ-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(204, 0, 0, 0.7)
   
}

/*render background */
.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
}

/* render */
.card-media .render {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
   
}

/* Card text */
.card-body {
    padding: 10px 12px 14px;
}

.champ-name {
    font-family: Impact, Haettenschweiler, "Arial Black", ;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FF0004;
    margin-bottom: 4px;
    font-size: 1.00rem;
}

.champ-title {
    color: #ddd;
    font-size: 0.95rem;
	font-family: "Arial Black"
}

.zoom {
  transform: scale(5); 
  transform-origin: center;
}

nav ul li a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: bold;
}

