.main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background-color: lightgray;
    border: 2px white solid;
    
    width: 500px;
    height: 500px;
}