@font-face {
    font-family: "0xProto";
    src: url('../fonts/0xproto.ttf') format('truetype');
    font-display: swap; /* Improves perceived performance */
}

@font-face {
    font-family: MS Gothic; 
    src: url('fonts/msgothic.ttf') format('truetype');
}
body {
    font-family: MS Gothic;
}

div{
    text-align:justify;
    letter-spacing: 1px;
}

* {
    font-family: "0xProto", monospace;
}

body {
    font-family: '0xProto', monospace;
    letter-spacing: 1px;
    margin: 0;
    color: #000555;
    background-color: #ffffff;
}

.page-frame {
    color: #000555;
    width: 92vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2vw;
    background-color: #ffffff;
    border-left: 0.35vw solid #000555;
    border-right: 0.35vw solid #000555;
    box-sizing: border-box;
}

.archive-container {
    padding-bottom: 30px;
}

.archive-button {
    width: 200px;
    height: 50px;
    font-size: 24px;
}

.archive-version-button {
    width: 400px;
    max-width: 90%;
    height: 55px;
    font-size: 24px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5vw;
}

.community-description {
    flex: 1;
    color: #000555;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: 0;
    width: 30%;
    min-width: 180px;
    max-width: 340px;
}

.button {
    border: 2px solid #000555;
    background-color: #ffffff;
    color: #000555;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
    margin: 4px 2px;
    cursor: pointer;
    width: 330px;
    min-height: 60px;
    height: auto;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.2;
}

.archive-version-button {
    width: 400px;
    max-width: 90%;
    min-height: 55px;
    height: auto;
    font-size: 24px;
}

.button:hover {
    color: #ffffff;
    border-color: #000555;
    background-color: #000555;
}

.nf {
    font-family: '0xProto', monospace;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hover-outline {
    outline: rgb(0, 5, 85) solid 3px;
    display: inline-block;
    text-align: center;
    color: rgb(0, 5, 85);
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    box-sizing: border-box;
}

.hover-outline:hover {
    outline-width: 5px;
}

h1{
    padding: 5px;
    margin: 0px;
}

.center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.my-20 {
    margin: 20px 0;
}

.underline {
    text-decoration: underline;
}

.page-frame {
    width: 92vw;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2vw;
    background-color: #ffffff;
    border-left: 0.35vw solid #000555;
    border-right: 0.35vw solid #000555;
    box-sizing: border-box;
}

.archive-container {
    padding-bottom: 30px;
}

.archive-button {
    width: 200px;
    height: 50px;
    font-size: 24px;
}

.archive-version-button {
    width: 400px;
    max-width: 90%;
    height: 55px;
    font-size: 24px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5vw;
}

.community-description {
    flex: 1;
    color: #000555;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: 0;
    width: 30%;
    min-width: 180px;
    max-width: 340px;
}

.button {
    border: 2px solid #000555;
    background-color: #ffffff;
    color: #000555;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
    margin: 4px 2px;
    cursor: pointer;
    width: 330px;
    min-height: 60px;
    height: auto;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.2;
}

.button:hover {
    color: #ffffff;
    border-color: #000555;
    background-color: #000555;
}

.button-green {
    outline: 4px solid #006280;
    background-color: #006280;
    color: #91ff00;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
    margin: 4px 2px;
    cursor: pointer;
    width: 330px;
    min-height: 60px;
    height: auto;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.2;
}

.button-green:hover {
    background-color: #91ff00;
}

.archive-version-button {
    width: 400px;
    max-width: 90%;
    min-height: 55px;
    height: auto;
    font-size: 24px;
}


.nf {
    font-family: '0xProto', monospace;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hover-outline {
    outline: rgb(0, 5, 85) solid 3px;
    display: inline-block;
    text-align: center;
    color: rgb(0, 5, 85);
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    width: 100%;
    box-sizing: border-box;
}

.hover-outline:hover {
    outline-width: 5px;
}

h1{
    padding: 5px;
    margin: 0px;
}

.center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.my-20 {
    margin: 20px 0;
}

.underline {
    text-decoration: underline;
}

.font {
    font-family: '0xProto', monospace;
    color: #000555;
}

.box-padding {
    padding: 20px;
}

.button-small {
    font-family: '0xProto', monospace;
    width: 200px;
    min-height: 50px;
    font-size: 24px;
}

.community-title {
    padding-right: 60px;
    font-size: 32px;
}

.community-subtitle {
    padding-right: 60px;
    font-size: 28px;
}

.section-title {
    text-align: center;
    outline: 3px solid #000555;
    color: #000555;
}

.box-padding {
    padding: 20px;
}

.button-small {
    font-family: '0xProto', monospace;
    width: 200px;
    min-height: 50px;
    font-size: 24px;
}

.community-title {
    padding-right: 60px;
    font-size: 32px;
}

.community-subtitle {
    padding-right: 60px;
    font-size: 28px;
}

.section-title {
    text-align: center;
    outline: 3px solid #000555;
    color: #000555;
}

.project-image {
    width: 30%;
    transition: transform 0.2s ease;
}

.project-image:hover {
    transform: scale(1.02);
    z-index: 999;
    position: relative;
}

.meta-line {
    margin: 10px 0;
}

.changelog {
    margin: 20px 0;
    border-top: 2px solid #000555;
    padding-top: 10px;
}

.changelog-text {
    white-space: pre-wrap;
    font-size: 18px;
}

.hover-outline h2 {
    margin: 15px 0;
    padding: 0 20px;
}

input[type="text"], input[type="url"], textarea {
    padding: 10px;
    border: 2px solid #000555;
    background-color: #ffffff;
    color: #000555;
    font-family: '0xProto', monospace;
    width: 100%;
    box-sizing: border-box;
    font-size: 24px;
}

input[type="text"]:focus, input[type="url"]:focus, textarea:focus {
    background-color: #ffffff;
    outline: 8px solid #000555;
    color: #000555;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.admin-header {
    color: #8b0000 !important;
}

@media (max-width: 900px) {
    .page-frame {
        width: 96vw;
        padding: 3vw;
        border-left-width: 0.5vw;
        border-right-width: 0.5vw;
    }

    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3vw;
    }

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

    .logo {
        text-align: center;
        width: 45%;
    }

    .logo-center {
        margin: 0 auto;
        width: 45%;
        min-width: 150px;
    }

    .community-description {
        order: 0;
        text-align: center;
        width: 100%;
    }
}
