*{
  box-sizing:border-box;
  margin: 0;
  padding: 0;
  }


html, body { 
  margin: 0; 
  background: #fff; 
  color: #0b0b0b;
 }


body { 
  font-family: "Urbanist", sans-serif; 
}

.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;
}

#about-page { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px; 
}


.header { 
    margin-bottom: 8px; 
}


#title{
  font-family: "Urbanist", sans-serif;
  font-weight: 400;         
  font-size: 70px;
  line-height: .95;
  margin: 24px 0 32px 0;
  letter-spacing: .01em;
}



.section-title{
  font-family: "Urbanist", sans-serif;
  font-weight: 600;         
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b6b6b;
  margin: 0 0 10px 0;
}


.main-text{
  font-family: "Urbanist", sans-serif;
  font-weight: 400;         
  font-size: 25px;
  line-height: 1.35;
  max-width: 62ch;
  margin: 0;
}


.list-tools, .list-hobbies, .list-process{
  font-family: "Outfit", sans-serif;
  font-weight: 200;
  font-size: 15px;
  margin: 0;
  padding-left: 18px;
}


.about-grid{
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr 260px; 
  column-gap: 48px;
  row-gap: 70px;
  align-items: start;
 }

#tools   { 
    grid-column: 1; 
    grid-row: 1; 
}


#text    { 
    grid-column: 2 / span 2; 
    grid-row: 1; 
} 


#hobbies { 
    grid-column: 1; 
    grid-row: 2; 
}


#process { 
    grid-column: 3; 
    grid-row: 2; 
}

#hover-spot img{
    width: 473;
    height: 280;
    border-radius:10px;
}

#hover-spot{
  position: absolute;
  top: 220px;    
  left: 260px;     
  width: 500px;    
  height: 340px;   
  z-index: 20;
  
}


#hover-spot img{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.98);
  width: 473px;
  height: 307px;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;             
  transition: opacity .25s ease, transform .25s ease;
 
}


#hover-spot:hover img{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


.Intro{
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  align-items:center;
  justify-content:center;
  display: grid;
  place-items: center;
}


.Intro .letters{
  position: relative;
  width: 120px;
  height: 120px;
}

.Intro .letter{
 position:absolute;
  font-family:"Urbanist", sans-serif;
  top:50%; 
  transform:translateY(-50%);
  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;
}


.reveal { opacity: 0; transform: translateY(10px); }
.reveal.show {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

.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; 
}


/*Responsive*/
@media (max-width: 1200px){
  #about-page{
    padding:40px clamp(32px,6vw,64px);}

  #title{
    font-size:clamp(40px,6vw,56px);
    margin:16px 0 24px;
  }

  .about-grid{
    grid-template-columns: 1fr repeat(8, minmax(0,1fr)) 1fr;
    column-gap:20px;
    row-gap:40px;
    align-items:start;
  }

  #text{
    grid-column:2 / span 8; 
    grid-row:1;
  }

  #tools{
    grid-column:2 / span 2; 
    grid-row:2;
  }

  #hobbies{
    grid-column:5 / span 2; 
    grid-row:2;
  }

  #process{
    grid-column:8 / span 2; 
    grid-row:2;
  }

  .main-text{
    font-size:20px;
    line-height:1.5;
    margin:0;
  }

  .section-title{
    font-size:14px;
  }

  .list-tools,.list-hobbies,.list-process{
    font-size:14px;
    line-height:1.6;
  }

  .back-home{
    width:44px;
    height:44px;
  }

  .back-home:hover{
    transform:none;
    box-shadow:0 6px 18px rgba(0,0,0,.14);
  }

  #hover-spot{
    grid-column:2 / span 8; 
    grid-row:3;
    position:relative; 
    top:auto; 
    left:auto;
    width:100%; 
    height:auto; 
    margin-top:24px; 
    padding-inline:0; 
    z-index:0;
  }

  #hover-spot img{
    position:relative; 
    top:auto; 
    left:auto;
    transform:none !important;
    width:100% !important; 
    height:auto !important;
    opacity:1 !important; 
    pointer-events:auto; 
    border-radius:12px;
  }

  #hover-spot:hover img{
    opacity:1; 
    transform:none;

  }
}

