@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Spline+Sans:wght@300&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Merriweather:wght@300&family=Spline+Sans:wght@300&display=swap');

*{
    margin: 0;
    padding: 0;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: url(ilustrace/hvezdy.png);
    background-position: center;
    background-size: cover;
    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;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid rgb(255, 255, 255);
    background:rgb(224, 123, 192);
    transition: 1s;
}

@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;
    }
}

.ja {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 5vw;
    align-items: center;
}

#lev {
    width: 45vw;
    cursor: pointer;
    margin-right: 4vw;
    height:auto;
}

#prehrani {
    width: 15vw;
    cursor: pointer;
    margin-left: 9vw;
}

#zavreni {
    width: 2vw;
    cursor: pointer;
    margin-left: 77.5vw;
}

#film {
    position: fixed;
    background-image: url(ilustrace/hvezdy.png);
    background-position: center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    z-index: 20;
    top:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

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

    }
  }


