:root {
  --white-clr: #ffffff;
  --black-clr: #000;
  --red-clr: #ff2400;
  --grey-clr: #0e0e0e;
  --light-grey: #2a2a2a;
}

::selection {
  background-color: var(--red-clr); /* Barva pozadí */
  color: var(--white-clr); /* Barva textu */
}

/* Lightbox Kustomizace*/
.lb-outerContainer {
  background-color: var(--dark-grey) !important;
}

.lightbox .lb-image {
  border: none !important;
}

* {
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
.red {
  color: var(--red-clr);
  font-size: inherit;
  text-decoration: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Docasne */

.docasne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: var(--white-clr);
  color: var(--grey-clr);
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.docasne > section {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

.docasne > section p {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  margin: 0 auto;
}

.loading_animation {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading_animation img {
  max-width: 360px;
  width: 80%;
}
button[data-openmenu] {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 0;
  margin-left: 1rem;
}

button[data-openmenu] span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white-clr);
  position: relative;
}

button[data-openmenu] span::before,
button[data-openmenu] span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--white-clr);
}

button[data-openmenu] span::before {
  top: -10px;
}

button[data-openmenu] span::after {
  top: 10px;
}

@keyframes popload {
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

body {
  background-color: var(--black-clr);
  color: var(--white-clr);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body::before {
  /* content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/steel-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1; */
}

b {
  font-weight: 500;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", serif;
  font-weight: 900;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
}

.h1,
h1 {
  font-size: clamp(1.75rem, 4.95vw, 3.95rem);
}

.h2,
h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.15rem);
}

.h3,
h3 {
  font-size: clamp(1rem, 1.75vw, 1.4rem);
}

.h4,
h4 {
  font-size: clamp(0.75rem, 1.25vw, 1.3rem);
}

.h5,
h5 {
  font-size: clamp(1.6rem, 1.75vw, 1.4rem);
}

.h6,
h6 {
  font-size: clamp(0.575rem, 0.75vw, 0.75rem);
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 * {
  font-family: inherit;
  text-decoration: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.5rem;
  box-shadow: none;
  border: none;
  background-color: var(--light-bg);
}

p,
li,
span,
a {
  line-height: 1.35;
  font-size: clamp(1.15rem, 1.05vw, 1.5rem);
}

p > *,
li > *,
span > *,
a > * {
  line-height: inherit;
  font-size: inherit;
}

.content_width {
  width: 95%;
  max-width: 480px;
}

.btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
}

.btn {
  display: inline-flex;
  padding: 0.75rem 1rem 0.75rem 1rem;
  background-color: var(--red-clr);
  color: var(--white-clr);
  text-decoration: none;
  border: 2px var(--red-clr) solid;
  border-radius: 5px;
  transition: 0.3s;
  font-weight: normal;
  line-height: 1.15;
}

.btn img {
  margin-left: 1rem;
  width: 25px;
}

.btn.white {
  background-color: transparent;
  border: 2px var(--white-clr) solid;
}

#document-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: transparent;
  transition: 0.5s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
}
.main-nav {
  margin-right: 0;
  margin-left: AUTO;
}
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav ul li {
  margin: 0 0 0 1rem;
  list-style-type: none;
}
.main-nav ul li a {
  padding: 0.5rem 0;
  color: var(--white-clr);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
}
.header-card {
  position: absolute;
  width: 100%;
  max-width: 80%;
  height: 100%;
  left: 50%;
  top: 85px;
  overflow: hidden;
  transform: translate(-50%, 0);
  z-index: -1;
  display: flex;
  align-items: end;
  justify-content: center;
  opacity: 0.55;
  border-radius: 10px;
}
.header-figure {
  position: absolute;
  top: 0;
  width: 100%;
}

.header-figure img {
  position: relative;
  width: 100%;
  height: auto;
  left: 50%;
  transform: translate(-50%, 0);
  top: 0;
  transition: 0.5s;
}

article.index {
  padding-top: 720px;
}
header.pelant {
  position: absolute;
}
header.pelant > h1 {
  display: block;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
header.pelant span {
  font-weight: normal;
  margin-left: 0;
  display: block;
  line-height: 1;
}
header.pelant span:last-of-type {
  font-weight: bold;
  font-size: 3rem;
}
.background-cont {
  padding-top: 60px;
}
section.nicer {
  margin-top: 2rem;
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 1rem 2rem;
  border: 4px var(--light-grey) dotted;
  border-radius: 10px;
  width: 100%;
}

section.nicer ul {
}
section.nicer ul li {
  list-style-type: none;
  margin-bottom: 0.5rem;
  border-bottom: 1px var(--white-clr) solid;
}

section.nicer ul li::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  height: 30px;
  background-image: url("../images/email.svg");
  background-position: center center;
  background-repeat: no-repeat;
}
section.nicer ul li a {
  color: var(--white-clr);
  color: inherit;
}
section.nicer ul li > a,
section.nicer ul li > span {
  text-decoration: none;
  cursor: pointer;
  padding: 1rem 0;
  transition: 0.3s;
  display: block;
  color: var(--white-clr);
}
.title {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 3rem;
  max-width: 920px;
}
section.cntsection {
  padding: 3rem 0 0 0;
}
#document-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--light-grey);
}
@media screen and (max-width: 610px) {
  button[data-openmenu] {
    margin-left: auto;
  }
  .main-nav {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  .main-nav ul {
    border-radius: 10px;
    background-color: var(--grey-clr);
    display: block;
    width: 90%;
    height: 90%;
    transform: translate(0, -50%) scale(0.75);
    gap: 2rem;
    list-style: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
  }
  .main-nav ul li {
    position: relative;
  }
  .main-nav ul li a {
    display: block;
    color: var(--white-clr);
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    font-size: 1.45rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
  }

  .main-nav [data-closemenu] {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black-clr);
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    pointer-events: none;
  }
  .main-nav.active [data-closemenu] {
    opacity: 0.65;
    pointer-events: all;
  }
  .main-nav.active ul {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: all;
  }
  .main-nav.active {
    pointer-events: all;
  }
  .title {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0rem;
    max-width: 480px;
  }
  .header-card {
    max-width: 610px;
    top: 0;
    border-radius: 0;
  }
}
