.main {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
}

.line {
    width: min(95%, 1200px);
    margin: 0 auto;
    white-space: nowrap;
}

.title {
    display: flex;
    align-items: center;
    gap: 0;

    margin: 0;
    color: white;
    font-size: 20px;
    white-space: nowrap;
}

.left {
    text-align: right;;
}

.label {
    font-family: 'Kongtext';
    flex: 0 0 auto;
}

.fill {
    flex: 1 1 auto;
    overflow: hidden;

    color: rgb(185, 185, 185);
    font-family: 'Pixelify-Sans';
    white-space: nowrap;
    line-height: 1;
}

.heart {
    height: 16px;
    padding-right: 10px;
    padding-left: 10px;
}

.dash-line {
    width: min(95%, 1200px);
    margin: 6px auto 0 auto;
    white-space: nowrap;
}

.dash-fill {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;

    color: rgb(185, 185, 185);
    font-family: 'Pixelify-Sans';
    line-height: 1;
}

.nav-left, .nav-right {
    height: 60px;
    width: 60px;

    background-image: url('../images/ui/large-arrow.png');
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: contain;
    cursor: pointer;

    border: 16px solid transparent;
    border-image-source: url("../images/ui/nav.png");
    border-image-slice: 7 fill;
    border-image-repeat: stretch;
}

.nav-left:hover, .nav-right:hover {
    background-image: url('../images/ui/large-arrow_highlight.png');
}

.nav-right {
    -webkit-transform: scale(-1, -1);
    -moz-transform: scale(-1, -1);
    -o-transform: scale(-1, -1);
    transform: scale(-1, -1);
}

.gallery-container {
    position: relative;
    width: min(90%, 700px);
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.gallery {
    position: relative;
    width: 500px;
    max-width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(to bottom, #f6d365, #fda085);
}

.gallery-track {
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-item img {
    display: block;
    width: auto;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.gallery-text {
    margin-top: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-text .title {
    font-family: 'Kongtext';
    font-size: 19px;
    padding: 4px;
}

.gallery-text .subtitle {
    font-size: 20px;
    opacity: 0.7;
}

.download-btn, .download-btn-mobile {
    border: 18px solid transparent;
    border-image: url("../images/ui/download-button.png") 7 fill stretch;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 10;
}

.download-btn {
    position: absolute;
    top: 0px;
    right: 0px;

    height: 60px;
    width: 60px;
}

.download-btn-mobile {
    display: none;
    height: 60px;
    margin-top: 10px;
    width: 100%;
}

.download-btn:hover, .download-btn-mobile:hover {
    border-image-source: url("../images/ui/download-button_highlight.png");
}

.download-btn img, .download-btn-mobile img, .download-all-btn img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.download-all-btn {
    border: 18px solid transparent;
    border-image: url("../images/ui/download-button_highlight.png") 7 fill stretch;
    background: transparent;
    width: min(500px, 90%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    text-decoration: none;
    font-size: 20px;
    color: white;

    line-height: 1;
    padding: 0;
    display: inline-flex;
}

.download-all-btn:hover {
    border-image-source: url("../images/ui/download-button_highlight2.png");
}

.download-all-btn {
    text-decoration: none;
    font-size: 20px;
    color: white;
}

.download-all-btn img {
    position: relative;
    top: -2px;
    width: 27px;
    height: 27px;
    object-fit: contain;
}

@media screen and (max-width: 650px) {
    .gallery-container {
        width: min(95%, 1100px);
        gap: 12px;
    }
    
    .nav-left, .nav-right {
        display: none;
    }

    .download-btn {
        display: none;
    }

    .download-btn-mobile {
        display: flex;
    }
}