:root {
    --grid-border: 0.5rem solid #000000;
    --color-blue: #3954A5;
    --color-orange: #FF7701;
    --color-pink: #FADFE4;
    --padding-x: 5rem;
    --title-font-family: 'HunInn', "M PLUS Rounded 1c", sans-serif;
}

@font-face {
    font-family: 'HunInn';
    src: url('../font/jf-openhuninn-1.1.ttf');
}

body {
    background-color: #EBEBEB;
    color: #000000;
    background-image: -webkit-repeating-radial-gradient(circle, var(--color-blue), var(--color-blue) .25rem, transparent .25rem, transparent 100%);
    background-size: 1.5rem 1.5rem;
    font-size: 1.5rem;
    line-height: 1.375;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 220px;
    }
}

nav.navbar, footer {
    display: none;
}

.container, .container-md, .container-sm {
    max-width: initial;
}

.main-content {
    padding: 0;
    max-width: 1440px;
    margin: 0 auto;
    border-left: var(--grid-border);
    border-right: var(--grid-border);
    overflow: hidden;
}

section {
    position: relative;
    display: flex;
    height: 100%;
    padding: 0 var(--padding-x);
    border-bottom: var(--grid-border);
    background: #FFFFFF;

}

section:nth-of-type(2n) {
    background-color: #FFFFFF !important;
}

section div.container {
    padding: 4rem var(--padding-x);
}

.show-sm {
    display: none !important;
}

h1 {
    position: relative;
    margin-bottom: 0;
    font-family: var(--title-font-family);
    font-size: 7rem;
    line-height: 1.375;
    z-index: 2;
}

h1 span:first-of-type {
    display: block;
    font-size: 4.5rem;
    padding-top: 2rem;
}

h1 span:last-of-type {
    padding-left: 1.5rem;
}

a {
    color: #000000;
}

a:hover {
    color: #FFFFFF;
}

.color-block-l {
    margin-left: calc(-1 * var(--padding-x)) !important;
    padding-left: var(--padding-x) !important;
}


.color-block-r {
    margin-right: calc(-1 * var(--padding-x)) !important;
    padding-right: var(--padding-x) !important;
}

.bg-blue {
    background-color: var(--color-blue);
    color: #FFFFFF;
}

.bg-orange {
    background-color: var(--color-orange);
}

.bg-pink {
    background-color: var(--color-pink);
}

.s-1 {
    height: 10rem;
    align-items: center;
}

.s-2 {
    height: 30rem;
}

.s-3 {
    height: 32rem;
    /*height: 40rem;*/
}

.s-4 {
    height: 15rem;
}

.s-5 {
    height: 32rem;
}

.s-7 {
    display: none;
}

.w-240 {
    width: 15rem !important;
    height: 100%;
    border-right: var(--grid-border);
}

.w-1024 {
    width: 64rem !important;
    height: 100%;
    border-right: var(--grid-border);
}

.w-full {
    width: calc(100% - (var(--padding-x)));
}


.action-btn {
    position: relative;
    width: 16rem;
    padding: 1.125rem 2rem;
    border: var(--grid-border);
    background: var(--color-pink);
    color: var(--color-blue);
    font-family: var(--title-font-family);
    font-size: 2rem;
    transition: all 0.3s ease;
    animation: press 1.25s ease-out infinite;
}

.action-btn:hover, .action-btn:active {
    background: var(--color-orange);
    color: #FFFFFF;
}

.action-btn:before {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    height: 1rem;
    width: calc(100% + 1rem);
    left: 0;
    transform: skewX(45deg);
    background-color: #000000;
    transition: all 0.3s ease;
}

.action-btn:after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 0;
    width: 1rem;
    height: calc(100% + 1rem);
    transform: skewY(45deg);
    background-color: #000000;
    transition: all 0.3s ease;
}

.action-btn:active:before {
    bottom: -1rem;
    height: 0.5rem;
    left: -0.25rem;
}

.action-btn:active:after {
    right: -1rem;
    width: 0.5rem;
    top: -0.25rem;
}


.action-btn:before {
    animation: pressBottom 1.25s ease-out infinite;
}

