/* -------------- */
/* SETUP */
/* DESKTOP */
/* MINI-DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* ***** Colors */

  /* --- Default */
  --color__dark: #000000;
  --color__light: #ffffff;
  --color__grey: #727272;

  /* --- Corporate */
  --color__primary: #080e32;
  --color__secondary: red;
  --color__accent: #e86851;

  /* --- System */
  --color__success: #00871b;
  --color__warning: #fea137;
  --color__error: #cd0000;

  /* ***** Font Sizes */
  --fsize__h1: 4.5rem;
  --fsize__h2: 2.7rem;
  --fsize__h2--large: 3.5rem;
  --fsize__h3: 2.25rem;
  --fsize__h4: 2.25rem;
  --fsize__h5: 2.25rem;
  --fsize__h6: 2.25rem;
  --fsize__button--large: 1.75rem;
  --fsize__p: 1.4rem;
  --fsize__s: 1rem;

  /* ***** Icon Sizes */
  --isize__small: 1.75rem;
  --isize__regular: 2.75rem;
  --isize__large: 4rem;

  /* ***** Borders */

  --border__small: 0.0625em solid var(--color__primary);
  --border__small--light: 0.0625em solid var(--color__light);
  --border__regular: 0.125em solid var(--color__primary);
  --border__regular--light: 0.125em solid var(--color__primary);
  --border__large: 0.25em solid var(--color__primary);
  --border__large--light: 0.25em solid var(--color__primary);

  /* ***** Radiuses */

  --radius__small: 1em;
  --radius__regular: 2em;
  --radius__large: 4em;

  /* ***** Shadows */

  --shadow__small: 0 0.125em 1.25em rgba(0, 0, 0, 0.05);
}

/* FONTS – LICENSED TO likeyou. *******************************************************************************/

