/* General reset and layout */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 10px;
  height: 100%;
  background-color: #ffffff;
  font-family: 'Arial', sans-serif;
  overflow-y: auto;
}

.jozek {
  position: relative;
  max-width: 800px;
  height: 100%;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #0268CE;
  border-radius: 8px;
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

/* Typography */
h1.site-title {
  font-size: 42px;
  text-align: center;
  color: black;
  margin: 0;
}

h2 {
  font-size: 34px;
  text-align: center;
  color: black;
  font-weight: normal;
  margin-top: 10px;
}

/* Side menu */
.side-menu {
  position: absolute;
  top: 38%;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

/* Button group spacing */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spacer {
  height: 25px;
}

/* Menu button */
.menu-btn {
  background-color: #0e52cc;
  color: white;
  border: 2px solid #0268CE;
  padding: 10px 10px;
  font-size: 16px;
  border-radius: 10px;
  width: 105px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.menu-btn:hover {
  background-color: #0268CE;
}

/* Copyright */
.copyright {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: auto;
  padding: 5px;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1.site-title {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .menu-btn {
    font-size: 14px;
    width: 90px;
  }

  .side-menu {
    top: 30%;
    right: 10px;
    gap: 8px;
  }
}

/* Left-text styling */
.left-text {
  position: absolute;
  top: calc(25% + 10px);
  left: 33px;
  font-size: 40px;
  color: black;
  z-index: 2;
}

/* Target paragraphs inside left-text */
.left-text p {
  position: relative;
  left: 15px;
  top: -50px;
  font-size: 25px;
  color: navy;
  text-align: left;
  line-height: 40px;
  margin: 0;
  padding: 0;
}

/* Desktop override */
@media (min-width: 769px) {
  .left-text p {
    top: -60px;
    left: 100px;
    font-size: 35px;
    line-height: 52px;
  }
}

/* Arrows container aligned with content */
.arrows-container {
  position: fixed;
  bottom: 42px;
  width: 800px;       /* match your content width */
  max-width: 80vw;    /* responsive fallback */
  left: 50%;          /* center horizontally */
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;    /* small padding so arrows don't hug edges */
  z-index: 10;
  pointer-events: none; /* container itself ignores pointer events */
}

/* Individual arrow styling */
.text-arrow {
  font-size: 30px;
  font-family: Arial, sans-serif;
  color: #0268CE;
  cursor: pointer;
  user-select: none;
  line-height: 1;
  transition: color 0.3s ease;
  pointer-events: auto; /* allow clicking the arrows */
}

.text-arrow:hover {
  color: #014aad;
}
/* --------------------------------
   Logo
-------------------------------- */
header {
  position: relative;
  padding: 20px;
}

.site-title {
  margin: 0;
  font-size: 2em;
}

.logo-link {
  position: absolute;
  top: -45px;   /* Adjust to move inside your design */
  right: -60px;
  z-index: 10;
}

.site-logo {
  width: 100%;
  max-width: 140px;
  height: auto;
}