body{
  margin: 0;
  background-color: #000010;
}


.hero{
  --vyska: min(560px, 60vw);
  position: relative;
  height: var(--vyska);
  background: linear-gradient(#564b8d 0%, #75649c 15%, #4a3a53 25%, #08050e 36%, #000010 100%);
}

.hero::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(var(--vyska) * 680 / 502);
  background:
    linear-gradient(rgba(0, 0, 16, 0.7), rgba(0, 0, 16, 0) 30%),
    url("https://files.martocierny.com/index/fajcim.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, black 55%, transparent);
  mask-image: linear-gradient(to right, black 55%, transparent);
}

nav{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}

#svet{
  flex-shrink: 0;
  width: 130px;
  height: 94px;
}

nav p{
  margin: 0;
  padding-left: 80px;
  color: white;
  font-size: 60px;
}

.thom{
  position: absolute;
  right: 4%;
  bottom: 6%;
  height: 58%;
  -webkit-mask-image: radial-gradient(closest-side, black 60%, transparent);
  mask-image: radial-gradient(closest-side, black 60%, transparent);
  pointer-events: none;
}


.obsah{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 32px 64px;
}

.panak{
  position: relative;
  z-index: 10;
  top: -90px;
  left: 120px;
  width: 180px;
  height: 180px;
  margin-bottom: -90px;
}

.uvod{
  margin: 48px 0 0;
  text-align: center;
  background: linear-gradient(#ffffff 35%, #b9a8e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: italic 700 clamp(40px, 8vw, 96px)/1.05 Georgia, "Times New Roman", serif;
  filter: drop-shadow(0 0 24px rgba(117, 100, 156, 0.6));
}


.o-mne{
  width: 100%;
  max-width: 640px;
  margin: 56px 0 40px;
  color: rgba(255, 255, 255, 0.85);
  font: 18px/1.7 "Times New Roman", Times, serif;
}

.o-mne h2{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  color: white;
  font-size: 28px;
  font-weight: normal;
  line-height: 1.2;
}

.o-mne h2::after{
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.o-mne h3{
  margin: 1.2em 0 0;
}

.o-mne p{
  margin: 0 0 1.2em;
  overflow-wrap: anywhere; /* dlhy e-mail sa na mobile zalomi */
}

.o-mne p:last-child{
  margin-bottom: 0;
}

.kontakt{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.kontakt a{
  line-height: 0;
}

.ikona{
  width: 44px;
  height: 44px;
}

.github{
  filter: invert(1);
}

.linky{
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}

.linky a{
  color: white;
  overflow-wrap: anywhere;
}

.linky a:hover{
  text-decoration: none;
}



.stena{
  display: flex;
  flex-direction: column;
  gap: 160px;
  width: 100%;
  max-width: 1100px;
  margin-top: 40px;
}


.spodok{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.tanec{
  flex-shrink: 0;
  width: 200px;
  height: 200px;
}

.cornell{
  width: 560px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.cornell img{
  display: block;
  width: 100%;
  height: auto;
}

.cornell figcaption{
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.85);
  font: italic 20px/1.4 "Times New Roman", Times, serif;
  text-align: center;
}

/* kazeta Deftones vlavo pod karatistom */
.fur{
  align-self: flex-start;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin-left: 8%;
}

.pata{
  margin-top: 160px;
  text-align: center;
}



.hud{
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.hud.aktivny{
  opacity: 1;
  transition-duration: 0.15s;
}


.hud > div{
  position: absolute;
  top: 0;
  left: 0;
}

.hud-ciara{
  background-color: rgba(255, 255, 255, 0.4);
}

.hud-vlavo, .hud-vpravo{
  height: 1px;
}

.hud-hore, .hud-dole{
  width: 1px;
}

/* stvorec s hrubymi rohmi ako zameriavac */
.hud-ramik{
  --roh: 10px;
  --hrubka: 2px;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(white, white) left top / var(--roh) var(--hrubka),
    linear-gradient(white, white) left top / var(--hrubka) var(--roh),
    linear-gradient(white, white) right top / var(--roh) var(--hrubka),
    linear-gradient(white, white) right top / var(--hrubka) var(--roh),
    linear-gradient(white, white) left bottom / var(--roh) var(--hrubka),
    linear-gradient(white, white) left bottom / var(--hrubka) var(--roh),
    linear-gradient(white, white) right bottom / var(--roh) var(--hrubka),
    linear-gradient(white, white) right bottom / var(--hrubka) var(--roh);
  background-repeat: no-repeat;
}

.hud-suradnice{
  padding: 2px 4px;
  color: white;
  font: 12px/1.3 monospace;
  white-space: pre;
}

.hud-smer, .hud-buduci{
  opacity: 0;
  transition: opacity 0.2s;
}

.hud-smer.vidno, .hud-buduci.vidno{
  opacity: 1;
}

.hud-smer{
  border-top: 1px dashed rgba(255, 255, 255, 0.6);
  transform-origin: 0 0;
}

.hud-buduci{
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px dashed white;
  border-radius: 50%;
}

@media (hover: none){
  .hud{
    display: none;
  }
}


@media (max-width: 700px){
  #svet{
    width: 80px;
    height: 58px;
  }

  nav p{
    padding-left: 0;
    font-size: 32px;
  }

  .panak{
    top: -55px;
    left: -40px;
    width: 110px;
    height: 110px;
    margin-bottom: -55px;
  }

  .obsah{
    padding: 0 16px 48px;
  }

  .uvod{
    margin-top: 32px;
  }

  .o-mne{
    margin: 40px 0 24px;
    font-size: 17px;
  }

  .stena{
    gap: 80px;
  }

  .spodok{
    flex-direction: column;
    gap: 40px;
  }

  .tanec{
    width: 150px;
    height: 150px;
  }

  .fur{
    align-self: center;
    margin-left: 0;
  }

  .pata{
    margin-top: 80px;
  }
}
