@font-face {
    font-family: "bahij";
    src: url("/fonts/BAHIJ.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "bahij";
    src: url("/fonts/BAHIJ-BOLD.TTF") format("truetype");
    font-weight: bold;
    font-style: normal;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

body {
    justify-content: center;
    align-content: center;
    background-color: #f5f5f5;
}

.grid {
    display: grid;
    width: 114rem;
    grid-gap: 6rem;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    align-items: start;
}

@media (max-width: 60em) {
    .grid {
        grid-gap: 3rem;
    }
}

.grid__item {
    background-color: #fff;
    border-radius: 0.4rem;
    overflow: hidden;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: 0.2s;
    max-width: 300px;
    max-height: 400px;
    min-height: 400px;
    /* width: 300px;
    height: 400px; */
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 4%;
    margin-bottom: 50px;
}

.grid__item:hover {
    transform: translateY(-0.5%);
    box-shadow: 0 4rem 8rem rgba(0, 0, 0, .2);
}

.card__img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.card__content {
    padding: 10px 15px;
    height: 100%;
}

.card__header {
    font-size: 26px;
    font-weight: 600;
    color: rgb(60, 73, 116);
    margin-top: 8px;
    margin-bottom: 20px;
}

.card__text {
    font-size: 16px;
    letter-spacing: 0.1rem;
    line-height: 1.7;
    color: #3d3d3d;
    margin-top: 10px;
    margin-bottom: 41px;
}

.card__btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    /* max-width: 100%; */
    text-align: center;
    display: block;
    width: 80%;
    padding: 10px 20px 10px;
    margin: auto;
    font-size: 20px;
    text-align: center;
    color: #3363ff;
    background-color: #e6ecff;
    border: none;
    border-radius: 0.4rem;
    transition: 0.2s;
    cursor: pointer;
}

.card__btn span {
    margin-left: 1rem;
    transition: 0.2s;
}

.card__btn:hover, .card__btn:active {
    background-color: #dce4ff;
}

.card__btn:hover span, .card__btn:active span {
    margin-left: 1.5rem;
}

.card {
    height: 100%;
    border-radius: 6px;
}

button:focus {
    color: none;
}

.card__btn:focus {
    color: var(--color-green);
}

.card__btn: {
    color: var(--color-green);
}