/* Root Variables */
:root {
    font-size: clamp(12px, calc(12px + (8 * ((100vw - 320px) / 1600))), 20px);
    --blue-color: #3498db;
    --orange-color: #ffab00;
    --orange-color-rgba-50: rgba(255, 171, 0, 0.5);
    --orange-color-rgba-25: rgba(255, 171, 0, 0.25);
    --light-dark-orange-color: #FF8F00;
    --dark-orange-color: #FF6F00;
    --green-color: #AEEA00;
    --green-color-rgba-50: rgba(174, 234, 0, 0.5);
    --green-color-rgba-25: rgba(174, 234, 0, 0.25);
    --light-dark-green-color: #8BC34A;
    --dark-green-color: #689F38;
    --text-color: #222;
    --text-disabled-color: #1d1b20;
    --background-color: #f0f0f0;

    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.25rem;
    --font-size-subtitle: 1.125rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    --font-size-extra-small: 0.625rem;
    --font-size-company-name: 1.625rem;
    --font-size-menu-link: var(--font-size-body);

    --side-padding: 4rem;

    --md-elevation-1: 0px 1px 3px rgba(0, 0, 0, 0.12),
        0px 1px 2px rgba(0, 0, 0, 0.24);

    --md-elevation-3: 0px 4px 6px rgba(0, 0, 0, 0.16),
        0px 2px 4px rgba(0, 0, 0, 0.24);

    --md-elevation-6: 0px 10px 20px rgba(0, 0, 0, 0.19),
        0px 6px 6px rgba(0, 0, 0, 0.23);
}

@media (min-width: 425px) {
    :root {
        --side-padding: 6rem;
    }
}

@media (min-width: 768px) {
    :root {
        --font-size-h1: 2.25rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --font-size-subtitle: 1.25rem;
        --font-size-body: 1.125rem;
        --font-size-small: 0.875rem;
        --font-size-extra-small: 0.875rem;
        --font-size-company-name: 1.75rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --font-size-h1: 3rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.75rem;
        --font-size-subtitle: 1.5rem;
        --font-size-body: 1.25rem;
        --font-size-small: 1rem;
        --font-size-extra-small: 0.875rem;
        --font-size-company-name: 1.875rem;
    }
}

@media (min-width: 1440px) {
    :root {
        --font-size-h1: 3.5rem;
        --font-size-h2: 2.5rem;
        --font-size-h3: 2rem;
        --font-size-subtitle: 1.75rem;
        --font-size-body: 1.375rem;
        --font-size-small: 1.125rem;
        --font-size-extra-small: 1rem;
        --font-size-company-name: 2rem;
    }
}

@media (min-width: 1920px) {
    :root {
        --font-size-h1: 4rem;
        --font-size-h2: 3.25rem;
        --font-size-h3: 2.5rem;
        --font-size-subtitle: 2rem;
        --font-size-body: 1.5rem;
        --font-size-small: 1.25rem;
        --font-size-extra-small: 1.125rem;
        --font-size-company-name: 2.5rem;
    }
}

/* Base Styles */
body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: var(--background-color);
    margin: 0;
    color: var(--text-color);
    font-size: var(--font-size-body);
    font-family: 'Oxygen', Arial, sans-serif;
    font-weight: 300;
    line-height: normal;
}

/* Remove default styles */
p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}


/* Headings */
h1 {
    color: var(--text-color);
    font-family: 'Kanit', Arial, sans-serif;
    font-size: var(--font-size-h1);
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    margin: 0;
}

h2 {
    color: var(--text-color);
    font-family: 'Kanit', Arial, sans-serif;
    font-size: var(--font-size-h2);
    font-style: normal;
    font-weight: 300;
    line-height: 110%;
    margin: 0;
}

h3 {
    color: var(--text-color);
    font-family: 'Kanit', Arial, sans-serif;
    font-size: var(--font-size-h3);
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    margin: 0;
}

