.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(ilustrace/hvezdy.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    font-family: 'Libre Baskerville', serif;
}

nav{
    display:flex;
    padding:1% 0%;
    justify-content:space-between;
    align-items: center;
    font-size: 20px;
}

nav img{
    width: 300px;
}
.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 48px 64px;
    position: relative;
    font-family: 'Libre Baskerville', serif;
    
}

.nav-links ul li a{
    color:rgb(255, 255, 255);
    text-decoration: none;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: rgb(255, 255, 255);
    display: block;
    margin: auto;
    transition: 0.5s;

}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width:90%;
    color: #fff;
    
    text-align:left;
}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

@media only screen and (max-width: 600px) {
    .ja {
      flex-direction: column;

    }
  }

  @media(max-width: 700px){
    .text-box h1{
        font-size: 20 px;
       
    }
    .nav-links ul li{
        display:block;
        text-align: center;
    }
    .nav-links{
        width: 200px;
        z-index: 2;
    }
    .ja{
        flex-wrap: wrap;
    }
    .text-box {
        text-align: center;
    }
}

.text-box{
    margin: 0 5vw;
}

