/* 
Theme Name: Katapult
Author: MagićMarinac
Author URI: https://magicmarinac.hr/
Description: Tema za web stranicu Katapult
*/

@font-face {
  font-family: "Neue Montreal";
  src: url(fonts/PPNeueMontreal-SemiBold.woff2) format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url(fonts/GolosText-VariableFont_wght.woff2) format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Default */
:focus {
  outline: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  text-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.15;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: none;
}

@media (min-width: 2048px) {
  html {
    font-size: 0.78125vw;
  }
}

/*define color and spacing variable*/
:root {
  --white: #ffffff;
  --grey: #f6f5f4;
  --darkGrey: #dfdbd8;
  --black: #222222;
  --yellow: #fdff00;
  --green: #32f2ad;
  --pink: #f6dbe6;
  --lightPink: #f6dce7;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 128px;
}

@media (min-width: 768px) {
  :root {
    --spacing-xxs: 6px;
    --spacing-xs: 12px;
    --spacing-sm: 24px;
    --spacing-md: 48px;
    --spacing-lg: 96px;
    --spacing-xl: 180px;
  }
}

@media (min-width: 1536px) {
  :root {
    --spacing-xxs: 8px;
    --spacing-xs: 16px;
    --spacing-sm: 32px;
    --spacing-md: 64px;
    --spacing-lg: 128px;
    --spacing-xl: 224px;
  }
}

body {
  margin: 0;
  /*background-color: #f2efed;*/
  background-color: #ffffff;
  color: var(--black);
  font-family: "Golos Text", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.911rem + 0.238vw, 1.125rem);
  font-weight: normal;
  line-height: 1.75;
  letter-spacing: 0;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
.as-h1,
.as-h2,
.as-h3,
.as-h4,
.as-h5,
.as-h6 {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  font-weight: normal;

}

h1,
.as-h1 {
  font-size: clamp(3rem, 0.143rem + 7.619vw, 7rem);
  font-family: "Neue Montreal";
  letter-spacing: -0.04rem;
  word-spacing: -0.05rem;
  padding-top: 0rem;
  padding-bottom: 1rem;
  hyphens: auto;
  line-height: 1.15;
}

@media (min-width: 992px) {
  h1,
.as-h1 {
line-height: 1;
}
}
 
h2,
.as-h2 {
  font-size: clamp(1.75rem, 1.5833rem + 0.7111vw, 2.25rem);
  padding-top: 2rem;
  padding-bottom: 1rem;
}

h3,
.as-h3 {
  font-size: clamp(1.5rem, 1.4167rem + 0.3556vw, 1.75rem);
  line-height: 1.125;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

h4,
.as-h4 {
  font-size: clamp(1.125rem, 1rem + 0.5333vw, 1.5rem);
  line-height: 1.25;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

h5,
.as-h5 {
  font-size: clamp(1rem, 0.9583rem + 0.1778vw, 1.125rem);
  line-height: 1.375;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 1rem;
}

.as-p {
  font-size: 1rem;
    margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 1rem;
  line-height: 1.5;
}

small,
.small {
  font-size: 0.875rem;
  padding-bottom: 1rem;
  display: inline-block;
}

img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

blockquote {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
}

strong,
b {
  font-weight: 700;
}

sub,
sup {
  position: relative;
  font-size: 0.75rem;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25rem;
}

sup {
  top: -0.5rem;
}

img,
svg {
  vertical-align: middle;
}

iframe {
  border: 0;
}

table {
  caption-side: bottom;
  border-collapse: collapse;
}

caption {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  text-align: left;
}

th {
  text-align: inherit;
  text-align: -webkit-match-parent;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

label {
  display: inline-block;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[role="button"] {
  cursor: pointer;
}

select {
  word-wrap: normal;
}

select:disabled {
  opacity: 1;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/*!
 * Bootstrap Grid v5.3.3 (https://getbootstrap.com/)
 * Copyright 2011-2024 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
.container,
.container-fluid {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 83.3333%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 91.66%;
  }
}

:root {
  --bs-breakpoint-xs: 0;
  --bs-breakpoint-sm: 576px;
  --bs-breakpoint-md: 768px;
  --bs-breakpoint-lg: 992px;
  /*--bs-breakpoint-lg: 1024px;*/
  --bs-breakpoint-xl: 1200px;
  --bs-breakpoint-xxl: 1400px;
}

.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row>* {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col {
  flex: 1 0 0%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.col-1 {
  flex: 0 0 auto;
  width: 8.33333333%;
}

.col-2 {
  flex: 0 0 auto;
  width: 16.66666667%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

.col-8 {
  flex: 0 0 auto;
  width: 66.66666667%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
}

.col-11 {
  flex: 0 0 auto;
  width: 91.66666667%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.offset-1 {
  margin-left: 8.33333333%;
}

.offset-2 {
  margin-left: 16.66666667%;
}

.offset-3 {
  margin-left: 25%;
}

.offset-4 {
  margin-left: 33.33333333%;
}

.offset-5 {
  margin-left: 41.66666667%;
}

.offset-6 {
  margin-left: 50%;
}

.offset-7 {
  margin-left: 58.33333333%;
}

.offset-8 {
  margin-left: 66.66666667%;
}

.offset-9 {
  margin-left: 75%;
}

.offset-10 {
  margin-left: 83.33333333%;
}

.offset-11 {
  margin-left: 91.66666667%;
}

@media (min-width: 576px) {
  .col-sm {
    flex: 1 0 0%;
  }
  .col-sm-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-sm-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-sm-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-sm-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-sm-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-sm-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-sm-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-sm-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-sm-0 {
    margin-left: 0;
  }
  .offset-sm-1 {
    margin-left: 8.33333333%;
  }
  .offset-sm-2 {
    margin-left: 16.66666667%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.33333333%;
  }
  .offset-sm-5 {
    margin-left: 41.66666667%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.33333333%;
  }
  .offset-sm-8 {
    margin-left: 66.66666667%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.33333333%;
  }
  .offset-sm-11 {
    margin-left: 91.66666667%;
  }
}

@media (min-width: 768px) {
  .col-md {
    flex: 1 0 0%;
  }
  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-md-0 {
    margin-left: 0;
  }
  .offset-md-1 {
    margin-left: 8.33333333%;
  }
  .offset-md-2 {
    margin-left: 16.66666667%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.33333333%;
  }
  .offset-md-5 {
    margin-left: 41.66666667%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.33333333%;
  }
  .offset-md-8 {
    margin-left: 66.66666667%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.33333333%;
  }
  .offset-md-11 {
    margin-left: 91.66666667%;
  }
}

@media (min-width: 992px /*min-width: 1024px*/) {
  .col-lg {
    flex: 1 0 0%;
  }
  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-lg-0 {
    margin-left: 0;
  }
  .offset-lg-1 {
    margin-left: 8.33333333%;
  }
  .offset-lg-2 {
    margin-left: 16.66666667%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.33333333%;
  }
  .offset-lg-5 {
    margin-left: 41.66666667%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.33333333%;
  }
  .offset-lg-8 {
    margin-left: 66.66666667%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.33333333%;
  }
  .offset-lg-11 {
    margin-left: 91.66666667%;
  }
}

@media (min-width: 1200px) {
  .col-xl {
    flex: 1 0 0%;
  }
  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xl-0 {
    margin-left: 0;
  }
  .offset-xl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xl-3 {
    margin-left: 25%;
  }
  .offset-xl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xl-6 {
    margin-left: 50%;
  }
  .offset-xl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xl-9 {
    margin-left: 75%;
  }
  .offset-xl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xl-11 {
    margin-left: 91.66666667%;
  }
}

@media (min-width: 1400px) {
  .col-xxl {
    flex: 1 0 0%;
  }
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }
  .col-xxl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-xxl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-xxl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-xxl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .offset-xxl-0 {
    margin-left: 0;
  }
  .offset-xxl-1 {
    margin-left: 8.33333333%;
  }
  .offset-xxl-2 {
    margin-left: 16.66666667%;
  }
  .offset-xxl-3 {
    margin-left: 25%;
  }
  .offset-xxl-4 {
    margin-left: 33.33333333%;
  }
  .offset-xxl-5 {
    margin-left: 41.66666667%;
  }
  .offset-xxl-6 {
    margin-left: 50%;
  }
  .offset-xxl-7 {
    margin-left: 58.33333333%;
  }
  .offset-xxl-8 {
    margin-left: 66.66666667%;
  }
  .offset-xxl-9 {
    margin-left: 75%;
  }
  .offset-xxl-10 {
    margin-left: 83.33333333%;
  }
  .offset-xxl-11 {
    margin-left: 91.66666667%;
  }
}

.order-first {
  order: -1 !important;
}

.order-0 {
  order: 0 !important;
}

.order-1 {
  order: 1 !important;
}

.order-2 {
  order: 2 !important;
}

.order-3 {
  order: 3 !important;
}

.order-4 {
  order: 4 !important;
}

.order-5 {
  order: 5 !important;
}

.order-last {
  order: 6 !important;
}

@media (min-width: 576px) {
  .order-sm-first {
    order: -1 !important;
  }
  .order-sm-0 {
    order: 0 !important;
  }
  .order-sm-1 {
    order: 1 !important;
  }
  .order-sm-2 {
    order: 2 !important;
  }
  .order-sm-3 {
    order: 3 !important;
  }
  .order-sm-4 {
    order: 4 !important;
  }
  .order-sm-5 {
    order: 5 !important;
  }
  .order-sm-last {
    order: 6 !important;
  }
}

@media (min-width: 768px) {
  .order-md-first {
    order: -1 !important;
  }
  .order-md-0 {
    order: 0 !important;
  }
  .order-md-1 {
    order: 1 !important;
  }
  .order-md-2 {
    order: 2 !important;
  }
  .order-md-3 {
    order: 3 !important;
  }
  .order-md-4 {
    order: 4 !important;
  }
  .order-md-5 {
    order: 5 !important;
  }
  .order-md-last {
    order: 6 !important;
  }
}

@media (min-width: 992px /*min-width: 1024px*/) {
  .order-lg-first {
    order: -1 !important;
  }
  .order-lg-0 {
    order: 0 !important;
  }
  .order-lg-1 {
    order: 1 !important;
  }
  .order-lg-2 {
    order: 2 !important;
  }
  .order-lg-3 {
    order: 3 !important;
  }
  .order-lg-4 {
    order: 4 !important;
  }
  .order-lg-5 {
    order: 5 !important;
  }
  .order-lg-last {
    order: 6 !important;
  }
}

@media (min-width: 1200px) {
  .order-xl-first {
    order: -1 !important;
  }
  .order-xl-0 {
    order: 0 !important;
  }
  .order-xl-1 {
    order: 1 !important;
  }
  .order-xl-2 {
    order: 2 !important;
  }
  .order-xl-3 {
    order: 3 !important;
  }
  .order-xl-4 {
    order: 4 !important;
  }
  .order-xl-5 {
    order: 5 !important;
  }
  .order-xl-last {
    order: 6 !important;
  }
}

@media (min-width: 1400px) {
  .order-xxl-first {
    order: -1 !important;
  }
  .order-xxl-0 {
    order: 0 !important;
  }
  .order-xxl-1 {
    order: 1 !important;
  }
  .order-xxl-2 {
    order: 2 !important;
  }
  .order-xxl-3 {
    order: 3 !important;
  }
  .order-xxl-4 {
    order: 4 !important;
  }
  .order-xxl-5 {
    order: 5 !important;
  }
  .order-xxl-last {
    order: 6 !important;
  }
}



/* Katapult */

.margin-bottom-2 {
  margin-bottom: 2rem !important;
}

.margin-bottom-4 {
  margin-bottom: 4rem !important;
}

.margin-bottom-6 {
  margin-bottom: 6rem !important;
}

@media (min-width: 576px) {
  .container-fluid {
    --bs-gutter-x: 4rem;
  }
}

@media (min-width: 768px) {
  .container-fluid {
    --bs-gutter-x: 6.5rem;
  }
  .row {
    --bs-gutter-x: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container-fluid {
    --bs-gutter-x: 8rem;
  }
}

@media (min-width: 1400px) {
  .container-fluid {
    --bs-gutter-x: 10rem;
  }
}

a {
  text-decoration: none;
  color: var(--black);
}

.links-underline a,
.div-underline {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.links-underline a::before,
.div-underline::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--black);
  top: 90%;
  left: 0;
  pointer-events: none;
  transform-origin: 100% 50%;
  transform: scale3d(0, 1, 1);
  transition: transform 0.3s;
}

.page-links.links-underline a::before {
  top: 120%;
  width: 102%;
}

.mobile-menu-overlay.links-underline a::before {
  top: 125%;
  height: 1px;
}

.mobile-menu-overlay.links-underline a {
  display: inline-block;
  width: fit-content;
}

.div-underline::before {
  bottom: 0.5em;
}

.links-underline a:hover::before,
.links-underline a.active::before,
.div-underline:hover::before,
.div-underline.active::before {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

img {
  margin-bottom: 0;
}

.flex-spread {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

/* .row.header {
  margin-top: 1rem; 
  margin-bottom: clamp(2rem, 0.571rem + 3.81vw, 4rem);
} */

nav {
  opacity: 0; /* for animation */
}

nav li {
  list-style-type: none;
}

.logo {
  z-index: 1001;
  overflow: visible;
  position: relative;
  height: 3rem;
}

.logo svg {
  height: 100%;
  width: 8rem
}

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

@media (min-width: 992px) {
  .logo {
  height: initial;
}
}

.logo img {
  height: clamp(2rem, 1.464rem + 1.429vw, 2.75rem);
}

nav .right-side {
  display: flex;
  gap: 0.5rem;
}

.lang {
  display: flex;
  align-items: self-end;
  padding-left: 0;
  margin-bottom: 0;
  z-index: 10000;
  align-items: center;
}

.lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--lightPink);
  color: var(--black);
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.page-links {
  display: none;
  flex-direction: row;
  align-items: end;
  gap: 0.8rem;
  font-family: "Neue Montreal";
  /*font-family: "Gilroy-Medium", sans-serif;*/
  font-size: 1.375rem;
  line-height: 0.8;
}

/*.page-links a {
  transition: opacity 0.25s ease-in-out;
}
.page-links a:hover {
  opacity: 50%;
}
.page-links a.active {
  opacity: 50%;
}*/

.menu-toggle-wrapper {
  display: flex;
  align-items: self-end;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  z-index: 1001;
  padding: 18px 8px;
}

.menu-toggle span {
  width: 1.5rem;
  height: 1px;
  background-color: var(--black);
  display: block;
  transition: 0.3s;
  border-radius: 1px;
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 3px) scale(1.05);
}

.menu-toggle.open span:nth-child(2) {
  transform: rotate(-45deg) translate(4px, -3px) scale(1.05);
}

.menu-toggle.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: "Neue Montreal";
  /*font-family: "Gilroy-Medium", sans-serif;*/
  font-size: 1.875rem;
  line-height: 0.8;
  padding-left: 2rem;
  padding-top: 3rem;
  z-index: 1000;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-overlay a {
  width: 100%;
}

.mobile-menu-overlay.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 350px) {
  nav .right-side {
    gap: 1rem;
  }
}

nav .left-side {
    padding-bottom: 0.8rem;
  }

@media (min-width: 600px) {
  /*nav .left-side {
    padding-bottom: 0.8rem;
  }*/
  nav .right-side {
    flex-direction: row-reverse;
  }
  .page-links {
    display: flex;
/*     padding-bottom: 0.8rem; */
  }
  .menu-toggle {
    display: none;
  }
}

@media (min-width: 992px) {
  nav .right-side {
    gap: 2rem;
    align-items: center;
  }
  .page-links {
    gap: 2rem;
  }
}
.no-scroll {
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  margin-bottom: clamp(6rem, 2.429rem + 9.524vw, 11rem);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee__inner {
  display: inline-flex;
  font-family: "Neue Montreal";
  font-size: clamp(3rem, -0.214rem + 8.571vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 0.5rem;
}

.marquee--left .marquee__inner {
  margin-bottom: -1rem;
}

.marquee--right .marquee__inner {
  color: rgba(0, 0, 0, 0.3);
  line-height: 0.8;
}

.contact-us .marquee__inner {
  font-size: clamp(2rem, 2.164rem + 1.229vw, 3.75rem);
}

@media (min-width: 768px) {
  .width-80 {
    width: 59%;
  }
}

.project-listing {
  height: fit-content;
}

.swiper-col {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .project-row {
    margin-bottom: 4rem;
  }
  .project-listing {
    padding-right: calc(var(--bs-gutter-x) * 0.85);
  }
  .swiper-col {
    margin-bottom: 0;
    padding-left: calc(var(--bs-gutter-x) * 0.85);
  }
}

.project-listing-item {
  display: block;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1.2rem;
  line-height: 1.5;
  border-bottom: 0.1rem solid var(--black);
  padding-right: 5rem;
}

@media (min-width: 576px) {
  .project-listing-item {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    line-height: 1.5;
  }
}

.project-listing-item:first-child {
  border-top: 0.1rem solid var(--black);
}

.project-title {
  /*font-family: "Gilroy-Medium", sans-serif;*/
  font-size: clamp(1.75rem, 1.393rem + 0.952vw, 2.25rem);
  line-height: 1;
  margin-bottom: 0.2rem;
  padding-top: 0.2rem;
  padding-bottom: 0;
}

.project-subtitle {
/*   font-family: "Gilroy-Medium", sans-serif; */
  text-transform: uppercase;
  font-size: 1rem;
}

.arrow-icon {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
  height: 2.1rem;
  width: 2.1rem;
  padding: 0;
}

.arrow-icon svg {
  height: 2.1rem;
  width: 2.1rem;
}

.project-listing-item svg path {
  stroke: var(--black);
}

.swiper {
  height: 100%;
}

.swiper-slide {
  aspect-ratio: 2/3;
}

.swiper-slide img {
  height: 100%;
  object-fit: cover;
}

.description-row {
  padding-top: 4rem;
}

#main-description {
  opacity: 0;
}

.split,
.split-title,
.split-subtitle,
.split-title-1,
.split-title-2,
.split-title-3,
.split-subtitle-1,
.split-subtitle-2,
.split-desc,
.fade-in-pic,
.fade-in-pic-single,
.wp-block-group .wp-block-columns,
.wp-block-group img {
  opacity: 0;
  will-change: transform;
}

.buffer-row {
  border-bottom: 0.1rem solid var(--black);
  padding-top: 4rem;
}

@media (min-width: 992px) {
  .buffer-row {
    margin-top: 4rem;
  }
}

.contact-us {
  padding-top: 1rem;
  font-size: 7.5rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.contact-links {
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.contact-links-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background-color: #d9d9d9;*/
  background-color: var(--lightPink);
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 0;
  padding: 0.9375rem 2.5rem;
}

.contact-links-content {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  z-index: 1;
  padding: 0.9375rem 2.5rem;
}

.contact-links:hover .contact-links-bg {
  transform: scale(1.2);
}

.contact-links a {
  height: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-links img {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-links img.bigger-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-links .sep {
  height: 0.75rem;
  width: 0;
  border-left: 0.1rem solid var(--black);
}

.footer-links {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

@media (min-width: 576px) {
  .footer-links {
    margin-top: 10rem;
  }
}

.terms-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.terms-links li {
  list-style-type: none;
}

.mm-signature a {
  color: rgba(0, 0, 0, 0.3);
}


/* page projekti */

/*.title {
  font-family: "Gilroy-Light", sans-serif;
  font-size: 5rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}*/

/*.title.smaller-line-height {
  line-height: 0.9;
}*/

.subtitle-col {
  display: flex;
  flex-direction: column-reverse;
}

/*h1.title {
  padding-top: 0.5rem;
}*/

h1 .line-mask {
  margin-bottom: -1.1rem;
  padding-bottom: 0.4rem;
}

.subtitle {
/*   font-family: "Gilroy-Medium", sans-serif; */
  font-size: 1rem;
  text-transform: uppercase;
  vertical-align: bottom;
  line-height: 1.35;
}

/*@media (min-width: 576px) {
  .title {
    font-size: 6.875rem;
  }
}*/

@media (min-width: 1200px) {
  .subtitle-col {
    align-items: flex-end;
    padding-bottom: 0.2rem;
  }
}

.project-profile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .project-profile {
    gap: 2rem;
    padding-top: 4rem;
  }
}

.project-profile-image {
  aspect-ratio: 5/3;
  overflow: hidden;
}

.project-profile-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease;
}

.project-profile-image img:hover {
  transform: scale(1.05);
}

/*.project-profile-text {
  transition: opacity 0.25s ease-in-out;
}
.project-profile-text:hover {
  opacity: 50%;
}*/

.project-profile-text {
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

.project-profile-text p {
  padding-bottom: 0;
}

.project-profile-title {
  /*font-family: "Gilroy-Medium", sans-serif;*/
  font-family: "Neue Montreal";
  font-size: 1.625rem;
}


/* single projekt */

:where(.wp-block-columns.is-layout-flex) {
  gap: 0 !important;
}

@media (min-width: 782px) {
  :where(.wp-block-columns.is-layout-flex) {
    gap: 1rem !important;
  }
}

:where(.wp-block-columns) {
  margin-bottom: 0 !important;
}

.fade-in-pic,
.fade-in-pic-single {
  opacity: 0;
}

.next-posts-navigation h2 {
  /*font-family: "Gilroy-Medium", sans-serif;*/
  font-family: "Neue Montreal";
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.next-post-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.next-post-preview .project-profile-image {
  aspect-ratio: 2/3;
}

@media (min-width: 768px) {
  .next-post-preview {
    gap: 2rem;
    margin-bottom: 0;
  }
}


/* page kontakt */

.contacts-links-big {
/*   font-family: "Gilroy-Medium", sans-serif; */
  font-size: clamp(2rem, 1.643rem + 0.952vw, 2.5rem);
  line-height: 1.2;
  padding-bottom: 0;
}

.contacts-map iframe {
  width: 100%;
}

.wp-block-group .wp-block-image a {
  width: 100%;
}



/* text page, 404 */

.text-page-content,
.error-404-page {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

/* @media (min-width: 992px) {
  .text-page-content,
  .error-404-page {
    width: calc(80vw - 6.5rem);
  }
}

@media (min-width: 1200px) {
  .text-page-content,
  .error-404-page {
    width: calc(80vw - 8rem);
  }
} */

.text-page-content h1,
.error-404-page h1 {
  margin-bottom: 2rem;
}

.error-404-page a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}


/* gutenberg columns */

/* Stack columns vertically below 992px */
@media (max-width: 991.98px) {
  .wp-block-columns {
    flex-direction: column !important;
  }

  .wp-block-column {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Keep columns side-by-side above 992px */
@media (min-width: 992px) {
  .wp-block-columns {
    flex-direction: row !important;
  }

  .wp-block-column {
    flex: 1 1 0%;
  }
  .description-row .col-lg-4 {
  padding-left: calc(var(--bs-gutter-x) * 0.85);
}
}


.sticky-navigation {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #ffffff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: clamp(2rem, 0.571rem + 3.81vw, 4rem);
    overflow: visible;
}

@media (min-width: 600px) {
.sticky-navigation {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
}

.single-projekti .title-row > div:nth-of-type(2) {
  padding-top: 2rem;
}


.anim-2 {
  overflow: visible;
}

.no-padding-bottom {
  padding-bottom: 0 !important;
}

.text-page-content a,
.single-projekti a:not(.sticky-navigation a, footer a, .next-post-preview, .vbox-next, .vbox-prev, .vbox-item) {
    position: relative;
    text-decoration: none;
    background: linear-gradient(var(--black), var(--black)) left bottom no-repeat;
    background-size: 100% 1px;
}

.description-row .line-mask:first-of-type {
  overflow: visible !important;
}

.description-row .line-mask:first-of-type > .line{
  overflow: visible !important;
}

.description-row .line-mask:first-of-type > .line > h2{
  position: absolute;
}

.description-row h2 {
    font-size: clamp(2rem, 2.164rem + 1.229vw, 3.75rem);
    margin-bottom: 0;
}

.description-row .line-mask:nth-of-type(4){
  margin-top: 3.5rem;
}

@media (min-width: 439px) {
.description-row .line-mask:nth-of-type(4){
  margin-top: 3rem;
}
.description-row .line-mask:nth-of-type(5){
  margin-top: 0;
}
}

@media (min-width: 767px) {
.description-row .line-mask:nth-of-type(2){
  margin-top: 3.5rem;
}
.description-row .line-mask:nth-of-type(4){
  margin-top: 0;
}
}

@media (min-width: 992px) {
  .description-row .line-mask:first-of-type > .line > h2{
  width: 40%;
}
.description-row .line-mask:nth-of-type(2){
  margin-top: 0;
}
}