* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    text-align: center;
    overflow-y: scroll;
}
main {
    flex: 1;
}
nav {
    display: flex;
    justify-content: center;

    background-color: #292929;
    width: 100%;
    text-align: center;
    border-radius: 0px 0px 8px 8px;
    font-size: 1.8em;
}
nav a {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
    min-width: 80px;
    padding: 8px 8px;
}
nav a:hover {
    background: #3f3f3f;
}
nav a.active {
    background: #5f5f5f;
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

#home-page {
    margin-bottom: 15px;
}

#about-page {
    margin-bottom: 3px;
}

h1 {
    color: #ffffff;
    font-size: 8vmin;
    margin-bottom: 10px;
    margin-top: 0px;
    padding-top: 4px;
    text-align: center;
}
.info-top {
    text-align: center;
    font-size: 3vmin;
    margin-bottom: 15px;
}

.step {
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    text-align: center;

    border: 1px solid #292929;
    border-radius: 8px;
}

.download-button {
    margin-bottom: 20px;
    font-weight: bold;
    display: inline-block;
    padding: 15px 30px;
    font-size: 2em;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #292929;
    background: linear-gradient(135deg, #6200ea, #3700b3, #6200ea);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    text-shadow: 1px 1px 1px black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: filter 0.3s ease, transform 0.1s ease;
    cursor: pointer;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 100%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.download-button:hover {
    filter: brightness(90%);
}

.download-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.install-video {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px;
}

.usage-video {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    cursor: pointer;
    border-radius: 8px;
}

.video-shrunk {
    width: 100px;
    height: 62.5px;
    filter: grayscale(80%);
    transition: filter 0.5s;
}

.video-expanded {
}

.video-expanded > .shrunken-video-text {
    display: none;
}

.growable-video {
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shrunken-video-text {
    z-index: 1;
    position: absolute;
    text-align: center;

    font-weight: bold;
    text-shadow: 1px 1px 1px black;
    
    user-select: none;
}

.width-auto {
    width: 75%;
}

@media (max-width: 768px) {
    .width-auto {
        width: 95%;
    }
}

.tutorial {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 10px;
    padding-top: 15px;
}

.tutorial-step {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #292929;
    border-radius: 8px;
    flex: 1 1 45%;
}
.tutorial-step img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 8px;
}

.step-label {
    margin-top: 0px;
    font-size: 1.2em;
    color: #cccccc;
    font-style: italic;
}

.divider-bottom {
    max-width: 900px;
    height: 1px;
    border: none;
    color: #797979;
    background-color: #797979;
    margin: 0 auto;
}
.decktricks-links {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    justify-content: center;
}
.decktricks-links a img {
    height: 60px;
}
.decktricks-links a img:hover {
}
.info-bottom {
    font-size: 0.8em;
    text-align: center;
    font-style: italic;
    color: #555555;
    padding-top: 5px;
    padding-bottom: 2px;
    max-width: 80%;
    margin: 0 auto;
}

.list-header {

}
.programs-list {
    /* list-style-type: none; */
}

.about-page-contents {
    margin: 0 auto;
    padding-top: 5px;
}

.program-description {
    text-align: left;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 auto;
}

.program-description h2 {
    padding-left: 5px;
}

.program-description p {
    padding-left: 15px;
}

.list-item {
    padding-left: 15px;
}

.list-item::before {
    content: "• ";
}

.step-by-step {

    font-size: 1.2em;
    color: #cccccc;
}

.step-by-step:open {
    margin: 0 auto;
}

details summary { 
  cursor: pointer;
}

details summary > * {
  display: inline;
}

details {
    border: 1px solid #292929;
    margin: 0 auto;
    border-radius: 8px;
}

details > p {
    padding: 0px 8px 0px 8px;
}

details:open > summary {
    border-bottom: 1px dotted #292929;
}

summary {
    font-style: italic;
    padding-bottom: 2px;
}
