/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    position: relative;
	line-height: 1;
    overflow-x: hidden;
    width: 100%;
    height: auto;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Fonts */
@font-face {
    font-family: "Avenir Regular";
    src: url("/assets/AvenirNext-Regular.ttf");
    font-display: swap;
}

@font-face {
    font-family: "Avenir Medium";
    src: url("/assets/AvenirNext-Medium.ttf");
    font-display: swap;
}

/* Styles */

p, a, h1, h2, input, textarea, span, .slide-title, button {
    font-family: 'Avenir Regular' !important;
    color: black;
}

h3 {
    font-family: 'Avenir Regular' !important;
    /* transform: scaleX(0.95);
    transform-origin: left center;
    letter-spacing: 0.5px; */
}

/* :root {
    --fs-64: 64px;
    --fs-48: 48px;
    --fs-40: 40px;
    --fs-36: 40px;
    --fs-32: 32px;
    --fs-24: 24px;
    --fs-10: 10px;

    --pm-128: 128px;
    --pm-80: 80px;
    --pm-64: 64px;
    --pm-48: 48px;
    --pm-40: 40px;
    --pm-32: 32px;
    --pm-28: 28px;
} */

:root {
    /* Font Sizes */
    --fs-64: 46px;
    --fs-48: 42px;
    --fs-40: 32px;
    --fs-36: 26px;
    --fs-32: 22px;
    --fs-24: 18px;
    --fs-10: 10px;

    /* Paddings & Margins */
    --pm-128: 96px;
    --pm-80: 64px;
    --pm-64: 48px;
    --pm-48: 40px;
    --pm-40: 32px;
    --pm-32: 28px;
    --pm-28: 24px;
} 
  

.wrapper {
    display: block;
    position: relative;

    height: 100%;
}

.wrap {
    width: calc(100% - 64px) !important;
    margin: 0 auto;
}

.no-scroll {
    overflow: hidden;
}

.header {
    display: block;
    position: relative;
    width: 100%;
    height: 108px;
    align-content: end;

    margin-bottom: var(--pm-64);
}

.header a {
    display: inline-block;
    position: relative;

    font-size: var(--fs-40);
    color: black;
    text-decoration: none;
}

.desk {
    display: block;
}

.mobile {
    display: none !important;
}

.footer {
    display: block;
    position: relative;
    padding: var(--pm-80) 0;

    text-align: center;

    max-width: fit-content;

    margin: 0 auto;
}

.footer .sub-head {
    font-size: var(--fs-32);
    margin-bottom: var(--pm-40);
}

.footer a {
    font-size: var(--fs-32);
    width: fit-content;
}

.footer .links {
    display: grid;

    grid-template-columns: auto auto auto;
    align-content: center;
    justify-content: center;

    column-gap: var(--pm-64);
    margin-bottom: var(--pm-40);
}

.footer .insta-link {
    display: grid;
    grid-template-columns: 32px auto;
    column-gap: 16px;
    align-items: self-end;
}

.footer img {
    display: block;
    width: 32px;
    height: auto;
}

.footer .misc {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 24px;
}

.footer span {
    font-size: var(--fs-10);
}


a {
    color: black;
}

h1 {
    display: block;
    position: relative;

    font-size: var(--fs-64);
}

h2 {
    font-size: var(--fs-36);
}

h3 {
    font-size: var(--fs-48);
}

.content {
    display: block;
    position: relative;

    margin-bottom: var(--pm-64);
}

.content h1 {
    margin-bottom: var(--pm-28);
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    max-width: 45ch;
}

.content p {
    font-size: var(--fs-32);
    margin-bottom: var(--pm-64);
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    max-width: 75ch;
}

.content .wp-block-column p {
    text-wrap: balance;
    margin-bottom: 0px;
    orphans: 2;
    widows: 2;
}

.content .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: auto;
    column-gap: var(--pm-128);

    text-align: center;
    text-wrap: balance;
}

.content .wp-block-columns figure {
    margin: 0;
}

