@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

:root {
  --main-bg-color: #333d51;
  --main-text-color: #d3ac2b;
  --highlight-color: #cbd0d8;
  --add-color: #f4f3ea;
}

.section-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  background: #001d10;
  z-index: 99999;
  position: fixed;
  height: 100%;
  width: 100%;
  animation: animateBackgroundColor 10s linear infinite;
}

@keyframes animateBackgroundColor {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.loading {
  position: relative;
  width: 250px;
  height: 250px;
}

.loading .blocks {
  position: absolute;
  width: 8px;
  height: 25px;
  background: #050c09;
  left: 50%;
  border-radius: 8px;
  transform: rotate(calc(18deg * var(--i)));
  transform-origin: 0 125px;
  animation: animate 3s ease-in-out infinite;
  animation-delay: calc(0.05s * var(--i));
}

.disappear {
  display: none;
}

@keyframes animate {
  0%,
  50% {
    background: #050c09;
    box-shadow: none;
  }
  50.1%,
  100% {
    background: #0f0;
    box-shadow: 0 0 5px #0f0, 0 0 15px #0f0, 0 0 30px #0f0, 0 0 60px #0f0,
      0 0 90px #0f0;
  }
}

.section-loading h3 {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 2rem;
  letter-spacing: 2px;
  animation: animateText 3s ease-in-out infinite;
  animation-delay: -1s;
}

@keyframes animateText {
  0%,
  50% {
    color: #050c09;
    text-shadow: none;
  }
  50.1%,
  100% {
    color: #0f0;
    text-shadow: 0 0 5px #0f0, 0 0 15px #0f0;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
}

body {
  animation: FadeIn 2s ease-in;
}

@keyframes FadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  color: var(--main-text-color);
}

p {
  margin: 20px 0 10px;
  font-size: 1.15rem;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px;
  transition: all ease-in-out 0.5s;
}

.home {
  width: 100%;
  /* height: 100vh; */
}

.home-img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.home-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  justify-items: center;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.logo {
  width: 5rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.logo-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 100%;
  font-size: 15rem;
  line-height: 18rem;
  letter-spacing: 30px;
  font-weight: 800;
  z-index: 20;
  color: #fff;
  mix-blend-mode: overlay;
  text-shadow: 0 4px 0 #aa2421, 0 6px 0 #8e1e1b, 0 8px 0 #711816,
    0 10px 0 #551210, 3px 12px 15px rgba(0, 0, 0, 0.1),
    3px 8px 5px rgba(0, 0, 0, 0.3);
}

.toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 100px;
  height: 100px;
  z-index: 23;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.toggle::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: var(--add-color);
  transform: translateY(-10px);
  transition: all ease-in-out 0.6s;
  box-shadow: 0 10px 0 var(--add-color);
}

.toggle::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: var(--add-color);
  transform: translateY(10px);
  transition: all ease-in-out 0.6s;
}

.toggle.active::before {
  background: var(--main-bg-color);
  transform: translateY(0px) rotate(45deg);
  box-shadow: 0 0 0 var(--main-bg-color);
}

.toggle.active::after {
  background: var(--main-bg-color);
  transform: translateY(0px) rotate(-45deg);
}

.navigation {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100%;
  background: var(--add-color);
  z-index: 22;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease-in-out 0.6s;
}

.navigation.active {
  right: 0;
  transition: all ease-in-out 0.6s;
}

.navigation ul {
  position: relative;
}

.navigation ul li {
  position: relative;
  list-style: none;
  text-align: center;
  margin-bottom: 90px;
}

#navigation > ul > li:nth-last-child(1) {
  margin-bottom: 0;
}

.navigation ul li a {
  font-size: 2.8rem;
  color: var(--main-text-color);
  text-decoration: none;
  font-weight: 400;
  transition: all ease-in-out 0.5s;
}

.navigation ul li:hover,
.navigation ul li:focus {
  transform: scale(1.2);
  transition: all ease-in-out 0.5s;
}

.navigation .social-bar {
  position: absolute;
  top: 0;
  left: 20px;
  width: 60px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation .social-bar ul li {
  padding: 20px;
}

.navigation .social-bar ul li a img:hover,
.navigation .social-bar ul li a img:focus {
  transition: all ease 0.5s;
  transform: scale(1.2);
}

/* Services Page */
/* .services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
} */

.services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(40rem, 100%), 1fr));
  gap: 40px;
  text-align: center;
}

.services .service {
  padding: 30px;
  transition: all ease-in-out 0.5s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  height: 30rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services .service:hover .icon img,
.services .service:focus .icon img {
  transition: all ease-in-out 0.5s;
  transform: scale(1.2);
}

.services .service h2 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-top: 20px;
  color: var(--main-text-color);
}

.services .service .icon img {
  max-width: 150px;
  transition: all 0.4s ease-in-out;
}

