@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family:'Poppins', sans-serif ;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    display: none;
}

body {
   width: 100%;
   height: 100vh;
   background-color: #030303; 
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: #f0f8ff;
    font-weight: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color:#229cff;
    text-shadow: 0 0 10px #229cff;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a{
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

/* Linky v navigaci */
.nav-container .links a {
    position: relative;
    font-size: 1.5rem;
    color: white;
    margin: 0 30px;
    text-decoration: none;
    font-weight: 550;
    transition: color 0.3s linear;
}

/* Spodní čára animace */
.nav-container .links a::after {
    content: "";
    position: absolute;
    bottom: -3px;       /* vzdálenost od textu */
    left: 0;
    width: 0;           /* začíná u 0 */
    height: 3px;
    background-color: #229cff;
    transition: width 0.3s ease;  /* plynulý přechod */
}

/* Hover efekt */
.nav-container .links a:hover::after {
    width: 100%;        /* čára se rozšíří přes celý text */
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #229cff;
    transition: 0.2s linear;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px #030303;
    transition: 0.2s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #229cff;
}

section {
    width: 100%;
    height: 90vh;
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image {
    width: 35rem;
    height: 35rem;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #229cff;
}

.main-container .image img {
    width: 100%;
}
/*
.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% {
       scale: 1; 
    }
    50% {
        scale: 1.05;
    }
    100% {
        scale: 1;
    }
}
*/
@keyframes pulse {
    0% {
       scale: 1; 
    }
    50% {
        scale: 1.05;
    }
    100% {
        scale: 1;
    }
}

.pulse {
    animation: pulse 3s ease-in-out infinite /*pulse 3s infinite*/;
}

.main-container .content {
    color: #212121;
    width: 40%;
    min-height: 100px;
}

.main-container .content {
    color: #f0f8ff;
    width: 40%;
    min-height: 100px;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    color: #229cff;
    text-shadow: 0 0 10px #229cff;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text {
    color: #229cff;
    text-shadow: 0 0 10px #229cff;
}

.content p {
    font-size: clamp(0.4rem, 0.2rem + 9vw, 1.2rem);
    margin: 1rem 0;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #229cff;
    border-radius: 50%;
    color: #229cff;
    margin: 15px 15px;
    font-size: 1.5rem;
    animation: animate 1.5s ease-in-out infinite;
    cursor: pointer;
}

.social-links i:hover {
    scale: 1.3;
    color: #f0f8ff;
    background-color: #229cff;
    filter: drop-shadow(0 0 10px #229cff);
}

@media (max-width: 884px) {
    nav .logo{
        position: absolute;
        top: 20px;
        left: 15px;
        font-size: 1.2rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,
    .cancel{
        display: block;
    }

    .main-container .content{
        width: 75%;
        height: 75%;
    }

    .social-links i{
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .main-container .image{
        z-index: -1;
        width: 95%;
        height: 95%;
    }

    .content {
        padding-top: 30px;
    }

    footer {
        display: none;
    }
}

@media (max-width: 430px) {
    .main-container .image{
        width: 100%;
        height: 100%;;
    }

    .main-container .content{
        width: 80%;
    }
}

footer {
  width: 100%;
  background-color: #030303;
  color: #fff;
  padding: 40px 20px 20px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.5rem;
  color: #229cff;
  text-shadow: 0 0 8px #229cff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background-color: #229cff;
  transition: width 0.3s ease;
}

.footer-nav a:hover {
  color: #229cff;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-social a {
  color: #229cff;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  color: #fff;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #229cff);
}

.footer-copy {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #555;
}