* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    height: auto;
}

.languege{
    cursor: pointer;
    position: absolute;
    z-index: 10000;
    width: 5vw;
    min-width: 50px;
    height: auto;
    right:47.5vw;

    border-radius:8px ;
}

.scroll-animate {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s ease-out;
}

.scroll-animate.visible {
    animation: slideInRightOnScroll 0.6s ease-out forwards;
}


#a1 {
    padding: 0.5rem 8rem;
    border-radius: 15px;
    border: 1px solid grey;
}


.notification-mobile-tablet {
    position: fixed;
    bottom: 40%;
    left: 0;
    width: 80%;
    margin-left: 10%;
    border: 0.1px solid lightgrey;
    border-radius: 20px;
    background-color: white;
    height: 40%;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 10000;
    display: none; /* Hidden by default */;
     box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.notification-mobile-tablet:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.notification-mobile-tablet p{
    font-weight: light;
    color: black;
}
.emoji-notification {
    margin-top: 5vh;
    margin-bottom: 1rem;
    font-size: 2rem;
}
.whitebold {
    color: rgb(168, 173, 1);
    font-weight: bold;
}

.notification-mobile-tablet button{
    margin-top: 6vh;
    padding: 0.5rem 1rem;
    background-color: white;
    color: black;
    border: none;
    border-radius: 0 10px;
    border-right: 0.2px solid black;
    border-left: 0.2px solid  black;
    cursor: pointer;
    font-size: 1rem;
    font-weight: lighter;

    transition: border-radius 0.4s ease, font-size 0.4s ease, font-weight 0.4s ease, color 0.4s ease;
}

.notification-mobile-tablet button:hover {
    border-radius: 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(255, 55, 55);
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: black;

    position: relative;
    overflow-x: hidden;
}


.container {
    max-width: 100vw;
    margin: 0 auto;


}



.nav-grey {
    border-radius: 20px;
    background: linear-gradient(135deg, rgb(16, 15, 15) 0%, rgb(24, 24, 24) 50%, rgb(16, 15, 15) 100%);
    padding: 0.3rem 0.3rem;
    min-width: 20vw;
    max-width: 90%;
    width: fit-content;
    border: 0.0000001vh solid rgb(46, 46, 46);
    position: fixed;

    z-index: 99999;
}





header {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    color: white;
    padding: 1vw;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 99999;
    gap: 1rem;
    background: transparent;
}

.logo {
    background-image: url(./images/li.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 2rem;
    height: 2rem;
    border-radius: 20%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 15px rgba(71, 118, 230, 0.3);
}

.nav-links {
    display: flex;
    gap: 2vw;
    position: relative;
    z-index: 99999;
    background: transparent;
}

@keyframes slideInRightOnScroll {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: lighter;
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    z-index: 99999;
    pointer-events: auto;
    padding: 0.5rem 1rem;
}



#contact-link {
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 99999;
}


#contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(71, 118, 230, 0.3);
}

#contact-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(71, 118, 230, 0.2);
}

#contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.5s ease;
}

#contact-link:hover::before {
    left: 100%;
}


#contact-link:hover {
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    border-radius: 10px;
    transform: scale(1.01);
}


.logo-img {
    width: 3rem;
    height: 2.5rem;
    margin-right: 3vw;
    border-radius: 20%;
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    right: 100%;
}




.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;   
    height: 2px;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover {

    transform: translateY(-1px);
}


.starry-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.starry-bg .star {
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 6px 2px white, 0 0 1px 0px #fff;
  animation: twinkle 2.5s infinite ease-in-out;
}
.starry-bg .star.shiny {
  width: 4px; height: 4px;
  opacity: 1;
  box-shadow: 0 0 16px 6px #fff, 0 0 2px 1px #fff;
  animation: shine 1.2s infinite alternate;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.7; filter: blur(0px); }
  50% { opacity: 1; filter: blur(1px); }
}
@keyframes shine {
  0% { opacity: 0.7; filter: blur(0px); }
  50% { opacity: 1; filter: blur(2px) brightness(2); }
  100% { opacity: 0.7; filter: blur(0px); }
}

.boxes {
    color: white;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 5rem;
}

