body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.after-scrolling {
    position: relative;
    top: 50%;
    background-color: #ffffff;
    width: 100%;
}

.title-image {
    width: auto;
    height: max(15vw, 15vh);
    margin-top: min(-7.5vw, -7.5vh);
}

.title-title {
    font-size: 64pt;
    margin-bottom: 24px;
    margin-top: 24px;
}

.title-subtitle {
    margin: 0;
}

a[href] {
    text-decoration: none;
    color: #444444;
}

img {
    height: auto;
}

#main {
    width: 100%;
    height: 100%;
}

.title-box {
    width: 100%;
    display: flex;
}

.title-content {
    margin-left: auto;
    margin-right: auto;
    align-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.download-button {
    background-color: #dede6c;
    padding: 15px;
    color: #ffffff;
    width: max-content;
}

#download-button {
    display: inline-flex;
    flex-direction: row;
}

#mac-universal-note {
    margin: 0;
    margin-top: 7px;
    width: max-content;
}

#download-content {
    display: flexbox;
    justify-content: center;
    align-items: center;
}

.download-text {
    font-size: 16pt;
    margin-bottom: 0px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.download-icon {
    font-size: 24pt;
}

#download-source {
    margin-top: 20px;
}

.details-entry {
    padding: 50px;
    display: flex;
    flex-direction: row;
}

.details-content {
    margin-left: 25px;
}

.details-image-container {
    width: 30%;
    min-width: 30%;
    max-width: 620px;
    height: auto;
}

@media screen and (min-width: 1550px) {
    .details-image-container {
      max-width: 30%;
      min-width: 620px;
      width: 620px;
    }
}

@media screen and (max-width: 800px) {
    /*.title-image {
        height: 40vw;
        margin-top: -20vw;
    }*/
    .details-entry {
        flex-direction: column;
    }
    .details-image-container {
        width: 100%;
    }
    .details-content {
        margin-left: 0px;
    }
    .mobile-hidden {
        display: none;
    }
    .footer-box {
        font-size: 10pt;
    }
}

@media screen and (max-width: 400px) {
    .title-title {
        font-size: 56px;
    }
}

.details-image {
    width: 100%;
    height: auto;
}

.details-title {
    font-size: 24pt;
    font-weight: bolder;
    margin-top: 15px;
    margin-bottom: 15px;
}

pre {
    display: inline;
}

#scrolling-box {
    width: 100%;
    height: 50%;
    background-color: #191919;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    filter: brightness(50%);
    position: fixed;
}

#scrolling-content {
    animation: moveSlideshow 60s linear infinite;
    -webkit-animation: moveSlideshow 60s linear infinite;
    -moz-animation: moveSlideshow 60s linear infinite;
    float: none;
    vertical-align: top;
    height: 100%;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    display: flex;
    flex-direction: row;
}

.scrolling-image {
    height: 100%;
    float: none;
    vertical-align: top;
    overflow: visible;
}

.footer-box {
    background-color: #eeeeee;
    display: flex;
    flex-direction: row;
    height: 50px;
    align-items: center;
}

.footer-box > * {
    padding: 10px;
}

.docs-header {
    display: flex;
    flex-direction: row;
    height: 50px;
    background-color: #eeeeee;
    align-content: center;
    align-items: center;
    width: 100%;
}

.docs-header > * {
    margin-left: 10px;
    margin-right: 10px;
}

.docs-header-logo {
    width: 32px;
    height: 32px;
    margin-right: 12px;
}

.docs-box {
    display: flex;
    flex-direction: row;
    min-height: calc(100% - 100px);
}

#docs-sidebar {
    width: 25%;
    max-width: 300px;
    background-color: #dddddd;
    padding: 25px;
}

#docs-sidebar > h3:first-child, #docs-content > h1:first-child {
    margin-top: 0;
}

#docs-content {
    padding: 25px;
    width: 75%;
    min-width: calc(100% - 300px);
    overflow: hidden;
}

#docs-content p {
    line-height: 1.5;
}

#docs-content img {
    max-width: 100%;
    height: auto;
}

.hotdog {
    display: none;
}

@media screen and (max-width: 480px) {
    #docs-sidebar {
        position: fixed;
        top: 50px;
        transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transition: ease-out .25s;
        z-index: 5;
        width: 200px;
        height: calc(100vh - 100px);
        overflow: scroll;
    }

    #docs-sidebar.open {
        transform: translateX(0%);
        -moz-transform: translateX(0%);
        -webkit-transform: translateX(0%);
    }

    #docs-content {
        transition: ease-out .25s;
    }

    #docs-content.gray {
        filter: brightness(50%);
    }

    .docs-header {
        position: sticky;
        top: 0px;
        z-index: 10;
    }

    .docs-header h4 {
        display: none;
    }

    .hotdog {
        display: inline;
    }
}

#cookie-banner {
    position: fixed;
    bottom: 0px;
    width: calc(100% - 28px);
    padding: 5px 14px;
    display: flex;
    opacity: 0;
    align-items: center;
    justify-content: space-between;
    background-color: #eeeeee;
    transition: all 0.5s;
}

#cookie-banner.open {
    opacity: 100%;
}

.cookie-banner-close {
    height: 20px;
    padding: 7px 10px;
    background-color: #dede6c;
    color: #000000;
    border: none;
    cursor: pointer;
}

.popup {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 64, 64, 0.5);
    transition: background-color 1s;
    z-index: 50;
}

.popup.hidden {
    background-color: rgba(64, 64, 64, 0);
    height: 0;
}

.popup .popup-inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    min-width: 50%;
    max-width: 66%;
    min-height: 20%;
    background-color: #dddddd;
    transition: all 1s;
    padding: 8px;
    margin: 0 auto;
}

.popup.hidden .popup-inner {
    top: -150vh;
}

@-webkit-keyframes moveSlideshow {
    100% { 
        -webkit-transform: translateX(-50%);  
    }
}

@-moz-keyframes moveSlideshow {
    100% { 
        -moz-transform: translateX(-50%);  
    }
}

@keyframes moveSlideshow {
    100% { 
        transform: translateX(-50%);  
    }
}

@-webkit-keyframes fade {
    100% { 
        opacity: 100%;
    }
}

@-moz-keyframes fade {
    100% { 
        opacity: 100%;
    }
}

@keyframes fade {
    100% { 
        opacity: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: #eeeeee;
        background-color: #191919;
    }

    a[href] {
        color: #aaaaaa;
    }

    .after-scrolling {
        top: 50%;
        background-color: #191919;
    }

    .download-button {
        background-color: #b3b358;
        color: #eeeeee;
    }

    .cookie-banner-close {
        background-color: #b3b358;
        color: #eeeeee;
    }

    #scrolling-box {
        filter: brightness(90%);
    }

    .footer-box {
        background-color: #222222;
    }

    #cookie-banner {
        background-color: #222222;
    }

    .docs-header {
        background-color: #222222;
    }

    #docs-sidebar {
        background-color: #333333;
    }

    .popup .popup-inner {
        background-color: #222222;
    }
}
