@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-ExtraBold.ttf);
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-ExtraBoldItalic.ttf);
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-Bold.ttf);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-Medium.ttf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-MediumItalic.ttf);
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-ExtraLight.ttf);
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Sarabun";
    src: url(../fonts/Sarabun-ExtraLightItalic.ttf);
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

:root {
    --red: #7A0204;
    --red: #a70a15;
    --darkred: #3D0102;
    --darkred: #710208;
}

html {
    background-image: linear-gradient(var(--red) 25%, var(--darkred) 100%);
    min-height: 100vh;
    background-attachment: fixed;
    font-size: 10px;
    font-size: calc(100vw / 1920 * 10);
    font-size: calc(100vw / 960 * 5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: "Sarabun", sans-serif;
    display: grid;
    grid-template-columns: 1fr auto;
    font-size: 2rem;
}

nav {
    grid-column-start: 2;
    grid-row-end: span 7;
    background-color: #000;
    padding: 5vw 3rem;
    position: sticky;
    top: 0;
    max-height: 100vh;
    display: flex;
    align-items: center;
    width: 14vw;
    width: 27rem;

    z-index: 10;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    flex-direction: column;
}

body > :not(nav) {
    grid-column-start: 1;
}

footer {
    background-color: #000;
    padding: 3rem 5vw;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

section {
    min-height: 100vh;
    padding: 5vw;
    grid-column-start: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
    position: relative;
    z-index: 2;
    justify-content: center;
}

nav a {
    text-transform: uppercase;
    /* font-style: italic; */
    font-weight: 900;

    background-color: #000;
    text-transform: uppercase;
    width: fit-content;
    display: block;
    padding: 0.25em 3rem 0.3em;
    margin: 0 -3rem;
    transform: skewX(-11deg);
    transform-origin: left bottom;
    font-weight: 900;
    line-height: 1;
    align-self: flex-start;
    margin-right: auto;
    width: calc(100% + 5rem);
    position: relative;
    z-index: 3;
    box-shadow: 2px 2px 10px rgba(0,0,0,.25);
    transition: all .3s ease;
}

nav a.active,
nav a:hover {
    color: var(--red);
    background-color: #fff;
    margin-left: -4.5rem;
    padding-left: 4.5rem;
}

footer a:hover {
    color: var(--red);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all .3s ease;
}

section a {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

.content {
    display: flex;
    flex-direction: column;
    gap: .5em
}

.block {
    /* background-color: #000;
    padding: 3rem;
    width: fit-content;
    margin: auto; */
    margin: 1em 0;

    font-size: 2.5rem;
    font-weight: 200;
}

h2, h1, .cta {
    background-color: #fff;
    color: var(--red);
    text-transform: uppercase;
    width: fit-content;
    display: block;
    padding: .25em 3rem .3em;
    font-size: 3em;
    transform: skewX(-11deg);
    box-shadow: 2px 2px 10px rgba(0,0,0,.25);
    transform-origin: left top;
    font-weight: 900;
    line-height: 1;
    align-self: flex-start;
    margin-right: auto;
}

section h1 ~ * h2 {
    font-size: 1.5em;
    margin-top: 1em;
}

.cta {
    font-size: 2.5rem;
}

#start .cta {
    font-size: 2em;
    margin: 0 auto;
}

.cta:hover {
    padding: .25em 5rem .3em;
}

.full_view {
    position: absolute;
    width: 50%;
    height: 100%;
    /* overflow: hidden; */
    z-index: -1;
}


/* INTRO */

/* #start .full_view {
    right: 0;
    top: 0;
} */

.full_view > * {
    height: 100vh;
    object-fit: cover;
    width: 100%;
    position: sticky;
    top: 0;
}

.buttons {
    margin: auto auto 0;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 60rem;
    width: calc(50% - 5vw);
    /* width: 100%; */
    margin: auto 0;
}

section:nth-of-type(odd):not(#start) {
    padding-right: calc(50% + 5vw);
}

section:nth-of-type(odd) .full_view {
    right: 0;
    top: 0;
}

section:nth-of-type(even) {
    padding-left: calc(50% + 5vw);
}

section:nth-of-type(even) .full_view {
    left: 0;
    top: 0;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem
}

fieldset {
    border: none;
    width: 100%;
    display: flex;
    gap: .25em .75em;
    flex-wrap: wrap;
    /* align-items: baseline; */
    max-width: 100%;
}

label {
    display: block;
}

label:not(:first-child) {
    width: 90%;
    flex-grow: 1;
    font-size: .75em;
    align-self: baseline;
}

label:first-child {
    padding: .1em .5em;
    transform: skew(-11deg);
    border: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,.25);
    transform-origin: left bottom;
    background-color: #000;
    margin-bottom: -1em;
    position: relative;
    z-index: 2;
    font-weight: 900;
    font-size: .75em;
}

input, textarea {
    display: block;
    width: 100%;
    font: inherit;
    padding: .2em .5em;
    transform: skew(-11deg);
    border: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,.25);
    transform-origin: left bottom;
    position: relative;
    align-self: baseline;
    max-width: 100%;
}

