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

.photo-first-block {
    display: flex;
    height: 100vh;
    width: 100vw;
    background: -webkit-linear-gradient(90deg,#aeaea2,#85410a,#2e3ea8); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(90deg,#aeaea2,#85410a,#2e3ea8); 
    text-align: center;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    flex-direction: column;

    .photo-first-block-text {
      position: relative;
      flex: 2;

      h1 {
        font-weight: bold;
        font-size: 5vw;
        color: var(--color-text);
      }
    }

    .navigation-to-second-block {
      display: flex;
      bottom: 3vh;
      height: fit-content;
      position: relative;
      flex-direction: column;
      text-align: center;
      justify-content: center;
      align-items: center;

      .text-in-nav {
        color: var(--color-text);
        font-size: 1.5vw;
      }

      .next-button {
        border: 1px solid var(--color-text);
        width: fit-content;
        text-decoration: none;
        color: var(--color-text);
        padding: 5px;
        border-radius: 10px;

        .arrow {
          font-size: large;
        }
      }

      .next-button:hover {
        background-color: var(--color-play);
        color: var(--color-share);
        border-color: var(--color-share);
      }
    }
  }

  @media (max-width: 1000px) {
    .photo-first-block {
      height: 70vh;

      .photo-first-block-text {

        .imaage-container .image-people {
          height: 40vh;
        }

        h1 {
          font-size: 12vw;
        }
      }

      .navigation-to-second-block {
        bottom: 6vh;

        .text-in-nav {
          font-size: 4vw;
        }

        .next-button {
          .arrow {
            font-size: large;
          }
        }

        .next-button:hover {
          background-color: #FA944B;
          color: #0a0908;
          border-color: #0a0908;
        }
      }
    }
  }


  .photo-gallery {
      height: fit-content;
      background-color: var(--color-text);
      padding: 5vh 2vw;
      max-height: 1000vh;

      .photo-gallery-title {
        text-align: center;

        h1 {
          font-weight: bold;
        }
      }

      .photo-gallery-items {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        height: fit-content;

        .question-item {
            width: 50%;
            margin-bottom: 30px;
            h4 {
                font-size: 16px;
            }
        }

        .photo-gallery-item-elements {
          flex: 0 0 300px;
            margin: 2vh 2vw 2vh 2vw;
            height: 50%;

            .photo-gallery-item {
              flex: 0 0 250px;
              overflow: hidden;
              height: 30vh;
              border-radius: 5%;
              box-shadow: 0 0 10px 0;

              img {
                width: 100%;
               height: 100%;
                object-fit: cover;
                object-position: 50% 50%;
            }
          }

          .photo-title {
            float: left;
            font-weight: bold;
            line-height: normal;
            font-size: 15px;
          }

          .photo-date {
            float: right;
            font-style: italic;
            font-size: 15px;
          }
        }
    }

    .photo-gallery-items::-webkit-scrollbar {
      background-color: var(--color-text);
      border-radius: 2px;
      width: 10px;
    }

    .photo-gallery-items::-webkit-scrollbar-thumb {
      background-color: var(--color-play);
      border-radius: 3px;
    }
  }


  .disabled {
    color: gray;
    pointer-events: none; /* Отключает клик */
    cursor: default;
    opacity: 0.5;
}

.pagination-btn {
  background-color: #232a3b;
  border: 2px solid #FFC464;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  margin: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, transform 0.2s;
}

.pagination-btn svg {
  width: 26px;
  height: 26px;
}

.pagination-btn:hover {
  background-color: #FFC464;
  transform: scale(1.1);
}

.pagination-btn:hover svg path {
  stroke: #232a3b;
}

.pagination-btn.disabled {
  background-color: #e0e0e0;
  border: 2px solid #ccc;
  cursor: not-allowed;
}

.pagination-text {
  color: #232a3b;
  font-size: 18px;
  font-weight: 700;
}




  @media (max-width: 1000px) {
     .photo-gallery {
      background-color: var(--color-text);

      .photo-gallery-title {
        font-size: medium;
      }

      .photo-gallery-items {
          display: grid;

          .question-item {
                width: 90%;
                margin-bottom: 15px;
                h4 {
                    font-size: 14px;
                }
            }

            .photo-gallery-item {
              height: 20vh;
          }
        }
    }
  }

.image-container {
  flex: 1;
}

.image-people {
  width: auto;
  height: 60vh;
  background-image: url('photos/people.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 10px;
}

.first-block-text-with-image {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
}

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