body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: #282c34;
    color: #bec4cf;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    margin: 0 auto;
}

div.content {
    flex: 1;
    max-width: 80%;
    margin: auto auto 20px auto;
}

hr {
    border-top: thin solid #abb2bf;
}

hr.small {
    max-width: 25%;
    margin-left: 0;
}

p {
    margin-bottom: -5px;
}

p.first {
    margin-top: 0;
}

a:link {
    color: #56b6c2;
    text-decoration: none;
}

a:hover {
    color: #61afef;
    text-decoration: none;
}

a:visited {
    color: #c678dd;
    text-decoration: none;
}

div.info {
    padding: 10px 20px 20px 15px;
    border-left: thick solid #61afef;
    border-radius: 5px;
    background-color: #1e222a;

    h2 {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        font-family: 'Source Code Pro', monospace;
        font-weight: initial;
        color: #61afef;
        margin-top: 10px;
    }

    dl {
        margin: 0px 0px 0px 10px;
    }

    h6 {
        margin-bottom: 0;
    }

    svg {
        stroke: #61afef;
        padding-right: 10px;
    }
}

div.warn {
    padding: 10px 20px 20px 15px;
    border-left: thick solid #e5c07b;
    border-radius: 5px;
    background-color: #1e222a;

    h2 {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        font-family: 'Source Code Pro', monospace;
        font-weight: initial;
        color: #e5c07b;
        margin-top: 10px;
    }

    dl {
        margin: 0px 0px 0px 10px;
    }

    h6 {
        margin-bottom: 0;
    }

    svg {
        stroke: #e5c07b;
        padding-right: 10px;
    }
}

div {
    margin-bottom: 30px;
}

.topper-h1 {
    color: #e5c07b;
    text-decoration: none;
    font-weight: initial;
    font-size: 2.75em;
    margin-top: 0.3em;
    margin-bottom: -15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-shadow: rgba(0, 0, 0, 0.25) 4px 10px 10px;
    display: inline-block;
    justify-content: center;
}

.topper-h2 {
    text-decoration: none;
    font-weight: initial;
    margin-top: 0.75em;
    margin-bottom: 0.45em;
    text-shadow: rgba(0, 0, 0, 0.25) 4px 10px 10px;
    display: inline-block;
    justify-content: center;
}

.body-header {
    font-family: 'Source Code Pro', monospace;
    color: #e5c07b;
    border-left: medium solid #e5c07b;
    border-radius: 5px;
    padding: 0px 0px 0px 10px;
    margin: 40px 0px 10px 0px;
    text-shadow: rgba(0, 0, 0, 0.25) 2px 5px 5px;
}

.subheader {
    font-family: 'Source Code Pro', monospace;
    color: #e5c07b;
    border-left: medium solid #e5c07b;
    border-radius: 3px;
    padding: 0px 0px 0px 10px;
    margin: 10px 0px 10px 0px;
    text-shadow: rgba(0, 0, 0, 0.25) 2px 5px 5px;
}

.body-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

figure {
    display: inline-block;
    margin: 0px 0px 10px 0px;
    padding: 0;
}

figure img {
    vertical-align: top;
    width: 200px;
}

figure figcaption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7em;
    font-style: italic;
    text-align: center;
    caption-side: bottom;
    margin: 8px 0px 0px 0px;
    padding: 0;
    width: 200px;
}

.codebox {
    font-family: 'Source Code Pro', monospace;
    background-color: #1e222a;
    border-radius: 10px;
    padding: 10px 10px 10px 20px;
    white-space: pre-wrap;
    line-height: 0.75em;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

details {
    cursor:pointer;
}

dt {
    font-weight: bold;
}

summary {
    background-color: #32363e;
    color: #bec4cf;
    padding: 5px 10px;
    display: inline-block;
    border-left: medium solid #abb2bf;
    border-radius: 5px;
    margin: 8px 4px 8px 0px
}

ul {
    line-height: 25px;
    background: #32363e;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px 15px 30px;
    border-radius: 10px;
}

ol {
    line-height: 25px;
    background: #32363e;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 10px 15px 30px;
    border-radius: 10px;
}

ul.pros {
    border-left: medium solid #98c379;
}

ul.neutrals {
    border-left: medium solid #e5c07b;
}

ul.cons {
    border-left: medium solid #e06c75;
}

.ques {
    margin-left: -15px;
    list-style: none;
}

.ans {
    margin-left: 5px;
    margin-bottom: 5px;
    list-style: none;
}

.attn-label {
    background-color: #282c34;
    border-left: medium solid #56b6c2;
    border-radius: 5px;
    padding: 2px 4px 4px 4px;
    margin: 0px 0px 0px 4px;
    font-weight: bold;
}

.download-btn {
    background-color: #1e222a;
    border-left: medium solid #56b6c2;
    border-radius: 5px;
    margin: 10px 0px 10px 0px;
    padding: 5px 5px 5px 5px;
    font-weight: bold;
}

div.grid {
    display: flex;
}

div.col {
    flex: 1;
}

.gridimg {
  height: auto;
  width: 100%;
}

.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}

