﻿
.paragraphContent .shortcutList {
    border: none 0;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.paragraphContent .eachShortcut {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin : 0.5rem;
}

.paragraphContent .child {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: all .5s;
}

.paragraphContent .eachShortcut:hover .child,
.paragraphContent .eachShortcut:focus .child {
    transform: scale(1.2);
}

.paragraphContent .child::before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(52, 73, 94, 0.2);
}

.paragraphContent .eachShortcut:hover .child:before,
.paragraphContent .eachShortcut:focus .child:before {
    display: block;
}

.paragraphContent .heading {
    opacity: 1;
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: #ffffff;
    text-shadow: 0 0 3px #808080;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.2rem;
    transition: all .5s;

    background-color : rgba(52, 73, 94, 0.2);
}

.paragraphContent .eachShortcut:hover .heading {
    font-size: 1.2rem;
    font-weight: 900;
    text-shadow: 3px 3px 3px #000000;
    background-color : transparent;
}

