/*? Style for results.html, recent.html, allmovies.html, allseries.html */

#results-form {
    display: none;
}

.h2-title{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-h3 {
    padding: 15px;
}

.results-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 20px;
    justify-items: center;
    margin: 10px 0 30px 0;
}

.results {
    border: 2.5px solid #e04444;
    border-radius: 15px;
    width: 175px;
    height: 275px;
    font-size: 13px;
    background-color: #2e2e2e;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.results:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.a-results {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.results-titles {
    padding: 10px;
    font-size: 1.35em;
    color: #e04444;
    font-weight: bold;
    word-wrap: break-word;
    text-align: center;
}

.no-results {
    text-align: center;
    font-size: 1.5em;
    color: #bbb;
    margin: 20px 0;
}

#h2-universe{
    text-align: center;
    font-size: 2em;
    margin: 0 0 30px;
}

.index-watchlist{
    /* margin: 0 10%;
    padding: 30px; */
    border-radius: 20px;
}

.see-watchlist{
    background-color: #383838;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

#a-see-watchlist {
    background-color: #e04444;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#a-see-watchlist:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.small-screen {
    display: none;
}

@media (max-width: 600px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results {
        width: 100%;
    }

    .index-watchlist {
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 1000px) {
    #results-form {
        display: flex;
    }
}

@media (max-width: 1664px) {
    .small-screen {
        display: flex;
    }

    .big-screen {
        display: none;
    }
}