How do I center .arrow inside .prev & .next vertically & responsive to the height of .mySlides as it varies based on content. I've tried adjusting position, top, transform, margin-top, line-height and can't get the result I'm looking for. Here is the full code: https://jsfiddle.net/t8ap0gvz/4/
.prev {
grid-area: 1 / 1 / 4 / 1;
color: white;
font-weight: bold;
font-size: 40px;
opacity: 0.5;
background: yellow;
border-radius: 15px 0 0 15px;
border: 1px solid red;
left: 10%;
position:relatve
}
.next {
grid-area: 4 / 4 / 1 / 3;
color: white;
font-weight: bold;
font-size: 40px;
opacity: 0.5;
background: yellow;
border-radius: 0 15px 15px 0;
border: 1px solid red;
position:relatve
}
.arrow {
transform: translateY(-50%);
}