footer {
    background: #32363e;
    padding: 20px 0px 0px 0px;
    margin-top: auto;
    box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.6),
                inset 0 -60px 20px -20px rgba(0,0,0,0.6);
    flex: 0 0 50px;

    svg {
        fill: #bec4cf;
        padding: 0px 10px 0px 10px;
    }

    a {
        text-decoration: none;
    }

    div {
        margin-bottom: 0;
        padding-bottom: 30;
    }
}

table td, table td {
    vertical-align: top;
    align: center;
    padding: 0px 30px 0px 30px;
}

.socialbar {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.copyright {
    background-color: #282c34;
    text-align: center;
    padding: 10px 0px 10px 0px;
    margin: 0;

    .socials {
        padding: 20px 0px 10px 0px;
        margin: 0px;
    }
}

.back-to-top {
    position: fixed;
    right: 15px;
    bottom: 0px;
    padding: 8px 10px 5px 10px;
    margin-bottom: 0;
    background-color: #1e222a;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    line-height: 1.4em;
    font-size: 0.8em;
    a {
        border-left: medium solid #56b6c2;
        border-radius: 5px;
    }
}

/* Animations */

details[open] summary ~ * {
    animation: sweep-open .25s ease-out;
}

@keyframes sweep-open {
    0%    {opacity: 0; margin-left: -10px}
    100%  {opacity: 1; margin-left: 0px}
}

.transition-fade {
  transition: 0.4s ease;
  opacity: 1;
}

html.is-animating .transition-fade {
  opacity: 0;
  transform: translateX(100pt);
}

html {
  scroll-behavior: smooth;
}

/* Wavy text yippee */

.wavy {
    text-align: center;
    padding: 0;
    white-space-collapse: discard;
    display: flex;
    display: -webkit-flex;
}

.wavy span {
    display: inline-block;
    -webkit-animation: wave-text 0.6s ease-in-out infinite;
            animation: wave-text 0.6s ease-in-out infinite;
}

.wavy span:nth-of-type(1) {
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
}
.wavy span:nth-of-type(2) {
    -webkit-animation-delay: 0.1s;
            animation-delay: 0.1s;
}
.wavy span:nth-of-type(3) {
    -webkit-animation-delay: 0.2s;
            animation-delay: 0.2s;
}
.wavy span:nth-of-type(4) {
    -webkit-animation-delay: 0.3s;
            animation-delay: 0.3s;
}
.wavy span:nth-of-type(5) {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
}
.wavy span:nth-of-type(6) {
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
}
.wavy span:nth-of-type(7) {
    -webkit-animation-delay: 0.6s;
            animation-delay: 0.6s;
}
.wavy span:nth-of-type(8) {
    -webkit-animation-delay: 0.7s;
            animation-delay: 0.7s;
}
.wavy span:nth-of-type(9) {
    -webkit-animation-delay: 0.8s;
            animation-delay: 0.8s;
}
.wavy span:nth-of-type(10) {
    -webkit-animation-delay: 0.9s;
            animation-delay: 0.9s;
}
.wavy span:nth-of-type(11) {
    -webkit-animation-delay: 1.0s;
            animation-delay: 1.0s;
}
.wavy span:nth-of-type(12) {
    -webkit-animation-delay: 1.1s;
            animation-delay: 1.1s;
}

@-webkit-keyframes wave-text {
    00% {
        transform: translateY(0em);
    }
    50% {
        transform: translateY(-0.15em);
    }
    100% {
        transform: translateY(0em);
    }
}

@keyframes wave-text {
    00% {
        transform: translateY(0em);
    }
    50% {
        transform: translateY(-0.15em);
    }
    100% {
        transform: translateY(0em);
    }
}
