html, body {
	margin: 0px;
	padding: 0px;
	background-color: #1A1A1A;
	color: #DADADA;
	text-align: center;
}

body {
  overflow-y: scroll;
}

.gallery-wrapper {
	margin: 0px;
	padding: 15px 0px;
	background-color: #222;
}

.spotlight img {
	width: 700px;
}

hr {
	border: 0;
	border-bottom-width: 0px;
	border-bottom-style: none;
	border-bottom-color: currentcolor;
	border-bottom: 1px solid #444;
	margin: 0px 15px;
	padding: 0px;
}

h1 {
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  font-size: 360%;
  margin: 0px;
  padding: 0px; 
}

h2 {
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-size: 140%;
  margin: 0px;
  padding: 0px; 
}

p {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  text-align: initial;
  white-space: pre-wrap;
}

span.info {}

span.desc {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.bot-line {
  display: flex;
  justify-content: center;
  align-items: center;
}

a {
	color: #4AA
}






.spotlight {
    position: relative;
    display: inline-block;
}

.bottom-image {
  display: block;
}

.top-image {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.spotlight:hover .top-image {
  opacity: 0;
  transition: 6s;
  transition-delay: 1s;
}

.spotlight .top-image {
  opacity: 1;
  transition: 2s;
}

.text {
  display: none;
}

.text.active {
  display: block;
}


/* only lff page */

.spotlight img.lesser {
  width: 400px;
  margin: 0 10px 10px 10px;
}

.spotlight img.small-image {
  margin-bottom: 35px;
}

.spotlight:hover .top-image.lesser {
  opacity: 0;
  transition: 2s;
  transition-delay: 0.1s;
}

.spotlight .top-image.lesser {
  opacity: 1;
  transition: 1s;
}






.text-container {
  position: relative;
  height: 50px; /* Высота блока с текстом */
}

.text {
  opacity: 0;
  animation: fade 0.5s ease-in-out;
}

.text.active {
  opacity: 1;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

p {
  min-width: 700px;
  max-width: 700px;
  display: block;
}