body,
html {
  margin: 0;
  padding: 0;
  height: 100%;

  background: linear-gradient(135deg, #000000 0%, #000000 30%);
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  position: relative;
}
.index {
  overflow: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/BackAndLogo/shutterstock_2614031667.png");
  background-repeat: repeat;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.navbar {
  background: rgba(0, 0, 0, 0.144) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slide {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.8s ease;
  z-index: 0;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
  pointer-events: none;
}

.content {
  max-width: 1100px;
  width: 100%;
  padding: 20px;
  pointer-events: auto;
}
.logoImg {
  height: auto;
  margin-bottom: 5px;
  width: 25vw;
}
@media only screen and (max-width: 500px) {
.logoImg{
  width: 60vw;
}

}
.logo {
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  text-align: center;
  background: linear-gradient(145deg, #f8b955, #daa95d, #9f6c2e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 217, 0, 0.045),
    2px 2px 4px rgba(0, 0, 0, 0.142);
}
.underLogo {
  background: linear-gradient(145deg, #f8b955, #daa95d, #9f6c2e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 217, 0, 0.045),
    2px 2px 4px rgba(0, 0, 0, 0.142);
}
@media only screen and (max-width: 640px) {
  .logo {
    font-size: 2.2rem !important;
  }
  .underLogo {
    font-size: 0.8rem !important;
  }
}

.arrow-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(200, 200, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 9999;
  pointer-events: auto;
}

.arrow-container:hover {
  background: rgba(200, 200, 200, 0.35);
}

.arrow {
  font-size: 1.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}


a {
  display: block;
  position: relative;
  padding: 0.2em 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: white;
  opacity: 0;
  transition:
    opacity 300ms,
    transform 300ms;
}

.nav-link::after {
  opacity: 1;
  transform: scale(0);
  transform-origin: center;
}

.nav-link:hover::after,
.nav-link:focus::after {
  transform: scale(1);
}
.navbar-brand {
  transform: translateX(-50%);
  left: 50%;
  position: absolute;
  font-size: xx-large;
}

.active .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  background-color: white;
  opacity: 1;
  transform-origin: center;
  transform: scale(1);
}
canvas {
  z-index: 0;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
}

#container {
  position: relative;
  overflow: hidden;

  border-top-width: 1px;
  border-top-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.photobanner {
  position: absolute;
  top: 3vh;
  bottom: 3vh;
  left: 0px;
  overflow: hidden;
  white-space: nowrap;
  animation: bannermove 10s linear infinite;
}

.photobanner img {
  margin: 0 0.5em;
  width: auto;
  height: 100%;
}

.photobanner img:hover {
  margin: 0 0.5em;
  width: auto;
  height: 100%;
  rotate: 1deg;
}

@keyframes bannermove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-62.5%, 0);
  }
}

#container:hover .photobanner {
  animation-play-state: paused;
}
.galEntity {
  z-index: 1;
  position: relative;
  cursor: zoom-in;
}
.galEntity:hover {
  rotate: 1deg;
}

dialog {
  border-radius: 10px;
  background: white;
}

dialog::backdrop {
  backdrop-filter: blur(2px);
}

dialog .galEntity {
  width: clamp(80%, auto, 100%);
  max-height: 80vh;
}

dialog button {
  display: block;
  margin: 10px auto;
  cursor: pointer;
}

dialog[open] {
  animation: dialog-fade-in 0.3s ease-in-out;
}

@keyframes dialog-fade-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.348);
}
.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;

  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 200px;
  height: 200px;
}

.gablotka {
  max-height: 24vh;
  object-fit: cover;
}
