html,
body {
    margin: 0;
    padding: 0;
    background-color: #16141c;
    color: white;
}

html * {
    font-family: sans-serif;
}

/* Random Stuff */

.row {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* Top Navigation Bar */
.topbar {
    display: flex;
    width: 100%;
    height: 55px;
    border-bottom: 1px solid #424242;
}

.topbar a {
    padding: 10px;
    text-decoration: none;
    font-size: xx-large;
    font-weight: bold;
    color: blueviolet;
    margin-left: 10px;
    transition: font-size 0.25s cubic-bezier(.4, 0, .2, 1), transform 0.25s cubic-bezier(.4, 0, .2, 1);
}

.topbar a {
    @media (max-width: 520px) {
        font-size: 32px;
        margin-left: 0;
    }
}

.topbar a:hover {
    font-size: 32px;
    transform: scale(1.1);
}


/* About Page */
.about {
    width: 650px;
    margin: 20px auto;
    padding: 20px;
    overflow-y: auto;
    border: 1px solid #424242;
    border-radius: 8px;
    display: block;
    background-color: #2a2a35;
}

@media (max-width: 520px) {
    .about {
        width: fit-content;
        margin: 20px;
    }
}

@media (min-width:1920px) {
    .about {
        width: 48%;
    }
}

.about-struct {
    display: block;
}


@media (min-width:1920px) {
    .about-struct {
        margin-inline: 12%;
        margin-bottom: 5%;
        margin-top: 3%;
    }
}

.about p {
    font-size: larger;
    font-weight: 500;
    line-height: 1.6;
}

@media (min-width:1920px) {
    .about p {
        font-size: x-large;
    }
}

/* Bottom Navigation Bar */
footer {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 8px;
    border-top: 1px solid #424242;
}

@media (max-width:520px) {
    footer {
        margin-bottom: 20px;
        margin-top: 8px;
    }
}

@media (min-width:1920px) {
    footer {
        width: 100%;
        margin-top: 50px;
        padding-top: 20px;
    }
}

footer a {
    color: blueviolet;
    font-size: large;
    text-decoration: none;
    transition: font-size 0.25s cubic-bezier(.4, 0, .2, 1), transform 0.25s cubic-bezier(.4, 0, .2, 1);
}

footer a:hover {
    font-size: larger;
    transform: scale(1.1);
}


/* Privacy Policy Page */
.policy {
    border: 1px solid #424242;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    background-color: #2a2a35;
}

@media (max-width: 520px) {
    .policy {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (min-width:1920px) {
    .policy {
        max-width: 100%;
        margin-inline: 27%;
        margin-top: 5%;
        height: auto;
    }

    #lastUpdated {
        margin-top: 10%;
    }
}

.policy p {
    font-size: larger;
    font-weight: 500;
    line-height: 1.6;
}

@media (min-width:1920px) {
    .policy p {
        font-size: x-large;
    }
}


/* Home Page Content */

/* The Box */
.content {
    border: 1px solid #424242;
    border-radius: 12px;
    height: 300px;
    flex: 0 0 270px;
    position: relative;
    margin-top: 20px;
}

@media (max-width: 520px) {
    .content {
        flex: 0 0 315px;
    }
}

@media (min-width: 1920px) {
    .content {
        height: 350px;
        flex: 0 0 350px;
    }
}

/* The Main Container Properties */
.container {
    display: flex;
    justify-content: center;
    margin-left: 12%;
    margin-right: 12%;
    flex-wrap: wrap;
    column-gap: 20px;
}

/* Description of the Item */
.description {
    font-size: large;
    color: white;
    padding: 0px 8px;
    text-align: start;
    font-weight: 500;
    margin-top: 25px;
}

@media (min-width:1920px) {
    .description {
        font-size: 21px;
    }
}

/* Icon/Image of the Item */
.img {
    display: block;
    margin: auto;
    margin-top: 10px;
    height: 85px;
    width: 85px;
    background-color: white;
    border-radius: 12px;
}

@media (min-width:1920px) {
    .img {
        height: 110px;
        width: 110px;
    }
}

/* Download Button */
.download-button {
    display: block;
    bottom: 0px;
    height: 35px;
    width: calc(100% - 20px);
    background-color: blueviolet;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
    font-size: larger;
    text-decoration: none;
    font-weight: 600;
    color: white;
    line-height: 35px;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
}

@media (min-width: 1920px) {
    .download-button {
        height: 40px;
        font-size: x-large;
        font-weight: 500;
    }
}

/* The Platforms Available of the Item */
.platform {
    padding: 0px 8px 0px 8px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: medium;
    margin-top: 10px;
    margin-bottom: 30px;
    margin: 10px auto 30px 8px;
    gap: 5px;
    bottom: 25px;
    position: absolute;
}

@media (min-width:1920px) {
    .platform {
        font-size: large;
    }
}

.platform-img {
    height: 28px;
    width: 28px;
}

@media (min-width:1920px) {
    .platform-img {
        height: 36px;
        width: 36px;
    }
}


/* Download Pages */
.pg-struct {
    margin: 15px 4% 15px 4%;
}

.title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subtitle {
    font-size: medium;
    margin-bottom: 20px;
}

@media (min-width:1920px) {
    .subtitle {
        font-size: 24px;
        margin-bottom: 50px;
    }
}

.passgen-imgs img {
    height: 500px;
    width: 250px;
    border-radius: 12px 12px 6px 6px;
    padding-inline: 5px;
}

.icons {
    height: 85px;
    width: 85px;
    background-color: white;
    border-radius: 12px;
}

/* Tab Switcher */
.select {
    position: relative;
    display: flex;
    width: fit-content;
    padding: 4px;
    background-color: #3b3b3b;
    border-radius: 36px;
    gap: 0px;
    overflow: hidden;
}

@media (max-width:520px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .select {
        width: 100%;
        justify-content: flex-start;
    }

    .platform-tab {
        font-size: 14px;
        padding: 8px 16px;
    }

    .indicator {
        top: 2px;
        height: calc(100% - 4px);
        border-radius: 24px;
        transition: all 0.3s ease;
    }
}

.platform-tab {
    padding: 12px 24px;
    border-radius: 36px;
    color: #ccc;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    font-size: large;
    font-weight: 500;
}

.platform-tab.active {
    color: white;
}

.indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: 0;
    border-radius: 36px;
    background-color: #6e48ff;
    transition: all 0.3s ease;
    z-index: 0;
}

/* Mockups */

.mockups-container {
    max-width: 1200px;
    margin: 0;
    padding: 0 30px;
    overflow-x: visible;
}

.mockups {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 10px;
}

.mockups-imgs {
    height: 400px;
    max-width: 200px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.mockup-1 {
    transform: translateY(0);
}

.mockup-2 {
    transform: translateY(15px);
}

.mockup-3 {
    transform: translateY(30px);
}

.mockup-4 {
    transform: translateY(15px);
}

.mockup-5 {
    transform: translateY(0);
}

.mockups-imgs:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

@media (max-width: 520px) {
    .mockups {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;

        transform: none !important;

        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
    }

    .mockups-imgs {
        height: 400px;
        max-width: 200px;
        border-radius: 12px;
        transform: none !important;
        flex-shrink: 0;
    }

    .mockups-imgs:first-child {
        margin-left: 20px;
    }

    .mockups-imgs:last-child {
        margin-right: 20px;
    }
}


/* Download Cards */

.download-cards-wrapper {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.download-card {
    background-color: #1f1d27;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.download-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #fff;
    text-align: left;
}

.download-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: left;
}

.version-info {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 10px;
    text-align: left;
}

.download-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background-color: #7a3dc1;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background-color: #692bb6;
}

.download-card.highlight {
    border: 1px solid #7a3dc1;
}

/* Last Released */
.last-released {
    padding: 20px 20px 20px 0px;
    font-size: 28px;
    color: #aaa;
    font-weight: 500;
    text-align: left;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* App Features */
.app-features {
    margin-top: 30px;
}

.app-features ul li {
    margin-bottom: 6px;
}

.app-features li {
    color: #ccc;
}

.app-features li strong {
    color: #fff;
}

@media (max-width:520px) {
    .app-features ul li {
        margin-left: -1em;
        margin-bottom: 7px;
    }
}

/* Help Section */

.help-section {
    margin-top: 40px;
}

/* View on github */

.view-github {
    margin-top: 40px;
}

.view-github a {
    color: #6e48ff;
}

/* Changelog */