.hero-o-nama {
  background: url("/images/hero/o-nama.jpg");
  height: 65vh;
  }

  .hero-o-nama.hero-global::before {
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-o-nama h1 {
  letter-spacing: 5px;
  font-weight: 400;
  font-family: "Lato";
  margin-top: 10px;
}

.hero-o-nama span {
  letter-spacing: 16px;
  font-weight: 500;
  font-family: "Lato";
}

.filozofija-section {
  display: flex;
  padding: 3% 5%;
  justify-content: space-between;
  align-items: center;
}

.filozofija-section-left {
  width: 50%;
}
.filozofija-section-left h3 {
  margin-top: 0;
  font-weight: 600;
}

.filozofija-section-left span {
  letter-spacing: 16px;
  font-weight: 500;
  font-family: "Lato";
}

.filozofija-section-left p , .filozofija-section-left a{
  letter-spacing: 2px;
  color: #000;
  font-weight: 600;
  line-height: 31px;
  text-align: left;
  font-family: "Lato";
  margin-top: 5vh;
}
.filozofija-section-left a:hover {
  text-decoration: underline;
  color: #173254;
}
.filozofija-section-right img {
  height: 75vh;
  width: auto;
  object-fit: cover;
}

.visit-section {
  display: flex;
  padding: 0 5%;
  align-items: center;
  background-color: #ecedee;
}

.visit-section-left {
  width: 50%;
  display: flex;
  justify-content: center;
}
.visit-section-right {
  width: 50%;
}

.visit-section-right p {
  letter-spacing: 2px;
  line-height: 31px;
  color: #173254;
  font-weight: 600;
}

.visit-section-right a {
  letter-spacing: 2px;
  color: #173254;
  font-weight: 600;
}

.visit-site-section {
  margin-top: 10vh;
}
#visit-site {
  position: relative;
}
#visit-site::after {
  content: "";
  display: inline-block; /* Allow the image to be treated as an inline element */
  background-image: url("/images/arrow-topright.png");
  background-size: contain; /* Ensures the image scales correctly */
  background-repeat: no-repeat; /* Prevents repeating of the image */
  width: 18px; /* Set the width of the image */
  height: 30px; /* Set the height of the image */
  position: absolute;
  right: -1px; /* Start from the left edge of the paragraph */
  top: 100%; /* Position the top of the image at 50% of the paragraph height */
  transform: translate(25px, -80%);
  transition: 0.3s;
  /* Adjust for both left positioning and vertical centering */
}

.bottom-video {
  background: url("/images/onama-bot.jpg");
  background-position: center;
  background-size: cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-video img {
    height: 40vh;
    width: auto;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) 
{
    .hero-o-nama {
        height: 70vh;
      }
    
      .hero-o-nama h2 {
        text-align: center;
      }
    
      .filozofija-section {
        padding: 5vh 5%;
        flex-direction: column;
      }
    
      .filozofija-section-left {
        width: 100%;
      }
      .filozofija-section-left h3 {
        margin-top: 0;
      }
    
      .filozofija-section-left span {
        letter-spacing: 16px;
        font-weight: 500;
        font-family: "Lato";
      }
    
      .filozofija-section-right img {
        height: auto;
        margin: 3vh 0;
        width: 70vw;
      }
    
      .visit-section {
        flex-direction: column;
        padding: 0 5%;
      }
    
      .visit-section-left {
        width: 100%;
      }
    
      .visit-section-right {
        width: 100%;
      }
    
      .visit-section-left img {
        width: 80vw;
        height: auto;
        margin-left: -200px;
      }
    
      .visit-site-section {
        margin: 5vh 0;
      }
      #visit-site {
        position: relative;
      }
      #visit-site::after {
        transform: translate(25px, -70%);
      }
      .bottom-video {
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .bottom-video img {
        width: 400px;
        height: auto;
      }
}

@media (max-width: 768px) {
  .hero-o-nama {
    height: 70vh;
  }

  .hero-o-nama h2 {
    text-align: center;
  }

  .filozofija-section {
    padding: 5vh 5%;
    flex-direction: column;
  }

  .filozofija-section-left {
    width: 100%;
  }
  .filozofija-section-left h3 {
    margin-top: 0;
  }

  .filozofija-section-left span {
    letter-spacing: 16px;
    font-weight: 500;
    font-family: "Lato";
  }

  .filozofija-section-right img {
    height: auto;
    margin: 3vh 0;
    width: 90vw;
  }

  .visit-section {
    flex-direction: column;
    padding: 0 5%;
  }

  .visit-section-left {
    width: 100%;
  }

  .visit-section-right {
    width: 100%;
  }

  .visit-section-left img {
    width: 90vw;
    height: auto;
    margin-left: -100px;
  }

  .visit-site-section {
    margin: 5vh 0;
  }
  #visit-site {
    position: relative;
  }
  #visit-site::after {
    transform: translate(25px, -70%);
  }
  .bottom-video {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-video img {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 376px) 
{
    .hero-o-nama {
        margin-top: 10vh;
        height: 80vh;
      }
}