@media (max-width: 750px){
  #about-page{
    padding:28px clamp(20px,5vw,36px);
  }

  #title{
    font-size:clamp(32px,8.5vw,40px);
    margin:12px 0 18px;
  }

  .about-grid{
    grid-template-columns: 1fr repeat(8, minmax(0,1fr)) 1fr;
    column-gap:16px;
    row-gap:28px;
    align-items:start;
  }

  #text{
    grid-column:2 / span 8;
     grid-row:1;
    }

  #tools{
    grid-column:2 / span 2; 
    grid-row:2;
  }

  #hobbies{
    grid-column:5 / span 2; 
    grid-row:2;
  }

  #process{
    grid-column:8 / span 2; 
    grid-row:2;
  }

  .main-text{
    font-size:16px; 
    line-height:1.55;
    margin:0;
  }

  .section-title{
    font-size:12px;
  }

  .list-tools,.list-hobbies,.list-process{
    font-size:13px; 
    line-height:1.6;
  }

  .back-home{
    width:44px; 
    height:44px;
  }

  .back-home:hover{
    transform:none; 
    box-shadow:0 6px 18px rgba(0,0,0,.14);
  }

  #hover-spot{
    grid-column:2 / span 8; grid-row:3;
    position:relative; top:auto; left:auto;
    width:100%; height:auto;
    margin-top:20px; padding-inline:0; z-index:0;
  }

  #hover-spot img{
    position:relative; top:auto; left:auto;
    transform:none !important;
    width:75% !important; max-width:520px;
    height:auto !important;
    margin:0 auto; display:block;
    opacity:1 !important; pointer-events:auto; border-radius:12px;
  }

  #hover-spot:hover img{
    opacity:1; 
    transform:none;
  }
}

@media (max-width: 550px){
  #about-page{
    padding:24px clamp(16px,5vw,28px);
  }

  #title{
    font-size:clamp(26px,8.5vw,34px);
    margin:10px 0 16px;
  }

  .about-grid{
    grid-template-columns:1fr repeat(8,minmax(0,1fr)) 1fr;
    column-gap:12px;
    row-gap:24px;
    align-items:start;
  }

  #text{
    grid-column:2 / span 8; 
    grid-row:1;
  }

  #tools{
    grid-column:2 / span 2; 
    grid-row:2;
  }

  #hobbies{
    grid-column:5 / span 2; 
    grid-row:2;
  }

  #process{
    grid-column:8 / span 2; 
    grid-row:2;
  }

  .main-text{
    font-size:15px; 
    line-height:1.55; 
    margin:0;
  }

  .section-title{
    font-size:12px;
  }

  .list-tools,.list-hobbies,.list-process{
    font-size:13px; 
    line-height:1.6;
  }

  .back-home{
    width:40px;
    height:40px;
  }

  .material-symbols-rounded{
    font-size:14px;
  }

  #hover-spot{
    grid-column:2 / span 8; 
    grid-row:3;
    position:relative; 
    top:auto; 
    left:auto;
    width:100%; 
    height:auto;
    margin-top:16px; 
    padding-inline:0; 
    z-index:0;
  }

  #hover-spot img{
    position:relative; top:auto; left:auto;
    transform:none !important;
    width:70% !important; max-width:420px;
    height:auto !important;
    margin:0 auto; display:block;
    opacity:1 !important; pointer-events:auto; border-radius:12px;
  }

  #hover-spot:hover img{
    opacity:1; 
    transform:none;}
}


@media (max-width: 500px){
  #about-page{
    padding:24px clamp(16px,5vw,28px);
  }

  #title{
    font-size:clamp(26px,8.5vw,34px);
    margin:10px 0 16px;
  }

  .about-grid{
    grid-template-columns:1fr repeat(8,minmax(0,1fr)) 1fr;
    column-gap:12px;
    row-gap:24px;
    align-items:start;
  }

  #text{
    grid-column:2 / span 8; 
    grid-row:1;
  }

  #tools{
    grid-column:2 / span 2; 
    grid-row:2;
  }

  #hobbies{
    grid-column:5 / span 2; 
    grid-row:2;
  }

  #process{
    grid-column:8 / span 2; 
    grid-row:2;
  }

  .main-text{
    font-size:13px; 
    line-height:1.55; 
    margin:0;
  }

  .section-title{
    font-size:12px;
  }

  .list-tools,.list-hobbies,.list-process{
    font-size:10px; 
    line-height:1.6;
  }

  .back-home{
    width:40px;
    height:40px;
  }

  .material-symbols-rounded{
    font-size:14px;
  }

  #hover-spot{
    grid-column:2 / span 8; 
    grid-row:3;
    position:relative; 
    top:auto; 
    left:auto;
    width:100%; 
    height:auto;
    margin-top:16px; 
    padding-inline:0; 
    z-index:0;
  }

  #hover-spot img{
    position:relative; top:auto; left:auto;
    transform:none !important;
    width:70% !important; max-width:420px;
    height:auto !important;
    margin:0 auto; display:block;
    opacity:1 !important; pointer-events:auto; border-radius:12px;
  }

  #hover-spot:hover img{
    opacity:1; 
    transform:none;}
}

/*Selekcija teksta*/
::selection {
  background: #064734;
  color: #E0FFC2;
}
::-moz-selection {
  background: #064734;
  color: #E0FFC2;
}


















































