h1 {
	text-transform: capitalize;
}

.myImage {
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.myImage:hover {
	opacity: 0.7s;
}

/* The modal background */
.myImageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px; /*location of the box */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* enable scroll if needed */
    background-color: rgb(0,0,0); /* fallback color*/
    background-color: rgba(0,0,0,0.9);
}

.ImageModal-content{
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

#myCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add animation-zoom in the image (bigger image) */
.ImageModal-content, #myCaption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

.myClose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .myClose:hover,
    .myClose:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% width of image on small screens */
@media only screen and (max-width: 700px) {
    .ImageModal-content {
        width: 100%;
    }
}