﻿* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    background: dimgrey;
}


h2 {
    height: 5px;
    color: rebeccapurple;
    text-align: center;
    margin-bottom: 0px;
    font-size: 25px;
}

h3 {
    color: burlywood;
    text-align: center;
    font-size: 30px;
    margin-top:30px;
}

p {
    font-size: 25px;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 10px;
    max-width: 750px;
    display: block;
    margin: 0 auto;
}

.navbar {
    overflow: hidden;
    font-size: 30px;
    padding: 0px;
    text-align: center;
}

    .navbar ul {
        list-style-type: none;
        display: inline-block;
    }

    .navbar a {
        color: darkgray;
        background-color: slategray;
        text-decoration: none;
        padding: 15px;
        display: block;
        text-align: center;
    }

        .navbar a:hover {
            background-color: darkslategrey;
        }

    .navbar li {
        float: left;
        text-align: center;
        font: 300;
        font-size: 35px;
    }

.center {
    width: 100%;
    max-width: 750px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.img-gallery {
    width: 80%;
    margin: 100px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

    .img-gallery img {
        width: 100%;
        cursor: pointer;
    }

        .img-gallery img:hover {
            transform: scale(.8) rotate(-15deg);
            border-radius: 20px;
            box-shadow: 0 32px 7px rgb(255 0 0);
        }
.imageDetails {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
    .imageDetails span {
        position: absolute;
        top: 5%;
        right: 5%;
        font-size: 30px;
        color: #fff;
        cursor: pointer;
    }
    .imageDetails table {
        width: 90%;
        height: 100vh;
        justify-content: center;
        text-align: center;
    }



.imageDetailsimg {
     max-width: 600px;
     max-height:600px;
    }

   