*{
    box-sizing: border-box;
}
body,html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-family: "Segoe UI";
}
body{
    background-color: #d8c3a5;
}
img{
    border-radius: inherit;
}
#header{
    height: 200px;
    width: 100%;
    background-color: #eae7dc;
    text-align: center;
    box-shadow: #555 1px 1px 10px 1px;
    z-index: 100;
}
#header h1 , #header h3{
    font-family: "Segoe UI";
    color: #e85a4f;
    margin: 0 ;
    margin-bottom: 5px;
}
#inpfile{
    margin: auto;
    width: 250px;
    height: 50px;
    margin-top: 40px;
}
#main{
    width: 100%;
    height: 500px;
    position: relative;
    z-index: 0;
    transition: all 2s;
    text-align: center;
}
#puzzle-cont , #puzzle-pre {
    height: 500px;
    width: 500px;
   position: absolute;
    margin:  10px 30%;
    box-shadow:#333 1px 1px 5px 1px;
    transition: all 2s;
    border-radius: 5px;
    background: #ddd;
}
#puzzle-cont{
    transform: rotateY(180deg);
    display: flex ;
    flex-flow: wrap;
    z-index: 1;
}
#puzzle-pre{
    z-index: 2;
}
.puzzle-piece{
    border: 1px black solid;
    border-radius: 5px;
    cursor: move;
}