/* =============================================
CSS VARIABLES & CORE STYLES
============================================== */

:root {
    --heading-font: 'Copper02';
    --body-font: 'Base01';

    --dark-bg: #08000C;
    --light-bg: #fffcf4;
    --accent: #C3B7E2;

    --dark-text: #000;
    --light-text: #fffcf4;

    --border-transition: 0.8s cubic-bezier(.58, .21, .15, .95);
    --loader-normal-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
    --loader-text-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
    --loader-moving-revert-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
    --main-content-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nav-letter-ease: cubic-bezier(.28, .46, .47, .94);
    --transition-logo-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
    --cont-navigation:  ease;

    --pad-header: 20px 45px 20px 45px;
    --global-border: 2px;

    --section-padding-dek: 80px;
    --section-padding-mob: 20px;
}

/* =============================================
GLOBAL RESETS
============================================== */

* {
    -webkit-tap-highlight-color: transparent;
}

*, :after, :before {
    border: 0 solid;
    box-sizing: border-box;
}

html, body {
    scroll-behavior: auto;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior: none;
    overflow-y: auto;
    overflow-x: hidden;
}

html.loading {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

html.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: all;
    cursor: default;
}

html.loading.fade-out main {
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.4, 0.0, 0.2, 1);
}

html.loading.fade-out header .nav_links {
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.4, 0.0, 0.2, 1);
}

html.loading.content-hidden body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

main,
header {
    opacity: 1;
}

body.menu-open main,
body.menu-open header {
    opacity: 1;
}

body {
    overscroll-behavior: none;
    scroll-behavior: auto;
    background-color: var(--light-bg);
    font-family: var(--body-font);
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    transition: background-color 0.2s ease;
}

html.menu-no-scroll {
    overflow: hidden !important;
}

html.menu-no-scroll body {
    overflow: hidden !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html,
body {
    scrollbar-width: none !important;
    scrollbar-gutter: stable both-edges;
}

html,
body {
    -ms-overflow-style: none !important;
}

* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

html {
    width: 100vw !important;
    max-width: 100% !important;
}

body {
    width: 100% !important;
    max-width: 100vw !important;
}

/* =============================================
FONTS
============================================== */

@font-face {
    font-family: 'Copper01';
    src: url('/assets/Copper-01.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Copper02';
    src: url('/assets/Copper-02.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Copper03';
    src: url('/assets/Copper-03.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Base01';
    src: url('/assets/Base-01.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    -webkit-font-smoothing: inherit;
}

a, p, span, button, li, ul, ol, dl, dt, dd, input, textarea, select, option, label {
    font-family: var(--body-font);
}

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

/* =============================================
LETTER ANIMATIONS
============================================== */

.button:hover .main_button_text .letter:nth-child(1), .nav_link:hover .letter:nth-child(1) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.03s; }
.button:hover .main_button_text .letter:nth-child(2), .nav_link:hover .letter:nth-child(2) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.06s; }
.button:hover .main_button_text .letter:nth-child(3), .nav_link:hover .letter:nth-child(3) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.12s; }
.button:hover .main_button_text .letter:nth-child(4), .nav_link:hover .letter:nth-child(4) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.15s; }
.button:hover .main_button_text .letter:nth-child(5), .nav_link:hover .letter:nth-child(5) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.18s; }
.button:hover .main_button_text .letter:nth-child(6), .nav_link:hover .letter:nth-child(6) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.21s; }
.button:hover .main_button_text .letter:nth-child(7), .nav_link:hover .letter:nth-child(7) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.24s; }
.button:hover .main_button_text .letter:nth-child(8), .nav_link:hover .letter:nth-child(8) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.27s; }
.button:hover .main_button_text .letter:nth-child(9), .nav_link:hover .letter:nth-child(9) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.30s; }
.button:hover .main_button_text .letter:nth-child(10), .nav_link:hover .letter:nth-child(10) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.33s; }
.button:hover .main_button_text .letter:nth-child(11), .nav_link:hover .letter:nth-child(11) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.36s; }
.button:hover .main_button_text .letter:nth-child(12), .nav_link:hover .letter:nth-child(12) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.39s; }
.button:hover .main_button_text .letter:nth-child(13), .nav_link:hover .letter:nth-child(13) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.42s; }
.button:hover .main_button_text .letter:nth-child(14), .nav_link:hover .letter:nth-child(14) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.45s; }
.button:hover .main_button_text .letter:nth-child(15), .nav_link:hover .letter:nth-child(15) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.48s; }
.button:hover .main_button_text .letter:nth-child(16), .nav_link:hover .letter:nth-child(16) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.51s; }
.button:hover .main_button_text .letter:nth-child(17), .nav_link:hover .letter:nth-child(17) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.54s; }
.button:hover .main_button_text .letter:nth-child(18), .nav_link:hover .letter:nth-child(18) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.57s; }
.button:hover .main_button_text .letter:nth-child(19), .nav_link:hover .letter:nth-child(19) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.60s; }
.button:hover .main_button_text .letter:nth-child(20), .nav_link:hover .letter:nth-child(20) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.61s; }
.button:hover .main_button_text .letter:nth-child(21), .nav_link:hover .letter:nth-child(21) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.64s; }
.button:hover .main_button_text .letter:nth-child(22), .nav_link:hover .letter:nth-child(22) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.67s; }
.button:hover .main_button_text .letter:nth-child(23), .nav_link:hover .letter:nth-child(23) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.70s; }
.button:hover .main_button_text .letter:nth-child(24), .nav_link:hover .letter:nth-child(24) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.73s; }
.button:hover .main_button_text .letter:nth-child(25), .nav_link:hover .letter:nth-child(25) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.76s; }
.button:hover .main_button_text .letter:nth-child(26), .nav_link:hover .letter:nth-child(26) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.79s; }
.button:hover .main_button_text .letter:nth-child(27), .nav_link:hover .letter:nth-child(27) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.81s; }
.button:hover .main_button_text .letter:nth-child(28), .nav_link:hover .letter:nth-child(28) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.84s; }
.button:hover .main_button_text .letter:nth-child(29), .nav_link:hover .letter:nth-child(29) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.87s; }
.button:hover .main_button_text .letter:nth-child(30), .nav_link:hover .letter:nth-child(30) { animation: flipLetter360 0.55s var(--nav-letter-ease) forwards 0.90s; }

