/*
 Theme Name:   Voyages
 Description:  Twenty Fifteen Child Theme
 Author:       Antoine ROYER
 Author URI:   https://antoine-royer.me/
 Template:     twentynineteen
 Version:      1.0.0
 Text Domain:  twentyfifteenchild
*/

@media only screen and (min-width: 768px) {
    .site-header {
        padding: 2rem 0;
    }
}

.site-branding {
    text-align: center;
}

.main-navigation .main-menu > li > a {
    color: #767676;
    font-size: 14px;
    font-weight: 400;
}

.entry {
    margin-top: 3rem;
    margin-left: 40px;
    margin-right: 40px;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.entry:first-of-type {
    padding-top: 0;
    margin-top: 0;
    top: 0;
    border-top: 0;
}

.entry .entry-title {
    text-align: center;
    font-size: 35px;
    margin-top: 32px;
}
    .entry .entry-title::before {
        display: none;
    }

.hfeed .entry .entry-header {
    margin: 0 0 30px;
}

.entry .entry-content, 
.entry .entry-summary {
    max-width: inherit;
    margin: 0;
}

.entry .entry-content > *, 
.entry .entry-summary > * {
    max-width: inherit;
}


.entry .entry-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.entry .entry-content img ~ img {
    margin-top: 32px;
}

.entry .entry-content .wp-block-video {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto !important;
}

.wp-block-gallery .blocks-gallery-image figure, 
.wp-block-gallery .blocks-gallery-item figure {
    justify-content: center;
}

.pagination .nav-links {
    justify-content: center;
}

#colophon .site-info {
    display: flex;
    justify-content: space-between;
}

.archive .page-header, 
.search .page-header, 
.error404 .page-header {
    margin-bottom: 40px;
}

.archive .page-header .page-title, 
.search .page-header .page-title, 
.error404 .page-header .page-title {
    display: block;
    text-align: center;
    font-size: 60px;
    color: #111;
}

.error-404.not-found .page-title, 
.error-404.not-found .page-content, 
.no-results.not-found .page-title, 
.no-results.not-found .page-content {
    text-align: center;
}

.entry .entry-content .wp-video {
    margin: 0 auto;
    max-width: 100%;
    max-height: 90vh;
    width: auto !important;
    height: auto;
}

.entry .entry-content .wp-video video {
    width: 100%;
    height: auto;
}
