.ramcek {
  position: relative;
  padding: 20px; /* priestor vo vnútri */
  border-radius: 70px 0 70px 0;
  background: linear-gradient(to right, #732027, #f6c185);
}

.ramcek::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: white; /* Farba vnútra rámčeka – môžeš zmeniť */
  border-radius: 60px 0 60px 0; /* trochu menšie, aby sedelo do rámu */
  z-index: 1;
}

.ramcek > * {
  position: relative;
  z-index: 2;
}







.gallery, .gallery2 {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }
	
.gallery img, .gallery2 img {

      cursor: pointer; /* ⬅️ Klikateľný kurzor */
    }

	
.detail, .detail2 {
  margin-top: 30px;
	max-width:1200px;
  margin-left: auto;
  margin-right: auto;

  padding: 20px;
  border-radius: 10px;
  background: #f9f9f9;

  /* Animácia */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;

  /* Flex layout */
  display: flex;
  align-items: center; /* vertikálne centrovanie */
  gap: 20px;
}

.detail.show, .detail2.show {
  opacity: 1;
  max-height: 1000px;
}


.detail img, .detail2 img  {
  max-width: 250px;
  height: auto;
  border-radius: 5px;
  flex-shrink: 0;
}

.description, .description2 {
  text-align: left;
}



@media (max-width: 768px) {
  .detail,  .detail2 {
    flex-direction: column; /* obrazok hore, text dole */
    align-items: center; /* centrovanie obsahu */
    text-align: center;
  }

  .description, .description2 {
    text-align: center;
  }

  .gallery, .gallery2 {
    flex-direction: row;
    justify-content: center;
  }
}
	
	
	
	
	
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


















button.back-to-top{
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
	height: 0px;
  width: 0px;
  overflow: hidden;
	border-radius: 50px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
  color: transparent;
	clear: both;
  visibility: hidden;
  position: fixed;
  cursor: pointer;
  display: block;
  border: none;
  right: 50px;
	bottom: 75px;
  font-size: 0px;
  outline: 0 !important;
  z-index: 99;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
button.back-to-top:hover,
button.back-to-top:active,
button.back-to-top:focus,{
  outline: 0 !important;
}
button.back-to-top::before,
button.back-to-top::after {
  content: "";
    display: block;
    vertical-align: middle;
    border-bottom: solid 10px #243447;
    border-left: solid 10px transparent;
    line-height: 0;
    border-right: solid 10px transparent;
    height: 0;
    margin: 18px auto 0;
    width: 0;
  border-radius:20px;
  visibility: hidden;
}
button.back-to-top.show::after,
button.back-to-top.show::before{
  visibility: visible;
}
button.back-to-top::after {
  border-bottom-color:#fff;
      position: relative;
  top:-24px;
}
button.back-to-top.show {
  display: block;
  background: #fff;
  color: #243447;
  font-size: 25px;
  right: 25px;
	bottom: 50px;
  height: 50px;
  width: 50px;
  visibility: visible;
	box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
}
button.back-to-top.show:active {
  box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
}




	
	