body {
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #222;
    box-sizing: border-box;
}

.banner {
    background-color: #fff;
    width: 300px;
    height: 150px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.pin {
    position: absolute;
    top: -150px;
    left: 45%;
    color: #fff; 
}