body {
    margin: 60px auto;
    font-family: "Lato", sans-serif;
    background: #202124;
}

* {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 980px;
    margin: 0 auto;
}

#buttonSection {
    text-align: right;
    margin-bottom: 20px;
}

button {
    background-color: #4caf50; /* Green */
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: 6px;
}

h2 {
    font-weight: bold;
    font-size: 1.6rem;

    /* Text Truncate */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

p {
    font-size: 1rem;
    font-weight: normal;
    font-family: "Reenie Beanie";
    font-size: 2rem;
}

h4.delButton {
    cursor: pointer;
    text-align: right;
    font-size: 15px;
}

ul,
li {
    list-style: none;
}
ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
ul li {
    margin: 1em;
}

ul li a {
    text-decoration: none;
    color: #000;
    background: #ffc;
    display: block;
    height: 10em;
    width: 10em;
    padding: 1em;
    box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.7);
    transform: rotate(-6deg);
    transition: transform 0.15s linear;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

ul li:nth-child(even) a {
    transform: rotate(4deg);
    position: relative;
    top: 5px;
}
ul li:nth-child(3n) a {
    transform: rotate(-3deg);
    position: relative;
    top: -5px;
}
ul li:nth-child(5n) a {
    transform: rotate(5deg);
    position: relative;
    top: -10px;
}

ul li a:hover,
ul li a:focus {
    box-shadow: 10px 10px 7px rgba(0, 0, 0, 0.7);
    transform: scale(1.25);
    position: relative;
    z-index: 5;
}

ul li:nth-child(even) a {
    position: relative;
    top: 5px;
    background: #cfc;
}
ul li:nth-child(3n) a {
    position: relative;
    top: -5px;
    background: #ccf;
}


footer p{
    font-size: 1.5em;
    color: white;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
footer a{
    color: white;
}