.cat.card {
    position: relative;
    display: inline-block;
    width: 20em;
    height: 25em;
    overflow: hidden;
    margin: 20px;
    border-radius: 10px;
    background-color: rgba(211, 226, 255, 0.2);
    box-shadow: 1px 1px 3px rgb(168, 168, 168);
}

.cat.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-top: auto;
    width: 100%;
    height: 80px;
    padding-top: 20px;
    padding-bottom: 5px;
    background-image: linear-gradient(0deg, rgb(46, 46, 46) 0%, rgba(255, 255, 255, 0) 100%);
    border: none;
    border-radius: 0px 0px 10px 10px;
    transition: all 0.2s ease-out;
}
.cat.image {
    position: absolute;
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
    transition: all 0.5s ease-out;
}
.cat.footer-heading {
    color: white;
    font-size: 1.2em;
    padding: 10px 0;
}
.cat.footer-text {
    color: white;
    display: none;
    text-align: center;
}
.cat.card:hover > .cat.card-body > .cat.card-footer {
    height: 40%;
    width: 80%;
    border-radius: 0;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    animation: moveUp 0.2s ease-out forwards 0.15s;
}
@keyframes moveUp {
    0% {
        bottom: 0;
    }
    100% {
        top: 0;
    }
}
.cat.card:hover > .cat.image {
    transform: scale(1.1);
}
.cat.card:hover > .cat.card-body > .cat.card-footer > .cat.footer-heading {
    color: yellow;
    font-weight: bold;
}
.cat.card:hover > .cat.card-body > .cat.card-footer > .cat.footer-text {
    display: block;
}

#read-content {
    display: none;
}
.content h2 {
    font-family: 'Raleway' !important;
}
.content h3 {
    font-size: 1.4em;
}

#contact {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%), url('../assets/contact-us.jpg');
    background-size: cover;
    border-radius: 0;
}
#contact h4 {
    font-size: 1.5em;
}
#email::placeholder {
    color: rgba(0, 0, 0);
    opacity: 0.5;
}

.social-row {
    padding-top: 2em;
}

@media (max-width: 1024px) {
    .content h1 {
        font-size: 1.8em;
    }
    .content h2 {
        font-size: 1.4em;
    }
    .content h3 {
        font-size: 1.2em;
    }
}