/*
  1.GENERAL STYLES
    - self hosted fonts
    - variables
    - links
    - inputs
    - browser selection
    - browser scroll bar
  2.TYPOGRAPHY
  3.PAGES
*/

/* -----------------------------
  1.GENERAL STYLES
----------------------------- */
@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-regular.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-italic.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-500.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: italic;
  font-weight: 500;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-500italic.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-600.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: italic;
  font-weight: 600;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-600italic.woff2")
    format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-assets/themes/generatepress_child/assets/fonts/inter-v19-latin-ext-700.woff2")
    format("woff2");
}

:root {
  --base-font: "Inter", sans-serif;

  --light: 300;
  --regular: 400;
  --medium: 500;
  --semi-bold: 600;
  --bold: 700;
  --bolder: 800;

  --primary-light: #e29566;
  --primary-dark: #082539;

  --light-gray: #f6f6f6;
  --gray: #707070;
  --brown: #6a3e0b;
  --black: #333333;

  --bg-primary-40: rgba(226, 149, 102, 0.4);
  --bg-primary-20: rgba(226, 149, 102, 0.2);
  --bg-light-gray: #f6f6f6;

  --transition: 0.3s ease-in-out;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--base-font);
  font-size: 1.063rem;
  font-weight: var(--regular);
  color: var(--black);
  line-height: 1.625rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* links */
a {
  color: var(--black);
  text-decoration: none;
}

a:hover,
a:active {
  color: var(--primary-light);
}

a,
input {
  transition: var(--transition);
}

/* inputs */
::-webkit-input-placeholder {
  color: var(--gray);
  opacity: 1;
}

::-moz-placeholder {
  color: var(--gray);
  opacity: 1;
}

:-ms-input-placeholder {
  color: var(--gray);
  opacity: 1;
}

::-ms-input-placeholder {
  color: var(--gray);
  opacity: 1;
}

::placeholder {
  color: var(--gray);
  opacity: 1;
}

.site-content input:not([type="submit"]):not([type="checkbox"]),
.site-content select,
.site-content textarea {
  font-family: var(--base-font);
  font-size: 0.938rem;
  width: 100%;
  border: unset;
  outline: none;
  background-color: #fff;
  border: 1px solid rgba(208, 208, 208, 1);
}

/* browser text selection */
::-moz-selection {
  background: #efd6d0;
}

::selection {
  background: #efd6d0;
}

/* browser scroll bar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #909090;
}

::-webkit-scrollbar-thumb:hover {
  background: #707070;
}

/* -----------------------------
      2.TYPOGRAPHY
  ----------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--bold);
  color: var(--black);
  line-height: 1.375em;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.625rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.625rem;
}

h4 {
  font-size: 1.375rem;
}

h5 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 2rem;
}

.uppercased {
  text-transform: uppercase;
}

@media (max-width: 37.5rem) {
  html {
    font-size: 17px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }
}

/* -----------------------------
      3. PAGES
  ----------------------------- */

/* --- Nahlasovanie servisu --- */
.page-template-service .main-navigation,
.page-template-about .main-navigation {
  box-shadow: 0px 7px 10px -6px #dadada;
}

#b24form-container {
  max-width: 600px;
  margin: 0 auto 40px;
}

#b24form-container .b24-form-content {
  padding: 24px 0px;
}

/* --- 404 error --- */
.error404 .site {
  display: grid;
  align-content: center;
}

.error404 .site-content .grid-container {
  max-width: 750px;
  text-align: center;
}

.error404 .site-content .entry-content {
  margin-top: 1.25rem;
}

/* --- Privacy policy --- */
.privacy-policy .inside-article {
  max-width: 800px;
  margin: 0 auto;
}