.content .wp-block-columns img {
    display: block;
    width: 100%;
    height: auto;

    margin-bottom: var(--pm-40);
}

.content .wp-block-columns h2 {
    text-decoration: underline;
    margin-bottom: var(--pm-28);
}

.content .wp-block-columns p {
    font-size: var(--fs-24);
}

.buttons {
    display: block;
    position: relative;

    text-align: center;
    justify-items: center;

    margin-bottom: var(--pm-64);
}

.btn {
    display: block;
    position: relative;

    background-color: #6DBBF3;

    font-size: var(--fs-36);
    font-weight: 400;

    border: none;

    padding: var(--pm-32) var(--pm-64);
    margin: 0 auto;
    margin-bottom: var(--pm-64);

    width: 100%;
    height: auto;
    max-width: 621px;
}

.buttons .arrow-scroll {
    display: block;
    position: relative;

    transform: rotate(90deg);
    height: 16px;
    width: auto;
    margin: 0 auto;
}

.btn:hover, 
.arrow-scroll:hover {
    cursor: pointer;
}

.posts {
    display: block;
    position: relative;
    margin-bottom: var(--pm-128);
}

.posts > p {
    font-size: var(--fs-36);
    margin-bottom: var(--pm-40);
}

.posts-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y;
}

.slideshow-track {
    display: flex;
    gap: 0;
    will-change: transform;
}

.slide-item {
    flex-shrink: 0;
    width: 40vw;
    position: relative;
}

.slide-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin-bottom: var(--pm-32);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    /* Prevent layout shift */
    height: auto;
}

.slide-caption {
    text-align: left;
    padding-left: var(--pm-32);
}

.slide-title {
    font-size: var(--fs-24);
    margin-bottom: var(--pm-32);
}

.slide-excerpt p {
    font-size: var(--fs-24);
    line-height: 1.5;
    text-wrap: pretty;
    width: 80%;
    orphans: 2;
    widows: 2;
    max-width: 65ch;
}

.form {
    display: block;
    position: relative;

    width: 100%;
    max-width: 1328px;
    margin: 0 auto;
    min-height: 400px;
}

#contact-form {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.form-text {
    display: block;
    position: relative;

    text-align: center;
    margin-bottom: var(--pm-64);
}

.form-text h3 {
    margin-bottom: var(--pm-48);
}

.form-text p {
    font-size: var(--fs-36);
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    max-width: 55ch;
    margin: 0 auto;
}

.field-wrapper {
    display: block;
    position: relative;
    margin-bottom: var(--pm-64);
}

.form input {
    display: block;
    box-sizing: border-box;
    position: relative;

    width: 100%;
    height: 113px;

    padding: 32px;

    font-size: var(--fs-36);

    border: 1px solid black;

    outline: none;
    transition: border-color 0.3s ease;
}

.form input::placeholder {
    font-size: var(--fs-36);
}

.form input.error {
    border-color: red;
}

.field-error {
    display: none;
    color: red;
    font-size: var(--fs-24);
    margin-top: 12px;
    margin-bottom: 0;
}

.field-error.show {
    display: block;
}

.form textarea {
    display: block;
    box-sizing: border-box;
    position: relative;

    resize: none;

    width: 100%;
    padding: 32px;

    font-size: var(--fs-36);
    margin-bottom: var(--pm-32);

    border: 1px solid black;
}

.form-group {
    display: block;
    position: relative;
    margin-bottom: var(--pm-64);
}

.form-group label {
    display: block;
    font-size: var(--fs-24);
    margin-bottom: 16px;
    color: black;
}

.custom-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    
    width: 100%;
    height: 113px;
    
    padding: 32px;
    
    font-size: var(--fs-36);
    
    border: 1px solid black;
    background-color: white;
    
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.2s ease;
}

.custom-select.error {
    border-color: red;
}

.custom-select:hover {
    background-color: #f5f5f5;
}

.custom-select span {
    color: #999;
    flex: 1;
}

.custom-select span.selected {
    color: black;
}

