 @font-face {
            font-family: Poppins-Black;
            src: url(/Poppins\,Roboto/Poppins/Poppins-Black.ttf) format('truetype');
        }

        @font-face {
            font-family: Poppins-Bold;
            src: url(/Poppins\,Roboto/Poppins/Poppins-Bold.ttf) format('truetype');
        }

        @font-face {
            font-family: Poppins-Light;
            src: url(/Poppins\,Roboto/Poppins/Poppins-Light.ttf) format('truetype');
        }

        @font-face {
            font-family: rostex-oblique;
            src: url(/rostex/Rostex-Oblique.otf) format('truetype');
        }

        @font-face {
            font-family: quicksilver;
            src: url(/quicksilver_3/Quicksilver\ Italic.otf) format('truetype');
        }

        @font-face {
            font-family: quicksilver-fast;
            src: url(/quicksilver-fast/QUICKSILVER\ FAST\ PERSONAL\ USE.ttf) format('truetype');
        }

        * {
            transition: all 0.3s ease !important;
            scroll-behavior: smooth;
        }


        body {
            font-family: Arial, Helvetica, sans-serif;
            margin: 0;
            padding: 0;
        }

        .container {
            position: relative;
            width: 100%;
            height: 100vh;
            background: linear-gradient(to right,#201e1f,#463383);
            border-bottom-left-radius: 60px;
            border-bottom-right-radius: 60px;
            overflow: hidden;
        }


        /* navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px 40px;
            box-sizing: border-box;
            background-color: rgba(0,0,0, 0.1); 
            z-index: 10;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            transition: background-color 0.3s ease; 
        }

        .navbar.scrolled {
            background-color: rgba(0, 0, 0, 0.8); 
        }

        .navbar.hidden {
            transform: translateY(-100%); 
        }

        .navbar .brand {
            color: #A200FF;
            font-size: 2em;
            font-weight: bold;
            text-decoration: none;
            font-family: quicksilver, sans-serif;
            width: 15rem;
            line-height: 23px;
        }

        .navbar-links {
            display: flex;
            flex-grow: 1;
            justify-content: center;
            margin-right: 7rem;
            gap: 13rem;
            font-family: quicksilver, sans-serif;
            font-size: 1.5rem;
        }


        .navbar-links a {
            position: relative;
            display: block;
            text-transform: uppercase;
            margin: 20px 0;
            padding: 10px 20px;
            text-decoration: none;
            color: whitesmoke;
            font-family: quicksilver, sans-serif;
            font-size: 1.5rem;
            transition: .5s;
            z-index: 1;
        }

        .navbar-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-top: 3px solid #A200FF;
            border-bottom: 3px solid #A200FF;
            transform: scaleY(1.95);
            opacity: 0;
            transition: .3s;
        }

        .navbar-links a::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: whitesmoke;
            transform: scale(0);
            opacity: 0;
            transition: .3s;
            z-index: -1;
        }

        .navbar-links a:hover {
            color: #A200FF;
        }

        .navbar-links a:hover::before {
            transform: scaleY(1);
            opacity: 1;
        }

        .navbar-links a:hover::after {
            transform: scaleY(1);
            opacity: 1;
        }

        .navbar .brand:hover {
            letter-spacing: 2px;
        }

        #projekty {
            scroll-margin-top: -50px;
        }




.container .text-box{
    position: relative;
    display: flex;
    flex-direction: column;
    top: 8rem;
    left: 3rem;
    z-index: 2;
}

.container .text-box h1{
    font-family: quicksilver-fast;
    font-size: 10rem;
    font-weight: 100;
    color:#A200FF;
    margin-bottom: -5rem;
    margin-top: -5rem;
    margin-left: 2rem;
    rotate: calc(-12deg);
}



.container .text-box .tyma{
  margin-left: 7rem;
}

.wave-text span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}
.wave-text span:nth-child(5) {
    animation-delay: 0.8s;
}
.wave-text span:nth-child(6) {
    animation-delay: 1s;
}
.wave-text span:nth-child(7) {
    animation-delay: 0s;
}
.wave-text span:nth-child(8) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(9) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(10) {
    animation-delay: 0.6s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.container .text-box h3{
  font-family: quicksilver;
  font-size: 5rem;
  color: #F4F3EE;
  rotate: calc(-12deg);
  letter-spacing: 2px;
}

.container .text-box .web-developer{
  margin-left: 3rem;
}

.container .img-box{
  display: flex;
  justify-content: right;
  position: absolute;

}

.container .img-box img{
  position: relative;
  right: -12rem;
  bottom: 55rem;
  width: 80%;
  height: auto;
  display: block;
}

.container .text-box .social {
  display: flex;
  justify-content: space-between;
  width: 20rem;
  rotate: calc(-12deg);
  position: relative;
  top: 3rem;
  left: 14rem;
}

.container .text-box .social img {
  width: 60px;
  height: 60px;
}

.container .text-box .social a {
  display: inline-block;
  border-radius: 13px;
  position: relative; 
  overflow: hidden; 
}

.container .text-box .social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.container .text-box .social a img {
  display: block;
  width: 60px;
  height: 60px;
  position: relative; 
  z-index: 1;
}

.container .text-box .social a:hover:nth-child(1)::before {
  background-color: #1877F2;
  opacity: 1;
}

.container .text-box .social a:hover:nth-child(2)::before {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  opacity: 1;
}

.container .text-box .social a:hover:nth-child(3)::before {
  background: linear-gradient(135deg, #25F4EE 0%, #000000 50%, #FE2C55 100%);
  opacity: 1;
}


/* Sekce O mně */

.about-me {
    min-height: 85vh;
    background-color: #fff;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
    position: relative; 
    overflow: hidden;
    
}

.about-me-container {
    position: relative; 
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 3rem;
    z-index: 2; 
    padding-top: -3rem;
}


.about-me-background-shapes {
    position: absolute;
    top: 0px;
    left: 450px;
    width: 100%;
    height: 100%;
    background-image: url('/images/Rectangle\ 4.png'), url(/images/Rectangle\ 5.png), url(/images/Rectangle\ 6.png);
    background-repeat: no-repeat;
    background-position: center, bottom, 400px 600px; 
    opacity: 0.7;
    z-index: 1; 
    transform: rotate(40deg);
}


.about-me-image {
    flex: 1;
}

.about-me-image img {
    width: 150%;
    margin-left: -15rem;
}

.about-me-text {
    flex: 1;
    font-family: Poppins-Light, sans-serif;
    color: #333;
}

.about-me-text h2 {
    font-family: Poppins-Black, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-me-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-me-text strong {
    font-family: Poppins-Bold, sans-serif;
}

.about-button {
    display: flex;
    background-color: #463383;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: Poppins-Bold, sans-serif;
    transition: background 0.3s;
    width: 130px;
    height: 25px;
    justify-content: center;
}

.about-button:hover {
    background-color: #b64f8c;
    letter-spacing: 0.5px ;
}

.about-button:active {
    transform: scale(0.95);
}





.navbar{
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: black;
    
}

.navbar.hidden {
    transform: translateY(-100%);
}

/* PROJEKTY  */
.projects-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  margin-top: -5rem;
}
.projects-inner {
  max-width: 1600px;
  width: 100%;
}
.projects-title {
  font-family: Poppins-Black, sans-serif;
    font-size: 3.5rem;
    color: #333;
}
.projects-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  font-family: poppins-light, sans-serif;
}

