body {
    margin: 0;
    background-color: #efefef;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h3 {
    width: 100%;
    height: 35px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin: auto;
    text-align: center;
}

h5 {
    width: 100%;
    text-align: center;
    font-size: 10px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 1150px;
    align-content: center;
    justify-content: center;
    margin: auto;
}

.flex-item {
    text-align: center;
    border-radius: 3px;
    margin: 5px;
}

.shadow {
    box-shadow: 5px 5px rgba(68, 68, 68, 0.5);
}

.congrats {
    position: fixed;
    top: 40%;
    left: 45%;
    -ms-transform: translate(-40%, -45%);
    -webkit-transform: translate(-40%, -45%);
    transform: translate(-40%, -45%);
    z-index: 10;
    background-color: #fdc751;
    box-shadow: 5px 5px rgba(68, 68, 86, 0.5);
    max-height: 100px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    line-height: 20px;
}

.congrats-footer {
    position: fixed;
    top: 50%;
    z-index: 12;
}

.quote {
    font-style: italic;
    font-weight: normal;
}

img {
    width: 125px;
}

@media only screen and (max-width: 950px) {
    .grid {
        width: 800px;
    }
    img {
        width: 85px;
        height: 100%;
    }
}

@media only screen and (max-width: 750px) {
    .grid {
        width: 600px;
    }
    img {
        width: 85px;
        height: 100%;
    }
}

@media only screen and (max-width: 550px) {
    .grid {
        width: 350px;
    }
    img {
        width: 70px;
        height: 100%;
    }
    .congrats {
        max-height: 200px;
        padding: 20px;
    }
    .congrats-footer {
        top: 65%;
    }
}