.dropdown-arrow {
    width: 16px;
    height: auto;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select:hover .dropdown-arrow {
    opacity: 0.7;
}

.dropdown {
    display: none;
    position: absolute;
    box-sizing: border-box;
    
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    
    background-color: white;
    border: 1px solid black;
    border-top: none;
    
    z-index: 100;
}

.dropdown.active {
    display: block;
}

.dropdown span {
    display: block;
    padding: 24px 32px;
    font-size: var(--fs-36);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown span:last-child {
    border-bottom: none;
}

.dropdown span:hover {
    background-color: #f5f5f5;
}

.form input[type=submit] {
    display: block;
    position: relative;

    background-color: #6DBBF3;
    color: black;

    font-size: var(--fs-36);
    font-weight: 400;

    border: none;

    padding: var(--pm-32) var(--pm-64);
    margin-bottom: var(--pm-64);

    width: 100%;
    height: auto;
    max-width: 621px;

    margin: 0 auto;
}

.form input[type=submit]:hover {
    cursor: pointer;
}


.privacy {
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    margin-bottom: 80px;
}

#contact-form-error {
    color: red;
    text-align: center;
    margin-top: 40px;
}

#contact-form-success {
    color: green;
}

.popup {
    display: block;
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    text-wrap: pretty;
    orphans: 2;
    widows: 2;
    max-width: 50ch;
}

.popup p {
    font-size: 24px; 
}