.menu_link_text:hover .letter:nth-child(1), .accordion_header:hover .accordion_title .letter:nth-child(1), .menu_footer_email:hover .letter:nth-child(1), .footer_email:hover .letter:nth-child(1), .footer_nav_link:hover .letter:nth-child(1) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.03s; }
.menu_link_text:hover .letter:nth-child(2), .accordion_header:hover .accordion_title .letter:nth-child(2), .menu_footer_email:hover .letter:nth-child(2), .footer_email:hover .letter:nth-child(2), .footer_nav_link:hover .letter:nth-child(2) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.06s; }
.menu_link_text:hover .letter:nth-child(3), .accordion_header:hover .accordion_title .letter:nth-child(3), .menu_footer_email:hover .letter:nth-child(3), .footer_email:hover .letter:nth-child(3), .footer_nav_link:hover .letter:nth-child(3) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.12s; }
.menu_link_text:hover .letter:nth-child(4), .accordion_header:hover .accordion_title .letter:nth-child(4), .menu_footer_email:hover .letter:nth-child(4), .footer_email:hover .letter:nth-child(4), .footer_nav_link:hover .letter:nth-child(4) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.15s; }
.menu_link_text:hover .letter:nth-child(5), .accordion_header:hover .accordion_title .letter:nth-child(5), .menu_footer_email:hover .letter:nth-child(5), .footer_email:hover .letter:nth-child(5), .footer_nav_link:hover .letter:nth-child(5) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.18s; }
.menu_link_text:hover .letter:nth-child(6), .accordion_header:hover .accordion_title .letter:nth-child(6), .menu_footer_email:hover .letter:nth-child(6), .footer_email:hover .letter:nth-child(6), .footer_nav_link:hover .letter:nth-child(6) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.21s; }
.menu_link_text:hover .letter:nth-child(7), .accordion_header:hover .accordion_title .letter:nth-child(7), .menu_footer_email:hover .letter:nth-child(7), .footer_email:hover .letter:nth-child(7), .footer_nav_link:hover .letter:nth-child(7) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.24s; }
.menu_link_text:hover .letter:nth-child(8), .accordion_header:hover .accordion_title .letter:nth-child(8), .menu_footer_email:hover .letter:nth-child(8), .footer_email:hover .letter:nth-child(8), .footer_nav_link:hover .letter:nth-child(8) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.27s; }
.menu_link_text:hover .letter:nth-child(9), .accordion_header:hover .accordion_title .letter:nth-child(9), .menu_footer_email:hover .letter:nth-child(9), .footer_email:hover .letter:nth-child(9), .footer_nav_link:hover .letter:nth-child(9) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.30s; }
.menu_link_text:hover .letter:nth-child(10), .accordion_header:hover .accordion_title .letter:nth-child(10), .menu_footer_email:hover .letter:nth-child(10), .footer_email:hover .letter:nth-child(10), .footer_nav_link:hover .letter:nth-child(10) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.33s; }
.menu_link_text:hover .letter:nth-child(11), .accordion_header:hover .accordion_title .letter:nth-child(11), .menu_footer_email:hover .letter:nth-child(11), .footer_email:hover .letter:nth-child(11), .footer_nav_link:hover .letter:nth-child(11) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.36s; }
.menu_link_text:hover .letter:nth-child(12), .accordion_header:hover .accordion_title .letter:nth-child(12), .menu_footer_email:hover .letter:nth-child(12), .footer_email:hover .letter:nth-child(12), .footer_nav_link:hover .letter:nth-child(12) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.39s; }
.menu_link_text:hover .letter:nth-child(13), .accordion_header:hover .accordion_title .letter:nth-child(13), .menu_footer_email:hover .letter:nth-child(13), .footer_email:hover .letter:nth-child(13), .footer_nav_link:hover .letter:nth-child(13) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.42s; }
.menu_link_text:hover .letter:nth-child(14), .accordion_header:hover .accordion_title .letter:nth-child(14), .menu_footer_email:hover .letter:nth-child(14), .footer_email:hover .letter:nth-child(14), .footer_nav_link:hover .letter:nth-child(14) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.45s; }
.menu_link_text:hover .letter:nth-child(15), .accordion_header:hover .accordion_title .letter:nth-child(15), .menu_footer_email:hover .letter:nth-child(15), .footer_email:hover .letter:nth-child(15), .footer_nav_link:hover .letter:nth-child(15) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.48s; }
.menu_link_text:hover .letter:nth-child(16), .accordion_header:hover .accordion_title .letter:nth-child(16), .menu_footer_email:hover .letter:nth-child(16), .footer_email:hover .letter:nth-child(16), .footer_nav_link:hover .letter:nth-child(16) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.51s; }
.menu_link_text:hover .letter:nth-child(17), .accordion_header:hover .accordion_title .letter:nth-child(17), .menu_footer_email:hover .letter:nth-child(17), .footer_email:hover .letter:nth-child(17), .footer_nav_link:hover .letter:nth-child(17) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.54s; }
.menu_link_text:hover .letter:nth-child(18), .accordion_header:hover .accordion_title .letter:nth-child(18), .menu_footer_email:hover .letter:nth-child(18), .footer_email:hover .letter:nth-child(18), .footer_nav_link:hover .letter:nth-child(18) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.57s; }
.menu_link_text:hover .letter:nth-child(19), .accordion_header:hover .accordion_title .letter:nth-child(19), .menu_footer_email:hover .letter:nth-child(19), .footer_email:hover .letter:nth-child(19), .footer_nav_link:hover .letter:nth-child(19) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.60s; }
.menu_link_text:hover .letter:nth-child(20), .accordion_header:hover .accordion_title .letter:nth-child(20), .menu_footer_email:hover .letter:nth-child(20), .footer_email:hover .letter:nth-child(20), .footer_nav_link:hover .letter:nth-child(20) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.61s; }
.menu_link_text:hover .letter:nth-child(21), .accordion_header:hover .accordion_title .letter:nth-child(21), .menu_footer_email:hover .letter:nth-child(21), .footer_email:hover .letter:nth-child(21), .footer_nav_link:hover .letter:nth-child(21) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.64s; }
.menu_link_text:hover .letter:nth-child(22), .accordion_header:hover .accordion_title .letter:nth-child(22), .menu_footer_email:hover .letter:nth-child(22), .footer_email:hover .letter:nth-child(22), .footer_nav_link:hover .letter:nth-child(22) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.67s; }
.menu_link_text:hover .letter:nth-child(23), .accordion_header:hover .accordion_title .letter:nth-child(23), .menu_footer_email:hover .letter:nth-child(23), .footer_email:hover .letter:nth-child(23), .footer_nav_link:hover .letter:nth-child(23) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.70s; }
.menu_link_text:hover .letter:nth-child(24), .accordion_header:hover .accordion_title .letter:nth-child(24), .menu_footer_email:hover .letter:nth-child(24), .footer_email:hover .letter:nth-child(24), .footer_nav_link:hover .letter:nth-child(24) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.73s; }
.menu_link_text:hover .letter:nth-child(25), .accordion_header:hover .accordion_title .letter:nth-child(25), .menu_footer_email:hover .letter:nth-child(25), .footer_email:hover .letter:nth-child(25), .footer_nav_link:hover .letter:nth-child(25) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.76s; }
.menu_link_text:hover .letter:nth-child(26), .accordion_header:hover .accordion_title .letter:nth-child(26), .menu_footer_email:hover .letter:nth-child(26), .footer_email:hover .letter:nth-child(26), .footer_nav_link:hover .letter:nth-child(26) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.79s; }
.menu_link_text:hover .letter:nth-child(27), .accordion_header:hover .accordion_title .letter:nth-child(27), .menu_footer_email:hover .letter:nth-child(27), .footer_email:hover .letter:nth-child(27), .footer_nav_link:hover .letter:nth-child(27) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.81s; }
.menu_link_text:hover .letter:nth-child(28), .accordion_header:hover .accordion_title .letter:nth-child(28), .menu_footer_email:hover .letter:nth-child(28), .footer_email:hover .letter:nth-child(28), .footer_nav_link:hover .letter:nth-child(28) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.84s; }
.menu_link_text:hover .letter:nth-child(29), .accordion_header:hover .accordion_title .letter:nth-child(29), .menu_footer_email:hover .letter:nth-child(29), .footer_email:hover .letter:nth-child(29), .footer_nav_link:hover .letter:nth-child(29) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.87s; }
.menu_link_text:hover .letter:nth-child(30), .accordion_header:hover .accordion_title .letter:nth-child(30), .menu_footer_email:hover .letter:nth-child(30), .footer_email:hover .letter:nth-child(30), .footer_nav_link:hover .letter:nth-child(30) { animation: flipLetter180 0.55s var(--nav-letter-ease) forwards 0.90s; }

