﻿/*#region Cards*/

.browse-card-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    justify-items: center;
    list-style: none;
}

.browse-card-loader-container {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;

    padding: 50px 0px;
}

.browse-more-container{
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 50px 0px;
}

.browse-more-btn{
    display: block;
    
    width: 250px;
    height: 50px;

    color: white;
    font-size: 15px;
    font-weight: 600;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--card-title-background);
    border-radius: 5px;
    cursor: pointer;

    border: none;
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);    
    transition: 0.1s ease-out, box-shadow 0.2s;
}

.browse-more-btn:hover{
    transform: scale(1.1);
    background: var(--card-background);
}
/*#endregion*/

/*#region Loader*/

.browse-more-loader-container {
    color: #fff;
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: mulShdSpin 1.3s infinite linear;
    transform: translateZ(0);
}

@keyframes mulShdSpin {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}




/*#endregion*/

/*#region Search*/

.browse-search-container{
    width: 100%;
    height: 100px;

    padding: 0 10%;
    margin-top: 30px;

    display: grid;
    grid-template-columns: 60% 20% 20%;
    gap: 10px;
}

.browse-search-input{
    width: 100%;
    height: 50px;

    background: var(--card-background);
    padding: 10px;

    color: white;
    font-size: 15px;
    font-weight: 600;

    outline: none;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);  
}

.browse-search-input:hover, .browse-search-input:focus{
    border: 2px solid var(--card-title-background);
}

.browse-search-button-container {
    width: 100%;
    height: 50px;

    background: var(--card-title-background);
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);  

    color: white;
    font-size: 15px;
    font-weight: 600;
    transition: 0.1s ease-out, box-shadow 0.2s;
}

.browse-search-button-container:hover{
    transform: scale(1.05);
    background: var(--card-background);
}
/*#endregion*/

@media (max-width: 700px) {
    .browse-card-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
        padding: 0 5px;
    }

    .browse-more-btn {
        display: block;
        width: 200px;
        height: 30px;
        color: white;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--card-title-background);
        border-radius: 5px;
        cursor: pointer;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: 0.1s ease-out, box-shadow 0.2s;
    }

    .browse-search-container {
        width: 100%;
        height: 70px;
        padding: 0 10%;
        margin-top: 30px;
        display: grid;
        grid-template-columns: 50% 25% 25%;
        transform: translateX(-5px);
        gap: 10px;
    }

    .browse-search-input {
        width: 100%;
        height: 30px;
        background: var(--card-background);
        padding: 10px;
        color: white;
        font-size: 8px;
    }

    .browse-search-button-container {
        width: 100%;
        height: 30px;
        background: var(--card-title-background);
        border: none;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        color: white;
        font-size: 8px;
        font-weight: 600;
        transition: 0.1s ease-out, box-shadow 0.2s;
    }
}