* {
    margin: 0;
    padding: 0;
}

.container {
    min-height: 100%;
    flex: 1;
}


.main img {
    float: right;
    margin-right: 100px;

}


.main {
    word-spacing: 5px;
    color: #e2a13c;
    margin-left: 70px;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #18120e;
    overflow: hidden;
}

.main-nav {
    display: flex;
}

.main-nav-bt {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: #A23B26;
    color: #f4e8ce;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}

.nav-btt {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: #18120e;
    color: #f4e8ce;
    border: none;
    box-shadow: 0 0 1px #f4e8ce;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 10px;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}

.start-btt {
    display: flex;
    align-items: center;
}

.start-bt {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: #A23B26;
    color: #f4e8ce;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}

span {
    color: #f4e8ce;
    font-size: 50px;
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


h2 {
    font-weight: 500;
    font-size: 20px;
}

body {
    background-color: #18120e;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: #f4e8ce;
    cursor: pointer;
    text-decoration: none;
}

.header-main {
    background-color: #18120e;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
}

.logo {
    width: fit-content;
    height: 100%;
    padding-left: 40px;
    display: flex;
    color: #f4e8ce;
    align-items: center;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.logo h1 {
    margin: 0;
}

span-1 {
    color: #e2a13c;
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
}

span-2 {
    color: #f4e8ce;
    line-height: 30px;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

span-3 {
    color: #f4e8ce;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 10px;
}

.text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    display: inline-flex;
    vertical-align: middle;
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: 50px;
    border: none;
    border-left: 1px solid #382c23;
    height: 30px;
    display: inline-block;
    margin: 0 5px;
    padding-left: 10px;
}


.logo img {
    margin-right: 25px;
    width: auto;
    height: 56px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.header-main-nav {
    width: 100%;
    padding: 1rem 5%;
    border-bottom: 1px solid #e2a13c;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.header-main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-right: 0;
}

.header-main-nav ul li {
    display: inline;
    float: left;
}

.header-main-nav ul li a {
    padding: 0 10px;
    line-height: 50px;
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: #f4e8ce;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.08rem;
}

.header-main-nav ul li a:hover {
    color: #e2a13c;
    text-decoration: underline;
    text-underline-offset: 9px;
}

.header-main-nav ul li a.selected {
    color: #e2a13c;
}

.mid {
    background-color: #f4e8ce;
    color: #A23B26;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: small;
    min-height: auto;
    margin-top: 10px;
    margin-bottom: 78px;
    clip-path: polygon(0 12px, 2% 0, 4% 12px, 6% 0, 8% 12px, 10% 0, 12% 12px,
            14% 0, 16% 12px, 18% 0, 20% 12px, 22% 0, 24% 12px,
            26% 0, 28% 12px, 30% 0, 32% 12px, 34% 0, 36% 12px,
            38% 0, 40% 12px, 42% 0, 44% 12px, 46% 0, 48% 12px,
            50% 0, 52% 12px, 54% 0, 56% 12px, 58% 0, 60% 12px,
            62% 0, 64% 12px, 66% 0, 68% 12px, 70% 0, 72% 12px,
            74% 0, 76% 12px, 78% 0, 80% 12px, 82% 0, 84% 12px,
            86% 0, 88% 12px, 90% 0, 92% 12px, 94% 0, 96% 12px,
            98% 0, 100% 12px,
            100% calc(100% - 12px), 98% 100%, 96% calc(100% - 12px),
            94% 100%, 92% calc(100% - 12px), 90% 100%, 88% calc(100% - 12px),
            86% 100%, 84% calc(100% - 12px), 82% 100%, 80% calc(100% - 12px),
            78% 100%, 76% calc(100% - 12px), 74% 100%, 72% calc(100% - 12px),
            70% 100%, 68% calc(100% - 12px), 66% 100%, 64% calc(100% - 12px),
            62% 100%, 60% calc(100% - 12px), 58% 100%, 56% calc(100% - 12px),
            54% 100%, 52% calc(100% - 12px), 50% 100%, 48% calc(100% - 12px),
            46% 100%, 44% calc(100% - 12px), 42% 100%, 40% calc(100% - 12px),
            38% 100%, 36% calc(100% - 12px), 34% 100%, 32% calc(100% - 12px),
            30% 100%, 28% calc(100% - 12px), 26% 100%, 24% calc(100% - 12px),
            22% 100%, 20% calc(100% - 12px), 18% 100%, 16% calc(100% - 12px),
            14% 100%, 12% calc(100% - 12px), 10% 100%, 8% calc(100% - 12px),
            6% 100%, 4% calc(100% - 12px), 2% 100%, 0 calc(100% - 12px));
}

.mid-text {
    margin-left: 95px;
}

.half {
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow: auto;
    padding-bottom: 100px;
}

table {
    margin-left: 95px;
    margin-right: 0;
    border-collapse: collapse;
}

caption {
    text-align: left;
    padding-bottom: 30px;
}

span-4 {
    color: #18120e;
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    padding-bottom: 10px;
}

span-7 {
    color: #18120e;
    font-family: "Fraunces", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
}

th,
td {
    border-color: #18120e;
    border-width: 1px;
    border-style: solid;
    padding: 25px;
    line-height: 30px;
}

span-5 {
    color: #241b15;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
}

span-6 {
    color: #f4e8ce;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: small;
}

.idnm {
    background-color: #241b15;
}

.lower-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 48px;
}

.lower-content>table {
    margin-left: 80px;
    width: calc(100% - 80px);
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.lower-content table td {
    padding: 30px;
    line-height: 1.4;
}

.lower-content table td>br {
    display: none;
}

.lower-content table,
.lower-content table td {
    border-radius: 10px;
}

.side-text {
    margin-right: 5px;
    color: #e2a13c;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

html,
body {
    height: 100%;
}

.line {
    border: none;
    height: 1px;
    background-color: #382c23;
    width: 100%;
}

.footer {
    position: relative;
    min-height: 100px;
    height: auto;
    margin-top: 0px;
    clear: both;
    background-color: #241b15;
}

.foot-table {
    color: #e2a13c;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 10px;
}

.last {
    color: #e2a13c;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
}

.last nav {
    display: flex;
    justify-content: center;
}

.last-bt {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    background: #A23B26;
    color: #f4e8ce;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal
}

.last-text {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 0 50px;
    padding-bottom: 2rem;
    margin-right: 20px;
}

span-8 {
    color: #f4e8ce;
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.bottom {
    color: #f4e8ce;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: small;
}

.bottom>div:last-child {
    line-height: 1.8;
}

.bottom:nth-child(2) {
    justify-self: center;
}

.bottom:nth-child(3) {
    justify-self: end;
    text-align: right;
}

@media only screen and (max-width: 600px) {
    .container {
        width: 100%;
    }

    .last-text {
        grid-template-columns: 1fr;
        margin: 0 25px;
    }

    .logo {
        font-size: 16px;
    }

    .links {
        font-size: 12px;
        padding: 0.3rem 0.5rem;
    }

    .bottom:nth-child(2),
    .bottom:nth-child(3) {
        justify-self: start;
        text-align: left;
    }
}

@media only screen and (min-width: 601px) {
    .container {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .container {
        width: 100%;
    }
}

@media only screen and (min-width: 992px) {
    .container {
        width: 100%;
    }
}

span-9 {
    color: #e2a13c;
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
}

hr.short-centered {
    width: calc(100% - 100px);
    height: 1px;
    border: 0;
    background-color: #382c23;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    margin-left: 50px;
}

.remark {
    margin-left: 900px;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.menu-toggle {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media only screen and (max-width: 700px) {
    .header-main {
        height: auto;
    }

    .header-main-nav {
        position: relative;
        min-height: 76px;
        padding: 12px 16px;
        margin-bottom: 0;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .logo {
        min-width: 0;
        padding-left: 0;
        flex: 1 1 auto;
    }

    .logo img {
        height: 42px;
        margin-right: 10px;
    }

    .logo h1 {
        font-size: clamp(1rem, 5vw, 1.25rem);
        white-space: nowrap;
    }

    .header-main-nav > ul {
        display: none;
        position: absolute;
        z-index: 10;
        top: 100%;
        left: 0;
        right: 0;
        width: auto;
        margin: 0;
        padding: 8px 16px 16px;
        flex-direction: column;
        gap: 0;
        background: #18120e;
        border-bottom: 1px solid #e2a13c;
    }

    .header-main-nav.menu-open > ul {
        display: flex;
    }

    .header-main-nav ul li,
    .header-main-nav ul li a {
        width: 100%;
    }

    .header-main-nav ul li a {
        padding: 10px 4px;
        line-height: 1.4;
        font-size: 0.8rem;
    }

    .header-main-nav .start-btt {
        display: none;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        padding: 10px;
        display: flex;
        flex: 0 0 44px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 1px solid #e2a13c;
        border-radius: 4px;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span:not(.sr-only) {
        display: block;
        width: 100%;
        height: 2px;
        background: #f4e8ce;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .header-main-nav.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header-main-nav.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header-main-nav.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1100px) {
    .header-main {
        height: auto;
    }

    .header-main-nav {
        padding: 12px 16px;
        margin-bottom: 0;
        gap: 12px;
        flex-wrap: wrap;
    }

    .logo {
        padding-left: 0;
        flex: 1 1 auto;
    }

    .logo img {
        height: 42px;
        margin-right: 10px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .header-main-nav ul {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .header-main-nav ul li a {
        padding: 0 4px;
        line-height: 34px;
        font-size: 11px;
    }

    .start-bt,
    .main-nav-bt,
    .nav-btt,
    .last-bt {
        padding: 9px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .main {
        margin-left: 0;
        padding: 0 16px;
        word-spacing: 2px;
    }

    .main img.side-image {
        float: none;
        display: block;
        width: min(100%, 280px) !important;
        height: auto !important;
        margin: 0 auto 24px;
    }

    .main h1 {
        font-size: clamp(2.2rem, 12vw, 4rem);
        line-height: 1.05;
    }

    .main-nav {
        gap: 8px;
        flex-wrap: wrap;
    }

    .text {
        margin: 0 8px 12px 0;
    }

    .mid {
        margin-top: 0;
        margin-bottom: 36px;
    }

    .mid-text {
        margin-left: 16px;
    }

    .half {
        padding: 48px 16px;
        overflow: hidden;
    }

    .half table {
        width: 100%;
        margin: 0;
        table-layout: fixed;
    }

    .half table tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .half table td {
        display: block;
        padding: 18px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    caption {
        padding-bottom: 20px;
    }

    span-7 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .lower-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lower-content > table {
        width: calc(100% - 32px);
        margin: 0 16px;
    }

    .lower-content table td {
        padding: 20px;
    }

    .side-text {
        margin: 0 16px;
        max-width: none;
        overflow-wrap: anywhere;
    }

    .last-text {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 0 20px;
    }

    .bottom:nth-child(2),
    .bottom:nth-child(3) {
        justify-self: start;
        text-align: left;
    }

    hr.short-centered {
        width: calc(100% - 40px);
    }

    .copyright,
    .remark {
        display: block;
        margin: 0 20px;
    }

    .remark {
        margin-top: 8px;
    }
}

@media only screen and (min-width: 701px) and (max-width: 1100px) {
    .header-main-nav {
        flex-wrap: nowrap;
    }

    .logo {
        flex: 0 1 auto;
    }

    .header-main-nav ul {
        order: 0;
        width: auto;
        gap: 12px;
        flex-shrink: 1;
    }
}