.horizontal-divider {
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

/* Header Container */
.site-header {
    padding: 1.25rem var(--side-padding);
    display: flex;
    align-self: stretch;
}

/* Subtitle */
.subtitle {
    color: var(--text-color);
    font-family: 'Oxygen', Arial, sans-serif;
    font-size: var(--font-size-subtitle);
    font-weight: 300;
    line-height: normal;
    margin: 0;
}

/* Button Label */
.button-label {
    align-self: stretch;
    font-family: 'Oxygen', Arial, sans-serif;
    font-size: var(--font-size-body);
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0.00625rem;
}

@media (min-width: 1440px) {
    .button-label {
        font-size: var(--font-size-small);
    }
}

/* Button Styles */
.button {
    border-radius: 6.25rem;
    border: 2px solid var(--orange-color);
    color: var(--text-color);
    background-color: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
    text-decoration: none;

    font-family: 'Oxygen', Arial, sans-serif;
    /* Apply font styles */
    font-size: var(--font-size-body);
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    letter-spacing: 0.00625rem;
}

@media (max-width: 767px) {
    .button {
        padding: 0.5rem 1rem;
    }
}

/* Interaction States for .button */
.button:hover {
    background-color: rgba(255, 171, 0, 0.2);
    color: var(--orange-color);
}

.button:active {
    background-color: rgba(255, 171, 0, 0.12);
    border-color: var(--orange-color);
    color: var(--orange-color);
}

.button:focus {
    background-color: rgba(255, 171, 0, 0.2);
    color: var(--orange-color);
    outline: none;
}

.button:focus-visible {
    outline: 2px solid var(--orange-color);
    outline-offset: 4px;
}

.button.disabled {
    cursor: not-allowed;
    border-color: rgba(139, 113, 70, 0.12);
    color: var(--text-disabled-color);
}

.button.disabled .button-label {
    opacity: 0.38;
}

/* Round Button Styles */
.roundbutton {
    border: 5px solid var(--orange-color);
    display: flex;
    width: 9.375rem;
    height: 9.375rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

@media (max-width: 400px) {
    .roundbutton {
        width: 8rem;
        height: 8rem;
    }
}

/* Contact Links */
.contact {
    color: #FFF;
    font-family: 'Oxygen', Arial, sans-serif;
    font-size: var(--font-size-small);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* Common Image Styles */
img {
    max-width: 100%;
    height: auto;
}

/* Menu */
.modlforge {
    color: var(--text-color);
    font-family: 'Kanit', Arial, sans-serif;
    font-size: var(--font-size-company-name);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.menu-link {
    position: relative;
    text-decoration: none;
    color: inherit;
    font-family: 'Kanit', Arial, sans-serif;
    font-weight: 300;
    font-size: var(--font-size-menu-link);
    line-height: normal;
}

.menu-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: var(--green-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.menu-link:hover::after,
.menu-link:focus::after {
    transform: scaleX(1);
}

.menu-link:focus-visible {
    outline: 2px solid var(--orange-color);
    outline-offset: 4px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
}

.menu-frame {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.contact-cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    max-height: 50rem;
    align-self: stretch;
    padding: 6rem var(--side-padding) 10rem var(--side-padding);
}

/*Footer*/
/* Contacts Container */
.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12.5rem;
}

/* Footer Logo */
.modlforge-footer {
    color: #FFF;
    font-family: 'Kanit', Arial, sans-serif;
    font-size: var(--font-size-company-name);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* Mo Icon */
.mo-icon {
    width: 14rem;
    height: 14rem;
}

/* All Rights Reserved Text */
.all-rights-reserved {
    color: #FFF;
    font-family: 'Oxygen', Arial, sans-serif;
    font-size: var(--font-size-extra-small);
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

/* Name and Logo Container */
.namelogo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.26875rem;
}

/* Footer Section */
.footer {
    display: flex;
    padding: 4.0625rem var(--side-padding);
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 6.25rem;
    flex: 1 0 0;
    background: var(--blue-color);
}


/* Media Queries */

/* Small Devices (max-width: 400px) */
@media (max-width: 400px) {
    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--background-color);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .menu-wrapper {
        gap: 0.25rem;
    }

    .mo-icon {
        width: 4rem;
        height: 4rem;
    }

    .contact-cta-section {
        padding: 6rem var(--side-padding);
    }
}

/* Small-Medium Devices (400px - 500px) */
@media (min-width: 400px) and (max-width: 767px) {
    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .menu-wrapper {
        gap: 0.25rem;
    }

    .mo-icon {
        width: 6rem;
        height: 6rem;
    }

    .contact-cta-section {
        padding: 6rem var(--side-padding);
    }
}

/* Medium Devices (500px - 767px) */
@media (min-width: 500px) and (max-width: 767px) {}

/* Large Devices (768px - 1020px) */
@media (min-width: 768px) and (max-width: 1020px) {
    .contact-cta-section {
        padding: 7rem var(--side-padding);
    }
}

/* Extra Large Devices (1020px - 1500px) */
@media (min-width: 1020px) and (max-width: 1500px) {}

/* Extra Large Devices (1500px and up) */
@media (min-width: 1500px) {}

/* Ultra High Resolution (1920px and up) */
@media (min-width: 1920px) {}