body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--color-background);
}

.photo-first-block {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: -webkit-linear-gradient(90deg,#aeaea2,#85410a,#2e3ea8); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(90deg,#aeaea2,#85410a,#2e3ea8); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    flex-direction: row; /* Change to row to place elements side by side */
    align-items: stretch; /* Make children stretch to full height */
    padding: 0; /* Remove padding */
}

.photo-first-block-text {
      position: relative;
      flex: 2;
  
      h1 {
        font-weight: bold;
        font-size: 5vw;
        color: var(--color-text);
      }
}

.main-photo-container {
    width: 60%;
    height: 100%;
    position: relative;

    overflow: hidden;
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    object-position: center; /* Center the image */
    display: block;
}

.photo-description-container {
    width: 40%; /* Take up the other half of the container */
    padding: 20px 30px 20px 0; /* Add padding except on the left */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-align: left;
}

.photo-description-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.photo-description-container p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.suhbat-block {
    display: flex;
    flex-direction: column;
    background-color: var(--color-text);
    padding: 5vh 5vw;
    max-height: 200vh;
    height: fit-content;

    .suhbat-block-title {
        width: 100%;
        height: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;

        .nav-title {
            display: flex;
            list-style-type: none;
            padding: 0;
        }

        .nav-title #audio {
            border-left: 2px solid var(--color-share);
            padding-left: 1vw;
        }

        .nav-title #video {
            border-right: 2px solid var(--color-share);
            padding-right: 1vw;
        }

        .nav-title a {
            font-size: 2.5rem;
            text-decoration: none;
            color: #0a0908;
        }

        .nav-title a:hover {
          color: var(--color-background) !important;
        }
    }

.video-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  height: fit-content;
  max-height: 95%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-bottom: 10px;

  .video-item-elements {
    flex: 0 0 300px;
    margin: 2vh 2vw 2vh 2vw;

    .group-3-Eb3 {
      border-radius: 1rem;
      box-sizing: border-box;
      flex-shrink: 0;
      margin: 0 1vw 0 0;
      height: 25vh;
      width: 100%;
      background-image: url(photos/poster_video.jpeg);
      background-size: cover;
      display: inline-block;
      box-shadow: 0 0 5px 0;

      .overlay {
        border-radius: 1rem;
      }
    }

    .video-info {
      display: block;
      width: 100%;
      margin-top: 10px;
      
      .video-title {
        float: left;
        font-weight: bold;
        line-height: normal;
        font-size: 15px;
      }
  
      .video-date {
        float: right;
        font-style: italic;
        font-size: 15px;
      }
    }
  }
}

.audio-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  height: fit-content;
  max-height: 95%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding-bottom: 10px;

  .audio-item-elements {
    flex: 0 0 450px;
    margin: 0;

    .group-10-h7o {
      align-items: flex-end;
      display: flex;
      flex-direction: column;
      height: 15vh;
      left: 0;
      position: relative;
      top: 0;
      width: 90%;
      margin-top: 1vh;
      margin-bottom: 1vh;;

      .audio-design {
        height: fit-content;
        width: 100%;
        border-radius: 1rem;
        box-shadow:  0 0 3px 0 var(--color-white-shadow);

        .plyr--audio {
          border-radius: 1rem;
        }
      }

      .audio-info {
        width: 100%;

        .audio-title {
          float: left;
          font-weight: bold;
          line-height: normal;
          font-size: 15px;
        }
        
        .audio-date {
          float: right;
          font-style: italic;
          font-size: 15px;
        }
      }
    }
  }
}

  .video-items::-webkit-scrollbar, .audio-items::-webkit-scrollbar {
    background-color:linear-gradient(90deg, rgba(174,174,162,0.7), rgba(133,65,10,0.7), rgba(46,62,168,0.7)), url("/static/website/photos/enu.jpg") center center/cover no-repeat;

      border-radius: 2px;
      width: 10px;
  }
  
  .video-items::-webkit-scrollbar-thumb, .audio-items::-webkit-scrollbar-thumb {
    background-color: var(--color-play);
    border-radius: 3px;
  }
}

@media screen and (max-width: 800px) {
  .suhbat-block {
    padding: 2vh 2vw;

    .suhbat-block-title {
        .nav-title a {
            font-size: 1.3rem;
        }
    }

  .audio-items {
    .audio-item-elements {
      flex: 0 0 300px;
      margin: 0;
    }
  }
  }
}
  


@keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
}
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  .animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
  }
  
  .fadeIn {
    animation-name: fadeIn;
  }
  
  .fadeOut {
    animation-name: fadeOut;
  }

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button:hover {
  width: 100px;
  height: 100px;
}

.play-button svg {
  width: 50%;
  height: 50%;
}

.main-image {
  height: 100%;
  width: auto;
  object-fit: cover;
}

.overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-3-ybo .overlay, .group-4-2Y9 .overlay, .group-3-Eb3 .overlay {
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}

.modal-content {
  position: relative;
  padding: 10px;
  width: auto !important;
  height: 90%;
  max-width: 90%;
  max-height: 90%;
  margin: auto;
  background-color: #fefefe;
  vertical-align: middle;
}

.close {
  color: var(--color-background) !important;
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: 1%;
  right: 1%;
  position: absolute;
}

.close:hover,
.close:focus {
  color: var(--color-background) !important;
  font-size: 35px;
  text-decoration: none;
  cursor: pointer;
}

.videoModalStyle {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}


.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all ease-in-out 0.3s;
}

.play-button:hover {
  transform: scale(1.2);
}

.play-button svg {
  width: 50%;
  height: 50%;
}



.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector #selectedLanguage {
  color: var(--color-text);
}

#languageBtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

#languageBtn:hover, #languageBtn:focus, #languageBtn:active {
  border: none;
  outline: none;
}

#languageDropdown {
    display: none;
    position: absolute;
    background-color: var(--color-text);
    min-width: 100px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

#languageDropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

#languageDropdown a:hover {
    background-color: #f1f1f1;
  border-radius: 5px;
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 1.1rem;
    border-radius: 4px;
    max-width: 90%;
}