.loader {
    display: block;
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btt {
    display: grid;
    position: absolute;

    bottom: 0px;
    right: 0px;

    grid-template-columns: 1fr;
    align-items: center;
}

.btt img {
    width: 42px;
    height: auto;
}

.btt:hover {
    cursor: pointer;
}

@media only screen and (max-width: 2560px) {
    :root {
        /* Font Sizes */
        --fs-64: 46px;
        --fs-48: 42px;
        --fs-40: 32px;
        --fs-36: 26px;
        --fs-32: 22px;
        --fs-24: 18px;
        --fs-10: 10px;
    
        /* Paddings & Margins */
        --pm-128: 96px;
        --pm-80: 64px;
        --pm-64: 48px;
        --pm-48: 40px;
        --pm-40: 32px;
        --pm-32: 28px;
        --pm-28: 24px;
    } 

    .header {
        height: 80px;
    }

    .form input {
        height: 80px;
        padding: 16px;
    }

    .form textarea {
        padding: 22px;
    }

    .custom-select {
        height: 80px;
        padding: 22px;
    }

    .dropdown-arrow {
        height: 28px;
    }

    .dropdown span {
        padding: 22px;
    }

    .footer .insta-link {
        grid-template-columns: 24px auto;
        column-gap: 12px;
    }

    .footer img {
        width: 24px;
    }

}

@media only screen and (max-width: 1440px) {
    .wrap {
        max-width: calc(100% - 256px) !important;
    }
    .header {
        margin-bottom: 42px;
    }
}

@media only screen and (max-width: 1280px) {
    :root {
        /* Font Sizes */
        --fs-64: 36px;
        --fs-48: 26px;
        --fs-40: 32px;
        --fs-36: 22px;
        --fs-32: 18px;
        --fs-24: 16px;
        --fs-10: 10px;
    
        /* Paddings & Margins */
        --pm-128: 64px;
        --pm-80: 52px;
        --pm-64: 42px;
        --pm-48: 36px;
        --pm-40: 28px;
        --pm-32: 24px;
        --pm-28: 20px;
    } 

    .header {
        height: 80px;
    }

    .form input[type=submit] {
        max-width: 380px;
    }
}

@media only screen and (max-width: 1080px) {
    :root {
        /* Font Sizes */
        --fs-64: 36px;
        --fs-48: 26px;
        --fs-40: 32px;
        --fs-36: 22px;
        --fs-32: 18px;
        --fs-24: 16px;
        --fs-10: 10px;
    
        /* Paddings & Margins */
        --pm-128: 64px;
        --pm-80: 52px;
        --pm-64: 42px;
        --pm-48: 36px;
        --pm-40: 28px;
        --pm-32: 24px;
        --pm-28: 20px;
    } 

    .wrap {
        max-width: calc(100% - 48px) !important;
    }

    .header {
        height: 64px;
    }

    .content .wp-block-columns {
        grid-template-columns: 1fr;
    }

    .content .wp-block-column p {
        margin-bottom: 32px;
    }

    .slide-item {
        flex-shrink: 0;
        width: 60vw;
        position: relative;
    }

    .buttons .arrow-scroll {
        display: none;
    }

    .footer .insta-link {
        grid-template-columns: 18px auto;
        column-gap: 9px;
    }

    .footer img {
        width: 18px;
    }
}

@media only screen and (max-width: 780px) {
    :root {
        /* Font Sizes */
        --fs-64: 32px;
        --fs-48: 24px;
        --fs-40: 32px;
        --fs-36: 18px;
        --fs-32: 16px;
        --fs-24: 12px;
        --fs-10: 10px;
    
        /* Paddings & Margins */
        --pm-128: 64px;
        --pm-80: 52px;
        --pm-64: 42px;
        --pm-48: 36px;
        --pm-40: 28px;
        --pm-32: 24px;
        --pm-28: 20px;
    } 

    .wrap {
        max-width: calc(100% - 32px);
    }

    .header {
        height: 57px;
    }

    .desk {
        display: none !important;
    }
    
    .mobile {
        display: block !important;
    }

    .content .wp-block-columns h2 {
        margin-bottom: 16px;
    }


    .form input {
        height: 57px;
        padding: 16px;
    }

    .form textarea {
        padding: 16px;
    }

    .custom-select {
        height: 57px;
        padding: 16px;
    }

    .dropdown-arrow {
        height: 20px;
    }

    .dropdown span {
        padding: 16px;
    }

    .footer .insta-link {
        grid-template-columns: 16px auto;
        column-gap: 8px;
    }

    .footer img {
        width: 16px;
    }

    .footer .links {
        grid-template-columns: 1fr;
        row-gap: 24px;
        align-content: center;
        justify-items: center;
    }

    .footer .misc {
        grid-template-columns: 1fr;
        align-content: center;
        text-align: center;
        line-height: 14px;
    }

    .btt-wrap {
        display: grid;
        justify-content: end;
    }

    .btt {
        display: grid;
        position: relative;
    
        width: fit-content;
        bottom: 0px;
        right: 0px;
    
        grid-template-columns: 1fr;
        align-items: center;

        margin-top: 64px;
        margin-bottom: 32px;
    }

    .btt img {
        width: 32px;
        height: auto;
    }
}

/*----------ANIMATION-----------*/

.animation-holder{
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 80px;
    height: 80px;
    z-index: 101;

    opacity: 0;
    transition: opacity 0.5s ease-in-out;

    pointer-events: none;
}
#logo-transparent{
    width:80px;
    height: 80px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    z-index: 103;
}
.sk-folding-cube {
    margin: auto;
    width: 80px;
    height: 80px;
    position: relative;
    transform: rotateZ(0deg);
    z-index: 102;
}
.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    animation: sk-foldCubeAngle 2.4s infinite linear both;
    transform-origin: 100% 100%;
    will-change: transform, opacity;
}
.sk-folding-cube .sk-cube2 {
    transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
    transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
    transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
    animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
    animation-delay: 0.6s; 
}
.sk-folding-cube .sk-cube4:before {
    animation-delay: 0.9s;
}
@keyframes sk-foldCubeAngle {
    0%, 10% {
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0; 
    } 25%, 75% {
        transform: perspective(140px) rotateX(0deg);
        opacity: 1; 
    } 90%, 100% {
        transform: perspective(140px) rotateY(180deg);
        opacity: 0; 
    }
}



.fade-out {
    opacity: 0 !important;
}

.fade-in {
    opacity: 1;
}

