@import url('https://fonts.cdnfonts.com/css/axiforma');

body {
    background-color: #fafbfc;
    font-family: 'Axiforma', sans-serif;
    margin: 0px;
}
a {
    color: black;
}

#content {
    padding-top: 20vh;
}

#cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1.5fr));
    justify-content: center;
    gap: 2vw;
    row-gap: 2vh;

    margin: 10px;
}

@media screen and (max-width: 600px) {
    .cards-grid {
        grid-template-columns: auto !important;
    }
}

.card {
    height: 100%;
    max-height: 400px;
    background-color: rgb(0, 0, 0, 0);
    border-radius: 25px;
    display: grid;
    grid-template-rows: 80%;
    grid-template-columns: 100%;
    text-align: center;
    vertical-align: middle;
    /*box-shadow: 0px 10px 20px rgb(0, 0, 0, 0.15);*/
    position: relative;
    grid-template-areas: '.' 'text';
}
.card:hover .image-container img {
    height: 120%;
}

.base-preset-btn {
    box-shadow:
    4px 4px 5px rgba(0, 0, 0, 0.2),
    -4px -4px 5px rgba(255, 255, 255, 0.7),
    8px 8px 15px inset rgba(0, 0, 0, 0.03);
}
.base-preset-btn:hover {
    cursor: pointer;
}

.base-preset-btn-click {
    box-shadow:
    3px 3px 3px inset rgba(0, 0, 0, 0.3),
    -3px -3px 3px inset rgba(255, 255, 255, 0.7),
    0px 0px 10px rgba(0, 0, 0, 0.1);
}

.image-container {
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
    display: flex;
    align-items: center;
    position: relative;
    margin: 20px;
}

.image-container img {
    transition: 0.2s ease-out;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.card strong {
    width: 100%;
    height: 100%;
    font-size: 20px;
    grid-area: text;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}