.action-btn:after {
    animation: pressRight 1.25s ease-out infinite;
}


@keyframes press {
    0% {
        transform: translate(0, 0);
    }
    80% {
        transform: translate(0.75rem, 0.75rem);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes pressBottom {
    0% {
        height: 1rem;
        transform: translate(0, 0) skewX(45deg);
    }
    80% {
        height: 0.25rem;
        transform: translate(-0.35rem, -0.75rem) skewX(45deg);
    }
    100% {
        height: 1rem;
        transform: translate(0, 0) skewX(45deg);
    }
}

@keyframes pressRight {
    0% {
        width: 1rem;
        transform: translate(0, 0) skewY(45deg);
    }
    80% {
        width: 0.25rem;
        transform: translate(-0.75rem, -0.35rem) skewY(45deg);
    }
    100% {
        width: 1rem;
        transform: translate(0, 0) skewY(45deg);
    }
}

.action-btn span {
    display: flex;
    justify-content: space-between;
}

.action-btn span:after {
    content: url("/img/event/chev-right-blue.svg");
    display: inline-flex;
    align-items: center;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

.action-btn:hover span:after {
    content: url("/img/event/chev-right.svg");
    /*display: inline-flex;*/
    /*align-items: center;*/
    /*height: 2rem;*/
    padding-left: 0.5rem;
}

.title {
    height: 100%;
    margin-left: auto;
    padding-top: 4rem;
    color: #000000;
    font-family: var(--title-font-family);
    font-size: 3rem;
    text-align: right;
}

.title:hover {
    color: var(--color-blue);
}

.title span:first-of-type {
    padding-right: 1rem;
}

.event-title {
    position: relative;
    margin-bottom: 3rem;
    font-family: var(--title-font-family);
    font-size: 3rem;
    line-height: 1;
    z-index: 1;
}

.event-title__sub {
    margin-bottom: 1.5rem;
    font-family: var(--title-font-family);
    font-size: 2rem;
    line-height: 1;
}

.deco {
    position: absolute;
}

.deco-arrow:before {
    content: url("/img/event/bg-svg-arrow.svg");
    display: block;
    height: 100%;
}

.deco-circle:before {
    content: url("/img/event/bg-svg-circle.svg");
    display: block;
    height: 100%;
}

.deco-stripe:before {
    content: url("/img/event/bg-svg-stripe.svg");
    display: block;
    height: 100%;
}

.badge-date {
    position: absolute;
    left: 0;
    top: calc((1.5rem + 2rem + (4.5rem + 3rem) * 1.375) * (-1) / 2);
    padding: 1.5rem 3rem 2rem var(--padding-x);
    background-color: var(--color-blue);
    color: white;
    border: var(--grid-border);
    border-left: none;
    font-family: 'Fugaz One', cursive;
    font-weight: 400;
    z-index: 1;
}

.badge-date .year {
    font-size: 4.5rem;
}

.badge-date .date {
    font-size: 3rem;
}

.brand-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-top: auto;
    padding-bottom: 4.75rem;
    width: 8rem;
}

.s-1 .event-topic.show-sm {
    display: none;
}

.s-2 .banner {
    width: calc(100% - var(--padding-x));
    padding: 4.5rem 0 7rem 0;
    text-align: right;
}

.s-2 .action-btn {
    position: absolute;
    right: var(--padding-x);
    bottom: calc(-5.5rem / 2);
    z-index: 1;
}

.s-2 .action-btn:active {
    right: calc(var(--padding-x) - 0.75rem);
    bottom: calc(-5.5rem / 2 - 0.75rem);
    background: var(--color-blue);
}


.s-2 .deco:first-of-type {
    left: 20rem;
    top: 3.5rem;
}

.s-2 .deco:last-of-type {
    right: -2rem;
    bottom: 4.5rem;
}

.s-2 .event-topic {
    position: relative;
    height: 100%;
    z-index: 1;
}

.s-3 .topic {
    position: relative;
}

.s-3 .w-240 {
    overflow: hidden;
}

.s-3 .deco-stripe {
    left: -1rem;
    top: -1rem;
}

.s-3 .deco-circle {
    right: 0;
}

.topic-section {
    position: absolute;
    display: flex;
    justify-content: space-between;
    left: 0;
    top: calc(3rem + 3rem + 4rem);
    width: 100%;
    padding: 0 var(--padding-x);
    z-index: 2;
}

.topic-block {
    width: calc((1440px - (var(--padding-x)) - var(--padding-x) - 2%) * 0.31);
    padding: 2.5rem;
    border: var(--grid-border);
    background: #FFFFFF;
}

.topic-block.topic-block__2 {
    width: calc((1440px - (var(--padding-x)) - var(--padding-x) - 2%) * 0.49);
}

.topic-block:nth-child(2) {
    margin: 0 2%;
}

.topic-block__wide {
    /*width: 28rem;*/
    width: calc((1440px - (var(--padding-x)) - (var(--padding-x)) - 10%) * 0.38);
}

.topic-block__title {
    height: 8rem;
    /*height: 14.5rem;*/
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: var(--grid-border);
    font-family: var(--title-font-family);
    font-size: 3rem;
}

.topic-block__title img {
    width: 100%;
}

.topic-block__content {
    display: flex;
    align-items: center;
}

.topic-block__content img {
    width: 2.5rem !important;
    padding-right: 0.25rem;
}


.s-4 .w-full {
    display: flex;
    justify-content: end;
    align-items: end;
    padding-bottom: 3rem;
    padding-right: 0 !important;
}

.s-4 .logo {
    height: 8.25rem;
    opacity: 0.8;
}

.s-5 table {
    line-height: 2;
}

.s-5 table tr > td:first-child {
    width: 10.5rem;
}

.s-5 .color-block-r {
    display: inline-flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem var(--padding-x) 0 0;
}

.s-5 .date-section {
    height: 100%;
    margin: 0 0 -0.5rem -0.5rem;
    z-index: 1;
}

.s-5 .date-block {
    padding: 1.25rem 2rem;
    margin: 1rem 0 1rem -3rem;
    border: var(--grid-border);
    background: var(--color-pink);
    color: var(--color-blue);
    text-align: center;
    font-weight: 700;
}

.s-5 .color-block-r .event-title {
    float: right;
    margin: 1.5rem 0 1rem 0;
}

.s-5 .date-action {
    position: relative;
    height: 100%;
    margin: 0 calc(-1 * var(--padding-x)) -0.5rem -0.5rem;
}

.s-5 .action-btn {
    position: absolute;
    top: 2rem;
    left: -3rem;
    width: 100%;
    z-index: 1;
}

.s-5 .action-btn:active {
    top: calc(2rem + 0.75rem);
    left: calc(-2rem + 0.75rem);
    background: var(--color-blue);
}

.s-6 {
    padding: 0;
}

.s-6 .container:first-of-type {
    border-right: var(--grid-border);
    overflow: hidden;
}

.s-6 .container .bonus-block {
    display: flex;
    position: absolute;
    bottom: 1.5rem;
    left: -5rem;
    animation: marquee 5s linear infinite;
}

@keyframes marquee {
    0% {
        left: 0;
    }
    100% {
        left: -100%;
    }
}

.s-6 .container .bonus {
    padding-right: 1rem;
}

.s-6 .text-small {
    font-style: italic;
    font-size: 1rem;
}

.footer-link {
    position: absolute;
    right: 2rem;
    bottom: 1.5rem;
    color: #FFFFFF;
    font-size: 1rem;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 1439.99px) {
    body {
        font-size: 1.25rem;
    }

    .title {
        font-size: 2.75rem;
    }

    h1 {
        font-size: 6rem;
    }

    .event-title {
        margin-bottom: 2.75rem;
        font-size: 2.75rem;
    }

    .s-2 {
        height: 28rem;
    }

    .s-2 .banner {
        padding: 5rem 0 6rem 0;
    }

    .s-2 .event-topic {
        width: 90%;
        height: auto;
    }

    .topic-section {
        top: calc(2.75rem + 2.75rem + 4rem);
    }

    .topic-block {
        padding: 2.25rem;
    }

    .topic-block__title {
        height: 18rem;
        font-size: 2.75rem;
    }

    .s-3 .deco-circle {
        right: -9rem;
    }

    .s-4 .logo {
        height: 7.25rem;
    }

    .s-4 .w-full {
        padding-bottom: 2rem;
    }

    .s-5 {
        height: 36rem;
    }

    .s-5 .date-block {
        margin-left: -4rem;
    }

    .s-5 .date-action {
        margin: 0 calc(-1 * var(--padding-x)) -0.5rem -1.5rem;
    }

    .s-5 .action-btn {
        top: 1rem;
    }
}

@media (max-width: 1200px) {
    :root {
        --padding-x: 3rem;
    }

    .w-240 {
        width: 10rem !important;
    }

    .w-1024 {
        width: 40rem !important;
    }

    .title {
        padding-top: var(--padding-x);
        font-size: 2.25rem;
    }

    .title span:first-of-type {
        display: block;
        padding-right: 0;
        font-size: 1.5rem;
    }

    .badge-date .year {
        font-size: 3.5rem;
    }

    .badge-date .date {
        font-size: 2rem;
    }

    h1 {
        font-size: 4rem;
    }

    h1 span {
        display: block;
    }

    .s-3 {
        height: 34rem;
    }

    .s-3 .deco-circle {
        right: -30rem;
    }

    .topic-block {
        padding: 1.75rem;
    }

    .topic-block__title {
        height: auto;
        font-size: 2rem;
    }

    .topic-block__wide, .topic-block {
        width: auto;
    }

    .owl-carousel .owl-stage-outer {
        overflow: visible;
    }

    .owl-carousel .owl-stage {
        padding: 0 !important;
    }

    .s-4 {
        height: 10rem;
    }

    .s-4 .logo {
        height: 4.5rem;
    }

    .s-5 .w-1024 {
        padding-right: 6rem;
    }

    .s-5 .date-block {
        padding: 1rem 1.5rem;
        white-space: nowrap;
    }

    .s-5 table tr td {
        vertical-align: baseline;
    }

    .s-5 .action-btn {
        top: 3rem;
        padding: 1rem 1.5rem;
        font-size: 1.5rem;
    }

    .s-7 {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --grid-border: 0.375rem solid #000000;
        --padding-x: 1.5rem;
    }

    .show-md-and-up {
        display: none !important;
    }

    .show-sm {
        display: block !important;
    }

    .main-content {
        border-left: none;
        border-right: none;
    }

    section div.container {
        padding: 2.5rem var(--padding-x);
    }

    .w-240 {
        width: 5.25rem !important;
    }

    h1 {
        font-size: 3rem;
    }

    h1 span:first-of-type {
        font-size: 1.5rem;
    }

    h1 span:last-of-type {
        padding-top: 1rem;
        font-size: 2.25rem;
    }

    .action-btn {
        width: 11rem;
        padding: 0.75rem 1.5rem;
        font-size: 1.5rem;
    }

    .action-btn::before {
        left: 0.125rem;
        bottom: -1.375rem;
        width: calc(100% + 0.75rem);
    }

    .action-btn:after {
        right: -1.375rem;
        top: 0.125rem;
        height: calc(100% + 0.75rem);
    }

    .action-btn:active::before {
        bottom: -0.875rem;
        left: -0.125rem;
    }

    .action-btn:active:after {
        right: -0.875rem;
        top: -0.125rem;
    }

    .action-btn span:after {
        content: url("/img/event/chev-right-sm-blue.svg");
    }


    .action-btn:hover span:after, .action-btn:active span:after {
        content: url("/img/event/chev-right-sm.svg");
    }

    .event-title {
        /*height: 2.25rem;*/
        margin-bottom: 1.5rem;
        font-size: 2rem;
        line-height: 1.375;
    }

    .s-1 {
        height: 6.5rem;
    }

    .title {
        font-size: 1rem;
    }

    .title span:first-of-type {
        font-size: 1.5rem;
    }

    .badge-date {
        top: -2.75rem;
        padding: 1.2rem var(--padding-x) 1.6rem var(--padding-x);
    }

    .badge-date .year {
        font-size: 3.6rem;
    }

    .badge-date .date {
        font-size: 2.25rem;
    }

    .brand-logo {
        width: 5.25rem;
        padding-bottom: 0;
    }

    .s-2 {
        height: 25rem;
    }

    .s-2 .banner {
        padding-top: 10rem;
        padding-bottom: 4rem;
    }

    .s-2 .event-topic {
        width: auto;
        margin-left: auto;
    }

    .deco-arrow::before {
        content: url("/img/event/bg-svg-sm-arrow.svg")
    }

    .s-2 .deco:first-of-type {
        top: 3.5rem;
        left: initial;
        right: 0;
    }

    .s-2 .deco:last-of-type {
        display: none;
    }

    .s-2 .action-btn {
        bottom: calc((-4rem) / 2);
    }

    .s-3 {
        height: 30rem;
    }

    .s-3 .event-title {
        margin-top: 1.5rem;
    }

    .topic-section {
        top: calc(2.5rem + 1.5rem + 2.5rem + 1.5rem);
    }

    .topic-block {
        padding: 1.5rem;
        width: 300px;
    }

    .topic-block.topic-block__2 {
        width: auto;
    }

    .topic-block__title {
        height: auto;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        font-size: 2rem;
    }

    .topic-block__content img {
        width: 4.5rem !important;
        padding-right: 0.5rem;
    }

    .s-3 .deco-circle {
        left: 8rem;
        right: initial;
        top: 3.25rem;
    }

    .deco-circle::before {
        content: url("/img/event/bg-svg-sm-circle.svg");
    }

    .s-4 {
        height: 8.5rem;
    }

    .s-4 .w-full {
        padding-bottom: 1.5rem;
    }

    .s-4 .logo {
        height: 4.5rem;
    }

    .s-5 {
        flex-direction: column;
        height: auto;
    }

    .s-5 .w-1024 {
        padding-right: var(--padding-x);
    }

    .s-5 .container {
        width: calc(100vw - (var(--padding-x))) !important;
        padding-bottom: 4.5rem;
        border-bottom: var(--grid-border);
    }

    .s-5 table tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }


    .s-5 table tr > td:first-child {
        width: initial;
        margin-bottom: 0.5rem;
        background-color: var(--color-orange);
        font-weight: 700;
    }

    .s-5 table tr:not(:first-of-type) > td:first-child {
        margin-top: 0.75rem;
    }

    .s-5 table tr td {
        line-height: 1.375;
    }

    .s-5 .color-block-r {
        position: relative;
        width: 100vw;
        /*width: 16.375rem;*/
        /*margin-left: auto;*/
        margin-top: -0.375rem;
        padding: 2.5rem var(--padding-x);
        border-top: var(--grid-border);
        /*border-left: var(--grid-border);*/
    }

    .s-5 .date-section {
        margin: initial;
        padding-right: var(--padding-x);
    }

    .s-5 .color-block-r .event-title {
        margin-top: 0;
        margin-left: auto;
        margin-bottom: 1.5rem;
        text-align: right;
        float: initial;
    }

    .s-5 .date-action {
        display: none;
    }

    .s-5 .date-block {
        margin: 1rem 0 1rem 3rem;
    }

    .s-5 .color-block-r .show-sm.bg {
        position: absolute;
        top: 0;
        left: calc(var(--padding-x) * -1); /* left padding */
        width: calc((100vw - 16.375rem));
        height: 100%;
        background-color: var(--color-orange);
        border-right: var(--grid-border);
    }

    .s-6 {
        display: flex;
        flex-direction: column;
        border-bottom: 0;
    }

    .s-6 .container {
        width: 100vw !important;
        border-right: none !important;
    }

    .s-6 .container:first-of-type {
        padding-bottom: 6rem;
        border-bottom: var(--grid-border);
    }

    .event-title__sub {
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .s-6 .container:last-of-type {
        padding-bottom: 7rem;
    }

    .footer-link {
        left: var(--padding-x);
        bottom: 3.5rem;
        right: initial;
    }

    .s-7 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        border-bottom: 0;
    }

    .footer-action {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        z-index: 1000;
    }

    .footer-action .action-btn {
        display: block;
        width: calc(100vw - var(--padding-x) - 1rem); /* full-width - padding-l - button-right-shadow*/
    }
}
