/* START: Global tags */
html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    height: 100%;
    font-size: var(--font-size-body);
}

body {
    width: 100%;
    height: 100%;
    background: var(--blue);
    font-family: var(--font-family);
    color: var(--red);
    font-size: 1rem;
    transition: color 0.4s ease, background-color 0.4s ease;
}

body.show-group,
body.show-about {
    background-color: var(--red);
    color: var(--blue);
}

* {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

::selection {
    background: var(--black);
    color: var(--white);
}

::-moz-selection {
    background: var(--black);
    color: var(--white);
}

p:not(:last-child) {
    margin-bottom: 1.35rem;
}

a,
a:hover,
a:link {
    text-decoration: none;
    color: inherit;
}

em {
}

strong {
    font-weight: inherit;
    font-family: "GT Pressura Mono Bold";
}

input {
}

.logo {
    width: 100%;
    height: calc(308 * var(--size));
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center bottom;
    display: flex;
    justify-content: center;
    padding: var(--gap);
}

.logo .inner {
    width: 33.33%;
    display: block;
    -webkit-transition: width 0.8s linear;
    transition: width 0.8s linear;
}

body.page-template-booking .logo .inner,
body.init-home .logo .inner {
    width: 100%;
}

.logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.logo svg path {
    transition: fill 0.4s ease;
}

body.menu-opened .logo svg path,
body.show-group .logo svg path,
body.show-about .logo svg path {
    fill: var(--blue);
}

/* GENERAL CLASSES */
.reveal {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
    -webkit-transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.revealText {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    -webkit-transform: translate3d(0, 20px, 0);
}

.revealText.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.revealImage {
    opacity: 0;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
}

.revealImage.revealed {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.section,
.aspect-container {
    width: 100%;
    position: relative;
}

.section {
    padding-bottom: var(--gap);
    padding-top: var(--gap);
}

.section.invisible {
    visibility: hidden;
}

.aspect-container picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-container img,
.aspect-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aspect-container video {
    position: absolute;
    left: 0;
    right: 0;
}

body.touhcDevice .main-scroll-content {
    position: relative;
    overflow-y: hidden;
}

/* RESPONSIVE */
@media only screen and (max-width: 740px) {
    .logo {
        width: 100%;
        height: calc(120 * var(--size));
        padding: calc(10 * var(--size)) var(--gap);
    }

    .logo .inner {
        width: 100%;
    }
}
