html, body{
    height: 100%;
    width: 100%;
    overflow: hidden;}
h2{
    font-family: 'Poiret One', sans-serif;
    margin-bottom: 10px;
    font-size: 1.3em;}
footer{
    font-family: 'Poiret One', sans-serif;
    font-size: 0.8em;
    position: fixed;
    color: white;
    bottom: 8px;
    right: 1%;
    height: 4%;
    width: 50%;
    text-align: right;
}

.scroll-cont{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0%;}

#scroll-cont-back{transition: all 1s;}
#scroll-cont-front{transition: all 2s;}

.scroll-section{
    position: relative;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
}

.descr{
    padding: 10px;
    position: absolute;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    font-size: 14px;}

.descr-sushi{
    left: 10px;
    top: 20px;
    width: 25%;
    height: 65%;
    color: white;
}
.descr-zar{
    left: 60%;
    top:2%;
    width: 35%;
    height: 65%;
    color: black;
}
.descr-rondel{
    left:0%;
    top: 5%;
    width: 30%;
    height: 60%;
    color: black;
}

.descr-small{
    left: 0;
    top: 0;
    width: 100%;
    height: 25%;
    cursor:pointer;
}

.descr-x{
    display: table;
    float: right;
    height: 50px;
    width: 50px;
    color: black;
    text-align: center;
}
.descr-x-cell{
    display: table-cell;
    vertical-align: middle;
    background-color: rgba(255,255,255,.6);
    opacity: 0.8;
    cursor: pointer;
}

#start{
    background-image: url("./pictures/blat_h.jpg");
    background-size: cover;}
#logo{
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url("./pictures/logo.png");
    background-size: 90% auto;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    transition: all 2s;
    opacity: 0;}
#sushi{
    background-image: url("./pictures/sushi-3.jpg");
    background-color: black;
    background-position: 0 50%} /*1065 × 722*/
#sushi-kropki{
    background-image: url("./pictures/sushi-front-3.png"); 
    background-position: 0 50%;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 1s;
    top: -100%;}
.zar-img{
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: contain;
}
#zar{
    background-image: url("./pictures/zar-tlo.jpg");
    background-color: rgb(195,209,222);
}
#zar-front{
    background-image: url("./pictures/zar-front-fast.png");
}
#zar-lit-slow{
    background-image: url("./pictures/zar-front-slow.png");
    top: 100%;
    transition: all 3s;}
#zar-klin{
    background-image: url("./pictures/zar-klin.png");
    transition: all 500ms;
    top: -100%;}
#rondel{
    background-image: url("./pictures/rondel.jpg");
    background-size: contain;
    background-position: 0 40%;
    background-color: rgb(225,225,217);}
#o-mnie{
    background-image: url("./pictures/o-mnie_h.jpg");
    background-size: cover;}

.pagina{
    position: fixed;
    transition: all 1s;}

#pag-dots {left: 10px;}
#pag-descr {left: 30px; font-family: 'Poiret One', sans-serif; color: white; cursor: pointer;}
.page {height: 20px;}

.pag-dot{
    width: 15px;
    background-image: url("./pictures/paginacja.jpg");
    background-repeat: no-repeat;
}

.pag-active{background-position: -15px 0;}

.to-top{bottom:10px}
.to-bottom{bottom:10px}

.gallery{
    left: 5%;
    width: 90%;
    background-color: rgba(00,08,55,.6);
    color: white;
    border: solid rgb(255,255,255) 1px;
    transition: all 1s;
    overflow: hidden;
}

.show-0{top:100%;height:8%}

#archiwum.show-1{top:2%;height:50%}
#par-archiwum.show-1{display:inline}
#archiwum.show-2{top:2%;height:8%}
#par-archiwum.show-2{display:none}
#archiwum.show-3{top:2%;height:8%}
#par-archiwum.show-3{display:none}

#sesje.show-1{top:54%;height:8%}
#par-sesje.show-1{display:none}
#sesje.show-2{top:12%;height:50%}
#par-sesje.show-2{display:inline}
#sesje.show-3{top:12%;height:8%}
#par-sesje.show-3{display:none}

#info.show-1{top:64%;height:8%}
#par-info.show-1{display:none}
#info.show-2{top:64%;height:8%}
#par-info.show-2{display:none}
#info.show-3{top:22%;height:50%}
#par-info.show-3{display:inline}

/************** MEDIA LARGE **************/
@media(min-width: 40em){
    footer{
        height: 5%;
        font-size: 1em;
    }
    
    .gallery{
        width: 20%;
        overflow: auto;
    }
    
    #archiwum{left:21%}
    #archiwum.show-1{top:10%;height:65%}
    #archiwum.show-2{top:10%;height:65%}
    #par-archiwum.show-2{display:inline}
    #archiwum.show-3{top:10%;height:65%}
    #par-archiwum.show-3{display:inline}
    
    #sesje{right:33%;left:auto}
    #sesje.show-1{top:15%;height:8%}
    #sesje.show-2{top:15%;height:80%}
    #sesje.show-3{top:15%;height:80%}
    #par-sesje.show-3{display:inline}
    
    #info{right:20px;left:auto}
    #info.show-1{top:85%;height:8%}
    #info.show-2{top:20px;height:8%}
    #info.show-3{top:20px;height:75%}
    
    #start{background-image:url("./pictures/blat.jpg")}
    #o-mnie{background-image:url("./pictures/cytryna.jpg")}

    .scroll-section{
        background-position: center;
        background-size: contain;
    }
    #sushi{background-position: right center}
    #sushi-kropki{background-position: right center}
    #rondel{
        background-size: 66% auto;
        background-position: right center;
        border-right: solid transparent 2%;
    }
    #zar-lit-slow{background-position:center}
    #zar-klin{background-position: 50.1% 0}
    #logo{background-size:30% auto}
    
    .descr-x{visibility: hidden}
    .descr-big{visibility:visible}
    .descr-small{visibility: hidden}
    
    #pag-dots{left:20px}
    #pag-descr{left:40px}
    .to-top{top:4%}
    .to-bottom{top:73%}

}
@media(max-width: 40em){
    .descr-big{
        visibility: hidden;
        top: 2%;
        left: 2%;
        height: 96%;
        width: 96%;
        color: rgb(0,0,0);
        background-color: rgba(255,255,255,.85);
        border: 2px solid rgb(0,0,0);
    }
}