/* IMAGE ALBUM STUFF
First the Title of the app */
h2 {
    color: white;
    margin: 0px;
    padding: 15px;
    text-align: center;
}

#heading {
    height: 150px !important;
    text-align: center;
    background-color: white;
}

#title {
    position: absolute;
    top: 20px;
    padding: 20px;
}

#title h3 {
    font-size: 60px !important;
    text-align: center;
}

/* Place the whole image container on top*/
.modalAlbum {
    position: fixed;
    width: 50%;
    left: 25%;
    top: 0;
    padding: 1rem;
    z-index: 1;
    border-radius: 20px !important;
}

/* Main Image shown */
.mainImg {
    transition: all 1s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mainImg img:hover {
    opacity: 0.99;
}

.mainImg img {
    position: static;
    left: 75%;
    margin: auto;
    max-height: 500px;
    object-fit: fill;
    border-style: solid;
    border-width: 15px;
    border-color: white;
}

/* The pictures shown as gallery */
.gallery {
    height: 500px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: scroll;

}

.showPics {
    width: 100%;
    border-style: solid 1px purple;

}

.showPics img {
    /* width: 10%; */
    height: 150px;
    object-fit: cover;
    transition: all 0.4s;
}

.showPics img:hover {
    opacity: 0.6;
    cursor: pointer;
}

/* Close button */
.close {
    position: relative;
    z-index: 1;
    left: 0%;
    margin: auto;
    top: 76px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: purple;
    width: 100px;
    height: 40px;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
}

.close:hover {
    color: grey;
    cursor: pointer;
}

/* dots to select the image */
.dotGroup {
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap: 15px;
    text-align: center;
    font-size: 10px;

    & .dot {
        width: 15px;
        height: 15px;
        background-color: grey;
        border-radius: 50%;
    }

    & .dot:hover {
        background-color: purple;
        cursor: pointer;
    }
}

/* Mobile compatability */
@media screen and (max-width: 800px) {
/* Place the whole image container on top*/
	*{
	text-align: center;
	}
	
.modalAlbum {
    position: fixed;
    width: 90%;
	top: 15%;
    left: 5%;
    padding: 5px;
}
	
.mainImg img {
	width: 100%;
	left: 5%;
	border-radius: 15px;
}
	
	.gallery {
	justify-content: center;
		gap:40px;
	}	
	
.showPics img {
    /* width: 10%; */
	height: 80px;
}
	
}