/* =============================================================================
   Voidspace Blog Styles
   Ported from Startonate/src/main/webapp/css/blog.css
   ========================================================================== */

body {
    margin: 0;
    color: #DDD;
    background: radial-gradient(circle, rgb(70 60 74) 0%, rgba(73,76,92,0.4) 50%, rgba(0,0,0,0) 100%) fixed, url(/blog/images/stars-background1.png) fixed;
    font-family: Tahoma, sans-serif;
    text-align: center;
}

nav a.mobile-menu {
    background-image: none !important;
    padding: 10px 15px;
    font-size: 24px;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

video {
    max-width: initial;
}

h1 {
    font-size: x-large;
    line-height: initial;
    margin: 10px auto;
    margin-top: 40px;
}

h2 {
    margin-top: 40px;
    font-size: 20px;
    color: #a7874b;
    line-height: 32px;
    font-weight: 600;
    text-shadow: none;
}

p, li {
    font-size: large;
    margin: 10px auto;
    line-height: 28px;
}

a {
    text-decoration: none;
}

a:hover {
    filter: brightness(1.5);
}

/* Full-width media */
.full-width-video-container {
    height: 120px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
}

.full-width-video-container video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.full-width-image {
    position: relative;
    left: 0;
    right: 0;
    height: 200px;
    background-size: cover;
    background-position: center center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Content sections */
.page-column {
    max-width: 700px;
    margin: 0 auto;
    background-color: #DDD;
    padding: 2%;
    padding-top: 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 20px;
    border: 1px solid grey;
    color: #333;
    text-shadow: none;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-column li { list-style: initial; }
.page-column ul { padding: revert; }
.page-column h1 { color: #333; text-shadow: none; }
.page-column p { text-shadow: none; }
.page-column img { margin: 0 auto; }

.page-column .img-caption {
    font-size: 90%;
    font-style: italic;
    margin-bottom: 15px;
}

.page-column a { color: #0071e6; }

.parallax img {
    max-width: 100%;
    margin: 0;
}

/* Share buttons */
#share-buttons {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}

#share-buttons .share-click {
    font-size: 28px;
    padding: 0 8px;
    color: #DDD;
    transition: color 0.2s;
}

#share-buttons .share-click:hover {
    color: #ecae58;
    filter: none;
}

/* Blog category listing */
.blog-category {
    height: 80px;
    overflow: hidden;
}

.blog-category h2 { cursor: pointer; }
.blog-category h2:hover { filter: brightness(1.5); }
.blog-category.active { height: inherit; }

/* Blog header (article page) */
.blog-header {
    margin-top: 108px;
    text-align: center;
}

.blog-header .blog-date {
    text-align: center;
    margin-top: 10px;
}

/* Blog entry cards */
.blog-entry {
    margin-bottom: 20px;
    background-color: rgba(0,0,0,0.3);
    border-radius: 18px;
}

.blog-entry:hover { filter: brightness(1.5); }

.blog-entry .blog-date {
    font-size: 14px;
    margin-bottom: 4px;
    color: #AAA;
}

.blog-entry .blog-title { font-size: 18px; }
.blog-entry a:hover { text-decoration: underline; }

.blog-entry .thumbnail {
    width: 100px;
    height: 100px;
    display: table-cell;
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.blog-entry .content {
    display: table-cell;
    vertical-align: top;
    padding: 10px;
    text-align: left;
}

.bottom-play-button-container {
    margin-bottom: 50px;
}

/* YouTube embed */
.internal-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 15px;
}

.internal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =============================================================================
   Footer (ported from blog.css footer section)
   ========================================================================== */

footer {
    background: url(/images/v2/footer-bg-repeat.png);
    background-size: 100% 100%;
    overflow: hidden;
    font-size: 12px;
    padding-top: 25px;
    margin-top: -30px;
}

footer .wrap {
    width: 90%;
    overflow: hidden;
    margin: 0 auto;
    padding: 50px 0 38px;
}

footer .logo {
    float: none;
    margin: 0 auto 30px;
}

footer .logo img {
    float: left;
    width: 65%;
}

footer .logo img.small {
    float: right;
    width: 20%;
}

footer .right {
    width: 100%;
    float: none;
    margin: 0 auto;
}

footer .social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto 16px;
}

footer .social a {
    display: block;
    width: 30px;
    height: 30px;
}

footer .social a:hover {
    filter: none;
    transform: none;
}

footer .social img {
    display: block;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

footer .bottom {
    float: none;
    overflow: hidden;
    width: 300px;
    margin: 0 auto;
    color: #EEE;
}

footer .bottom p {
    float: left;
    font-size: 11px;
    margin: 5px 0 0;
}

footer .bottom a {
    margin: 0 20px 0 0;
    color: #FFF;
    float: left;
}

footer .bottom a:hover {
    color: #ecae58;
}

.footer-link {
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .blog-header { margin-top: 20px; }
}

@media screen and (max-width: 500px) {
    h1 { font-size: 1.5em; line-height: initial; }
    footer .logo { width: 300px; }
    footer .bottom { width: 260px; }
    footer .bottom a { margin: 0 10px 0 0; }
}
