* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    font-family: "Open Sans",sans-serif;
}

body {
    background-color: #181818;
    color: #d7d7d7;
}

a {
    color: #2e7ad6;
}

a:visited {
    color: #b670d6;
}

.title-link,.title-link:hover,.title-link:active,.title-link:visited {
    color: white;
    text-decoration: none;
}

.noscriptmsg {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #1f1f1f;
}

#pagecontent {
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #1f1f1f;
    padding-top: 5px;
}
.center-text {
    text-align: center;
    width: 100%;
    display: block;
}
.center-box {
    width: 100%;
    display: grid;
}
#pagecontent-logo {
    justify-self: center;
    width: 256px;
}

.button {
    margin: 2px;
    padding: 2px;
    padding-left: 3px;
    padding-right: 3px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    background-color: #2a2a2a;
    color: #d7d7d7;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
}

.hr {
    border-top: 2px solid #9a9a9a; 
}

.hr-darkend {
    border-color: #444444;
}

.hr-bpadded {
    margin-bottom: 20px;
}

.inst-promo-img-wrapper {
    width: 100%;
    padding-top: 6px;
}

.inst-promo-img {
    width: 650px;
    height: auto;
    border-radius: 15px;
    max-width: 100%;
}

.minecraft-wall-background {
    background-image: url(../images/tilable_mc_background.png);
    background-repeat: repeat;
}

.button:visited {
    color: #d7d7d7;
}
.button:hover {
    background-color: #37373d;
}

.os-down {
    background-color: #286c34;
}
.os-down:hover {
    background-color: #318340;
}

.modpack-os-down {
    background-color: #464ca1;
}
.modpack-os-down:hover {
    background-color: #464ca1;
}
.modpack-os-down-sb {
    border: 1px solid #6b70c2;
    padding-bottom: 0px;
}

.modpack-os-down-zipgen {
    cursor: pointer;
}

.legacy-link {
    color: #787878;
    text-decoration: none;
    margin: 4px;
    white-space: nowrap;
}
.legacy-link:visited {
    color: #787878;
}
.legacy-link:hover {
    text-decoration: underline;
}

.big-size {
    padding: 6px;
    padding-left: 7px;
    padding-right: 7px;
}

.ui-btn {
    background-color: #2a559a;
}

.btn-bellow-margin {
    margin-bottom: 7px;
}

.section {
    padding-bottom: 20px;
}

.sideflex,.hflex {
    display: flex;
    flex-direction: row;
}

.vflex {
    display: flex;
    flex-direction: column;
}

.link-ul {
    text-decoration: underline;
}

.title img {
    height: 42px;
    width: 42px;
    margin-left: 10px;
    margin-bottom: 5px;
}

.title h1 {
    margin-top: 5px
}

.subtitle {
    padding-bottom: 7px;
}

.subtitle-top-margin {
    margin-top: 5px;
}

.section h3 {
    color: #d1984e;
}

.section > p,
.section p:not(:where(.modpack-wrapper-outer p)) {
    font-size: 18px;
}

.modpack-down,.divvable-section {
    background-color: #272727;
    border-radius: 10px;
    border: 1px solid #303030;
    padding: 5px;
    margin-bottom: 15px;
}

.modpack-wrapper-outer {
    display: flex;
    flex-direction: row;
}

.modpack-wrapper {
    max-width: calc(100% - 100px);
}

.modpack-wrapper b {
    color: #c8c8c8;
    margin-bottom: 3px;
}
.modpack-wrapper p {
    margin-bottom: 6px;
}

.modpack-icon {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}
.modpack-icon-wrapper {
    margin-right: 10px;
}

#down-installer p {
    margin-bottom: 5px;
}

#down-modpack p {
    margin-bottom: 3px;
}

.min-spacer {
    margin-top: 7px;
}
.min-spacer2 {
    margin-top: 14px;
}
.min-spacer3 {
    margin-top: 4px;
}

.inline {
    display: inline;
}

.modpack-author {
    color: gray;
}

.modpack-info p:not(.modpack-id) {
    font-size: 17px;
}

