/*
Title: Style
Authors: Spencer T. Crosland
Purpose: General Styling for all pages in Stronghold Strategy Guide Site
*/

/* Fonts  */
.oswald {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Headings use Oswald */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald";
}

/* Paragraphs use Inter */
p {
    font-family: "Inter";
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styles */
body {
    padding: 0;
    margin: 0;
    background: #1C1C1E;
}

/* Header */
header {
    background: url(../Images/Styling/header.gif) no-repeat center;
    background-size: cover;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 30px 20px;
    border-bottom: 1px solid #ddd;
}

header img {
    border: 5px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px #ffffff;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 160px;
    width: auto;
}

/* Navigation */
nav {
    background: #7F00FF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    height: 50px;
    border-top: 3px solid #000;
    border-bottom: 5px solid #000;
    padding: 0 20px;
    box-sizing: border-box;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    text-shadow: 0px 0px 3px #7F00FF;
    transition: background 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
    background: url(../Images/Styling/axe.gif) center/cover no-repeat;
    background-size: 50px;
    background-color: #32CD32;
    text-shadow: 4px 4px 2px #7F00FF;
}

/* MAIN CONTENT */
h1 {
    text-align: center;
    font-size: 3em;
    color: #32CD32;
    text-shadow: 2px 2px 5px #7F00FF;
    margin-bottom: 20px;
}

h2 {
    color: #7F00FF;
    text-shadow: 2px 2px 5px #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    color: #ffffff;
    text-shadow: 2px 2px 5px #7F00FF;
    margin-bottom: 20px;
    text-align: center;
}

p {
    color: #ffffff;
    text-shadow: 2px 2px 5px #32CD32;
    margin-bottom: 20px;
    text-align: center;
}

main {
    margin: 0 40px;
}

main img {
    display: block;
    margin: 0 auto 20px auto;
    border: 5px solid #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px #ffffff;
}

/* Column and row setup */
.row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.column {
    width: 30vw;
    max-width: 320px;
    min-width: 220px;
    padding: 30px;
}

/* Image sizes */
.eye_of_ender img,
.Niniabrain img {
    width: 100%;
    height: auto;
    display: block;
}

/* Manual / Ninjabrain images */
.Manual_Video img,
.Ninjabrain_Video img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.Ninja_Step_One img {
    width: 300px;
    height: auto;
}

.Ninja_Step_Two img {
    width: 700px;
    height: auto;
}

/* FOOTER */
footer {
    background: #32CD32;
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    text-align: center;
    padding: 15px;
    border: 5px solid #7F00FF;
    border-radius: 20px;
    box-shadow: 0 0 20px #ffffff;
    color: #32CD32;
    text-shadow: 1px 1px 3px #ffffff;
}
