/* Combined style sheet for general page and timer styles, including nav bar styling */

body {
    margin: 0 10%;
    font-family: Verdana, sans-serif;
    font-size: 100%;
    color: #fff;
    background-color: #000;
}

.logo-container, .timer-container {
    text-align: center;
}

h1, h2, h3, p, footer {
    text-align: left;
    font-family: serif;
    font-weight: normal;
    color: #fff;
}

h1 {
    font-size: 2em; /* Adjusted for consistency */
    text-transform: uppercase;
    border-bottom: 1px solid #FCD12A;
    margin-top: 30px;
    padding: 0.5em;
    text-align: center;
}

h2 {
    font-size: 1.35em;
    text-transform: uppercase;
}

h3 {
    font-size: 1.25em;
}

p {
    font-size: 1em;
}

a {
    text-decoration: none;
    padding-bottom: .2em;
    color: #fff;
}

/* Navigation Bar Styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 10%; /* Align with the body margin */
    right: 10%; /* Align with the body margin */
    justify-content: center;
    width: auto; /* Adjusted to work with left and right margins */
    z-index: 1000;
    background-color: #000; 
}

nav, nav div {
    text-align: center;
}

nav a:hover {
    background-color: #ddd;
    color: black;
}

nav div a {
    display: inline-block; /* Align links in a row */
    height: 65px;
    line-height: 65px;
    padding: 10px 15px;
    color: #a1a1a1;
    background-color: #000;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
}

/* Timer Container Styling */
.timer-container {
    background-color: #1e1e2f; 
    color: #ffffff; 
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #29294e;
    transition: transform 0.2s ease-in-out;
}

/* Hover Effect for Timer Container */
.timer-container:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}

/* Input Styling */
input[type="number"] {
    background-color: #29294e;
    color: #ffffff;
    border: 2px solid #3e3e5e;
    border-radius: 5px;
    padding: 10px;
    width: 80px; 
    margin: 0 10px; 
}

input[type="number"]:focus {
    border-color: #7575ff; 
    outline: none;
}

.timer-container input[type="text"] {
    font-size: 16px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    width: 200px; 
    margin-bottom: 20px;
    transition: border-color 0.3s;
    color: #000;
    background-color: #fff;
}

.timer-container input[type="text"]:focus {
    border-color: #007bff;
}

/* Timer Display Enhancement */
.timer-container div {
    background-color: #252547;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    display: inline-block; 
}

/* Button Styling Adjustments */
button {
    background-color: #4a4a6a; 
    border: 2px solid #62627b; 
    padding: 10px 20px;
    margin-top: 20px;
}

button:hover {
    background-color: #62627b; 
    border-color: #8a8ab3;
}

button:active {
    background-color: #29294e; 
}

footer {
    text-align: center;
    padding: 10px;
    width: 100%;
}

/* Adjustments for the fixed-header and body margin */
body {
    padding-top: 80px; /* Make room for the fixed header */
}
