@import url('https://fonts.googleapis.com/css2?family=Tapestry&display=swap');
@keyframes rozwin {
    0% {
        width: 0;
    }
    100% {
        width: 800px;
    }
}
html{
    height: 100vh;
    background-size: cover;
    font-family: 'Tapestry', cursive;
}
body{
    margin: 0;
}
h1{
    padding-top: 50px;
    text-align: center;
    font-size: 4em;
    color: black;
    text-shadow: #ffffff69 1px 1px 2px, #ffffff69 1px 1px 50px;
    font-weight: 700;
    margin-top: 0;
}
h3{
    font-weight: 500;
    font-size: 1.7em;
    display: inline;
}
footer{
    position: fixed;
    bottom: 8px;
    left: 8px;
}
nav{
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(220, 220, 220, 0.6) 0%, rgba(220, 220, 220, 0.8) 100%);
    backdrop-filter: blur(100px);
    height: 98vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.22), 0px 1px 2px rgba(0, 0, 0, 0.13);
    border-radius: 8px;
    overflow: hidden;
}
.nav-main{
    width: 1400px;
}
nav.nav-podstrona{
    width: 716px;
    margin-left: -760px;
    transition-duration: 800ms;
    padding-right: 100px;
}
nav.nav-podstrona:hover{
    margin-left: 1vh;
    transition-duration: 800ms;
    padding-right: 0;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.22), 0px 1px 2000px 2000px rgba(0, 0, 0, 0.5);
}
nav.anim{
    transform: translate(calc(-50vw - 360px), 0px);
    transition-duration: 1500ms;
    padding-right: 100px;
    width: 700px;
    color: #ffffff00;
}
nav.anim-podstrona{
    margin-left: calc(-760px) !important;
    transition-duration: 1500ms;
    padding-right: 100px;
}
ul{
    padding:  0 8px 8px 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 700px;
    flex-shrink: 0;
}
li{
    padding: 10px;
    list-style: none;
    display: block;
    font-size: 1.6em;
    font-weight: 500;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.19) 0 3px 4px;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0);
    transition-duration: 500ms;
}
li:hover{
    background: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.22), 0 1px 3px rgba(0, 0, 0, 0.13);
}
#bg-atrapa{
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-image: url("DSC00390.jpg");
    opacity: 0;
    transition-duration: 1500ms;
    background-size: cover;

}

article{

    position: fixed;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(150px);
    height: 98vh;
    top: 0;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1vh;
    width: 800px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.22), 0px 1px 20px rgba(0, 0, 0, 0.43);
    overflow: hidden;
    text-align: left;

    box-sizing: border-box;
    transition-duration: 1000ms;
    overflow-y: scroll;
    border-radius: 8px;
}
article.show{
    animation: 1s ease-out 0s 1 rozwin;
}
article.hide{
    width: 0;
}
h2{
    font-size: 2.5em;
    margin-left: 50px;
}
h4{
    margin-left: 50px;
}
pre{
    margin-left: 50px;
    font-family: 'Tapestry', cursive;
    font-size: 1.8em;
    text-wrap: none;
}
p{
    font-size: 1.6em;
    line-height: 1.75em;
}
.main-menu{
    display: flex;
}

/*main{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
}*/