@import url("https://fonts.googleapis.com/css?family=Ubuntu:300, 400");

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    user-select: none;
    color: blue;
}


.container {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
}

.container label {
    display: block;
    height: min-content;
    margin-top: 10px;
    margin-right: 10px;
    border: 1px solid #dddddd;
    padding: 20px;
    font-family: "Ubuntu", sans-serif;
    background: white;
    cursor: pointer;
    transition: box-shadow 0.15s linear, transform 0.15s linear;
}

.container label:hover {
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.15s linear, transform 0.15s linear;
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    -o-transform: scale(1.01);
    transform: scale(1.01);
}

.container label span.spec {
    display: block;
    text-transform: uppercase;
    margin: 0 auto 30px;
    font-size: 10px;
}

.container label h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.container label p {
    font-size: 14px;
    color: blue;
    line-height: 1.5;
    font-weight: 300;
}

.container label div.author pre {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 40px;
}

.container label div.author ul {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.container label div.author ul li {
    list-style: none;
    float: left;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: red;
}

.container label div.author ul li:first-child {
    margin-right: 10px;
    background: url("https://res.cloudinary.com/alexiswollseifen-com/image/upload/v1494507856/31998547103_e0d2e65ddf_m_emo00r.jpg") no-repeat;
    background-size: cover;
}

.container label div.author ul li:last-child {
    background: url("https://res.cloudinary.com/alexiswollseifen-com/image/upload/v1494507978/2687331011_51a1acac77_m_xhycdb.jpg") no-repeat;
    background-size: cover;
    background-position: 0px -10px;
}

.modal {
    display: none;
    flex-direction: column;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 6;
    /* Sit on top */
    /* padding-top: 100px; */
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    user-select: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    width: max-content;
    padding: 16px;
    border-radius: 12px;
    font-size: 18px;
}

.modal-header {
    display: flex;
    align-items: center;
    height: 50px;
}

#poem-content {
    max-height: 600px;
    overflow: auto;
    padding-left: 15px;
    padding-right: 15px;
}

red {
    color: rgb(255, 0, 0);
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

blue {
    color: blue;
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

yellow {
    color: rgb(202, 202, 0);
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

purple {
    color: purple;
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

green {
    color: green;
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

brown {
    color: brown;
    font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
    margin: 1em 0px;
}

.close {
    color: black;
    font-size: 32px;
    margin-left: auto;
    cursor: pointer;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@media screen and (max-width: 900px) {
    .column {
       display: block;
    }

    .container {
        padding: 5px;
        padding-left: 15px;
        flex-direction: column;
    }
}