/* .letter:nth-child(1)  { animation-delay: 0.02s; }
.letter:nth-child(2)  { animation-delay: 0.05s; }
.letter:nth-child(3)  { animation-delay: 0.11s; }
.letter:nth-child(4)  { animation-delay: 0.14s; }
.letter:nth-child(5)  { animation-delay: 0.17s; }
.letter:nth-child(6)  { animation-delay: 0.20s; }
.letter:nth-child(7)  { animation-delay: 0.23s; }
.letter:nth-child(8)  { animation-delay: 0.26s; }
.letter:nth-child(9)  { animation-delay: 0.29s; }
.letter:nth-child(10) { animation-delay: 0.32s; }
.letter:nth-child(11) { animation-delay: 0.35s; }
.letter:nth-child(12) { animation-delay: 0.38s; }
.letter:nth-child(13) { animation-delay: 0.41s; }
.letter:nth-child(14) { animation-delay: 0.44s; }
.letter:nth-child(15) { animation-delay: 0.47s; }
.letter:nth-child(16) { animation-delay: 0.50s; }
.letter:nth-child(17) { animation-delay: 0.53s; }
.letter:nth-child(18) { animation-delay: 0.56s; }
.letter:nth-child(19) { animation-delay: 0.59s; }
.letter:nth-child(20) { animation-delay: 0.60s; }
.letter:nth-child(21) { animation-delay: 0.63s; }
.letter:nth-child(22) { animation-delay: 0.66s; }
.letter:nth-child(23) { animation-delay: 0.69s; }
.letter:nth-child(24) { animation-delay: 0.72s; }
.letter:nth-child(25) { animation-delay: 0.75s; }
.letter:nth-child(26) { animation-delay: 0.78s; }
.letter:nth-child(27) { animation-delay: 0.80s; }
.letter:nth-child(28) { animation-delay: 0.83s; }
.letter:nth-child(29) { animation-delay: 0.88s; }
.letter:nth-child(30) { animation-delay: 0.89s; } */