.modpack-id {
    color: #373737;
    margin-left: 12px;
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.smal-text {
    font-size: 12px;
    color: #303030;
}

.source-link {
    font-size: 12px;
    color: #303030;
}
.source-link:active {
    color: #303030;
}
.source-link:visited {
    color: #303030;
}
.source-link:hover {
    color: #717171;
}

#source-link-prefix {
    display: inline-block;
    padding-right: 5px;
}

#content {
    white-space: pre-wrap;
}

.download-info {
    width:fit-content;
    padding-left: 50px;
    padding-right: 50px;
}

.download-info h2 {
    font-size: 45px;
    padding-left: 5px;
}
.download-info i {
    font-size: 19px;
}
.download-info .center-box {
    margin-top: 30px;
}
.center-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modpack-down-nosup-badge {
    color: goldenrod;
    margin-left: 10px;
}

.oneline-wrapper {
    display: flex;
    flex-direction: row;
}
.oneline-wrapper-elem {
    display: block;
}


.repo-key {
    color: gray;
}
.repo-value {
    color: purple
}

h3.repo-value {
    margin-top: 20px;
}

.rvsp .repo-key {
    margin-right: 7px;
}
.rvt1 {
    margin-left: 40px;
}
.rvt2 {
    margin-left: 80px;
}
.rvt3 {
    margin-left: 120px;
}

#repoview-content {
    line-height: 1.5em;
    margin-bottom: 40px;
    border: 2px solid #424242;
    margin: 20px;
    padding: 20px;
}

#repoview-title {
    color: rgb(146, 1, 146);
    display: block;
    width: 100%;
    border-bottom: 4px solid rgb(78, 1, 78);
    margin-bottom: 15px;
    padding-bottom: 7px;
}
#repoview-title-link {
    color: rgb(92, 0, 128);
    font-size: 95%;
}

.modviewer {
    background-color: #00000000;
    border-color: rgb(105, 9, 127);
    background-image: linear-gradient(to bottom, #00000000, #8d049f4f);
    font-family: "Segoe UI","sans-serif";
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.modviewer:hover {
    background-color: #00000000;
    border-color: rgb(124, 10, 150);
    background-image: linear-gradient(to bottom, #00000012, #8d049f76);
}
.icon-button-wrapper {
    display: flex;
    flex-direction: row;
}
.icon-button-wrapper img {
    width: 18px;
    height: 18px;
    margin-right: 3px;
}
.icon-button-wrapper p {
    font-size: 17px;
    margin: 0px;
    padding-top: 2px;
    padding-bottom: 1px;
}

.notice-red {
    background-color: #4c1f1f;
    padding: 10px;
    border-radius: 10px;
    border: 1.5px solid #444444;
    width: fit-content;
}
.notice-b,.notice-p {
    font-size: 16px !important;
}


#zipgen-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50px; 
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    color: #eee;
    text-align: center;
}

#zipgen-popup.show {
    display: block;
}

#zipgen-popup h3 {
    margin-top: 0;
    color: #fff;
}

#zipgen-popup progress {
    width: 100%;
    height: 25px;
    margin: 15px 0;
    border-radius: 5px;
    background-color: #555;
}

#zipgen-popup progress::-webkit-progress-bar {
    background-color: #555;
    border-radius: 5px;
}

#zipgen-popup progress::-webkit-progress-value {
    background-color: #4CAF50;
    border-radius: 5px;
}

#zipgen-popup progress::-moz-progress-bar {
    background-color: #4CAF50;
    border-radius: 5px;
}

#zipgen-popup p {
    margin: 10px 0;
    font-size: 1.1em;
}

#zipgen-popup .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #aaa;
    cursor: pointer;
}

#zipgen-popup .close-button:hover {
    color: #fff;
}

.modpack-wrapper .collapsible {
    font-size: 0.91rem;
}

.modpack-hgroup {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.modpack-hgroup > .modpack-down {
    flex: 1 1 300px;
}

#down-installer .button {
    padding: 0.5rem;
}

#down-installer code {
    background-color: #ffffff1f;
    padding: 1px;
    border-radius: 0.25rem;
}

.section > h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
}

.section > h3 ~ p {
    margin-bottom: 0.5rem;
}

.section .inst-promo-img-wrapper {
    margin-top: 0.7rem;
    margin-bottom: 0.5rem;
}

.section .inst-promo-img-wrapper ~ i {
    margin-bottom: 0.3rem;
    display: block;
}