html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: linear-gradient(12.66deg, #141253 7.34%, #3631A7 103.84%);
    
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    font-family: 'PF Isotext Pro', sans-serif;
}

.catalog {
    position: relative;
    max-width: 400px;
    
    width: 100%;
    min-height: 50vh;
    height: auto;

    background: none; 
    
    border-radius: 0;

    padding: 19px 17px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.case-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0px;
    gap: 15px;
    max-width: 366px; 
    width: 100%;
    height: auto;
    justify-content: space-around;
}

.case-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 17px 0px;
    gap: 10px;
    isolation: isolate;
    width: calc(50% - 7.5px);
    height: 327px;
    background-image: url('../images/5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(20, 18, 83, 0.8);
    box-shadow: inset 0px 2px 4.8px #2B26B8, inset -5px -5px 10px rgba(6, 1, 77, 0.51), inset 5px 5px 13px rgba(5, 1, 63, 0.46);
    border-radius: 18.8473px;
    transition: box-shadow 0.3s ease-in-out;
}

.case-item:hover {
    box-shadow: 0px 0px 15px 5px #00D9FF,
                inset 0px 2px 4.8px #2B26B8, inset -5px -5px 10px rgba(6, 1, 77, 0.51), inset 5px 5px 13px rgba(5, 1, 63, 0.46);
    cursor: pointer;
}

.case-title {
    width: 100%;
    height: auto;
    min-height: 18px;
    font-family: 'PF Isotext Pro', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 13.1931px;
    line-height: 140%;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    padding-bottom: 5px;
}

.case-image {
    width: 100%;
    height: 187.78px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.case-image-1 { background-image: url('../images/1.png'); }
.case-image-2 { background-image: url('../images/2.png'); }
.case-image-3 { background-image: url('../images/3.png'); }
.case-image-4 { background-image: url('../images/4.png'); }

.case-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 10px;
    width: 80%;
    height: auto;
}

.button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1em;

    width: auto;
    
    height: auto;
    max-width: 100px;
    max-height: 30px;
    
    min-height: 30px;
    border: 2px solid #00D9FF;
    filter: drop-shadow(0px -1px 5.8px #00D7FD);
    border-radius: 6px;
    background: transparent;
    font-family: 'PF Isotext Pro', sans-serif;
    font-style: normal;
    font-weight: 700;
    
    font-size: clamp(10px, 3.5vw, 14px);
    
    line-height: 130%;
    text-transform: uppercase;
    color: #00D9FF;
    cursor: pointer;
    text-decoration: none;
}