@keyframes flipLetter360 {
    0% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes flipLetter180 {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

.button .main_button_text .letter, .nav_link .letter, .menu_link_text .letter, .accordion_header .accordion_title .letter, .menu_footer_email .letter, .footer_email .letter, .footer_nav_link .letter {
    display: inline-block;
    position: relative;
    transform: rotateY(0deg);
    transform-origin: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.button .main_button_text .letter::before, .nav_link .letter::before, .menu_link_text .letter::before, .accordion_header .accordion_title .letter::before, .menu_footer_email .letter::before, .footer_email .letter::before, .footer_nav_link .letter::before  {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.button:hover .main_button_text .letter, .nav_link:hover .letter {
    animation: flipLetter360 0.55s var(--nav-letter-ease) forwards;
}

.menu_link_text:hover .letter, .accordion_header:hover .accordion_title .letter, .menu_footer_email:hover .letter, .footer_email:hover .letter, .footer_nav_link:hover .letter  {
    animation: flipLetter180 0.55s var(--nav-letter-ease) forwards;
}

/* =============================================
BUTTONS
============================================== */

.button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: fit-content;
    text-align-last: center;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: var(--light-text);
    padding: 10px 10px;
    cursor: pointer;
    align-items: center;
}

#id_contact_p .button {
    margin: auto;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 53px;
    background-color: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1), width 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 0;
}

.button:hover::before {
    width: 100%;
}

.button.active::before {
    transform: translateX(0);
}

.button .main_button_text {
    color: var(--dark-text);
    font-size: 16px;
    height: 14.5px;
    padding: 0 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    z-index: 1;
    transition: color 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

@media screen and (min-width: 977px) {
    .button:hover .main_button_text {
        color: var(--light-text);
    }
}

.button .main_button_arrow {
    font-size: 16px;
    height: 14.5px;
    position: relative;
    z-index: 1;
}

/* =============================================
MAIN CONTENT
============================================== */

main {
    opacity: 0;
    transition: opacity 0.8s var(--main-content-ease);
    margin-top: 77px;
}

#id_contact_p main {
    margin-top: 0;
}

@media screen and (max-width: 976px) {
    main {
        margin-top: 50px;
    }
}

main.visible {
    opacity: 1;
}

main.hidden {
    opacity: 0;
    transition: opacity 0.4s var(--main-content-ease);
}

/* =============================================
PAGE TRANSITION OVERLAY
============================================== */

#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-bg);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.transition-logo {
    position: fixed;
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--light-text);
    background-color: var(--accent);
    padding: 2px 16px;
    display: inline-block;
    transition: all 0.8s var(--transition-logo-ease);
    transform: translate(0, 0);
    opacity: 0;
    pointer-events: none;
}

.transition-logo.active {
    opacity: 1;
}

.transition-logo.moving {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    padding: 20px 40px;
}

.transition-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent);
    transition: width 0.1s linear;
    z-index: 1;
}

.transition-logo-text {
    position: relative;
    z-index: 2;
    color: var(--dark-text);
    transition: color 0.6s ease;
}

.transition-logo.complete .transition-logo-text {
    color: var(--light-text);
}

/* =============================================
MOBILE STYLES
============================================== */

@media screen and (max-width: 976px) {
    html, body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        overflow-x: hidden;
        overflow-y: auto;
    }

    html.loading {
        overflow: hidden !important;
    }

    html.loading.content-hidden body {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .transition-logo.moving {
        font-size: 48px;
        padding: 12px 24px;
    }

    .button:hover::before {
        width: 53px;
    }

    .button:hover .main_button_text .letter, .nav_link:hover .letter {
        transform: rotateY(180deg) !important;
    }

    .menu_link_text:hover .letter, .accordion_header:hover .accordion_title .letter, .menu_footer_email:hover .letter, .footer_email:hover .letter, .footer_nav_link:hover .letter  {
        transform: rotateY(0deg) !important;
    }
}
