body {
    background-color: #181B21;
    color: #EBEEF2;
    margin: auto;
}

h1 {
    margin-top: 20px;
}

h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.movie-poster-size {
    width: 230px; /* 342px */
    height: 344px; /* 513px */
}

.movie-poster {
    position: relative;
    margin: 20px auto 10px auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.movie-overlay {
    opacity: 0;
    line-height: 344px;
}

.movie-overlay:hover {
    background-color: rgba(0, 0, 0, .6);
    font-size: 5em;
    text-align: center;
    opacity: 1;
    cursor: pointer;
}

.movie {
    background-color: #21262E;
    border-radius: 8px;
    box-shadow: 0 0 20px 2px rgba(255, 255, 255, 0.15);
    margin: 40px;
    padding: 15px;
}

.grey-color {
    color: #7C8899;
}

.release-date {
    margin-bottom: 10px;
}

.genres {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.overview {
    position: absolute;
    top: 0;
    left: 0;
    text-align: left;
    max-height: 344px;
    display: none;
    overflow: scroll;
    z-index: 1;
    background-color: #21262E;
}

.fa-padding-right {
    padding-right: 10px;
}

.btn {
    min-width: 230px;
    cursor: pointer;
}

/* The Modal (background) */
.modal-background {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.dialog-content {
    background-color: #21262E;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: fixed;
    width: 100%;
    left: auto;
    top: auto;
    -ms-transform: translate(0% ,0%);
    transform: translate(0% ,0%);
}

.success-content {
    display: none;
    color: #c3e6cb;
}

.error-content {
    display: none;
    color: #f5c6cb;
}

.movie-name {
    font-weight: 700;
}

#email-input {
    width: 100%;
    margin-top: 10px;
    padding: 5px 5px 5px 10px;
}

#dialog-buttons-layout {
    margin-top: 35px;
    display: flex;
    justify-content: space-around;
}

#button-cancel, #button-notify {
    min-width: 0;
    width: 140px;
}

/* Footer */

footer {
    text-align: center;
    margin-bottom: 20px;
}

.tmdb-logo {
    max-width: 50px;
    max-height: 50px;
    margin: 1rem;
}

/* Small device (mobile) */
@media (min-width: 768px) {
    .dialog-content {
        left: 50%;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: auto;
    }
}