@font-face {
  font-family: "proximanova-regular";
  src: url("/wp-content/themes/oho/font/proximanova-regular-webfont.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/proximanova-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "proximanova-medium";
  src: url("/wp-content/themes/oho/font/proximanova-medium-webfont.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/proximanova-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "proximanova-bold";
  src: url("/wp-content/themes/oho/font/proximanova-bold-webfont.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/proximanova-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "proximanova-black";
  src: url("/wp-content/themes/oho/font/proximanova-black-webfont.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/proximanova-black-webfont.woff") format("woff");
  font-weight: 900;
  font-style: normal;
}

/* //////////////////////////////////////////////////////////////// */
html,
body {
  font-size: min(1rem, 1vw);
  /* ensures that browser's default font size is used as a reference for rem */
  line-height: 1.2em;
  /* ideally the same line-height that is used on p tag */
}

body {
  font-family: "proximanova-regular", sans-serif;
  font-weight: 400;
  margin: 0;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  -webkit-font-kerning: normal;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

h1,
.h1 {
  font-family: "proximanova-medium", sans-serif;
  font-weight: 500;
  font-size: var(--fsize__h1);
  line-height: 1.0625em;
  letter-spacing: 0em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h2,
.h2 {
  font-family: "proximanova-medium", sans-serif;
  font-weight: 500;
  font-size: var(--fsize__h2);
  line-height: 1.15em;
  letter-spacing: -0.01em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h2.h2--large,
.h2.h2--large {
  font-size: var(--fsize__h2--large);
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: "proximanova-medium", sans-serif;
  font-weight: 500;
  font-size: var(--fsize__h3);
  line-height: 1.15em;
  letter-spacing: -0.01em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

p,
li,
p a,
.p,
.p a,
address,
.button--large {
  font-family: "proximanova-regular", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__p);
  font-style: normal;
  line-height: 1.3em;
  letter-spacing: 0;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.button--large {
  font-size: var(--fsize__button--large);
}

.s {
  font-family: "proximanova-regular", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__s);
  line-height: 1.2em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.p.s a,
.s a {
  font-size: var(--fsize__s);
}

.fsize--marginal {
  font-size: var(--fsize_s);
}

.uppercase {
  text-transform: uppercase;
}

strong,
b {
  font-family: "proximanova-bold", sans-serif;
  font-weight: 700;
}

/* ––– Unordered List */

ul.plain {
  padding-left: 0;
}

ul.plain li {
  list-style: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

ul.plain li::before {
  content: none;
}

/* ***** locked wysiwyg styles to avoid different title sizes */

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3,
.wysiwyg-editor h4,
.wysiwyg-editor h5,
.wysiwyg-editor h6 {
  font-family: "proximanova-regular", sans-serif;
  font-weight: 700;
  font-size: var(--fsize__h2);
  line-height: 3.75em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  overflow: visible;
}

/* LINKS / GLOBAL INTERACTIONS *******************************************************************************/

/* ***** Links */

p a,
.p a {
  text-decoration: none;
  border-bottom: var(--border__small);
  padding: 0em 0em 0.0625em 0em;
}

p b a,
.p b a {
  font-weight: 700;
}

p a:hover,
.p a:hover {
  cursor: pointer;
  border-bottom: var(--border__small);
  color: var(--color__primary);
}

p a strong,
p a b,
.p a strong,
.p a b {
  padding: 0;
  font-weight: 700;
}

a,
a:hover {
  color: var(--color__primary);
  text-decoration: none;
  cursor: pointer;
}

.fcolor--light a {
  border-bottom: var(--border__small--light);
}

.fcolor--light a:hover {
  color: var(--color__light);
}

/* ***** Buttons */

.button {
  display: inline-block;
  font-family: "proximanova-black", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color__primary);
  color: var(--color__light);
  padding: 0.9375em 2.25em;
  letter-spacing: 0.01em;
  border-radius: 3em;
  border: 0;
  margin-top: 0;
  cursor: pointer;
}

.button span.text-light {
  font-family: "proximanova-regular", sans-serif;
  font-weight: 400;
}

.button.p {
  padding: 0.625em 2.5em;
}

.button.cta {
  /* background-image: url("/wp-content/themes/oho/media/no-index/gradient-button.png");
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: center;
  background-size: cover; */
  background-color: var(--color__accent);
  text-align: center;
}

.button.neg {
  background: var(--color__light);
  color: var(--color__primary);
  border: var(--border__regular);
}

/* --- Centered Button */

.centered-button {
  width: 100%;
  text-align: center;
  margin: 1.875em 0;
}

.centered-button .button {
  display: inline;
}

/* ***** Default Interactions */

::-moz-selection {
  background: var(--color__primary);
  color: var(--color__light);
}

::selection {
  background: var(--color__primary);
  color: var(--color__light);
}

*:focus {
  outline: none;
  /* background-color: var(--color__primary) !important;
  color: var(--color__light);
  mix-blend-mode: difference; */
}

a:focus-visible {
  outline: var(--border__regular);
}

a:focus-visible .covered-image-wrap::after,
a:focus-visible .contained-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: var(--color__primary);
}

.swiper-button-next:focus-visible:after,
.swiper-button-prev:focus-visible:after {
  border: 0.0625rem solid var(--color__light);
  padding: 0.25em;
  background: var(--color__primary);
}

.swiper-pagination-bullet:focus-visible {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* MISC *******************************************************************************/

/* ***** hide stuff on specific breakpoints */

.no-lg {
  display: none;
}

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* LAYOUT *******************************************************************************/

main {
  position: relative;
  overflow: hidden;
}

.main__inner {
  margin-top: 5em;
  /* Space to Navigation */
}

.sec-wrap {
  width: 100%;
  height: auto;
  position: relative;
}

.sec-wrap__inner {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 110em;
  margin: auto;
  padding: 8em 4em;
}

.sec-wrap__inner.pt0 {
  padding-top: 0;
}

.sec-wrap__inner.pb0 {
  padding-bottom: 0;
}

.sec-wrap__inner.pxy0 {
  padding: 0;
}

.sec-wrap__inner.py0 {
  padding-top: 0;
  padding-bottom: 0;
}

.sec-wrap__inner.px0 {
  padding-left: 0;
  padding-right: 0;
}

.sec-wrap__inner.full {
  max-width: 100%;
}

.sec-wrap__inner.slim {
  max-width: 62.5em;
}

.sec-wrap__inner.slimmer {
  max-width: 50em;
}

.sec-wrap__inner.slim-af {
  max-width: 35em;
}

/* --- Section Borders */

.sec-wrap__inner .border {
  width: 100%;
  height: 0.125rem;
  background: var(--color__primary);
}

/* ***** Text columns */

.text-2-columns {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-gap: 1.875em;
  -webkit-column-gap: 1.875em;
  -moz-column-gap: 1.875em;
  -ms-column-gap: 1.875em;
  margin: 1.875em 0;
}

.text-3-columns {
  column-count: 3;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  column-gap: 2em;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  -ms-column-gap: 2em;
}

/* ***** Text overflow */

.nobreak {
  white-space: nowrap;
}

.shorten {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ***** Centered image */

.centered-image-wrap {
  width: 100%;
  margin: auto;
  height: 28em;
  position: relative;
  overflow: hidden;
  /* fallback for bg-img usage */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.centered-image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin-right: -50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.centered-image-wrap.full img {
  width: 100%;
}

/* ***** Covered image wrap */

.covered-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.covered-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ***** Contained image wrap */

.contained-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.contained-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/**** ie-browser fixes */

.browser-ie .covered-image-wrap,
.browser-edge .covered-image-wrap {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ***** Vertical centered */

.centered--vertical {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*
-----------------------------------------------------------------------------

02. Footer

-----------------------------------------------------------------------------
*/

.footer-wrap {
  position: relative;
  z-index: 99;
  width: 100%;
  height: auto;
  color: var(--color__primary);
}

.footer-wrap .footer-bg {
  z-index: -1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: left;
  object-position: left;
}

.footer-wrap .footer-bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.footer-wrap__inner {
  position: relative;
  max-width: 110em;
  margin: 0 auto;
  padding: 4em;
  padding-bottom: 20em;
}

.footer-wrap a {
  display: inline-block;
  margin-bottom: 0.5em;
}

.footer-wrap a,
.footer-wrap a:hover {
  color: var(--color__primary);
  border: unset;
}

.footer-wrap svg.logo {
  width: 20rem;
  height: auto;
  display: block;
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 80em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    --fsize__h1: 4rem;
    --fsize__h2: 2.25rem;
    --fsize__h2--large: 3rem;
    --fsize__h3: 1.75rem;
    --fsize__h4: 1.75rem;
    --fsize__h5: 1.75rem;
    --fsize__h6: 1.75rem;
    --fsize__button--large: 1.5rem;
    --fsize__p: 1.2rem;
    --fsize__s: 0.9rem;
  }

  html,
  body {
    font-size: min(1em, 1.4vw);
  }

  .footer-wrap__inner {
    padding-bottom: 15em;
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    /* ***** Font Sizes */
    --fsize__h1: 3.75rem;
    --fsize__h2: 2.25rem;
    --fsize__h3: 1.5rem;
    --fsize__h4: 1.5rem;
    --fsize__h5: 1.5rem;
    --fsize__h6: 1.5rem;
    --fsize__button--large: 1.2rem;
    --fsize__p: 1.2rem;
    --fsize__s: 0.9rem;
  }

  /* MISC *******************************************************************************/

  html,
  body {
    font-size: min(1em, 2.2vw);
  }

  .no-md {
    display: none;
  }

  .no-lg {
    display: inherit;
  }

  span.no-lg {
    display: inline;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 4em;
  }

  .sec-wrap__inner {
    padding: 6em 4em;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .footer-wrap svg.logo {
    width: 18rem;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    --fsize__h1: 3.5rem;
    --fsize__h2: 2rem;
    --fsize__h3: 1.5rem;
    --fsize__h4: 1.5rem;
    --fsize__h5: 1.5rem;
    --fsize__h6: 1.5rem;
    --fsize__button--large: 1rem;
    --fsize__p: 1.1rem;
    --fsize__s: 0.85rem;

    /* ***** Radiuses */

    /* --radius__small: 1em;
  --radius__regular: 2em; */
    --radius__large: 3em;
  }

  html,
  body {
    font-size: min(1em, 3.2vw);
  }

  .no-sm {
    display: none;
  }

  .no-md {
    display: inherit;
  }

  span.no-md {
    display: inline;
  }

  .button {
    padding: 0.9375em 2em;
  }

  .button.p {
    padding: 0.625em 1.75em;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    /* margin-top: 0; */
    /* Space to Navigation */
  }

  .sec-wrap__inner {
    padding: 4em 2em;
  }

  /**/

  .text-2-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  .text-3-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .footer-wrap__inner {
    padding: 2em;
    padding-bottom: 20em;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    /* --fsize__h1: 2.825rem; */
    --fsize__h1: 2.625rem;
    --fsize__h2: 1.875rem;
    --fsize__h3: 1.375rem;
    --fsize__h4: 1.375rem;
    --fsize__h5: 1.375rem;
    --fsize__h6: 1.375rem;
    --fsize__button--large: 1rem;
    --fsize__p: 1.1rem;
    --fsize__s: 0.8rem;
  }

  html,
  body {
    font-size: min(1em, 3.725vw);
  }

  .no-xs {
    display: none;
  }

  .no-sm {
    display: inherit;
  }

  span.no-sm {
    display: inline;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 31.25em;
    visibility: visible !important;
  }
}
