* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    position: relative; 
    background-color: #f8f6f2;
    font-family: 'Times New Roman', serif;
    overflow:scroll;
  }
  
  
  
  .background-title {
    position: absolute; 
    font-size: 240px;
    color: rgba(0, 0, 0, 0.05);
    font-style: italic;
    z-index: 0; 
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
  }
  
  .background-title.right {
    top: -0px;
    right: 0px;
  }
  
  .background-title.left {
    background:none;
    top: 260px;
    left: -350px;
  }
  
  
  
  .sidebar {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 22px;
    z-index: 2;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar ul li {
    margin-bottom: 10px;
  }
  
  .sidebar ul li a {
    text-decoration: none;
    color: #111; 
    transition: color 0.3s;
  }
  
  .sidebar ul li a:hover {
    color: #d9d9d9; 
  }

  .sidebar ul li a.blur-text {
    filter: blur(1px); 
    transition: filter 0.3s;
  }
  
  .sidebar ul li a.blur-text:hover {
    filter: blur(0px); 
  }
  
  .content {
    
    padding: 20px;
    position: relative;
    z-index: 1;
  }
  
  .vertical-text {
    position:absolute;
    top: 160px;
    right: -110px;
    transform: rotate(270deg);
    font-size: 60px;
    font-weight:lighter
    
  }
  .row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 690px;
    gap: 80px;
  }
  
  .text-block {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 8px 24px;
    text-align:center;
    font-size: 24px;
    line-height: 1.4;
    white-space: nowrap;
  }
  
  .text-block span {
    letter-spacing: 4px;
  }
  
  .image-block img {
    max-width: 240px;
    height: auto;
    display: block;
  }


  
  
  @media (max-width: 768px) {
    .row {
      flex-direction: column;
    }
  
    .text-block {
      grid-template-columns: repeat(4, auto);
    }
  }

  .text-malā {
    position: absolute;
    bottom: 13050px; 
    left: 17.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }

  .text-malā2 {
    position: absolute;
    bottom: 12110px; 
    left: 82.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }
  .text-malā3 {
    position: absolute;
    bottom: 11200px; 
    left: 17.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }
  .text-malā4 {
    position: absolute;
    bottom: 10220px; 
    left: 88.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }

  .text-malā5 {
    position: absolute;
    bottom: 9260px; 
    left: 21.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā6 {
    position: absolute;
    bottom: 8320px; 
    left: 82.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā7 {
    position: absolute;
    bottom: 7340px; 
    left: 18.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā8 {
    position: absolute;
    bottom: 6300px; 
    left: 79.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }
  .text-malā9 {
    position: absolute;
    bottom: 5280px; 
    left: 20.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā10 {
    position: absolute;
    bottom: 4190px; 
    left: 88.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }
  .text-malā11 {
    position: absolute;
    bottom: 3150px; 
    left: 20.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā12 {
    position: absolute;
    bottom: 2180px; 
    left: 91.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }
  .text-malā13 {
    position: absolute;
    bottom: 1170px; 
    left: 26.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
  }
  .text-malā14 {
    position: absolute;
    bottom: 170px; 
    left: 77.5%;
    transform: translateX(-50%) rotate(270deg);
    font-size: 45px;
    font-style: italic;
    color: rgba(0, 0, 0, 0.05);  
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
    white-space: nowrap;
  }

  
  
  @media screen and (max-width: 678px) {

    body {
      overflow-x: hidden;
    }
  
    html, body {
      overflow-x: hidden;
    }
    
  
    
    .background-title {
      position: absolute; 
      font-size: 70px;
      color: rgba(0, 0, 0, 0.05);  /* ne tik caurspīdīgs kā 0.05 */
      font-style: italic;
      z-index: 10; 
      pointer-events: none;
      user-select: none;
      white-space: nowrap;
    }
    
    .background-title.left {
      top: 180px;
      left: -20%;
    }
    
    .background-title.right {
      top: 70px;
      left: 70%;
    }
  
  .sidebar {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 18px;
  z-index: 9;
  }
  .sidebar ul {
  list-style: none;
  padding: 0;
  }
  
  .sidebar ul li {
  margin-bottom: 10px;
  }
  
  .sidebar ul li a {
  text-decoration: none;
  color: #111; 
  transition: color 0.3s;
  }
  
  .sidebar ul li a:hover {
  color: #d9d9d9; 
  }
  
  .sidebar ul li a.blur-text {
  filter: blur(1px); 
  transition: filter 0.3s;
  }
  
  .sidebar ul li a.blur-text:hover {
  filter: blur(0px); 
  }
  
  .content {
  margin-left: 0;
  position: relative;
  z-index: 1;
  }
  
  .vertical-text {
  position: absolute;
  top: 100px;
  right: -55px; 
  transform: rotate(270deg);
  font-size: 36px;
  font-weight: lighter;
  color:black;
  z-index: 1;
  }
  

  @media screen and (max-width: 678px) {
    .row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
      margin-top: 300px;
    }
  
    .image-container {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 16px;
    }
  
   
  
    .image-block img {
      max-width: 160px;
      height: auto;
    }
  }
  @media screen and (max-width: 678px) {
    .text-malā,
    .text-malā2,
    .text-malā3,
    .text-malā4,
    .text-malā5,
    .text-malā6,
    .text-malā7,
    .text-malā8,
    .text-malā9,
    .text-malā10,
    .text-malā11 {
      display: none;
    }
  }