#principal {
    width: 300px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%  
    background: #f7f7f7;
}   
