body {
    margin: 0px;
    overflow-x: hidden;
}

.mainpage {
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #404040;
    width: 100%;
    min-height: 90vh;
    height: 100%;
}

.mainpage h1 {
    font-size: clamp(2rem,4vw,10rem);;
    color: #D4D4D4;
}

.search-input{
    font-size: 2rem;
    width: 65vw;

    margin-bottom: 1.75rem;
}

.result-grid {
    width: 95%;
    display: grid;
    grid-template-columns:  19vw 19vw 19vw 19vw 19vw;
    gap: 0.5vw;

}

.covercontainer {
    width: 18vw;    
    display: block;
}

.cover {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

@media screen and (max-width: 768px) {
    .result-grid {
        grid-template-columns: 30vw 30vw 30vw;
    }

    .covercontainer{
        width: 30vw;
        display: block;
    }

    .cover {
    width: 100%;
    height: 100%;
    object-fit: fill;
    }
}