/* Carousel */
.stock-ticker {
  font-size: 15px;
  padding-block: 8px;
  
  overflow: hidden;
  user-select: none;

  --gap: 20px;
  display: flex;
  gap: var(--gap);
  position: relative; 
}

.stock-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);

  animation: scroll 12s linear infinite;
}

.stock-ticker li {   
    flex: 0 0 auto;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 260px;
  border-radius: 20px;
  background: linear-gradient(to right,#6d1870,#463383);
  color: #fff;
  font-family: poppins-bold, sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  border: 4px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-link:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 60px rgba(0,0,0,0.1);
}

.stock-ticker:hover ul {
  animation-play-state: paused;
}

/* jemný fade na okrajích */
.stock-ticker::before,
.stock-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
  z-index: 2;
}
.stock-ticker::before {
  left: 0;
  background: linear-gradient(to right, white 60%, transparent 100%);
}
.stock-ticker::after {
  right: 0;
  background: linear-gradient(to left, white 60%, transparent 100%);
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}




/* Kontakt sekce */
.contact-section {
  min-height: 55vh;
  background: linear-gradient(135deg, #863b88, #463384);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  font-family: poppins-bold, sans-serif;
}

.contact-info h2 {
  font-family: Poppins-Black, sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-details a {
  color: #ffd6f7;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Formulář */
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: Poppins-Light, sans-serif;
  font-size: 1rem;
}

.contact-form button {
  background-color: #d164a6;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  font-family: Poppins-Bold, sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #b64f8c;
  letter-spacing: 1px;
}

.contact-form button:active {
  transform: scale(0.95);
}

.odeslat-btn {
    font-size: 1.25rem;}

