body {
    padding-top: 2.5rem;
}

.sidebar {
    border-right: none;
    height: calc(var(--vh, 1vh) * 100);
    min-width: 100%;
    max-width: 100%;
    right: 0;
    width: 100%;
}

.sidebar > section {
    padding: 1rem 2rem;
}

.sidebar ul.links {
    font-size: 1rem;
}

.sidebar-header {
    display: none;
}

.sidebar-content {
    margin-top: 2rem;
}

.sidebar .sidebar-weather {
    font-size: 0.8rem;
    padding: 0.5rem;
}

.sidebar .sidebar-account {
    padding: 0.5rem;
}

.sidebar-sponsorship img {
    min-height: 0;
    max-height: 5rem;
    max-width: 100%;
}

.sidebar-collapsed {
    transform: translateY(-110vh);
}

.sidebar-expanded {
    transform: translateY(0);
}

.section,
.main-header,
.main-footer {
    padding: 0.5rem 1rem;
}

.main-header {
    display: flex;
}

.wide,
.narrow,
.centered {
    max-width: 100%;
}

.two-column {
    flex-direction: column;
    justify-content: flex-start;
}

.two-column .column {
    margin: 0;
    width: 100%;
}

.two-column .sub-section {
    margin: 1rem 0;
}

.project-media {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
}

.project-media > div {
    margin: 1rem 0;
}

.article {
    max-width: 90%;
}

.article > img {
    max-height: 500px;
    max-width: 100%;
}

.form-default {
    max-width: 100%;
    padding: 3rem 1rem;
}

fieldset {
    padding: 2rem 0.5rem;
}

input[type="text"],
input[type="url"],
input[type="password"],
input[type="email"] {
    width: 100%;
}

textarea.summary {
    width: 100%;
}

.section-body.grid {
    grid-template-columns: 1fr;
}

.sub-section.account img,
.sub-section.account video {
    width: 7rem;
}

.sub-section.account h1 {
    font-size: 1.5rem;
    margin-top: -0.5rem;
}

.sub-section.account li {
    font-size: 0.8rem;
}

.gallery .section-image {
    height: 15rem;
}

.half {
    width: 100%;
}

.stretch {
    grid-column: span 1;
}

.post-header {
    font-size: 1.2rem;
}

.article-title {
    font-size: 2.5rem;
}

.comment-footer {
    align-items: flex-start;
    flex-direction: column;
}

.comment-controls {
    text-align: left;
}

.comment-author {
    margin-bottom: 1.5rem;
}

.comment-author img {
    height: 2rem;
    width: 2rem;
}

figure,
figure img,
figure video {
    margin: 1rem auto;
    max-height: 500px;
    max-width: 100%;
}

.reference .card {
    margin: 2rem 0;
}

.example-output {
    padding: 2rem 0;
}

ul.rates {
    margin: 2rem 0;
}

.image-left .section-image,
.image-left .section-image img,
.image-left .section-image div {
    width: 2.2rem;
}

.image-left .section-image {
    margin-right: 1rem;
    padding: 5px 3px;
}

.image-left .section-image div {
    height: 1.5rem;
}

.image-right .section-image,
.image-right .section-image img,
.image-right .section-image div {
    width: 3rem;
}

.image-right .section-image div {
    height: 3rem;
}

#floating-sidebar-control {
    --fa-primary-color: var(--theme-foreground);
    --fa-secondary-color: var(--theme-accent);
    align-items: center;
    background: linear-gradient(120deg, var(--theme-background), var(--theme-background-alt));
    border-radius: 100%;
    bottom: 40px;
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    font-size: 20px;
    height: 60px;
    justify-content: center;
    position: fixed;
    width: 60px;
}

#floating-sidebar-control.left {
    left: 20px;
}

#floating-sidebar-control.right {
    right: 20px;
}
