* {
    margin: 0;
    padding: 0;
}


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

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

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

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

.about-section {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    padding-right: 80px;
    box-sizing: border-box;
}

.about-text-wrapper {
    flex: 1;
    max-width: 620px;
}

.about-section > table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 350px;
    margin-left: auto;
    margin-right: 0;
    background-color: #241b15;
    border: 1px solid #241b15;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(24, 18, 14, 0.12);
    flex-shrink: 0;
}

.main table td {
    padding: 20px;
    line-height: 1.5;
    color: #e2a13c;
    background-color: #241b15;
    border: 1px solid #241b15;
    text-align: left;
    vertical-align: top;
}

.main table td > br {
    display: none;
}

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

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

.about-class {
    display: flex;
    align-items: flex-start;
    gap: 5.4rem;
}

.about-text {
    display: flex;
    flex-direction: column;
}

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

span-2 {
    color: #f4e8ce;
    line-height: 20px;
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 11px;
    word-spacing: 2px;
    display: block;
}

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

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

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

.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;
}

.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;
}

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

.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;
    }

.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;
}

.side-text {
    margin-left: 90px;
    color: #e2a13c;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    overflow: hidden;
    max-width: 860px;
    line-height: 1.6;
}

.side-copy {
    margin-right: 360px;
}

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

.side-text > table {
    float: right;
    width: 500px;
    height: 420px;
    margin: 0 0 0 32px;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #241b15;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(24, 18, 14, 0.12);
}

.side-text table td {
    height: 420px;
    padding: 18px 16px;
    line-height: 1.5;
    color: #18120e;
    border: 1px solid #241b15;
    text-align: left;
    vertical-align: top;
}

.side-text table td > br {
    display: none;
}

.side-text table,
.side-text table td {
    border-radius: 10px;
}

.footer {
    position: relative;
    width: 100vw;
    min-height: 100px;
    height: auto;
    margin-top: 0px;
    margin-left: calc(50% - 50vw);
    clear: both;
    background-color: #241b15;
    box-sizing: border-box;
}
.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
}

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

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

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: 1200px) {
    .last-text {
        grid-template-columns: 1fr;
        margin: 0 25px;
    }

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

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: 390px) {
    .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);
    }
}

@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);
    }
}

@media only screen and (max-width: 1200px) {
    .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 {
        padding: 9px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

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

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

    .about-section {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-right: 0;
    }

    .about-text-wrapper {
        width: 100%;
        max-width: none;
    }

    .about-section > table {
        width: 100%;
        margin: 0 auto;
    }

    .main table td {
        padding: 20px;
        overflow-wrap: anywhere;
    }

    .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;
        width: 100%;
        padding: 18px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .about-class {
        gap: 20px;
        align-items: flex-start;
    }

    .about-text {
        min-width: 0;
    }

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

    .side-copy {
        margin-right: 0;
    }

    .side-text > table {
        float: none;
        width: 100%;
        height: 220px;
        margin: 0 0 28px;
    }

    .side-text table td {
        height: 220px;
    }

    .footer {
        width: 100%;
        margin-left: 0;
    }

    .side-text table img {
        margin: 70px auto 0 !important;
        display: block;
    }

    .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: 390px) and (max-width: 1200px) {
    .header-main-nav {
        flex-wrap: nowrap;
    }

    .logo {
        flex: 0 1 auto;
    }

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