/* Portfolio Page */
.portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.portfolio .item {
  position: relative;
  width: 500px;
  height: 600px;
  margin: 10px;
}

.portfolio .item img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  object-fit: cover;
}

.portfolio .item .action {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.5s;
}

.portfolio .item .action p {
  text-align: center;
  font-size: 1.5rem;
  padding: 80px;
}

/* Text na 2. strane karticky */
.portfolio .item:hover .action,
.portfolio .item:focus .action {
  opacity: 0;
  border-radius: 5px;
}

/* Contact Page */
#contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#contact .container {
  position: relative;
  min-width: 1100px;
  min-height: 550px;
  display: flex;
  z-index: 10;
}

#contact .container .contactInfo {
  position: absolute;
  top: 40px;
  width: 350px;
  height: calc(100% - 80px);
  background-color: var(--main-text-color);
  z-index: 1;
  padding: 25px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
#contact .container .contactForm {
  position: absolute;
  width: calc(100% - 150px);
  height: 100%;
  background-color: #fff;
  padding: 70px 50px;
  padding-left: 250px;
  margin-left: 150px;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.35);
  border-radius: 3px;
}

#contact .container .contactInfo h2 {
  color: var(--main-bg-color);
  font-size: 34px;
  font-weight: 500;
  text-align: center;
}

#contact .container .contactInfo ul.info {
  position: relative;
  margin: 20px 0;
}

#contact .container .contactInfo ul.info li {
  position: relative;
  margin: 20px 0;
  list-style: none;
  display: flex;
  align-items: flex-start;
}

#contact .container .contactInfo ul.info li a {
  color: var(--main-bg-color);
  text-decoration: none;
}

#contact
  > div
  > div.contactInfo
  > div
  > ul
  > li:nth-child(1)
  > span:nth-child(1) {
  margin-top: 25px;
}

#contact .container .contactInfo ul.info li span:nth-child(1) {
  width: 30px;
  min-width: 30px;
}

#contact .container .contactInfo ul.info li span p {
  font-size: 1.1rem;
}

#contact .container .contactInfo ul.info li span:nth-child(1) {
  width: 30px;
  min-width: 30px;
}

#contact .container .contactInfo ul.info li span:nth-child(1) img {
  max-width: 100%;
}

#contact .container .contactInfo ul.info li span:nth-child(2) {
  color: var(--main-bg-color);
  margin-left: 20px;
  font-weight: 600;
}

#contact .container .contactInfo ul.sci {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

#contact .container .contactInfo ul.sci li {
  list-style: none;
  margin-right: 15px;
}

#contact .container .contactInfo ul.sci li img:hover,
#contact .container .contactInfo ul.sci li img:focus {
  transform: scale(1.2);
  transition: all ease-in-out 0.5s;
}

#contact .container .contactForm h2 {
  color: var(--main-text-color);
  font-size: 34px;
  font-weight: 500;
}

#contact .container .contactForm .formBox {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 30px;
}

#contact .container .contactForm .inputBox {
  position: relative;
  margin-bottom: 35px;
}

#contact .container .contactForm .inputBox.w50 {
  width: 47%;
}

#contact .container .contactForm .inputBox.w100 {
  width: 100%;
}

#contact .container .contactForm .inputBox.w100.submit {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact .container .contactForm .inputBox input,
#contact .container .contactForm .inputBox textarea {
  width: 100%;
  resize: none;
  padding: 5px 0;
  font-size: 18px;
  font-weight: 300;
  color: #333;
  border: none;
  outline: none;
  border-bottom: 1px solid var(--main-bg-color);
}

#contact .container .contactForm .formBox .inputBox textarea {
  height: 120px;
}

#contact .container .contactForm .formBox .inputBox textarea {
  height: 120px;
}

#contact .container .contactForm .formBox .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  pointer-events: none;
  font-size: 18px;
  font-weight: 300;
  transition: all 0.4s ease-in-out;
  color: var(--main-text-color);
}

input:-webkit-autofill {
  box-shadow: 0 0 0 100px #fff inset;
  -webkit-box-shadow: 0 0 0 100px #fff inset;
  -webkit-text-fill-color: var(--main-bg-color);
}

#contact .container .contactForm .formBox .inputBox input:focus ~ span,
#contact .container .contactForm .formBox .inputBox input:valid ~ span,
#contact .container .contactForm .formBox .inputBox textarea:focus ~ span,
#contact .container .contactForm .formBox .inputBox textarea:valid ~ span {
  transform: translateY(-25px);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--main-text-color);
}

#contact .container .contactForm .formBox .inputBox button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: var(--main-text-color);
  opacity: 0.8;
  color: #fff;
  border: none;
  width: 180px;
  height: 50px;
  padding: 12px;
  transition: all 0.4s ease-in-out;
  border-radius: 3px;
  box-shadow: 0 50px 50px rgba(0, 0, 0, 0.25);
}

