* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html, body { 
  background:#fff; 
  color:#0b0b0b; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  font-family: "Urbanist", sans-serif; 
}

/* Back strelica */
.back-home{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
  color: #111;
  text-decoration: none;
  z-index: 120;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.back-home:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  background: #fff;
}

.back-home:active{ 
  transform: translateY(0); 
}

.material-symbols-rounded{
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 15px; 
  line-height: 1;
}

/* Intro */
.Intro{
  position: fixed; 
  inset: 0; 
  background:#fff; 
  z-index: 9999;
  display: grid; 
  place-items: center;
}

.Intro .letters{ 
  position: relative; 
  width: 120px; 
  height: 120px; 
}

.Intro .letter{
  position:absolute; 
  top:50%; 
  transform:translateY(-50%);
  font-family:"Urbanist", sans-serif; 
  font-weight:300; 
  font-size:24px; 
  color:#111; 
  opacity:0;
}

.Intro .letter.m{ 
  left:20px;
 }

.Intro .letter.g{ 
  right:20px; 
}

.Intro.fadeout{ 
  transition: opacity 500ms ease, visibility 500ms ease; 
  opacity:0; 
  visibility:hidden; 
}

/* Viewport1 */

.lang-switch {
  position: fixed;
  top: 16px;
  right: 70px; 
  display: flex;
  gap: 10px;
  z-index: 130;
}

