/* 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);
    --green-color: #AEEA00;
    --green-color-rgba-50: rgba(174, 234, 0, 0.5);
    --green-color-rgba-25: rgba(174, 234, 0, 0.25);
    --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;

    --side-padding: 4rem;
}

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

/* 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: var(--background-color);
    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);
}

/* .button:focus {
    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;
}