* {
    margin: 0;
    padding: 0;
}

.imgbox {
    display: grid;
    place-items: center;
    height: 100%;
    text-align: center;
    font-size: 3.5rem;
}

.center-fit {
    max-width: 100%;
    max-height: 80%;
    margin: auto;
    border: 2px solid black;
}
 