/*!
Theme Name: UX kompas
Theme URI: https://www.uxkompas.sk/
Author: cverna
Author URI: https://cverna.com/
Description: Theme for UX KOMPAS design
Version: 1.0
*/
:root {
  --clr-primary-1: #6f40f1;
  --clr-primary-2: #00b7e2;
  --clr-primary-3: #9b9d89;
  --clr-gray-1: #555371;
  --clr-gray-2: #747a96;
  --clr-gray-3: #eceef6;
  --clr-gray-4: #f7f8fc;
  --clr-white: #ffffff;
  --clr-white-tra: rgba(255, 255, 255, 0.7);
  --clr-black: #0d0a46;

  /* @link https://utopia.fyi/type/calculator?c=360,16,1.18,1440,16,1.22,7,0,&s=0.75|0.5|0.25,1.5|2|3|4|6|8,s-l&g=s,l,xl,12 */

  --step-0: clamp(1rem, 1rem + 0vw, 1rem);
  --step-1: clamp(1.18rem, 1.1667rem + 0.0593vw, 1.22rem);
  --step-2: clamp(1.3924rem, 1.3604rem + 0.1422vw, 1.4884rem);
  --step-3: clamp(1.643rem, 1.5854rem + 0.256vw, 1.8158rem);
  --step-4: clamp(1.9388rem, 1.8466rem + 0.4097vw, 2.2153rem);
  --step-5: clamp(2.2878rem, 2.1494rem + 0.6147vw, 2.7027rem);
  --step-6: clamp(2.6996rem, 2.5003rem + 0.8856vw, 3.2973rem);
  --step-7: clamp(3.1855rem, 2.9064rem + 1.2404vw, 4.0227rem);

  /* @link https://utopia.fyi/space/calculator?c=360,16,1.2,1440,16,1.333,6,1,&s=0.75|0.5|0.25,1.5|2|3|4|6|8|9|10,s-l&g=s,l,xl,12 */

  --space-3xs: clamp(0.25rem, 0.25rem + 0vw, 0.25rem);
  --space-2xs: clamp(0.5rem, 0.5rem + 0vw, 0.5rem);
  --space-xs: clamp(0.75rem, 0.75rem + 0vw, 0.75rem);
  --space-s: clamp(1rem, 1rem + 0vw, 1rem);
  --space-m: clamp(1.5rem, 1.5rem + 0vw, 1.5rem);
  --space-l: clamp(2rem, 2rem + 0vw, 2rem);
  --space-xl: clamp(3rem, 3rem + 0vw, 3rem);
  --space-2xl: clamp(4rem, 4rem + 0vw, 4rem);
  --space-3xl: clamp(6rem, 6rem + 0vw, 6rem);
  --space-4xl: clamp(8rem, 8rem + 0vw, 8rem);
  --space-5xl: clamp(9rem, 9rem + 0vw, 9rem);
  --space-6xl: clamp(10rem, 10rem + 0vw, 10rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.25rem, 0.1667rem + 0.3704vw, 0.5rem);
  --space-2xs-xs: clamp(0.5rem, 0.4167rem + 0.3704vw, 0.75rem);
  --space-xs-s: clamp(0.75rem, 0.6667rem + 0.3704vw, 1rem);
  --space-s-m: clamp(1rem, 0.8333rem + 0.7407vw, 1.5rem);
  --space-m-l: clamp(1.5rem, 1.3333rem + 0.7407vw, 2rem);
  --space-l-xl: clamp(2rem, 1.6667rem + 1.4815vw, 3rem);
  --space-xl-2xl: clamp(3rem, 2.6667rem + 1.4815vw, 4rem);
  --space-2xl-3xl: clamp(4rem, 3.3333rem + 2.963vw, 6rem);
  --space-3xl-4xl: clamp(6rem, 5.3333rem + 2.963vw, 8rem);
  --space-4xl-5xl: clamp(8rem, 7.6667rem + 1.4815vw, 9rem);
  --space-5xl-6xl: clamp(9rem, 8.6667rem + 1.4815vw, 10rem);

  /* Custom pairs */
  --space-s-l: clamp(1rem, 0.6667rem + 1.4815vw, 2rem);
  --space-l-3xl: clamp(2rem, 0.6667rem + 5.9259vw, 6rem);

  --gap: var(--space-xl-2xl);
  --padding: var(--space-l-xl);
  --radius: var(--space-2xs);

  --edge: 1rem;
  --sirka: 1440px;
  --skok: calc(var(--sirka) / 12);

  --sekcie: var(--space-l-3xl);

  --box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;

  --font-1: "Manrope", sans-serif;
  --weight-1: 400;
  --weight-2: 700;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5em;
}
body {
  font-family: var(--font-1);
  font-optical-sizing: auto;
  font-weight: var(--weight-1);
  font-style: normal;
  font-variation-settings: "slnt" 0;
  font-size: var(--step-0);
  color: var(--clr-gray-1);
  line-height: 1.3;
  word-wrap: break-word;
  position: relative;
  background-color: var(--clr-gray-4);
}
figcaption.wp-element-caption {
  display: none;
}
.wp-block-cover,
.wp-block-group,
.wp-block-columns,
.cv-faq {
  max-width: calc(var(--sirka) - 4 * var(--skok));
  width: 100%;
  margin: 0 auto;
}
.alignwide {
  max-width: var(--sirka);
  width: 100%;
  margin: 0 auto;
}
.alignfull {
  max-width: none;
  width: 100%;
}
.is-style-maxwidth {
  max-width: calc(var(--sirka) - 6 * var(--skok));
}
#skiptocontent a {
  position: absolute;
  top: -900px;
  left: 0;
  color: var(--clr-orange-light);
  background: var(--clr-white);
  -webkit-transition: top 1s ease-out;
  transition: top 1s ease-out;
  z-index: 10000;
  display: inline-block;
  padding: 7px;
}
#skiptocontent a:focus {
  top: 0;
}
strong {
  font-weight: var(--weight-2);
}
small {
  font-size: var(--step--1);
}
a {
  cursor: pointer;
  color: var(--clr-primary-1);
  text-decoration: underline;
  transition: all 500ms ease;
  text-underline-offset: 3px;
}
a:focus {
  outline: 2px solid #ffbf50;
}
a:hover,
a:focus,
a:active {
  text-decoration: none;
}
a:click {
  outline: none;
}

