.iframe-container {
    display: grid;
    place-items: center;
    width: 100%;
    height: 95%;
    background: #000;
    overflow-y:visible;
}
.iframe-container iframe {
    max-width: 100%;
    max-height: 100%;
    border: none;
    object-fit: contain;
}
/* hiding tabs */
.tab-content {
    display: none;
    padding-top: 0px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* previews */
.searcher {
    width: 100%;
    height: 95%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 23%);
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
    overflow-x:hidden;
    overflow-y:inherit;
}
.searcher img {
    max-width: 100%;
    max-height: 100%;
    filter: saturate(0.8);
    object-fit: cover;
}
.searcher img:hover {
    filter: saturate(1.5);
}
.searcher img.fadein {
    animation: fadeIn 0.5s ease-out;
}
.control {
    margin: 3px;
    font-weight: 600;
    font-family: 'Segoe UI Black', sans-serif;
    font-size: 18px;
    height: 4.5%;
    border: 0;
    padding: 10px;
    background-color: #11005e;
    color: #fff;
}
.control:hover {
    background-color: #2300bd;
}
.control.tabs {
    background-color: #005e05;
}
.control.tabs:hover {
    background-color: #00bd00;
}
.control.infoblock {
    /* width: 5%; */
    background-color: #34005e;
    color: #d1d1d1;
}
.button-container {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (hover: none) {
    .iframe-container iframe {
        max-height: 90%;
    }
    .button-container {
        bottom: 5px;
    }
}

@media (orientation: landscape) and (hover: none) {
    .searcher {
        grid-template-rows: repeat(4, 1fr);
        height: 90%;
    }
    .control {
        font-size: 12px;
    }
    input {
        max-width: 15%;
    }
}

@media (orientation: portrait) and (hover: none) {
    .searcher {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 1fr);
        height: 85%;
    }
    .control {
        font-size: 32px;
        margin: 6px;
        padding: 20px;
    }
    input {
        max-width: 20%;
    }
}