.box-2 {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.line {
    width : 20vw;
    height: 2px;
     background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
}

.box-1 {
    margin-left: 5vw;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.box-1 p{
    text-align: center;
    font-weight: lighter;
}




.info {
  position: relative;
  z-index: 10;
  display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 stejné sloupce */
  gap: 2.5vw;
  padding: 4rem 2rem;
  margin-top: 23vh;
  perspective: 800px;
}

.info article {
  background: linear-gradient(135deg, rgba(30,30,30,0.8), rgba(10,10,10,0.8));
  border-radius: 20px;
  padding: 2rem;
  color: white;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

/* První 4 články zaberou 1 sloupec */
.info article:nth-child(-n+4) {
  grid-column: span 1;
}

/* Poslední 2 články zaberou každý 2 sloupce = 50 % */
.info article:nth-child(n+5) {
  grid-column: span 2;
}

.info article:hover {
  transform: rotateY(5deg) scale(1.02);
  box-shadow: 0 0 40px rgba(142,84,233,0.4);
}

.info article::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #4776E6 0%, #8E54E9 40%, transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
  opacity: 0.15;
  z-index: 0;
}

.info h2{
    color: white;
    font-size: 2vw;
    font-weight: bold;
    text-align: center;
}
.info p{
    text-align: center;
    font-weight: lighter;
    color:white;
    font-size: 1.2vw;
    margin-top: 5vh;
}

.technologies {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    opacity: 0;
}


.technologies h2 {
    font-size: 3vw;
    font-weight: bold;
    text-align: center;
    color: white;
}

/* Fancy list styling for technologies */
.technologies ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.technologies li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #8E54E9;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.technologies li:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.08);
}

.hobbies {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
}

.lookingFor {
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;

}

.studium{
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;
}
.i {
    border-right: 1px solid white;
    border-left: 1px solid white;
    color:  lightgrey;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
     background: linear-gradient(135deg, rgba(30,30,30,0.8), rgba(10,10,10,0.8));
}

.praxe {
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;
}
.hodnota_k_praci{
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;
}




@keyframes floatGlow {
  0% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
  100% { transform: translate(0, 0); }
}

.info article h2,
.info article p,
.info article ul {
  position: relative;
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.small {
    top: 52%;
    height: auto;
    max-height: 48%;
    min-height: 48%;
}

.info-header {
    text-align: center;
    font-size: 10vw;
    font-weight: bold;
    color: white;
    position: relative;
    top:62vh;
    letter-spacing:-1.1vw;
    opacity: 0;
}

.e{
    position: relative;
    right: 1vw;
}

.box-1 h1 {
    margin-top: 5vh;
    font-size:8vw;
    font-weight: bold;
    letter-spacing: -0.5rem;
    width: 100%;
    text-align: center;
}


.box-2 img {
    margin-top: 5vh;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 0 0 4px rgba(142, 84, 233, 0.15);
  transition: all 0.4s ease-in-out;
  filter: grayscale(20%) brightness(1.05) contrast(1.05);
  transform: rotateZ(-1.5deg) scale(1);
  cursor: pointer;
  animation: floatImage 6s ease-in-out infinite;
}

.box-2 img:hover {
  transform: rotateZ(0deg) scale(1.03);
  filter: grayscale(0%) brightness(1.15);
  box-shadow:
    0 18px 40px rgba(71, 118, 230, 0.35),
    0 0 0 5px rgba(255, 255, 255, 0.1);
}

@keyframes floatImage {
  0%, 100% {
    transform: rotateZ(-1.5deg) translateY(0px);
  }
  50% {
    transform: rotateZ(-1.5deg) translateY(-8px);
  }
}

.i {
  position: relative;
  padding-left: 1.2rem;
  margin: 1rem 0;
  font-style: italic;
  color: #ddd;
  transition: all 0.4s ease;
  border-left: 3px solid transparent;
}

.i:hover {
  color: #fff;
  transform: translateX(4px);
  border-left: 3px solid #8e54e9;
  background: linear-gradient(90deg, rgba(142,84,233,0.1) 0%, rgba(88,104,221,0.05) 100%);
  border-radius: 6px;
}

.text {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #ddd;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease-in-out;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.text strong {
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(90deg, #8e54e9 0%, #6c63ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.puvod-me {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    color: black;
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end;
    width: 100%;
    margin-top: 20vh;
    background-color: white;
    padding-top:15vh ;
}

.puvod-me div {
    margin-right: 20vw;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.puvod-me h2 {
    font-size: 4vw;
    font-weight: bolder;
    letter-spacing: -0.1rem;
    margin-bottom: 1rem;
}

.puvod-me p {
    width: 60%;
    font-size: 1.2vw;
    font-weight: lighter;
    color: black;
    margin-top: 2vh;
}


.position {
    position: relative;
    right: 50vw;
    bottom: 22vh;
    font-weight: bold;
    font-size: 8vw;
}

.first {
    margin-top: 20vh;
}

.big-h2{
    width: 60%;
}

.puvod-me {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 15vw;
    top: 10%;
    height: 80%;
    width: 4px;
    background-color: black;
    z-index: 1;
}

.timeline-point {
    position: absolute;
    left: 14.4vw;
    width: 1.2rem;
    height: 1.2rem;
    background: white;
    border: 3px solid black;
    border-radius: 50%;
    z-index: 2;
}


.puvod-webu {
    position: relative;
    text-align: right;
    color: black;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 20vh;
    padding-top: 20vh;
    margin: 0   auto;
}

.puvod-webu h2 {
    margin-right: 20vw;
    font-size: 3vw;
    font-weight: bolder;
    letter-spacing: -0.1rem;
    margin-bottom: 1rem;
}

.puvod-webu p {
    margin-right: 20vw;
    margin-top: 20vh;
    width: 60%;
    font-size: 1.2vw;
    font-weight: lighter;
    color: black;
    margin-top: 2vh;
}

.box-5-footer {
    text-align: center;padding-top: 2rem;
    border-top: 1px solid black; opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
    background-color: white;
}
.box-5-footer p {margin:0; color: #888; font-size: 0.85rem;padding-bottom: 5vh; }



@media (max-width: 1080px){
    .box-1 h1 {
        letter-spacing: -0.7vw;
    }

    .boxes {
        flex-direction: column;
    }

    .box-1 {
        width: 80%;
        margin: 0 auto;
    }

    .box-2 {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .info article p{
        font-size: 1.4vw;
    }
}

@media (max-width: 875px) {
    .box-1 h1{
        letter-spacing: -0.8vw;
    }

    
 .info {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }


   .info article {
    grid-column: span 1 !important;
  }
.technologies{
    position: relative;
}
.info-header{
    top:25vh;
}
.lookingFor {
    position: relative;
}

.small {
    top: 0;
    height: auto;
    max-height: 50vh;
    min-height: 10vh;
}

.info article p {
    font-size: 2vw;
}

.info article h2 {
    font-size: 3vw;

}

.puvod-me h2 {
    font-size: 5vw;
}

.puvod-me p {
    font-size: 1.8vw;

}
.puvod-webu h2 {
    font-size: 5vw;
}

.puvod-webu p {
    font-size: 1.8vw;
}
}


@media (max-width: 605px) {
    .info article h2 {
        font-size:5vw;
    }

    .info article p {
        font-size: 2.5vw;
    }

    .puvod-me h2 {
        font-size: 6vw;
    }
    .puvod-me p {
        font-size: 2.5vw;
    }
    .puvod-webu h2 {
        font-size: 6vw;
    }
    .puvod-webu p {
        font-size: 2.5vw;
    }
}

@media (max-width: 485px) {
    .info article h2 {
        font-size: 6vw;
    }

    .info article p {
        font-size: 3vw;
    }

    .puvod-me h2 {
        font-size: 7vw;
    }
    .puvod-me p {
        font-size: 3vw;
    }
    .puvod-webu h2 {
        font-size: 7vw;
    }
    .puvod-webu p {
        font-size: 3vw;
    }

    .box-2 {
        border-radius: 0;
    }

    .box-2 img {
        border-radius: 0;
    }
}

@media (max-width: 485px) {
    .info article h2 {
        font-size: 7vw;
    }
    .info article p {
        font-size: 3.5vw;
    }
    .puvod-me h2 {
        font-size: 8vw;
    }
    .puvod-me p {
        font-size: 4vw;
    }
    .puvod-webu h2 {
        font-size: 8vw;
    }
    .puvod-webu p {
        font-size: 4vw;
    }
}




