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

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: -550px;
}

.sidebar {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 22px;
  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: 160px;
  right: -110px;
  transform: rotate(270deg);
  font-size: 60px;
  font-weight: lighter;
}

.beige-text-box {
  position: absolute;
  text-align: center;
  top: 680px; 
  right: 180px; 
  background: none; 
  color: rgba(0, 0, 0, 0.4); 
  font-family: 'Times New Roman', italic; 
  font-size: 33px; 
  font-style: italic; 
  line-height: 1.1;
  max-width: 360px; 
  z-index: 1;
}

.section-main {
  background: #f2eadf;
  margin-top: 720px; 
  height: 120vh;
  width: 101.5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 1;
}

.left {
  background-image: url("IMG_0353.JPG");
  background-size: cover;
  background-position: left;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.9;
}

.text-box {
  background: rgba(217, 217, 217, 0.7);
  font-size: 24px;
  padding: 28px;
  width: 60%;
  color: #111;
  text-align: left; 
  display: flex;
  justify-content: flex-start; 
  align-items: end; 
}

.right {
  display: flex;
  justify-content: center; 
  align-items: center;  
  opacity: 0.9;
}

.right img {
  range: url("IMG_0353.JPG");
  width: 66.5%; 
  height: auto;
  object-fit: cover;
}

.section-talk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 101.5%;
}

.talk-right {
  background-image: url('IMG_0343.JPG');
  background-size: cover;
  background-position: center;
  position: relative; 
  opacity: 0.9;
}

.talk-text-box {
  position: absolute;
  bottom: 198px; 
  right: 308px; 
  background: rgba(217, 217, 217, 0.7); 
  color: #111;
  padding: 31px 335px;
  font-size: 22px;
  max-width: 330px;
}

.talk-left {
  background-color: #f2eadf; 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
}

.small-image {
  width: 66%;
  height: auto;
  object-fit: cover;
  float: right;
  margin-left: 100px;
  margin-top: 20px;
}






      @media (max-width: 768px) {

        
        
        * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          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: -100px;
        }
        
        .background-title.right {
          top: 50px;
          left: 402px;
        }

.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;
}


.beige-text-box {
  position: absolute;
  top: 360px;
  right: 24px;
  font-size: 18px;
  max-width: 190px;
  text-align: left;
}
.section-main {
  background: #f2eadf;
  margin-top: 450px; 
  height: 120vh;
  width: 101.5%;
  display: grid;
  grid-template-columns: 1fr ;
  z-index: 1;
}

.left {
  background-image: url("IMG_0353.JPG");
  background-size: cover;
  background-position: left;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.9;
}

.text-box {
  background: rgba(217, 217, 217, 0.7);
  font-size: 16px;
  padding: 28px;
  width: 60%;
  color: #111;
  text-align: left; 
  display: flex;
  justify-content: flex-start; 
  align-items: end; 
}

.right {
  display: flex;
  justify-content: center; 
  align-items: center;  
  opacity: 0.9;
}

.right img {
  range: url("IMG_0353.JPG");
  background-size: cover;
  background-position: left;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.9;
}

.section-talk {
  background: #f2eadf;
  margin-top: 450px; 
  height: 120vh;
  width: 101.5%;
  display: grid;
  grid-template-columns: 1fr ;
  z-index: 1;
}

.talk-right {
  background-image: url('IMG_0343.JPG');
  background-size: cover;
  background-position: center;
  position: relative; 
  opacity: 0.9;
}

.talk-text-box {
  position: absolute;
  bottom: 38px; 
  right: 208px; 
  background: rgba(217, 217, 217, 0.7); 
  color: #111;
  padding: 11px 245px;
  font-size: 18px;
  max-width: 4000px;
}

.talk-left {
  background-color: #f2eadf; 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.9;
}

.small-image {
  range: url("IMG_0343.JPG");
  background-size: cover;
  background-position: left;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.9;
}
      }