#contact .container .contactForm .formBox .inputBox button:hover,
#contact .container .contactForm .formBox .inputBox button:focus {
  background: var(--main-text-color);
  outline: none;
  opacity: 1;
}

#contact .container .contactForm .formBox .inputBox button span {
  left: 60px;
  color: #fff;
}

#contact .container .contactForm .formBox .inputBox button svg {
  font-size: 20px;
  fill: transparent;
  outline: none;
}

#contact .container .contactForm .formBox .inputBox button.success {
  background: #fff;
  transition: all 0.4s ease-in-out;
  width: 50px;
  border-left: 2px solid #00ff00;
  border-bottom: 2px solid #00ff00;
  border-radius: 50px;
  animation: spin 0.3s 100ms forwards;
  box-shadow: none;
  outline: none;
}

#contact .container .contactForm .formBox .inputBox button.success span {
  color: transparent;
}

#contact .container .contactForm .formBox .inputBox button.success svg {
  animation: check 100ms 100ms forwards;
  outline: none;
}

.footer {
  text-align: center;
  margin: 1rem auto;
}

@keyframes spin {
  80% {
    border: 2px solid transparent;
    border-left: 2px solid #00ff00;
  }
  100% {
    transform: rotate(1080deg);
    border: 2px solid #00ff00;
  }
}

@keyframes check {
  to {
    fill: #00ff00;
  }
}

/* Media queries */
@media (max-width: 1868px) {
  .logo-title {
    font-size: 14rem;
    letter-spacing: 15px;
  }
}

@media (max-width: 1568px) {
  .logo-title {
    font-size: 13rem;
  }
}

@media (max-width: 1368px) {
  .logo-title {
    font-size: 11rem;
    letter-spacing: 10px;
  }

  .navigation {
    width: 50%;
  }
}

@media (max-width: 1268px) {
  .logo-title {
    font-size: 11rem;
    letter-spacing: 5px;
  }

  #contact .container {
    width: 100%;
    min-width: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }

  #contact .container .contactForm {
    position: relative;
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    padding: 40px;
    height: 550px;
    box-shadow: none;
  }

  #contact .container .contactInfo {
    position: relative;
    height: 550px;
    top: 0;
    box-shadow: none;
  }
}

@media (max-width: 1078px) {
  .logo-title {
    font-size: 11rem;
    letter-spacing: 0px;
  }

  section {
    padding: 50px;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .services .service h2 {
    font-size: 1.2rem;
  }

  .services .service .icon img {
    max-width: 150px;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 978px) {
  .logo-title {
    font-size: 8.5rem;
    letter-spacing: 0px;
  }

  .navigation {
    width: 100%;
  }

  #contact:before {
    display: none;
  }

  #contact .container {
    display: flex;
    flex-direction: column-reverse;
  }

  #contact .container .contactForm {
    width: 100%;
    height: auto;
  }

  #contact .container .contactInfo {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .toggle {
    right: -5px;
  }

  .toggle::before,
  .toggle::after {
    width: 40px;
  }

  .navigation ul li {
    margin-bottom: 70px;
  }

  .logo-title {
    font-size: 6.5rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .portfolio .item {
    width: 400px;
    height: auto;
  }
}

@media (max-width: 568px) {
  .logo-title {
    font-size: 3.3rem;
    line-height: 8rem !important;
    text-align: center;
  }

  .navigation ul li {
    margin-bottom: 40px;
  }

  h1 {
    font-size: 1.5rem;
    margin: -25px;
  }

  .portfolio .item .action p {
    font-size: 1rem;
    padding: 30px;
  }

  #contact .container .contactForm {
    padding: 25px;
  }

  #contact .container .contactInfo {
    padding: 25px;
  }

  #contact .container .contactForm .formBox .inputBox.w100 {
    text-align: center;
  }

  .portfolio .item img {
    height: 30rem;
  }

  .footer {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 468px) {
  .logo-title {
    font-size: 4rem;
  }

  .portfolio .item {
    width: 380px;
  }

  #contact {
    padding: 0;
    margin: 10px;
  }

  #contact .container .contactForm .formBox .inputBox.w50 {
    width: 100%;
  }
}

@media (max-width: 368px) {
  .logo-title {
    font-size: 3.3rem;
    line-height: 8rem !important;
    text-align: center;
  }

  .portfolio .item {
    width: 300px;
  }
}

/* CookieBot Banner */
/* Branding on the banner */
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogHeader,
.CookiebotWidget-main-logo,
#CybotCookiebotDialogHeader,
.CookieDeclaration,
#CybotCookiebotDialogPoweredByText {
  display: none !important;
}

.home-video {
  width: 100%;
  height: 100dvh;
  height: 100vh;
  object-fit: cover;
}

.home::before {
  content: "";
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--main-bg-color);
  opacity: 0.4;
}

.home-video {
  width: 100%;
}

.cislodomu {
  overflow: hidden;
}

.cislodomu img {
  scale: 2;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
