/* Common styles for Storm The Field website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background: url('../images/Background.png') no-repeat center top fixed;
    background-size: cover;
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #00bfff;
    text-shadow: 0 0 10px #00bfff;
    display: flex;
    align-items: center;
}

.logo span {
    color: #ffd700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bfff;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

h1, h2 {
    color: #00bfff;
    margin-bottom: 1rem;
}

.content {
    margin-top: 2rem;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    text-align: center;
    margin-top: auto;
}

/* Simple card styles for units/abilities */
.card {
    background: rgba(255,255,255,0.1);
    border: 1px solid #00bfff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.centered-img {
    display: block;
    margin: 0 auto;           /* Centers horizontally */
    margin-bottom: 1rem;      /* Adds nice spacing below the image */
}

.moving:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    background: #07bbf7;
    color: #000;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #c8c8c9;
}

/* Sets the default, unvisited link color */
a:link {
  color: #007bff;
}

/* Forces the visited link to stay the exact same color */
a:visited {
  color: #007bff;
}