/* i hate doing conditional css btw. second worst enemy (after javascript of course)
/* this is landscape */
@media (min-aspect-ratio: 4/3) {
    .tabcontent {
        columns:2;
    }
    .container{
        height:100%;
        width:100%;
    }
    .column {
        display: block;
        width:50%;
    }
    .text {
        font-size: 1vw;
        top: 60%;
    }
    .image {
        display: inline;
        place-self:center;
        margin:-4px;
        height:auto;
        width:100%;
    }
}
/* this is portrait */
@media (max-aspect-ratio: 4/3) {
    .text {
        font-size: 2.5vw;
        top: 90%;
    }
    .container {
        width: 100%;
        height: auto;
        display: inline;
    }
    .image {
        width: 100%;
    }
    .column {
        width:100%;
    }
}
h3 {
    grid-area: text;
}
.container {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    transition: 0.2s ease;
    background-color: none;
}

.container:hover .overlay {
    opacity: 1;
}
.text {
    color: white;
    position: absolute;
    width: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.tab {
    overflow:scroll
}