@font-face {
  font-family: 'Inter'; 
  src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
.close,
.playIcon {
  transition: 0.3s;
}
.close:active,
.video:active + .playIcon,
.playIcon:active {
  transform: scale(0.9);
}
.section,
body,
html {
  background-color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin:0;
  height: 100dvh;
overflow: hidden;
}
#fullpage {
  /* To aktivira magnetno ustavljanje */
overscroll-behavior-y: none;
scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}
.section{
    height:100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
    width:100%;
scroll-snap-align: start;
  scroll-snap-stop: always;
}
@media (pointer:fine) {
.playIconContainer:hover img{ scale:1.2;filter: drop-shadow(2px 0 5px #000) drop-shadow(-2px 0 5px #000) drop-shadow(0 0 20px #000000);}
}
.playIconContainer {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all 0.3s;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
    cursor:pointer;
}
.playIcon {
  height: 200px;
  filter: drop-shadow(0 0 7px #000) drop-shadow(0 0 20px #000);
}
@media all and (orientation: landscape) {
  .imgcover {
    width: 100vw;
  }
}
.imgcover {
  object-fit: cover;
  max-height: 80vh;
  min-height: 80vh;
  position: relative;

}
.close {
  z-index: 999;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
}
video {
  margin: 0 auto;
  position: absolute;
  pointer-events: none;
  transition: 0.7s;
}
@media (min-aspect-ratio: 16/9) {
  video {
    height: 100%;
    will-change: transform, opacity;
  }
  .imgcover {
    transform: translateX(0) !important;
        will-change: transform, opacity;

  }
  .hidimg {
    opacity: 1;
    width: calc(100vh * (16 / 9));
    min-height: 100vh;
    max-height: 100vh;
    animation: 0.4s forwards landscapeOutImage cubic-bezier(0.38, 1.21, 0.22, 1);
  }
  .hidimg2 {
    animation: 0.4s forwards landscapeInImage cubic-bezier(0.38, 1.21, 0.22, 1);
  }
  .hid {
    animation: 0.4s forwards landscapeOutVideo cubic-bezier(0.38, 1.21, 0.22, 1);
  }
  .shw {
    opacity: 0;
    animation: 0.4s forwards landscapeInVideo cubic-bezier(0.38, 1.21, 0.22, 1);
    --scaleFactor: 1;
  }
}
@media (max-aspect-ratio: 16/9) {
  video {
    width: 100%;
  }
  .hidimg {
    animation: 0.55s forwards portraitOutImage cubic-bezier(0.28, 0.02, 0.15, 0.98);
  }
  .hidimg2 {
    animation: 0.55s forwards portraitInImage cubic-bezier(0.28, 0.02, 0.15, 0.98);
  }
  .hid {
    animation: 0.55s forwards portraitOutVideo cubic-bezier(0.28, 0.02, 0.15, 0.98);
  }
  .shw {
    animation: 0.55s forwards portraitInVideo cubic-bezier(0.28, 0.02, 0.15, 0.98);
  }
}
@keyframes portraitOutVideo {
   from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    /* We use a CSS variable that will be set by JavaScript */
    transform: scale(var(--portrait-video-scale-end, 0.8));
    visibility: hidden;
  }

}
@keyframes portraitInVideo {
  from {
    opacity: 0;
    transform: scale(var(--portrait-video-scale-end, 0.8));
    visibility: hidden;
  }
  1% {
    visibility: visible;
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes portraitOutImage {
  from {
    opacity: 0;
    min-height: calc(100vw / (16 / 9));
    max-height: calc(100vw / (16 / 9));
  }
  to {
    opacity: 1;
    min-height: 80vh;
    max-height: 80vh;
  }
}
@keyframes portraitInImage {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(var(--portrait-image-scale-start, 1.2));
    visibility: hidden;
  }
}
@keyframes landscapeOutImage {
  0% {
    opacity: 1;
    width: calc(100vh * (16 / 9));
    min-height: 100vh;
    max-height: 100vh;
  }
  100% {
    opacity: 1;
    max-height: 80vh;
    width: 100vw;
    min-height: 80vh;
  }
}
@keyframes landscapeInImage {
  0% {
    opacity: 1;
    max-height: 80vh;
    min-height: 80vh;
    width: 100vw;
  }
  100% {
    opacity: 1;
    width: calc(100vh * (16 / 9));
    min-height: 100vh;
    max-height: 100vh;
  }
}
@keyframes landscapeInVideo {
  0% {
    opacity: 0;
    scale: var(--scaleFactor) 0.8;
  }
  100% {
    opacity: 1;
    scale: 1 1;
  }
}
@keyframes landscapeOutVideo {
  0% {
    opacity: 1;
    scale: 1 1;
  }
  100% {
    opacity: 0;
    scale: var(--scaleFactor) 0.8;
  }
}
div#contanctTextContainer {
  width: max-content;
  position: relative;
}

.contactP {
  margin-bottom: 5px !important;
}
.icon-contacts {
  height: 22px;
  margin-right: 16px;
}
.contact-link img,
.contact-link span {
  vertical-align: middle;
}
.section h2,
.section a,
.section p,
.section span {
  color: #808285;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.1rem;
  margin: 0;
  text-decoration: none;
}


#logoAnimation {
  animation: fIn 0.5s forwards;
  opacity: 0;
  scale: 0.95;
}
@keyframes fIn {
  to {
    opacity: 1;
    scale: 1;
  }
}
#fullpage:active {
  transition: none !important;
}
#fullpage {
  touch-action: manipulation;
}
img.down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 50px;
  opacity: 0.2;
  z-index: 2;
  animation: down 5s 0.25s cubic-bezier(0.37, 0.02, 0.48, 0.98) infinite;
}
@keyframes down {
  0% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 0.2;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) translateY(-10px);
    opacity: 0.2;
  }
}
.hide-controls::-webkit-media-controls, .hide-controls::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none; /* optional: disable interaction */
}
#info > .fp-tableCell {
    display: flex;
   padding: 0 55px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 20px;
    flex-direction: column;
}

#info picture {
    width: 100%;
    display: flex;
    align-items: center;
}
.aboutContact {
    display: grid;
    max-width: 950px;
    margin: 0 auto;
    grid-template-columns: 1fr; 

         gap: 20px;
}
.about,    #info picture{
    max-width: 440px;
}
.about p {
    letter-spacing: 0.05rem;
      line-height: 1.2;
}
.about h2, #contanctTextContainer h2 {
    letter-spacing: 0.1rem;
    font-size: 2rem;
   font-weight:bold;
   margin-bottom:5px;
}
.logo {
  height: 80px;
}
.section#info .copyrightText {
    font-size: 16px;
    text-align: left;
    width: 100%;
    max-width: 440px;
}
@media all and (min-width: 840px) {
  .logo {
        width: 700px !important;
        margin-bottom: 20px;
        height: auto;
    }
    .aboutContact {
        grid-template-columns: 1.5fr 1fr;
        gap: 60px;
        
    }
    #info > .fp-tableCell {
        padding: 0 65px;
    }
     .section a,
  .section p,
  .section span {
    font-size: 22px;
    letter-spacing: 0.05rem;
  }
  #info picture {
max-width: 100% !important;
    justify-content: center;
}
.section#info .copyrightText {
  position: absolute;
  bottom: 16px;
  left: 50%;
      text-align: center;
  transform: translateX(-50%);
}
}
