:root {
    /*background-color: #202020;*/
    background-color: rgb(24, 26, 27);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-rendering: optimizeLegibility;

    --nvlink-hpad: 1vmax;
    --accent: #55d41a;
    --accent-dark: #3da70f;
}

body {
    margin: 0;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.horizontal-center {
    display: flex;
    justify-content: center;
}

.titlebar {
    width: 100%;
    font-size: calc(20px + 1.75vmin);
    /*background-color: #1c1c1c;*/
    background-color: rgb(21, 23, 24);
    filter: drop-shadow(0 0 1vmin #101010);
}

.titlebar img {
    width: calc(32px + 4vmin);
}

.titlebar a {
    text-decoration: none;
    padding-left: var(--nvlink-hpad); padding-right: var(--nvlink-hpad);
    font-weight: 200;
    color: white;
    transition: all 0.2s ease;
}

.titlebar a:hover {
    color: var(--accent);
    transition: all 0.1s ease;
}

.titlebar a:active {
    color: var(--accent-dark);
    transition: all 0.05s ease;
}
#brandname {
    padding-right: 3vmax;
    padding-left: calc(12px + 0.5vmax);
    user-select: none;
}
.dlbtn {
    display: inline-block;
    background-image: linear-gradient(var(--accent-dark), var(--accent));
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: calc(12px + 0.5vmax) calc(24px + 1vmax);
    font-size: calc(16px + 1vmin);
    height: min-content;
    border-radius: 400px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0.5vmax #3da70f50);
}

.dlbtn:hover {
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.dlbtn:active {
    background-color: #37940f;
    transition: all 0.2s ease;
}

.main {
    margin: auto;
    padding-top: calc(24px + 2vmin + 2vmax);
    text-align: center;
    max-width: min-content;

    animation: fadein 1s ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadein {
    0% { transform: translate(0, 5vmin) scale(1.2); opacity: 0; }
    100% { transform: translate(0, 0) scale(1.2); opacity: 1; }
}

.main h1 {
    font-weight: 150;
    width: max-content;
}

.main a {
    font-weight: lighter;
    width: max-content;
}

.main iframe {
    width: calc(1920px / 3);
    height: calc(1080px / 3);
}

.extradl {
    background-color: #131313;
    margin-top: calc(10px + 0.25vmin);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: calc(6px + 0.2vmin) calc(4px + 0.1vmin);
    border-radius: 12px;
    filter: drop-shadow(0 0.5vmin 0.5vmax #00000050);
}

.extradl a {
    color: #3aa8ff;
    padding-left: var(--nvlink-hpad); padding-right: var(--nvlink-hpad);
    transition: all 0.2s ease;
    text-decoration: none;
}

.extradl a:visited {
    color: #3aa8ff;
}

.extradl a:hover {
    text-decoration: underline;
}

.text {
    margin-right:12vmin;
    margin-bottom: 42px	;
}
.pp {
    max-width: 80vmin;
    margin-bottom: 42px;
}

.pp a {
    color: #3a79c1;
}
.pp a:visited {
    color: #3a79c1;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /*background-color: #1c1c1c;*/
    filter: drop-shadow(0 0 1vmin #101010);
    padding: calc(6px + 0.2vmin) calc(4px + 0.1vmin);
    text-align: center;
    font-size: calc(12px + 0.5vmin);
    color: #808080;
    background-color: rgb(21, 23, 24);
}

.footer a {
    color: #3a79c1;
}
.footer a:visited {
    color: #3a79c1;
}



/*credits*/
.credits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


.credits-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 5px;
    max-width: 200px;
}

.credits-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.credits-card h2 {
    font-size: 1.2rem;
    margin: 0;
}

.credits-card a {
    color: white;
    text-decoration: none;
}

.credits-card a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .credits-container {
        max-width: 768px;
    }

    .credits-card {
        flex-basis: calc(33.33% - 20px);
    }
}

.credits-card p {
    margin: 5px 0;
}


@media only screen and (max-width: 1300px) {
    * {
        overflow-x: hidden;
    }

    .main {
        flex-wrap: wrap;
    }

    iframe {
        transform: scale(0.75);
    }



    /*.titlebar img {
      display: none;
    }*/


    .titlebar {
        padding-bottom: 11px;
        padding-top: 11px;
        /* fix the links.. somehow */
        margin-bottom: 55px;
    }

    .text {
        margin-right: 0;
    }
}

@media only screen and (max-width: 900px) {
    .titlebar a {
        align-self: center;
        font-size: calc(20px + 0.5vmin);
    }
    #brandname {
        display: none;
    }
    .titlebar a {
        font-size: calc(18px + 0.5vmin);
    }
}





code {
    font-family: monospace;
    font-size: inherit;
}

/* <code> */
h2 > code {
    background: #313131;
    word-wrap: break-word;
    box-decoration-break: clone;
    padding: .1rem .3rem .2rem;
    border-radius: .2rem;
}

.highlight {
    background-color: rgba(79, 143, 230, 0.53);
}




.copy-link-button {
    position: relative;
    display: inline-block;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-left: 5px; /* Adjust margin as needed */
    cursor: pointer;
    outline: none;
    text-decoration: none;
    color: inherit;
}

.copy-link-button img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.copy-link-button:hover img {
    opacity: 1;
}

.copy-link-button.clicked img {
    display: none;
}

.link-copied {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #3a79c1;
    color: white;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    transform: translate(-50%, -50%);
}