.lang-switch .lang-btn {
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.lang-switch .lang-btn:hover { 
  transform: translateY(-1px); 
}


.lang-switch .lang-btn.is-active { 
  border-color: #111; 
  font-weight: 600; 
}

.viewport1{
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.viewport1-title{
  justify-self: start;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.01em;
  line-height: 1.05;
  display: flex; gap: 10px; align-items: baseline;
}

.viewport1-title .divider{ 
  opacity:100; 
  font-weight:300; 
}

/* Video */
.slideshow{
  position: relative;
  width: min(1024px, 100%);
  margin: 6px auto 0;
  aspect-ratio: 16 / 9;
  background: #e8eaed;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.slideshow .slide{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(4px);
  transform: scale(1.02);
  transition: opacity 900ms ease, filter 900ms ease, transform 900ms ease;
  pointer-events: none;
}

.slideshow .slide.is-active{
  opacity: 1;
  filter: blur(0);
  animation: kburns 3600ms ease-out forwards;
}

@keyframes kburns{
  from { 
    transform: scale(1.02); 
  }

  to   { 
    transform: scale(1.06); 
  }
}


.details-button{
  justify-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Outfit", sans-serif;
  text-decoration: none; color:#0b0b0b;
  border-radius: 999px; padding: 10px 14px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.details-button:hover{
  transform: translateY(-2px); 
  box-shadow:0 12px 28px rgba(0,0,0,.16); 
  background:#fff; 
}

.details-button:active{ 
  transform: translateY(0); 
}

@media (max-width: 990px) {
  .viewport1 { 
    padding: 48px 32px 64px; 
  }

  .viewport1-title { 
    font-size: 22px; 

  }
  .details-button { 
    font-size: 14px; 
    padding: 8px 12px; 
  }

  .material-symbols-rounded { 
    font-size: 20px; 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20; 
  }

  .Intro .letter { 
    font-size: 22px; 
  }
}

/*Responsive*/
@media (max-width: 745px) {
  .viewport1 { 
    padding: 44px 28px 60px; 
  }

  .viewport1-title { 
    font-size: 20px; 
  }

  .details-button { 
    font-size: 13px; 
    padding: 7px 11px; 
  }

  .material-symbols-rounded { 
    font-size: 18px; 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 18; 
  }

  .Intro .letter { 
    font-size: 20px; 
  }
}

@media (max-width: 560px) {
  .viewport1 { 
    padding: 40px 24px 56px;
  }

  .viewport1-title { 
    font-size: 18px; 
  }

  .details-button { 
    font-size: 12px; 
    padding: 6px 10px; 
  }

  .material-symbols-rounded { 
    font-size: 16px; 
    font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 16; 
  }

  .Intro .letter { 
    font-size: 18px; 
  }
}

@media (max-width: 400px) {
  .viewport1 { 
    padding: 36px 20px 50px; 
  }

  .viewport1-title { 
    font-size: 14px; 
  }

  .details-button { 
    font-size: 11px; 
    padding: 5px 9px; 
  }

  .material-symbols-rounded { 
    font-size: 14px; 
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 14; 
  }

  .Intro .letter { 
    font-size: 16px; 
  }
}

@media (prefers-reduced-motion: reduce){
  .slideshow .slide { 
    animation: none !important; 
    transition: none !important; 
  }

  .Intro.fadeout { 
    transition: none !important; 
  }
}

/* Viewport2  */
.description{
  width: 100%;
  max-width: 1440px;     
  margin: 24px auto 16px;
  padding: 0 40px 8px;   
  display: flex;         
  justify-content: center; 
  align-items: flex-start; 
  height: auto;           
  min-height: 0;   
  position: relative;
  overflow: hidden;         
}

.description p{
  max-width: 1000px;    
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;            
  position: relative;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 1.2s ease-in-out, filter 1.2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.description p::after{
  content:"";
  position:absolute;
  inset:0;
  background:#fff;
  transform: translateY(0%);
  z-index:2;
  pointer-events:none;
}

.description.show-curtain p{ 
  opacity:1; 
  filter:blur(0); 
}

.description.show-curtain p::after{
  animation: curtainDown 1.4s ease-in-out forwards;
}

@keyframes curtainDown{
  from{ 
    transform: translateY(0%); 
  }

  to  { 
    transform: translateY(100%); 
  }
}

@media (max-width: 745px){
  .description{ 
    padding: 40px 24px; 
  }

  .description p{ 
    font-size: 16px; 
    line-height: 1.55; 
  }
}

@media (max-width: 480px){
  .description{ 
    padding: 32px 20px; 
  }

  .description p{ 
    font-size: 14px; 
    line-height: 1.5; 
  }
}

/* Viewport 3  */
.video-viewport{ 
  width:100%; 
  padding:40px 0; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  background:#fff; 
}

.square-frame{
  width:min(900px,92vw); 
  aspect-ratio:1/1; 
  position:relative; 
  border-radius:16px; 
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,.28); 
  background:#fff;
}

.square-video{ 
  position:absolute; 
  inset:0; 
  width:100%; 
  height:100%; 
  object-fit:contain; 
}


#viewport3 .sound-toggle{
  position:absolute; 
  right:12px; 
  bottom:12px; 
  z-index:3;
  width:44px; 
  height:44px; 
  display:grid; 
  place-items:center;
  border:0; 
  border-radius:999px;
  background:rgba(255,255,255,.9); 
  backdrop-filter: blur(6px);
  box-shadow:0 6px 16px rgba(0,0,0,.22); 
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}


#viewport3 .sound-toggle:hover{ 
  transform: translateY(-1px); 
  box-shadow:0 10px 22px rgba(0,0,0,.26); 
  background:#fff; 
}

#viewport3 .sound-toggle .icon{ 
  width:20px; 
  height:20px; 
  color:#111; 
}

#viewport3 .sound-toggle .icon-on{ 
  display:none; 
}

#viewport3 .sound-toggle.is-on .icon-off{
   display:none; 
  }


#viewport3 .sound-toggle.is-on .icon-on{ 
  display:block; 
}

/* Responsive  */
@media (prefers-reduced-motion: reduce){
  .description p,
  .description p::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (hover: none){
  #viewport3 .sound-toggle:hover{
    transform: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
  }
}

@media (max-height: 520px){
  .square-frame{ 
    width: min(520px, 90vw, 84vh); 
  }
}

/*Selekcija teksta*/
::selection {
  background:#e58b67;
  color: #faf4e1;
}
::-moz-selection {
  background: #e58b67;
  color: faf4e1;
}