input:not(:first-child), textarea:not(:first-child) {
    padding-top: .5em;
}

input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    align-self: baseline;
    box-shadow: none;
}

input[type="submit"] {
    width: auto;
    flex-shrink: 0;
    font-weight: 900;
    width: auto;
    margin-left: auto;
    cursor: pointer;
    padding-left: 3rem;
    padding-right: 3rem;
    color: var(--red);
    transition: all .3s ease;
}

input[type="submit"]:hover {
    padding-left: 4.5rem;
    padding-right: 4.5rem;
    margin-right: -1.5rem;
}

input[type="submit"] + p {
    width: 100%;
    font-size: .75em;
    margin-top: 1em;
}

.hamburger {
    display: none;
}

@media (max-width: 1539px) {
    html {
        font-size: 8px;
    }
}

@media (max-width: 1280px) {
    nav {
        /* display: none; */
        position: fixed;
        right: 0;
        top: 0;
        height: 100%;
        transition: all .3s ease;
        opacity: 0;
        pointer-events: none;
    }

    nav:hover,
    nav.visible {
        opacity: 1;
        pointer-events: all;
    }

    .hamburger {
        display: block;
        position: fixed;
        height: 5rem;
        width: 5rem;
        top: 2rem;
        right: 2rem;
        background-color: #fff;
        z-index: 15;
        cursor: pointer;
        transform: skew(-11deg);
    }

    .hamburger:before {
        content: '';
        height: 40%;
        width: 75%;
        border-top: 2px solid var(--red);
        border-bottom: 2px solid var(--red);
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        transform: translate(-50%, -50%) skew(11deg) ;
        transition: all.3s ease;
    }

    .hamburger:after {
        content: '';
        height: 2px;
        width: 75%;
        background-color: var(--red);
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        transform: translate(-50%, -50%) skew(11deg) ;
        transition: all.3s ease;
    }

    .hamburger.open:before {
        height: 2px;
        width: 75%;
        background-color: var(--red);
        border: none;
        transform: skew(11deg) translate(-50%, -50%) rotate(-45deg);
    }

    .hamburger.open:after {
        transform: skew(11deg) translate(-50%, -50%) rotate(45deg);
    }

    h2, h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 960px) {
    h2, h1 {
        font-size: 2em;
    }

    .full_view {
        position: relative;
        width: 100vw;
        height: 50vh;
        max-height: 100vw;
        margin: 0 -5vw;
        flex-grow: 1;
    }

    .full_view > * {
        height: 100%;
    }

    section {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
        min-height: auto;
        padding-top: 0;
    }

    section:not(:first-of-type) {
        margin-top: 5vh;
    }

    section > * {
        order: 2;
    }

    section:not(#start) > .full_view {
        order: 1;
    }

    section > h2:first-child {
        margin: -1em auto 0;
    }

    #start {
        padding-top: 10vh;
        padding-bottom: 10vh;
        min-height: 100vh;
    }

    #start .full_view {
        flex-grow: 0;
        height: 40vh;
    }

    .logo {
        max-width: 60rem;
        width: 80%;
        margin: auto;
    }

    #start .cta {
        font-size: 1.5em;
        margin: 0 auto;
    }
}

.logo.print {
    display: none;
}

@media print {
    body {
        color: #000;
    }

    .logo.print {
        display: block !important;
    }

    .logo:not(.print) {
        display: none !important;
    }

    .hamburger, footer {
        display: none;
    }
}