/*
Theme Name: Paul Buske Assignment 5
Template: assignment3b
Author: Paul Buske
Description: Child theme for CSCI 4460 Assignment 5, extending the Paul Buske Assignment 3B parent theme.
Version: 1.0
*/

article.first {
    border: 5px solid #333;
    padding: 1em 1.25em;
    margin: 0 0 1.5em 0;
}

article.first h2 {
    margin-top: 0;
}

article.post {
    padding: 0.5em 0;
    margin-bottom: 1em;
}

article.post + article.post,
article.first + article.post {
    border-top: 1px solid #ddd;
    padding-top: 1em;
}

.post-meta {
    color: #777;
    font-size: 0.875em;
    margin: 0.25em 0 0.75em 0;
}

.site-description {
    color: #555;
    font-style: italic;
    margin: 0 0 0.5em 0;
}

.top-nav {
    margin: 0.5em 0 1em 0;
}

.top-nav ul.top-menu,
.top-nav .menu,
.top-nav .page_item_wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25em;
}

.top-nav li {
    display: inline-block;
}

.top-nav a {
    text-decoration: none;
    font-weight: 600;
}

.top-nav a:hover {
    text-decoration: underline;
}

#slider-container {
    width: 640px;
    max-width: 100%;
    text-align: center;
    margin: 1em auto 0 auto;
    overflow: hidden;
    position: relative;
}

#image-container {
    display: flex;
    width: 640px;
    position: relative;
    left: 0;
    transition: left 1s;
}

#image-container img {
    width: 640px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

#button-container {
    position: relative;
    top: -50px;
    margin-bottom: -40px;
    z-index: 2;
}

.slider-button {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 6px;
    border-radius: 10px;
    background-color: orange;
    border: 1px solid black;
    cursor: pointer;
    padding: 0;
}

.slider-button:hover {
    background-color: #ff8800;
}

.site-footer {
    margin-top: 2em;
    padding: 1em 0;
    border-top: 1px solid #ccc;
    text-align: center;
    font-size: 0.9em;
    color: #555;
}

.site-footer a {
    color: inherit;
    text-decoration: underline;
}

.site-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.site-header-overlay {
    background: rgba(0, 0, 0, 0.45);
    padding: 30px 25px;
    border-radius: 8px;
    display: inline-block;
    max-width: 90%;
}

.site-header h1 {
    margin: 0 0 10px 0;
}

.site-header h1 a,
.site-header .site-description {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    text-decoration: none;
}

.site-header .site-description {
    font-style: italic;
    font-size: 1.1em;
    margin: 0;
}

}