* {
    margin: 0;
    padding: 0;
    font-family: Roboto Condensed, arial;
    box-sizing: border-box;
}

html {
    
    height: 100%;
    
}

.wrapper {
    min-height: 100%;
    background: linear-gradient(to right top, black, white);
}

body {
    
    height: 100%;
}

ul {padding-top: 30px}

li {
    list-style-type: none;
    display: inline-block;
    padding: 20px;
    margin: 0;
}

nav {
    max-width: 950px;
    margin: 0 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 40px;
    text-decoration: none;
}

nav a {
    position: relative;
    display: inline-block;
    float: left;
    width: 300px;
    height: 300px;
    background: linear-gradient(to right top, black, white);
    text-align: center;
    text-decoration: none;
    color: #C0C0C0;
    text-shadow: 3px 2px #0C2419;
    padding: 5px;
    overflow: hidden;
    

}

nav a p{
    position: absolute;
    
}

#omnie {
    box-shadow: 8px 8px 15px 0 black;  
}

#omnie:hover img {
    transform: scale(1.15);
}

#omnie img{
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease-in-out;
}

#mojestrony {
    background-image: url(img/m.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: -8px 8px 15px 0 black;
}

nav #projekty {
    background-image: url(img/webcode.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: 8px -8px 15px 0 black;
    transition: all 1s ease-in-out;
}  

nav #projekty:hover {
    background-image: url(img/webcode2.jpg);
    transition: all 0.75s ease-in-out;
}

nav #kontakt {
    background-image: url(img/kontakt.png);
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -8px -8px 15px 0 black;
    transition: all 1.5s ease-in-out;
}

nav #kontakt:hover {
    transform: rotateY(180deg)
}
    
nav li{
    perspective: 15em;
}

nav #start{
    background-image: url(img/start.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: -8px 8px 15px 0 black;
}

#apps{
    background-image: url(img/apps.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: -8px 8px 15px 0 black;
}

#modelinki{
    background-image: url(img/modelinki.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: -8px 8px 15px 0 black;
}

nav2 {
        position: relative;

        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 30px;
        z-index: 2;
    }

    nav2 a {
        background: linear-gradient(to left bottom, black, white);
        position: relative;
        display: inline-block;
        text-decoration: none;
        float: left;
        width: 250px;
        height: 72px;
        color: #C0C0C0;
        text-shadow: 2px 2px black;
        box-shadow: 5px 5px 5px 0 black;
        box-sizing: border-box;
        text-align: center;
    }

    nav2 a:hover {
        background: linear-gradient(to bottom, black, white);
        transform: scale(1.1);
        transition: all 1s ease;
    }

