/*
Theme Name: Minipage
Author: Sean Roberti
Description: A simple no-frills theme, easy to customise by editing its theme files with HTML, PHP and CSS.
Version: 1.0.4.1
*/

body {
    font-family: 'Poppins', arial, sans-serif;
    font-size: 1.125rem;
    color: #444;
    margin: 0;
}

h1 {
    font-size: clamp(2rem, 8dvw, 3.5rem);
    text-align: center;
}

h2 {
    font-size: clamp(1.5rem, 5.6dvw, 2.5rem);
    margin: 3rem 0 1.5rem;
}

h3 {
    font-size: clamp(1.4rem, 4dvw, 1.8rem);
    font-weight: bold;
    margin: 2rem 0 1rem;
}

h4 {
    font-size: clamp(1.2rem, 3dvw, 1.6rem);
    font-weight: 400;
    margin: 1rem 0 0;
}

h5 {
    font-size: clamp(1.125rem, 2dvw, 1.4rem);
    text-transform: uppercase;
    font-weight: 700;
}

p {
    line-height: 1.3em;
}

code, pre, kbd, samp, tt, var {
    font-family: Monaco, Consolas, monospace;
}

time {
    white-space: nowrap;
}

button, input[type=button], input[type=submit], input[type=reset] {
    cursor: pointer;
}
button[disabled], input[type=button][disabled], input[type=submit][disabled], input[type=reset][disabled] {
    cursor: inherit;
}

table {
    border-collapse: collapse;
}

nav li {
    list-style: none;
}

article.page {
    padding: 1em 3rem;
    margin: 0 auto;
    max-width: 1200px;
    display: block;
}
@media(max-width: 1000px) {
    article.page {
        padding: 1em 1.5rem;
    }
}

#minipage-sidebar-top, #minipage-sidebar-banner-bottom {
    margin: 0 auto;
    text-align: center;
}

#logo-row > .custom-logo-link, #logo-row > #minipage-sidebar-logo {
    align-self: self-start;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

#logo-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

#logo-row .custom-logo-link img {
    max-width: 100vmin;
    max-height: 100vmin;
    width: 100%;
    height: 100%;
}

#content-row {
    display: flex;
    flex-direction: row;
}
#content-row > * {
    flex-grow: 0;
    flex-shrink: 1;
}
#content-row > #content {
    flex-grow: 1;
}

.error-unavailable-path {
    margin: 2rem;
}
.error-unavailable-path p, .under-construction p {
    text-align: center;
    font-size: x-large;
    margin: 1.5rem;
}

.skip-link, .skip-link:hover, .skip-link:active {
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    margin: 0 !important;

    padding: .5rem .75rem !important;
    display: block !important;
    position: absolute !important;

    color: #FFF0 !important;
    background: #FFF0 !important;

    font-size: .75rem !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-decoration: underline !important;
    line-height: 1.2 !important;
    word-wrap: normal !important;
    white-space: nowrap !important;
}