main ul {
  margin-left: 1.25rem;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  line-height: 1.2;
  margin-bottom: var(--space-m-l);
  color: var(--clr-black);
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: var(--weight-2);
}
h1 {
  font-size: var(--step-6);
}
h2,
.h2 {
  font-size: var(--step-6);
}
h3,
.h3 {
  font-size: var(--step-5);
}
h4,
.h4 {
  font-size: var(--step-4);
}
h5,
.h5 {
  font-size: var(--step-2);
}
h6,
.h6 {
  font-size: var(--step-1);
}
hr,
hr.wp-block-spacer {
  margin: var(--space-3xl) 0;
  background-color: var(--clr-gray-1);
  height: 1px;
  width: 100%;
  border: none !important;
}
hr.is-style-dots {
  margin: var(--space-l) 0;
}
.has-text-align-center {
  text-align: center;
}
address {
  font-style: normal;
}
img,
video {
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}
video {
  border-radius: var(--radius);
}
input,
select,
button,
textarea {
  border-radius: var(--radius);
  border: 1px solid #ddd;
  font-size: var(--step-0);
  font-family: var(--font-1);
  font-optical-sizing: auto;
  padding: var(--space-2xs) var(--space-2xs);
  width: 100%;
  margin-bottom: 1rem;
}
input[type="submit"] {
  width: auto;
}
input[type="checkbox"] {
  padding: 0;
  border: 0;
  width: auto;
  outline: 1px solid #ddd;
}
main,
footer {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}
label {
  color: var(--clr-gray-1);
  margin-bottom: var(--space-3xs);
  display: block;
}
header {
  padding: var(--edge);
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--clr-gray-2);
}
header > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.logo {
  width: 9rem;
  display: block;
}
#mega-menu-wrap-hlavne-menu {
  margin-left: auto;
}
.h-cta {
  display: none;
}
.wp-element-button {
  font-weight: var(--weight-2);
  background-color: #6f40f1;
  color: #fff;
  border: 2px solid transparent;
  background-image: linear-gradient(
    51deg,
    #7141f1 50%,
    #4d6bd8 75%,
    #3183e2 100%
  );
  box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.9),
    5px 5px 15px rgba(60, 14, 189, 0.3);
  text-decoration: none;
  padding: var(--space-s) var(--space-l);
  border-radius: 500px;
}
main section {
  padding: var(--sekcie) 0;
}
h1 + p,
h2 + p {
  font-size: var(--step-1);
  font-weight: var(--weight-2);
  text-wrap: balance;
}
